class Aws::SageMaker::Types::HumanLoopConfig

Describes the work to be performed by human workers.

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

@!attribute [rw] workteam_arn

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][1].

[1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-management.html
@return [String]

@!attribute [rw] human_task_ui_arn

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][1].

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][2].

[1]: https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html
[2]: https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-worker-template-console.html
@return [String]

@!attribute [rw] task_title

A title for the human worker task.
@return [String]

@!attribute [rw] task_description

A description for the human worker task.
@return [String]

@!attribute [rw] task_count

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.
@return [Integer]

@!attribute [rw] task_availability_lifetime_in_seconds

The length of time that a task remains available for review by human
workers.
@return [Integer]

@!attribute [rw] task_time_limit_in_seconds

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

@!attribute [rw] task_keywords

Keywords used to describe the task so that workers can discover the
task.
@return [Array<String>]

@!attribute [rw] public_workforce_task_price

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
@return [Types::PublicWorkforceTaskPrice]

@see docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HumanLoopConfig AWS API Documentation

Constants

SENSITIVE