class Aws::SageMaker::Types::CreateFlowDefinitionRequest
@note When making an API call, you may pass CreateFlowDefinitionRequest
data as a hash: { flow_definition_name: "FlowDefinitionName", # required human_loop_request_source: { aws_managed_human_loop_request_source: "AWS/Rekognition/DetectModerationLabels/Image/V3", # required, accepts AWS/Rekognition/DetectModerationLabels/Image/V3, AWS/Textract/AnalyzeDocument/Forms/V1 }, human_loop_activation_config: { human_loop_activation_conditions_config: { # required human_loop_activation_conditions: "HumanLoopActivationConditions", # required }, }, human_loop_config: { # required workteam_arn: "WorkteamArn", # required human_task_ui_arn: "HumanTaskUiArn", # required task_title: "FlowDefinitionTaskTitle", # required task_description: "FlowDefinitionTaskDescription", # required task_count: 1, # required task_availability_lifetime_in_seconds: 1, task_time_limit_in_seconds: 1, task_keywords: ["FlowDefinitionTaskKeyword"], public_workforce_task_price: { amount_in_usd: { dollars: 1, cents: 1, tenth_fractions_of_a_cent: 1, }, }, }, output_config: { # required s3_output_path: "S3Uri", # required kms_key_id: "KmsKeyId", }, role_arn: "RoleArn", # required tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], }
@!attribute [rw] flow_definition_name
The name of your flow definition. @return [String]
@!attribute [rw] human_loop_request_source
Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source. @return [Types::HumanLoopRequestSource]
@!attribute [rw] human_loop_activation_config
An object containing information about the events that trigger a human workflow. @return [Types::HumanLoopActivationConfig]
@!attribute [rw] human_loop_config
An object containing information about the tasks the human reviewers will perform. @return [Types::HumanLoopConfig]
@!attribute [rw] output_config
An object containing information about where the human review results will be uploaded. @return [Types::FlowDefinitionOutputConfig]
@!attribute [rw] role_arn
The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, `arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298`. @return [String]
@!attribute [rw] tags
An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinitionRequest AWS API Documentation
Constants
- SENSITIVE