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 |
Lists job runs based on a set of parameters.
This operation returns paginated results.
Synopsis
- data ListJobRuns = ListJobRuns' {}
- newListJobRuns :: Text -> ListJobRuns
- listJobRuns_createdAtAfter :: Lens' ListJobRuns (Maybe UTCTime)
- listJobRuns_createdAtBefore :: Lens' ListJobRuns (Maybe UTCTime)
- listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural)
- listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text)
- listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState])
- listJobRuns_applicationId :: Lens' ListJobRuns Text
- data ListJobRunsResponse = ListJobRunsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- jobRuns :: [JobRunSummary]
- newListJobRunsResponse :: Int -> ListJobRunsResponse
- listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text)
- listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int
- listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRunSummary]
Creating a Request
data ListJobRuns Source #
See: newListJobRuns
smart constructor.
ListJobRuns' | |
|
Instances
Create a value of ListJobRuns
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:createdAtAfter:ListJobRuns'
, listJobRuns_createdAtAfter
- The lower bound of the option to filter by creation date and time.
$sel:createdAtBefore:ListJobRuns'
, listJobRuns_createdAtBefore
- The upper bound of the option to filter by creation date and time.
$sel:maxResults:ListJobRuns'
, listJobRuns_maxResults
- The maximum number of job runs that can be listed.
ListJobRuns
, listJobRuns_nextToken
- The token for the next set of job run results.
$sel:states:ListJobRuns'
, listJobRuns_states
- An optional filter for job run states. Note that if this filter contains
multiple states, the resulting list will be grouped by the state.
ListJobRuns
, listJobRuns_applicationId
- The ID of the application for which to list the job run.
Request Lenses
listJobRuns_createdAtAfter :: Lens' ListJobRuns (Maybe UTCTime) Source #
The lower bound of the option to filter by creation date and time.
listJobRuns_createdAtBefore :: Lens' ListJobRuns (Maybe UTCTime) Source #
The upper bound of the option to filter by creation date and time.
listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural) Source #
The maximum number of job runs that can be listed.
listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text) Source #
The token for the next set of job run results.
listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState]) Source #
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
listJobRuns_applicationId :: Lens' ListJobRuns Text Source #
The ID of the application for which to list the job run.
Destructuring the Response
data ListJobRunsResponse Source #
See: newListJobRunsResponse
smart constructor.
ListJobRunsResponse' | |
|
Instances
newListJobRunsResponse Source #
Create a value of ListJobRunsResponse
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:
ListJobRuns
, listJobRunsResponse_nextToken
- The output displays the token for the next set of job run results. This
is required for pagination and is available as a response of the
previous request.
$sel:httpStatus:ListJobRunsResponse'
, listJobRunsResponse_httpStatus
- The response's http status code.
$sel:jobRuns:ListJobRunsResponse'
, listJobRunsResponse_jobRuns
- The output lists information about the specified job runs.
Response Lenses
listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text) Source #
The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.
listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int Source #
The response's http status code.
listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRunSummary] Source #
The output lists information about the specified job runs.