| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties)
- getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
- getParallelDataResponse_auxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
- getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
- 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:
$sel:name: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:parallelDataProperties:GetParallelDataResponse', getParallelDataResponse_parallelDataProperties - The properties of the parallel data resource that is being retrieved.
$sel:dataLocation:GetParallelDataResponse', getParallelDataResponse_dataLocation - The 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.
$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: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:httpStatus:GetParallelDataResponse', getParallelDataResponse_httpStatus - The response's http status code.
Response Lenses
getParallelDataResponse_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties) Source #
The properties of the parallel data resource that is being retrieved.
getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation) Source #
The 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.
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_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_httpStatus :: Lens' GetParallelDataResponse Int Source #
The response's http status code.