#[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
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
sourceimpl TextTranslationJobProperties
impl TextTranslationJobProperties
sourcepub fn job_status(&self) -> Option<&JobStatus>
pub fn job_status(&self) -> Option<&JobStatus>
The status of the translation job.
sourcepub fn job_details(&self) -> Option<&JobDetails>
pub fn job_details(&self) -> Option<&JobDetails>
The number of documents successfully and unsuccessfully processed during the translation job.
sourcepub fn source_language_code(&self) -> Option<&str>
pub fn source_language_code(&self) -> Option<&str>
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
sourcepub fn target_language_codes(&self) -> Option<&[String]>
pub fn target_language_codes(&self) -> Option<&[String]>
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
sourcepub fn terminology_names(&self) -> Option<&[String]>
pub fn terminology_names(&self) -> Option<&[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.
sourcepub fn parallel_data_names(&self) -> Option<&[String]>
pub fn parallel_data_names(&self) -> Option<&[String]>
A list containing the names of the parallel data resources applied to the translation job.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
An explanation of any errors that may have occurred during the translation job.
sourcepub fn submitted_time(&self) -> Option<&DateTime>
pub fn submitted_time(&self) -> Option<&DateTime>
The time at which the translation job was submitted.
sourcepub fn input_data_config(&self) -> Option<&InputDataConfig>
pub fn input_data_config(&self) -> Option<&InputDataConfig>
The input configuration properties that were specified when the job was requested.
sourcepub fn output_data_config(&self) -> Option<&OutputDataConfig>
pub fn output_data_config(&self) -> Option<&OutputDataConfig>
The output configuration properties that were specified when the job was requested.
sourcepub fn data_access_role_arn(&self) -> Option<&str>
pub fn data_access_role_arn(&self) -> Option<&str>
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.
sourcepub fn settings(&self) -> Option<&TranslationSettings>
pub fn settings(&self) -> Option<&TranslationSettings>
Settings that configure the translation output.
sourceimpl TextTranslationJobProperties
impl TextTranslationJobProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TextTranslationJobProperties
Trait Implementations
sourceimpl Clone for TextTranslationJobProperties
impl Clone for TextTranslationJobProperties
sourcefn clone(&self) -> TextTranslationJobProperties
fn clone(&self) -> TextTranslationJobProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TextTranslationJobProperties
impl Debug for TextTranslationJobProperties
sourceimpl PartialEq<TextTranslationJobProperties> for TextTranslationJobProperties
impl PartialEq<TextTranslationJobProperties> for TextTranslationJobProperties
sourcefn eq(&self, other: &TextTranslationJobProperties) -> bool
fn eq(&self, other: &TextTranslationJobProperties) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TextTranslationJobProperties) -> bool
fn ne(&self, other: &TextTranslationJobProperties) -> bool
This method tests for !=.
impl StructuralPartialEq for TextTranslationJobProperties
Auto Trait Implementations
impl RefUnwindSafe for TextTranslationJobProperties
impl Send for TextTranslationJobProperties
impl Sync for TextTranslationJobProperties
impl Unpin for TextTranslationJobProperties
impl UnwindSafe for TextTranslationJobProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more