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 |
Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
Synopsis
- data DescribeTextTranslationJob = DescribeTextTranslationJob' {}
- newDescribeTextTranslationJob :: Text -> DescribeTextTranslationJob
- describeTextTranslationJob_jobId :: Lens' DescribeTextTranslationJob Text
- data DescribeTextTranslationJobResponse = DescribeTextTranslationJobResponse' {}
- newDescribeTextTranslationJobResponse :: Int -> DescribeTextTranslationJobResponse
- describeTextTranslationJobResponse_textTranslationJobProperties :: Lens' DescribeTextTranslationJobResponse (Maybe TextTranslationJobProperties)
- describeTextTranslationJobResponse_httpStatus :: Lens' DescribeTextTranslationJobResponse Int
Creating a Request
data DescribeTextTranslationJob Source #
See: newDescribeTextTranslationJob
smart constructor.
Instances
newDescribeTextTranslationJob Source #
Create a value of DescribeTextTranslationJob
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:jobId:DescribeTextTranslationJob'
, describeTextTranslationJob_jobId
- The identifier that Amazon Translate generated for the job. The
StartTextTranslationJob operation returns this identifier in its
response.
Request Lenses
describeTextTranslationJob_jobId :: Lens' DescribeTextTranslationJob Text Source #
The identifier that Amazon Translate generated for the job. The StartTextTranslationJob operation returns this identifier in its response.
Destructuring the Response
data DescribeTextTranslationJobResponse Source #
See: newDescribeTextTranslationJobResponse
smart constructor.
DescribeTextTranslationJobResponse' | |
|
Instances
newDescribeTextTranslationJobResponse Source #
Create a value of DescribeTextTranslationJobResponse
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:textTranslationJobProperties:DescribeTextTranslationJobResponse'
, describeTextTranslationJobResponse_textTranslationJobProperties
- An object that contains the properties associated with an asynchronous
batch translation job.
$sel:httpStatus:DescribeTextTranslationJobResponse'
, describeTextTranslationJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeTextTranslationJobResponse_textTranslationJobProperties :: Lens' DescribeTextTranslationJobResponse (Maybe TextTranslationJobProperties) Source #
An object that contains the properties associated with an asynchronous batch translation job.
describeTextTranslationJobResponse_httpStatus :: Lens' DescribeTextTranslationJobResponse Int Source #
The response's http status code.