AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SageMaker::Types::HumanLoopConfig

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 HumanLoopConfig data as a hash:

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

Describes the work to be performed by human workers.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#human_task_ui_arnString

The Amazon Resource Name (ARN) of the human task user interface.

You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI.

To learn how to create a custom HTML template, see Create Custom Worker Task Template.

To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.

Returns:

  • (String)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#public_workforce_task_priceTypes::PublicWorkforceTaskPrice

Defines the amount of money paid to an Amazon Mechanical Turk worker for each task performed.

Use one of the following prices for bounding box tasks. Prices are in US dollars and should be based on the complexity of the task; the longer it takes in your initial testing, the more you should offer.

  • 0.036

  • 0.048

  • 0.060

  • 0.072

  • 0.120

  • 0.240

  • 0.360

  • 0.480

  • 0.600

  • 0.720

  • 0.840

  • 0.960

  • 1.080

  • 1.200

Use one of the following prices for image classification, text classification, and custom tasks. Prices are in US dollars.

  • 0.012

  • 0.024

  • 0.036

  • 0.048

  • 0.060

  • 0.072

  • 0.120

  • 0.240

  • 0.360

  • 0.480

  • 0.600

  • 0.720

  • 0.840

  • 0.960

  • 1.080

  • 1.200

Use one of the following prices for semantic segmentation tasks. Prices are in US dollars.

  • 0.840

  • 0.960

  • 1.080

  • 1.200

Use one of the following prices for Textract AnalyzeDocument Important Form Key Amazon Augmented AI review tasks. Prices are in US dollars.

  • 2.400

  • 2.280

  • 2.160

  • 2.040

  • 1.920

  • 1.800

  • 1.680

  • 1.560

  • 1.440

  • 1.320

  • 1.200

  • 1.080

  • 0.960

  • 0.840

  • 0.720

  • 0.600

  • 0.480

  • 0.360

  • 0.240

  • 0.120

  • 0.072

  • 0.060

  • 0.048

  • 0.036

  • 0.024

  • 0.012

Use one of the following prices for Rekognition DetectModerationLabels Amazon Augmented AI review tasks. Prices are in US dollars.

  • 1.200

  • 1.080

  • 0.960

  • 0.840

  • 0.720

  • 0.600

  • 0.480

  • 0.360

  • 0.240

  • 0.120

  • 0.072

  • 0.060

  • 0.048

  • 0.036

  • 0.024

  • 0.012

Use one of the following prices for Amazon Augmented AI custom human review tasks. Prices are in US dollars.

  • 1.200

  • 1.080

  • 0.960

  • 0.840

  • 0.720

  • 0.600

  • 0.480

  • 0.360

  • 0.240

  • 0.120

  • 0.072

  • 0.060

  • 0.048

  • 0.036

  • 0.024

  • 0.012



19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#task_availability_lifetime_in_secondsInteger

The length of time that a task remains available for review by human workers.

Returns:

  • (Integer)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#task_countInteger

The number of distinct workers who will perform the same task on each object. For example, if TaskCount is set to 3 for an image classification labeling job, three workers will classify each input image. Increasing TaskCount can improve label accuracy.

Returns:

  • (Integer)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#task_descriptionString

A description for the human worker task.

Returns:

  • (String)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#task_keywordsArray<String>

Keywords used to describe the task so that workers can discover the task.

Returns:

  • (Array<String>)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#task_time_limit_in_secondsInteger

The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).

Returns:

  • (Integer)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#task_titleString

A title for the human worker task.

Returns:

  • (String)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end

#workteam_arnString

Amazon Resource Name (ARN) of a team of workers. To learn more about the types of workforces and work teams you can create and use with Amazon A2I, see Create and Manage Workforces.

Returns:

  • (String)


19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 19107

class HumanLoopConfig < Struct.new(
  :workteam_arn,
  :human_task_ui_arn,
  :task_title,
  :task_description,
  :task_count,
  :task_availability_lifetime_in_seconds,
  :task_time_limit_in_seconds,
  :task_keywords,
  :public_workforce_task_price)
  SENSITIVE = []
  include Aws::Structure
end