[][src]Struct rusoto_sagemaker::CreateLabelingJobRequest

pub struct CreateLabelingJobRequest {
    pub human_task_config: HumanTaskConfig,
    pub input_config: LabelingJobInputConfig,
    pub label_attribute_name: String,
    pub label_category_config_s3_uri: Option<String>,
    pub labeling_job_algorithms_config: Option<LabelingJobAlgorithmsConfig>,
    pub labeling_job_name: String,
    pub output_config: LabelingJobOutputConfig,
    pub role_arn: String,
    pub stopping_conditions: Option<LabelingJobStoppingConditions>,
    pub tags: Option<Vec<Tag>>,
}

Fields

human_task_config: HumanTaskConfig

Configures the information required for human workers to complete a labeling task.

input_config: LabelingJobInputConfig

Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects.

label_attribute_name: String

The attribute name to use for the label in the output manifest file. This is the key for the key/value pair formed with the label that a worker assigns to the object. The name can't end with "-metadata". If you are running a semantic segmentation labeling job, the attribute name must end with "-ref". If you are running any other kind of labeling job, the attribute name must not end with "-ref".

label_category_config_s3_uri: Option<String>

The S3 URL of the file that defines the categories used to label the data objects.

The file is a JSON structure in the following format:

{

"document-version": "2018-11-28"

"labels": [

{

"label": "label 1"

},

{

"label": "label 2"

},

...

{

"label": "label n"

}

]

}

labeling_job_algorithms_config: Option<LabelingJobAlgorithmsConfig>

Configures the information required to perform automated data labeling.

labeling_job_name: String

The name of the labeling job. This name is used to identify the job in a list of labeling jobs.

output_config: LabelingJobOutputConfig

The location of the output data and the AWS Key Management Service key ID for the key used to encrypt the output data, if any.

role_arn: String

The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.

stopping_conditions: Option<LabelingJobStoppingConditions>

A set of conditions for stopping the labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.

tags: Option<Vec<Tag>>

An array of key/value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

Trait Implementations

impl PartialEq<CreateLabelingJobRequest> for CreateLabelingJobRequest[src]

impl Default for CreateLabelingJobRequest[src]

impl Clone for CreateLabelingJobRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for CreateLabelingJobRequest[src]

impl Serialize for CreateLabelingJobRequest[src]

Auto Trait Implementations

impl Send for CreateLabelingJobRequest

impl Sync for CreateLabelingJobRequest

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self