Struct aws_sdk_translate::types::ParallelDataDataLocation
source · #[non_exhaustive]pub struct ParallelDataDataLocation {
pub repository_type: String,
pub location: String,
}
Expand description
The location of the most recent parallel data input file that was successfully imported into Amazon Translate.
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
Describes the repository that contains the parallel data input file.
location: String
The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to 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 ParallelDataDataLocation
impl ParallelDataDataLocation
sourcepub fn repository_type(&self) -> &str
pub fn repository_type(&self) -> &str
Describes the repository that contains the parallel data input file.
sourcepub fn location(&self) -> &str
pub fn location(&self) -> &str
The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to 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 ParallelDataDataLocation
impl ParallelDataDataLocation
sourcepub fn builder() -> ParallelDataDataLocationBuilder
pub fn builder() -> ParallelDataDataLocationBuilder
Creates a new builder-style object to manufacture ParallelDataDataLocation
.
Trait Implementations§
source§impl Clone for ParallelDataDataLocation
impl Clone for ParallelDataDataLocation
source§fn clone(&self) -> ParallelDataDataLocation
fn clone(&self) -> ParallelDataDataLocation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParallelDataDataLocation
impl Debug for ParallelDataDataLocation
source§impl PartialEq for ParallelDataDataLocation
impl PartialEq for ParallelDataDataLocation
source§fn eq(&self, other: &ParallelDataDataLocation) -> bool
fn eq(&self, other: &ParallelDataDataLocation) -> bool
self
and other
values to be equal, and is used
by ==
.