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 |
Gets details of a job execution.
Synopsis
- data DescribeJobExecution = DescribeJobExecution' {}
- newDescribeJobExecution :: Text -> Text -> DescribeJobExecution
- describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool)
- describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer)
- 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.
DescribeJobExecution' | |
|
Instances
newDescribeJobExecution Source #
:: 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:
$sel:includeJobDocument:DescribeJobExecution'
, describeJobExecution_includeJobDocument
- Optional. When set to true, the response contains the job document. The
default is false.
$sel:executionNumber: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:jobId:DescribeJobExecution'
, describeJobExecution_jobId
- The unique identifier assigned to this job when it was created.
$sel:thingName:DescribeJobExecution'
, describeJobExecution_thingName
- The thing name associated with the device the job execution is running
on.
Request Lenses
describeJobExecution_includeJobDocument :: Lens' DescribeJobExecution (Maybe Bool) Source #
Optional. When set to true, the response contains the job document. The default is false.
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_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.
DescribeJobExecutionResponse' | |
|
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.