HumanLoopConfig
Describes the work to be performed by human workers.
Contents
- HumanTaskUiArn
-
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.
Type: String
Length Constraints: Maximum length of 1024.
Pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]+:[0-9]{12}:human-task-ui/.*
Required: Yes
- TaskCount
-
The number of distinct workers who will perform the same task on each object. For example, if
TaskCount
is set to3
for an image classification labeling job, three workers will classify each input image. IncreasingTaskCount
can improve label accuracy.Type: Integer
Valid Range: Minimum value of 1. Maximum value of 3.
Required: Yes
- TaskDescription
-
A description for the human worker task.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
.+
Required: Yes
- TaskTitle
-
A title for the human worker task.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
^[\t\n\r -\uD7FF\uE000-\uFFFD]*$
Required: Yes
- WorkteamArn
-
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.
Type: String
Length Constraints: Maximum length of 256.
Pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:workteam/.*
Required: Yes
- 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
Type: PublicWorkforceTaskPrice object
Required: No
-
- TaskAvailabilityLifetimeInSeconds
-
The length of time that a task remains available for review by human workers.
Type: Integer
Valid Range: Minimum value of 1.
Required: No
- TaskKeywords
-
Keywords used to describe the task so that workers can discover the task.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 5 items.
Length Constraints: Minimum length of 1. Maximum length of 30.
Pattern:
^[A-Za-z0-9]+( [A-Za-z0-9]+)*$
Required: No
- TaskTimeLimitInSeconds
-
The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).
Type: Integer
Valid Range: Minimum value of 30.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: