Class: Aws::SageMaker::Types::CreateFlowDefinitionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

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
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#flow_definition_nameString

The name of your flow definition.

Returns:

  • (String)


6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#human_loop_activation_configTypes::HumanLoopActivationConfig

An object containing information about the events that trigger a human workflow.



6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#human_loop_configTypes::HumanLoopConfig

An object containing information about the tasks the human reviewers will perform.



6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#human_loop_request_sourceTypes::HumanLoopRequestSource

Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.



6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#output_configTypes::FlowDefinitionOutputConfig

An object containing information about where the human review results will be uploaded.



6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

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.

Returns:

  • (String)


6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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.

Returns:



6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6267

class CreateFlowDefinitionRequest < Struct.new(
  :flow_definition_name,
  :human_loop_request_source,
  :human_loop_activation_config,
  :human_loop_config,
  :output_config,
  :role_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end