Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets details of a job execution.
- describeJobExecution :: Text -> Text -> DescribeJobExecution
- data DescribeJobExecution
- djeIncludeJobDocument :: Lens' DescribeJobExecution (Maybe Bool)
- djeExecutionNumber :: Lens' DescribeJobExecution (Maybe Integer)
- djeJobId :: Lens' DescribeJobExecution Text
- djeThingName :: Lens' DescribeJobExecution Text
- describeJobExecutionResponse :: Int -> DescribeJobExecutionResponse
- data DescribeJobExecutionResponse
- djersExecution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution)
- djersResponseStatus :: Lens' DescribeJobExecutionResponse Int
Creating a Request
Creates a value of DescribeJobExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
djeIncludeJobDocument
- Optional. When set to true, the response contains the job document. The default is false.djeExecutionNumber
- Optional. A number that identifies a particular job execution on a particular device. If not specified, the latest job execution is returned.djeJobId
- The unique identifier assigned to this job when it was created.djeThingName
- The thing name associated with the device the job execution is running on.
data DescribeJobExecution Source #
See: describeJobExecution
smart constructor.
Request Lenses
djeIncludeJobDocument :: Lens' DescribeJobExecution (Maybe Bool) Source #
Optional. When set to true, the response contains the job document. The default is false.
djeExecutionNumber :: 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.
djeJobId :: Lens' DescribeJobExecution Text Source #
The unique identifier assigned to this job when it was created.
djeThingName :: Lens' DescribeJobExecution Text Source #
The thing name associated with the device the job execution is running on.
Destructuring the Response
describeJobExecutionResponse Source #
Creates a value of DescribeJobExecutionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
djersExecution
- Contains data about a job execution.djersResponseStatus
- -- | The response status code.
data DescribeJobExecutionResponse Source #
See: describeJobExecutionResponse
smart constructor.
Response Lenses
djersExecution :: Lens' DescribeJobExecutionResponse (Maybe JobExecution) Source #
Contains data about a job execution.
djersResponseStatus :: Lens' DescribeJobExecutionResponse Int Source #
- - | The response status code.