| 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.IoTJobsData.DescribeJobExecution
Description
Gets details of a job execution.
Synopsis
- data DescribeJobExecution = DescribeJobExecution' {}
- newDescribeJobExecution :: Text -> Text -> DescribeJobExecution
- describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer)
- describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool)
- describeJobExecution_jobId :: Lens' DescribeJobExecution Text
- describeJobExecution_thingName :: Lens' DescribeJobExecution Text
- data DescribeJobExecutionResponse = DescribeJobExecutionResponse' {}
- newDescribeJobExecutionResponse :: Int -> DescribeJobExecutionResponse
- describeJobExecutionResponse_execution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution)
- describeJobExecutionResponse_httpStatus :: Lens' DescribeJobExecutionResponse Int
Creating a Request
data DescribeJobExecution Source #
See: newDescribeJobExecution smart constructor.
Constructors
| DescribeJobExecution' | |
Fields
| |
Instances
newDescribeJobExecution Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeJobExecution |
Create a value of DescribeJobExecution 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:
DescribeJobExecution, describeJobExecution_executionNumber - Optional. A number that identifies a particular job execution on a
particular device. If not specified, the latest job execution is
returned.
$sel:includeJobDocument:DescribeJobExecution', describeJobExecution_includeJobDocument - Optional. When set to true, the response contains the job document. The
default is false.
DescribeJobExecution, describeJobExecution_jobId - The unique identifier assigned to this job when it was created.
DescribeJobExecution, describeJobExecution_thingName - The thing name associated with the device the job execution is running
on.
Request Lenses
describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer) Source #
Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.
describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool) Source #
Optional. When set to true, the response contains the job document. The default is false.
describeJobExecution_jobId :: Lens' DescribeJobExecution Text Source #
The unique identifier assigned to this job when it was created.
describeJobExecution_thingName :: Lens' DescribeJobExecution Text Source #
The thing name associated with the device the job execution is running on.
Destructuring the Response
data DescribeJobExecutionResponse Source #
See: newDescribeJobExecutionResponse smart constructor.
Constructors
| DescribeJobExecutionResponse' | |
Fields
| |
Instances
newDescribeJobExecutionResponse Source #
Create a value of DescribeJobExecutionResponse 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:execution:DescribeJobExecutionResponse', describeJobExecutionResponse_execution - Contains data about a job execution.
$sel:httpStatus:DescribeJobExecutionResponse', describeJobExecutionResponse_httpStatus - The response's http status code.
Response Lenses
describeJobExecutionResponse_execution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution) Source #
Contains data about a job execution.
describeJobExecutionResponse_httpStatus :: Lens' DescribeJobExecutionResponse Int Source #
The response's http status code.