You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing HumanLoopConfig as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#human_task_ui_arnString

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

Returns:

  • (String)

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

#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

Returns:

#task_availability_lifetime_in_secondsInteger

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

Returns:

  • (Integer)

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

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

    The number of distinct workers who will perform the same task on each object.

#task_descriptionString

A description for the human worker task.

Returns:

  • (String)

    A description for the human worker task.

#task_keywordsArray<String>

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

Returns:

  • (Array<String>)

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

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

    The amount of time that a worker has to complete a task.

#task_titleString

A title for the human worker task.

Returns:

  • (String)

    A title for the human worker task.

#workteam_arnString

Amazon Resource Name (ARN) of a team of workers.

Returns:

  • (String)

    Amazon Resource Name (ARN) of a team of workers.