| 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 | 
Amazonka.Translate.GetParallelData
Description
Provides information about a parallel data resource.
Synopsis
- data GetParallelData = GetParallelData' {}
- newGetParallelData :: Text -> GetParallelData
- getParallelData_name :: Lens' GetParallelData Text
- data GetParallelDataResponse = GetParallelDataResponse' {}
- newGetParallelDataResponse :: Int -> GetParallelDataResponse
- getParallelDataResponse_auxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
- getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
- getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
- getParallelDataResponse_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties)
- getParallelDataResponse_httpStatus :: Lens' GetParallelDataResponse Int
Creating a Request
data GetParallelData Source #
See: newGetParallelData smart constructor.
Constructors
| GetParallelData' | |
Instances
Arguments
| :: Text | |
| -> GetParallelData | 
Create a value of GetParallelData 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:
GetParallelData, getParallelData_name - The name of the parallel data resource that is being retrieved.
Request Lenses
getParallelData_name :: Lens' GetParallelData Text Source #
The name of the parallel data resource that is being retrieved.
Destructuring the Response
data GetParallelDataResponse Source #
See: newGetParallelDataResponse smart constructor.
Constructors
| GetParallelDataResponse' | |
| Fields 
 | |
Instances
newGetParallelDataResponse Source #
Create a value of GetParallelDataResponse 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:auxiliaryDataLocation:GetParallelDataResponse', getParallelDataResponse_auxiliaryDataLocation - 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 parallel data resource. The location is
 returned as a presigned URL to that has a 30-minute expiration.
$sel:dataLocation:GetParallelDataResponse', getParallelDataResponse_dataLocation - The Amazon S3 location of the most recent parallel data 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.
$sel:latestUpdateAttemptAuxiliaryDataLocation:GetParallelDataResponse', getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation - 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 update a parallel data resource. The location is
 returned as a presigned URL to that has a 30-minute expiration.
$sel:parallelDataProperties:GetParallelDataResponse', getParallelDataResponse_parallelDataProperties - The properties of the parallel data resource that is being retrieved.
$sel:httpStatus:GetParallelDataResponse', getParallelDataResponse_httpStatus - The response's http status code.
Response Lenses
getParallelDataResponse_auxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #
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 parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #
The Amazon S3 location of the most recent parallel data 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.
getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #
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 update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
getParallelDataResponse_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties) Source #
The properties of the parallel data resource that is being retrieved.
getParallelDataResponse_httpStatus :: Lens' GetParallelDataResponse Int Source #
The response's http status code.