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
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
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartTextTranslationJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartTextTranslationJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartTextTranslationJob
>
Creates a new builder-style object to manufacture StartTextTranslationJobInput
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for StartTextTranslationJobInput
impl Sync for StartTextTranslationJobInput
impl Unpin for StartTextTranslationJobInput
impl UnwindSafe for StartTextTranslationJobInput
Blanket Implementations
Mutably borrows from an owned value. Read more
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