"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FlowDefinition = exports.HumanLoopConfig = exports.PublicWorkforceTaskPrice = exports.AmountInUsd = exports.OutputConfig = exports.HumanLoopRequestSource = exports.HumanLoopActivationConfig = exports.HumanLoopActivationConditionsConfig = void 0;
const core = __importStar(require("@terrascript/core"));
class HumanLoopActivationConditionsConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HumanLoopActivationConditionsConfig.prototype, "humanLoopActivationConditions", void 0);
exports.HumanLoopActivationConditionsConfig = HumanLoopActivationConditionsConfig;
class HumanLoopActivationConfig extends core.Schema {
}
__decorate([
    core.attr(HumanLoopActivationConditionsConfig),
    __metadata("design:type", HumanLoopActivationConditionsConfig)
], HumanLoopActivationConfig.prototype, "humanLoopActivationConditionsConfig", void 0);
exports.HumanLoopActivationConfig = HumanLoopActivationConfig;
class HumanLoopRequestSource extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HumanLoopRequestSource.prototype, "awsManagedHumanLoopRequestSource", void 0);
exports.HumanLoopRequestSource = HumanLoopRequestSource;
class OutputConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], OutputConfig.prototype, "kmsKeyId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], OutputConfig.prototype, "s3OutputPath", void 0);
exports.OutputConfig = OutputConfig;
class AmountInUsd extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], AmountInUsd.prototype, "cents", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], AmountInUsd.prototype, "dollars", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], AmountInUsd.prototype, "tenthFractionsOfACent", void 0);
exports.AmountInUsd = AmountInUsd;
class PublicWorkforceTaskPrice extends core.Schema {
}
__decorate([
    core.attr(AmountInUsd),
    __metadata("design:type", AmountInUsd)
], PublicWorkforceTaskPrice.prototype, "amountInUsd", void 0);
exports.PublicWorkforceTaskPrice = PublicWorkforceTaskPrice;
class HumanLoopConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "humanTaskUiArn", void 0);
__decorate([
    core.attr(PublicWorkforceTaskPrice),
    __metadata("design:type", PublicWorkforceTaskPrice)
], HumanLoopConfig.prototype, "publicWorkforceTaskPrice", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "taskAvailabilityLifetimeInSeconds", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "taskCount", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "taskDescription", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "taskKeywords", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "taskTimeLimitInSeconds", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "taskTitle", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HumanLoopConfig.prototype, "workteamArn", void 0);
exports.HumanLoopConfig = HumanLoopConfig;
class FlowDefinition extends core.Resource {
    constructor(name, args) {
        super(name, "aws_sagemaker_flow_definition", args);
    }
    getNamespace() {
        return "aws_sagemaker";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], FlowDefinition.prototype, "arn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FlowDefinition.prototype, "flowDefinitionName", void 0);
__decorate([
    core.attr(HumanLoopActivationConfig),
    __metadata("design:type", HumanLoopActivationConfig)
], FlowDefinition.prototype, "humanLoopActivationConfig", void 0);
__decorate([
    core.attr(HumanLoopConfig),
    __metadata("design:type", HumanLoopConfig)
], FlowDefinition.prototype, "humanLoopConfig", void 0);
__decorate([
    core.attr(HumanLoopRequestSource),
    __metadata("design:type", HumanLoopRequestSource)
], FlowDefinition.prototype, "humanLoopRequestSource", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], FlowDefinition.prototype, "id", void 0);
__decorate([
    core.attr(OutputConfig),
    __metadata("design:type", OutputConfig)
], FlowDefinition.prototype, "outputConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FlowDefinition.prototype, "roleArn", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], FlowDefinition.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], FlowDefinition.prototype, "tagsAll", void 0);
exports.FlowDefinition = FlowDefinition;
//# sourceMappingURL=flow_definition.js.map