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 |
Describes a job.
Requires permission to access the DescribeJob action.
Synopsis
- data DescribeJob = DescribeJob' {}
- newDescribeJob :: Text -> DescribeJob
- describeJob_jobId :: Lens' DescribeJob Text
- data DescribeJobResponse = DescribeJobResponse' {
- documentSource :: Maybe Text
- job :: Maybe Job
- httpStatus :: Int
- newDescribeJobResponse :: Int -> DescribeJobResponse
- describeJobResponse_documentSource :: Lens' DescribeJobResponse (Maybe Text)
- describeJobResponse_job :: Lens' DescribeJobResponse (Maybe Job)
- describeJobResponse_httpStatus :: Lens' DescribeJobResponse Int
Creating a Request
data DescribeJob Source #
See: newDescribeJob
smart constructor.
Instances
Create a value of DescribeJob
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:DescribeJob'
, describeJob_jobId
- The unique identifier you assigned to this job when it was created.
Request Lenses
describeJob_jobId :: Lens' DescribeJob Text Source #
The unique identifier you assigned to this job when it was created.
Destructuring the Response
data DescribeJobResponse Source #
See: newDescribeJobResponse
smart constructor.
DescribeJobResponse' | |
|
Instances
newDescribeJobResponse Source #
Create a value of DescribeJobResponse
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:documentSource:DescribeJobResponse'
, describeJobResponse_documentSource
- An S3 link to the job document.
$sel:job:DescribeJobResponse'
, describeJobResponse_job
- Information about the job.
$sel:httpStatus:DescribeJobResponse'
, describeJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeJobResponse_documentSource :: Lens' DescribeJobResponse (Maybe Text) Source #
An S3 link to the job document.
describeJobResponse_job :: Lens' DescribeJobResponse (Maybe Job) Source #
Information about the job.
describeJobResponse_httpStatus :: Lens' DescribeJobResponse Int Source #
The response's http status code.