Class: Aws::SageMaker::Types::HumanTaskConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::HumanTaskConfig
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
When making an API call, you may pass HumanTaskConfig data as a hash:
{
workteam_arn: "WorkteamArn", # required
ui_config: { # required
ui_template_s3_uri: "S3Uri", # required
},
pre_human_task_lambda_arn: "LambdaFunctionArn", # required
task_keywords: ["TaskKeyword"],
task_title: "TaskTitle", # required
task_description: "TaskDescription", # required
number_of_human_workers_per_data_object: 1, # required
task_time_limit_in_seconds: 1, # required
task_availability_lifetime_in_seconds: 1,
max_concurrent_task_count: 1,
annotation_consolidation_config: { # required
annotation_consolidation_lambda_arn: "LambdaFunctionArn", # required
},
public_workforce_task_price: {
amount_in_usd: {
dollars: 1,
cents: 1,
tenth_fractions_of_a_cent: 1,
},
},
}
Information required for human workers to complete a labeling task.
Instance Attribute Summary collapse
-
#annotation_consolidation_config ⇒ Types::AnnotationConsolidationConfig
Configures how labels are consolidated across human workers.
-
#max_concurrent_task_count ⇒ Integer
Defines the maximum number of data objects that can be labeled by human workers at the same time.
-
#number_of_human_workers_per_data_object ⇒ Integer
The number of human workers that will label an object.
-
#pre_human_task_lambda_arn ⇒ String
The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a human worker.
-
#public_workforce_task_price ⇒ Types::PublicWorkforceTaskPrice
The price that you pay for each task performed by an Amazon Mechanical Turk worker.
-
#task_availability_lifetime_in_seconds ⇒ Integer
The length of time that a task remains available for labeling by human workers.
-
#task_description ⇒ String
A description of the task for your human workers.
-
#task_keywords ⇒ Array<String>
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
-
#task_time_limit_in_seconds ⇒ Integer
The amount of time that a worker has to complete a task.
-
#task_title ⇒ String
A title for the task for your human workers.
-
#ui_config ⇒ Types::UiConfig
Information about the user interface that workers use to complete the labeling task.
-
#workteam_arn ⇒ String
The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.
Instance Attribute Details
#annotation_consolidation_config ⇒ Types::AnnotationConsolidationConfig
Configures how labels are consolidated across human workers.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#max_concurrent_task_count ⇒ Integer
Defines the maximum number of data objects that can be labeled by human workers at the same time. Also referred to as batch size. Each object may have more than one worker at one time.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#number_of_human_workers_per_data_object ⇒ Integer
The number of human workers that will label an object.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#pre_human_task_lambda_arn ⇒ String
The Amazon Resource Name (ARN) of a Lambda function that is run before a data object is sent to a human worker. Use this function to provide input to a custom labeling job.
For the built-in bounding box, image classification, semantic segmentation, and text classification task types, Amazon SageMaker Ground Truth provides the following Lambda functions:
**US East (Northern Virginia) (us-east-1):**
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation`
**US East (Ohio) (us-east-2):**
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation`
**US West (Oregon) (us-west-2):**
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation`
**Canada (Central) (ca-central-1):**
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation`
**EU (Ireland) (eu-west-1):**
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation`
**EU (London) (eu-west-2):**
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation`
**EU Frankfurt (eu-central-1):**
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation`
**Asia Pacific (Tokyo) (ap-northeast-1):**
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation`
**Asia Pacific (Seoul) (ap-northeast-2):**
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation`
**Asia Pacific (Mumbai) (ap-south-1):**
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation`
**Asia Pacific (Singapore) (ap-southeast-1):**
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation`
**Asia Pacific (Sydney) (ap-southeast-2):**
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationBoundingBox`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox`
-
‘arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation`
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#public_workforce_task_price ⇒ Types::PublicWorkforceTaskPrice
The price that you pay for each task performed by an Amazon Mechanical Turk worker.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#task_availability_lifetime_in_seconds ⇒ Integer
The length of time that a task remains available for labeling by human workers. **If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43200)**. For private and vendor workforces, the maximum is as listed.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#task_description ⇒ String
A description of the task for your human workers.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#task_keywords ⇒ Array<String>
Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#task_time_limit_in_seconds ⇒ Integer
The amount of time that a worker has to complete a task.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#task_title ⇒ String
A title for the task for your human workers.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#ui_config ⇒ Types::UiConfig
Information about the user interface that workers use to complete the labeling task.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |
#workteam_arn ⇒ String
The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 10120 class HumanTaskConfig < Struct.new( :workteam_arn, :ui_config, :pre_human_task_lambda_arn, :task_keywords, :task_title, :task_description, :number_of_human_workers_per_data_object, :task_time_limit_in_seconds, :task_availability_lifetime_in_seconds, :max_concurrent_task_count, :annotation_consolidation_config, :public_workforce_task_price) include Aws::Structure end |