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 |
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.
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:
$sel:id: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.
ReadJobResponse' | |
|
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.