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 |
Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
This operation returns paginated results.
Synopsis
- data ListJobExecutionsForJob = ListJobExecutionsForJob' {}
- newListJobExecutionsForJob :: Text -> ListJobExecutionsForJob
- listJobExecutionsForJob_status :: Lens' ListJobExecutionsForJob (Maybe JobExecutionStatus)
- listJobExecutionsForJob_nextToken :: Lens' ListJobExecutionsForJob (Maybe Text)
- listJobExecutionsForJob_maxResults :: Lens' ListJobExecutionsForJob (Maybe Natural)
- listJobExecutionsForJob_jobId :: Lens' ListJobExecutionsForJob Text
- data ListJobExecutionsForJobResponse = ListJobExecutionsForJobResponse' {}
- newListJobExecutionsForJobResponse :: Int -> ListJobExecutionsForJobResponse
- listJobExecutionsForJobResponse_executionSummaries :: Lens' ListJobExecutionsForJobResponse (Maybe [JobExecutionSummaryForJob])
- listJobExecutionsForJobResponse_nextToken :: Lens' ListJobExecutionsForJobResponse (Maybe Text)
- listJobExecutionsForJobResponse_httpStatus :: Lens' ListJobExecutionsForJobResponse Int
Creating a Request
data ListJobExecutionsForJob Source #
See: newListJobExecutionsForJob
smart constructor.
Instances
newListJobExecutionsForJob Source #
Create a value of ListJobExecutionsForJob
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:status:ListJobExecutionsForJob'
, listJobExecutionsForJob_status
- The status of the job.
$sel:nextToken:ListJobExecutionsForJob'
, listJobExecutionsForJob_nextToken
- The token to retrieve the next set of results.
$sel:maxResults:ListJobExecutionsForJob'
, listJobExecutionsForJob_maxResults
- The maximum number of results to be returned per request.
$sel:jobId:ListJobExecutionsForJob'
, listJobExecutionsForJob_jobId
- The unique identifier you assigned to this job when it was created.
Request Lenses
listJobExecutionsForJob_status :: Lens' ListJobExecutionsForJob (Maybe JobExecutionStatus) Source #
The status of the job.
listJobExecutionsForJob_nextToken :: Lens' ListJobExecutionsForJob (Maybe Text) Source #
The token to retrieve the next set of results.
listJobExecutionsForJob_maxResults :: Lens' ListJobExecutionsForJob (Maybe Natural) Source #
The maximum number of results to be returned per request.
listJobExecutionsForJob_jobId :: Lens' ListJobExecutionsForJob Text Source #
The unique identifier you assigned to this job when it was created.
Destructuring the Response
data ListJobExecutionsForJobResponse Source #
See: newListJobExecutionsForJobResponse
smart constructor.
ListJobExecutionsForJobResponse' | |
|
Instances
newListJobExecutionsForJobResponse Source #
Create a value of ListJobExecutionsForJobResponse
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:executionSummaries:ListJobExecutionsForJobResponse'
, listJobExecutionsForJobResponse_executionSummaries
- A list of job execution summaries.
$sel:nextToken:ListJobExecutionsForJob'
, listJobExecutionsForJobResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListJobExecutionsForJobResponse'
, listJobExecutionsForJobResponse_httpStatus
- The response's http status code.
Response Lenses
listJobExecutionsForJobResponse_executionSummaries :: Lens' ListJobExecutionsForJobResponse (Maybe [JobExecutionSummaryForJob]) Source #
A list of job execution summaries.
listJobExecutionsForJobResponse_nextToken :: Lens' ListJobExecutionsForJobResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listJobExecutionsForJobResponse_httpStatus :: Lens' ListJobExecutionsForJobResponse Int Source #
The response's http status code.