Struct aws_sdk_translate::input::StartTextTranslationJobInput[][src]

#[non_exhaustive]
pub struct StartTextTranslationJobInput { pub job_name: Option<String>, pub input_data_config: Option<InputDataConfig>, pub output_data_config: Option<OutputDataConfig>, pub data_access_role_arn: Option<String>, pub source_language_code: Option<String>, pub target_language_codes: Option<Vec<String>>, pub terminology_names: Option<Vec<String>>, pub parallel_data_names: Option<Vec<String>>, pub client_token: Option<String>, }

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
job_name: Option<String>

The name of the batch translation job to be performed.

input_data_config: Option<InputDataConfig>

Specifies the format and S3 location of the input documents for the translation job.

output_data_config: Option<OutputDataConfig>

Specifies the S3 folder to which your job output will be saved.

data_access_role_arn: Option<String>

The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see identity-and-access-management.

source_language_code: Option<String>

The language code of the input language. For a list of language codes, see what-is-languages.

Amazon Translate does not automatically detect a source language during batch translation jobs.

target_language_codes: Option<Vec<String>>

The language code of the output language.

terminology_names: Option<Vec<String>>

The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.

This parameter accepts only one custom terminology resource.

For a list of available custom terminology resources, use the ListTerminologies operation.

For more information, see how-custom-terminology.

parallel_data_names: Option<Vec<String>>

The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job.

This parameter accepts only one parallel data resource.

Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.

For a list of available parallel data resources, use the ListParallelData operation.

For more information, see customizing-translations-parallel-data.

client_token: Option<String>

A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.

Implementations

Consumes the builder and constructs an Operation<StartTextTranslationJob>

Creates a new builder-style object to manufacture StartTextTranslationJobInput

The name of the batch translation job to be performed.

Specifies the format and S3 location of the input documents for the translation job.

Specifies the S3 folder to which your job output will be saved.

The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see identity-and-access-management.

The language code of the input language. For a list of language codes, see what-is-languages.

Amazon Translate does not automatically detect a source language during batch translation jobs.

The language code of the output language.

The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.

This parameter accepts only one custom terminology resource.

For a list of available custom terminology resources, use the ListTerminologies operation.

For more information, see how-custom-terminology.

The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job.

This parameter accepts only one parallel data resource.

Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.

For a list of available parallel data resources, use the ListParallelData operation.

For more information, see customizing-translations-parallel-data.

A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more