Struct aws_sdk_translate::types::TerminologyDataLocation
source · #[non_exhaustive]pub struct TerminologyDataLocation {
pub repository_type: String,
pub location: String,
}
Expand description
The location of the custom terminology data.
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.repository_type: String
The repository type for the custom terminology data.
location: String
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.
Implementations§
source§impl TerminologyDataLocation
impl TerminologyDataLocation
sourcepub fn repository_type(&self) -> &str
pub fn repository_type(&self) -> &str
The repository type for the custom terminology data.
sourcepub fn location(&self) -> &str
pub fn location(&self) -> &str
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.
source§impl TerminologyDataLocation
impl TerminologyDataLocation
sourcepub fn builder() -> TerminologyDataLocationBuilder
pub fn builder() -> TerminologyDataLocationBuilder
Creates a new builder-style object to manufacture TerminologyDataLocation
.
Trait Implementations§
source§impl Clone for TerminologyDataLocation
impl Clone for TerminologyDataLocation
source§fn clone(&self) -> TerminologyDataLocation
fn clone(&self) -> TerminologyDataLocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TerminologyDataLocation
impl Debug for TerminologyDataLocation
source§impl PartialEq for TerminologyDataLocation
impl PartialEq for TerminologyDataLocation
source§fn eq(&self, other: &TerminologyDataLocation) -> bool
fn eq(&self, other: &TerminologyDataLocation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TerminologyDataLocation
Auto Trait Implementations§
impl Freeze for TerminologyDataLocation
impl RefUnwindSafe for TerminologyDataLocation
impl Send for TerminologyDataLocation
impl Sync for TerminologyDataLocation
impl Unpin for TerminologyDataLocation
impl UnwindSafe for TerminologyDataLocation
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