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 the list of all jobs for a thing that are not in a terminal status.
Synopsis
- getPendingJobExecutions :: Text -> GetPendingJobExecutions
- data GetPendingJobExecutions
- gpjeThingName :: Lens' GetPendingJobExecutions Text
- getPendingJobExecutionsResponse :: Int -> GetPendingJobExecutionsResponse
- data GetPendingJobExecutionsResponse
- gpjersInProgressJobs :: Lens' GetPendingJobExecutionsResponse [JobExecutionSummary]
- gpjersQueuedJobs :: Lens' GetPendingJobExecutionsResponse [JobExecutionSummary]
- gpjersResponseStatus :: Lens' GetPendingJobExecutionsResponse Int
Creating a Request
getPendingJobExecutions Source #
Creates a value of GetPendingJobExecutions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpjeThingName
- The name of the thing that is executing the job.
data GetPendingJobExecutions Source #
See: getPendingJobExecutions
smart constructor.
Instances
Request Lenses
gpjeThingName :: Lens' GetPendingJobExecutions Text Source #
The name of the thing that is executing the job.
Destructuring the Response
getPendingJobExecutionsResponse Source #
Creates a value of GetPendingJobExecutionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpjersInProgressJobs
- A list of JobExecutionSummary objects with status IN_PROGRESS.gpjersQueuedJobs
- A list of JobExecutionSummary objects with status QUEUED.gpjersResponseStatus
- -- | The response status code.
data GetPendingJobExecutionsResponse Source #
See: getPendingJobExecutionsResponse
smart constructor.
Instances
Response Lenses
gpjersInProgressJobs :: Lens' GetPendingJobExecutionsResponse [JobExecutionSummary] Source #
A list of JobExecutionSummary objects with status IN_PROGRESS.
gpjersQueuedJobs :: Lens' GetPendingJobExecutionsResponse [JobExecutionSummary] Source #
A list of JobExecutionSummary objects with status QUEUED.
gpjersResponseStatus :: Lens' GetPendingJobExecutionsResponse Int Source #
- - | The response status code.