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.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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



11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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>)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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.

Returns:

  • (String)


11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 11535

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