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 execution.
Requires permission to access the DescribeJobExecution action.
Synopsis
- data DescribeJobExecution = DescribeJobExecution' {}
- newDescribeJobExecution :: Text -> Text -> DescribeJobExecution
- 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:executionNumber:DescribeJobExecution'
, describeJobExecution_executionNumber
- A string (consisting of the digits "0" through "9" which is used to
specify a particular job execution on a particular device.
$sel:jobId:DescribeJobExecution'
, describeJobExecution_jobId
- The unique identifier you assigned to this job when it was created.
$sel:thingName:DescribeJobExecution'
, describeJobExecution_thingName
- The name of the thing on which the job execution is running.
Request Lenses
describeJobExecution_executionNumber :: Lens' DescribeJobExecution (Maybe Integer) Source #
A string (consisting of the digits "0" through "9" which is used to specify a particular job execution on a particular device.
describeJobExecution_jobId :: Lens' DescribeJobExecution Text Source #
The unique identifier you assigned to this job when it was created.
describeJobExecution_thingName :: Lens' DescribeJobExecution Text Source #
The name of the thing on which the job execution is running.
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
- Information about the job execution.
$sel:httpStatus:DescribeJobExecutionResponse'
, describeJobExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
describeJobExecutionResponse_execution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution) Source #
Information about the job execution.
describeJobExecutionResponse_httpStatus :: Lens' DescribeJobExecutionResponse Int Source #
The response's http status code.