#[non_exhaustive]pub struct GetTerminologyOutput {
pub terminology_properties: Option<TerminologyProperties>,
pub terminology_data_location: Option<TerminologyDataLocation>,
pub auxiliary_data_location: Option<TerminologyDataLocation>,
/* private fields */
}
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.terminology_properties: Option<TerminologyProperties>
The properties of the custom terminology being retrieved.
terminology_data_location: Option<TerminologyDataLocation>
The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.
Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.
CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.
Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
auxiliary_data_location: Option<TerminologyDataLocation>
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
Implementations§
source§impl GetTerminologyOutput
impl GetTerminologyOutput
sourcepub fn terminology_properties(&self) -> Option<&TerminologyProperties>
pub fn terminology_properties(&self) -> Option<&TerminologyProperties>
The properties of the custom terminology being retrieved.
sourcepub fn terminology_data_location(&self) -> Option<&TerminologyDataLocation>
pub fn terminology_data_location(&self) -> Option<&TerminologyDataLocation>
The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration.
Amazon Translate doesn't scan all input files for the risk of CSV injection attacks.
CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it.
Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
sourcepub fn auxiliary_data_location(&self) -> Option<&TerminologyDataLocation>
pub fn auxiliary_data_location(&self) -> Option<&TerminologyDataLocation>
The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
source§impl GetTerminologyOutput
impl GetTerminologyOutput
sourcepub fn builder() -> GetTerminologyOutputBuilder
pub fn builder() -> GetTerminologyOutputBuilder
Creates a new builder-style object to manufacture GetTerminologyOutput
.
Trait Implementations§
source§impl Clone for GetTerminologyOutput
impl Clone for GetTerminologyOutput
source§fn clone(&self) -> GetTerminologyOutput
fn clone(&self) -> GetTerminologyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTerminologyOutput
impl Debug for GetTerminologyOutput
source§impl PartialEq for GetTerminologyOutput
impl PartialEq for GetTerminologyOutput
source§fn eq(&self, other: &GetTerminologyOutput) -> bool
fn eq(&self, other: &GetTerminologyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetTerminologyOutput
impl RequestId for GetTerminologyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetTerminologyOutput
Auto Trait Implementations§
impl Freeze for GetTerminologyOutput
impl RefUnwindSafe for GetTerminologyOutput
impl Send for GetTerminologyOutput
impl Sync for GetTerminologyOutput
impl Unpin for GetTerminologyOutput
impl UnwindSafe for GetTerminologyOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more