| 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.IoT.DescribeJob
Description
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.
Constructors
| DescribeJob' | |
Instances
Arguments
| :: Text | |
| -> DescribeJob |
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:
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.
Constructors
| DescribeJobResponse' | |
Fields
| |
Instances
newDescribeJobResponse Source #
Arguments
| :: Int | |
| -> DescribeJobResponse |
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.