| 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.ElasticTranscoder.ReadJob
Description
The ReadJob operation returns detailed information about a job.
Synopsis
- data ReadJob = ReadJob' {}
- newReadJob :: Text -> ReadJob
- readJob_id :: Lens' ReadJob Text
- data ReadJobResponse = ReadJobResponse' {
- httpStatus :: Int
- job :: Job
- newReadJobResponse :: Int -> Job -> ReadJobResponse
- readJobResponse_httpStatus :: Lens' ReadJobResponse Int
- readJobResponse_job :: Lens' ReadJobResponse Job
Creating a Request
The ReadJobRequest structure.
See: newReadJob smart constructor.
Constructors
| ReadJob' | |
Instances
Create a value of ReadJob 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:
ReadJob, readJob_id - The identifier of the job for which you want to get detailed
information.
Request Lenses
readJob_id :: Lens' ReadJob Text Source #
The identifier of the job for which you want to get detailed information.
Destructuring the Response
data ReadJobResponse Source #
The ReadJobResponse structure.
See: newReadJobResponse smart constructor.
Constructors
| ReadJobResponse' | |
Fields
| |
Instances
Create a value of ReadJobResponse 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:httpStatus:ReadJobResponse', readJobResponse_httpStatus - The response's http status code.
$sel:job:ReadJobResponse', readJobResponse_job - A section of the response body that provides information about the job.
Response Lenses
readJobResponse_httpStatus :: Lens' ReadJobResponse Int Source #
The response's http status code.
readJobResponse_job :: Lens' ReadJobResponse Job Source #
A section of the response body that provides information about the job.