Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets the list of all jobs for a thing that are not in a terminal status.
Synopsis
- data GetPendingJobExecutions = GetPendingJobExecutions' {}
- newGetPendingJobExecutions :: Text -> GetPendingJobExecutions
- getPendingJobExecutions_thingName :: Lens' GetPendingJobExecutions Text
- data GetPendingJobExecutionsResponse = GetPendingJobExecutionsResponse' {}
- newGetPendingJobExecutionsResponse :: Int -> GetPendingJobExecutionsResponse
- getPendingJobExecutionsResponse_inProgressJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary])
- getPendingJobExecutionsResponse_queuedJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary])
- getPendingJobExecutionsResponse_httpStatus :: Lens' GetPendingJobExecutionsResponse Int
Creating a Request
data GetPendingJobExecutions Source #
See: newGetPendingJobExecutions
smart constructor.
Instances
newGetPendingJobExecutions Source #
Create a value of GetPendingJobExecutions
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:
GetPendingJobExecutions
, getPendingJobExecutions_thingName
- The name of the thing that is executing the job.
Request Lenses
getPendingJobExecutions_thingName :: Lens' GetPendingJobExecutions Text Source #
The name of the thing that is executing the job.
Destructuring the Response
data GetPendingJobExecutionsResponse Source #
See: newGetPendingJobExecutionsResponse
smart constructor.
GetPendingJobExecutionsResponse' | |
|
Instances
newGetPendingJobExecutionsResponse Source #
Create a value of GetPendingJobExecutionsResponse
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:inProgressJobs:GetPendingJobExecutionsResponse'
, getPendingJobExecutionsResponse_inProgressJobs
- A list of JobExecutionSummary objects with status IN_PROGRESS.
$sel:queuedJobs:GetPendingJobExecutionsResponse'
, getPendingJobExecutionsResponse_queuedJobs
- A list of JobExecutionSummary objects with status QUEUED.
$sel:httpStatus:GetPendingJobExecutionsResponse'
, getPendingJobExecutionsResponse_httpStatus
- The response's http status code.
Response Lenses
getPendingJobExecutionsResponse_inProgressJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary]) Source #
A list of JobExecutionSummary objects with status IN_PROGRESS.
getPendingJobExecutionsResponse_queuedJobs :: Lens' GetPendingJobExecutionsResponse (Maybe [JobExecutionSummary]) Source #
A list of JobExecutionSummary objects with status QUEUED.
getPendingJobExecutionsResponse_httpStatus :: Lens' GetPendingJobExecutionsResponse Int Source #
The response's http status code.