pub struct StartTextTranslationJobRequest {
pub client_token: String,
pub data_access_role_arn: String,
pub input_data_config: InputDataConfig,
pub job_name: Option<String>,
pub output_data_config: OutputDataConfig,
pub source_language_code: String,
pub target_language_codes: Vec<String>,
pub terminology_names: Option<Vec<String>>,
}
Fields§
§client_token: String
The client token of the EC2 instance calling the request. This token is auto-generated when using the Amazon Translate SDK. Otherwise, use the DescribeInstances EC2 operation to retreive an instance's client token. For more information, see Client Tokens in the EC2 User Guide.
data_access_role_arn: 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 nformation, see identity-and-access-management.
input_data_config: InputDataConfig
Specifies the format and S3 location of the input documents for the translation job.
job_name: Option<String>
The name of the batch translation job to be performed.
output_data_config: OutputDataConfig
Specifies the S3 folder to which your job output will be saved.
source_language_code: 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: Vec<String>
The language code of the output language.
terminology_names: Option<Vec<String>>
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
Trait Implementations§
Source§impl Clone for StartTextTranslationJobRequest
impl Clone for StartTextTranslationJobRequest
Source§fn clone(&self) -> StartTextTranslationJobRequest
fn clone(&self) -> StartTextTranslationJobRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for StartTextTranslationJobRequest
impl Default for StartTextTranslationJobRequest
Source§fn default() -> StartTextTranslationJobRequest
fn default() -> StartTextTranslationJobRequest
Source§impl PartialEq for StartTextTranslationJobRequest
impl PartialEq for StartTextTranslationJobRequest
Source§fn eq(&self, other: &StartTextTranslationJobRequest) -> bool
fn eq(&self, other: &StartTextTranslationJobRequest) -> bool
self
and other
values to be equal, and is used by ==
.