Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ParallelDataDataLocation = ParallelDataDataLocation' {
- repositoryType :: Text
- location :: Text
- newParallelDataDataLocation :: Text -> Text -> ParallelDataDataLocation
- parallelDataDataLocation_repositoryType :: Lens' ParallelDataDataLocation Text
- parallelDataDataLocation_location :: Lens' ParallelDataDataLocation Text
Documentation
data ParallelDataDataLocation Source #
The location of the most recent parallel data input file that was successfully imported into Amazon Translate.
See: newParallelDataDataLocation
smart constructor.
ParallelDataDataLocation' | |
|
Instances
newParallelDataDataLocation Source #
:: Text | |
-> Text | |
-> ParallelDataDataLocation |
Create a value of ParallelDataDataLocation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:repositoryType:ParallelDataDataLocation'
, parallelDataDataLocation_repositoryType
- Describes the repository that contains the parallel data input file.
$sel:location:ParallelDataDataLocation'
, parallelDataDataLocation_location
- 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.
parallelDataDataLocation_repositoryType :: Lens' ParallelDataDataLocation Text Source #
Describes the repository that contains the parallel data input file.
parallelDataDataLocation_location :: Lens' ParallelDataDataLocation Text Source #
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.