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 and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.
Synopsis
- startNextPendingJobExecution :: Text -> StartNextPendingJobExecution
- data StartNextPendingJobExecution
- snpjeStatusDetails :: Lens' StartNextPendingJobExecution (HashMap Text Text)
- snpjeThingName :: Lens' StartNextPendingJobExecution Text
- startNextPendingJobExecutionResponse :: Int -> StartNextPendingJobExecutionResponse
- data StartNextPendingJobExecutionResponse
- snpjersExecution :: Lens' StartNextPendingJobExecutionResponse (Maybe JobExecution)
- snpjersResponseStatus :: Lens' StartNextPendingJobExecutionResponse Int
Creating a Request
startNextPendingJobExecution Source #
Creates a value of StartNextPendingJobExecution
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snpjeStatusDetails
- A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.snpjeThingName
- The name of the thing associated with the device.
data StartNextPendingJobExecution Source #
See: startNextPendingJobExecution
smart constructor.
Instances
Request Lenses
snpjeStatusDetails :: Lens' StartNextPendingJobExecution (HashMap Text Text) Source #
A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
snpjeThingName :: Lens' StartNextPendingJobExecution Text Source #
The name of the thing associated with the device.
Destructuring the Response
startNextPendingJobExecutionResponse Source #
Creates a value of StartNextPendingJobExecutionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
snpjersExecution
- A JobExecution object.snpjersResponseStatus
- -- | The response status code.
data StartNextPendingJobExecutionResponse Source #
See: startNextPendingJobExecutionResponse
smart constructor.
Instances
Response Lenses
snpjersExecution :: Lens' StartNextPendingJobExecutionResponse (Maybe JobExecution) Source #
A JobExecution object.
snpjersResponseStatus :: Lens' StartNextPendingJobExecutionResponse Int Source #
- - | The response status code.