[][src]Struct rusoto_sagemaker::HumanTaskConfig

pub struct HumanTaskConfig {
    pub annotation_consolidation_config: AnnotationConsolidationConfig,
    pub max_concurrent_task_count: Option<i64>,
    pub number_of_human_workers_per_data_object: i64,
    pub pre_human_task_lambda_arn: String,
    pub public_workforce_task_price: Option<PublicWorkforceTaskPrice>,
    pub task_availability_lifetime_in_seconds: Option<i64>,
    pub task_description: String,
    pub task_keywords: Option<Vec<String>>,
    pub task_time_limit_in_seconds: i64,
    pub task_title: String,
    pub ui_config: UiConfig,
    pub workteam_arn: String,
}

Information required for human workers to complete a labeling task.

Fields

annotation_consolidation_config: AnnotationConsolidationConfig

Configures how labels are consolidated across human workers.

max_concurrent_task_count: Option<i64>

Defines the maximum number of data objects that can be labeled by human workers at the same time. Each object may have more than one worker at one time.

number_of_human_workers_per_data_object: i64

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

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

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

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

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

public_workforce_task_price: Option<PublicWorkforceTaskPrice>

The price that you pay for each task performed by a public worker.

task_availability_lifetime_in_seconds: Option<i64>

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

task_description: String

A description of the task for your human workers.

task_keywords: Option<Vec<String>>

Keywords used to describe the task so that workers on Amazon Mechanical Turk can discover the task.

task_time_limit_in_seconds: i64

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: 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.

Trait Implementations

impl PartialEq<HumanTaskConfig> for HumanTaskConfig[src]

impl Default for HumanTaskConfig[src]

impl Clone for HumanTaskConfig[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HumanTaskConfig[src]

impl<'de> Deserialize<'de> for HumanTaskConfig[src]

impl Serialize for HumanTaskConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self