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 all of the previous runs of a particular DataBrew job.
This operation returns paginated results.
Synopsis
- data ListJobRuns = ListJobRuns' {}
- newListJobRuns :: Text -> ListJobRuns
- listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text)
- listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural)
- listJobRuns_name :: Lens' ListJobRuns Text
- data ListJobRunsResponse = ListJobRunsResponse' {}
- newListJobRunsResponse :: Int -> ListJobRunsResponse
- listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text)
- listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int
- listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRun]
Creating a Request
data ListJobRuns Source #
See: newListJobRuns
smart constructor.
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:nextToken:ListJobRuns'
, listJobRuns_nextToken
- The token returned by a previous call to retrieve the next set of
results.
$sel:maxResults:ListJobRuns'
, listJobRuns_maxResults
- The maximum number of results to return in this request.
$sel:name:ListJobRuns'
, listJobRuns_name
- The name of the job.
Request Lenses
listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural) Source #
The maximum number of results to return in this request.
listJobRuns_name :: Lens' ListJobRuns Text Source #
The name of the job.
Destructuring the Response
data ListJobRunsResponse Source #
See: newListJobRunsResponse
smart constructor.
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:
$sel:nextToken:ListJobRuns'
, listJobRunsResponse_nextToken
- A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListJobRunsResponse'
, listJobRunsResponse_httpStatus
- The response's http status code.
$sel:jobRuns:ListJobRunsResponse'
, listJobRunsResponse_jobRuns
- A list of job runs that have occurred for the specified job.
Response Lenses
listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int Source #
The response's http status code.
listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRun] Source #
A list of job runs that have occurred for the specified job.