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 |
Gets the properties associated with an asynchronous 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:
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
Generic DescribeTextTranslationJobResponse Source # | |
Read DescribeTextTranslationJobResponse Source # | |
Show DescribeTextTranslationJobResponse Source # | |
NFData DescribeTextTranslationJobResponse Source # | |
Defined in Amazonka.Translate.DescribeTextTranslationJob rnf :: DescribeTextTranslationJobResponse -> () # | |
Eq DescribeTextTranslationJobResponse Source # | |
type Rep DescribeTextTranslationJobResponse Source # | |
Defined in Amazonka.Translate.DescribeTextTranslationJob type Rep DescribeTextTranslationJobResponse = D1 ('MetaData "DescribeTextTranslationJobResponse" "Amazonka.Translate.DescribeTextTranslationJob" "amazonka-translate-2.0-L0mihfp7dIB5vR5cgIREJ6" 'False) (C1 ('MetaCons "DescribeTextTranslationJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "textTranslationJobProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextTranslationJobProperties)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.