#[non_exhaustive]
pub struct TextTranslationJobProperties {
Show 15 fields pub job_id: Option<String>, pub job_name: Option<String>, pub job_status: Option<JobStatus>, pub job_details: Option<JobDetails>, 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 message: Option<String>, pub submitted_time: Option<DateTime>, pub end_time: Option<DateTime>, pub input_data_config: Option<InputDataConfig>, pub output_data_config: Option<OutputDataConfig>, pub data_access_role_arn: Option<String>, pub settings: Option<TranslationSettings>,
}
Expand description

Provides information about a translation job.

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_id: Option<String>

The ID of the translation job.

job_name: Option<String>

The user-defined name of the translation job.

job_status: Option<JobStatus>

The status of the translation job.

job_details: Option<JobDetails>

The number of documents successfully and unsuccessfully processed during the translation job.

source_language_code: Option<String>

The language code of the language of the source text. The language must be a language supported by Amazon Translate.

target_language_codes: Option<Vec<String>>

The language code of the language of the target text. The language must be a language supported by Amazon Translate.

terminology_names: Option<Vec<String>>

A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.

parallel_data_names: Option<Vec<String>>

A list containing the names of the parallel data resources applied to the translation job.

message: Option<String>

An explanation of any errors that may have occurred during the translation job.

submitted_time: Option<DateTime>

The time at which the translation job was submitted.

end_time: Option<DateTime>

The time at which the translation job ended.

input_data_config: Option<InputDataConfig>

The input configuration properties that were specified when the job was requested.

output_data_config: Option<OutputDataConfig>

The output configuration properties that were specified when the job was requested.

data_access_role_arn: Option<String>

The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.

settings: Option<TranslationSettings>

Settings that configure the translation output.

Implementations

The ID of the translation job.

The user-defined name of the translation job.

The status of the translation job.

The number of documents successfully and unsuccessfully processed during the translation job.

The language code of the language of the source text. The language must be a language supported by Amazon Translate.

The language code of the language of the target text. The language must be a language supported by Amazon Translate.

A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.

A list containing the names of the parallel data resources applied to the translation job.

An explanation of any errors that may have occurred during the translation job.

The time at which the translation job was submitted.

The time at which the translation job ended.

The input configuration properties that were specified when the job was requested.

The output configuration properties that were specified when the job was requested.

The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.

Settings that configure the translation output.

Creates a new builder-style object to manufacture TextTranslationJobProperties

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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)

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