| 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 |
Amazonka.DataBrew.ListJobRuns
Description
Lists all of the previous runs of a particular DataBrew job.
This operation returns paginated results.
Synopsis
- data ListJobRuns = ListJobRuns' {}
- newListJobRuns :: Text -> ListJobRuns
- listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural)
- listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text)
- 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.
Constructors
| ListJobRuns' | |
Instances
Arguments
| :: Text | |
| -> ListJobRuns |
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:maxResults:ListJobRuns', listJobRuns_maxResults - The maximum number of results to return in this request.
ListJobRuns, listJobRuns_nextToken - The token returned by a previous call to retrieve the next set of
results.
ListJobRuns, listJobRuns_name - The name of the job.
Request Lenses
listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural) Source #
The maximum number of results to return in this request.
listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listJobRuns_name :: Lens' ListJobRuns Text Source #
The name of the job.
Destructuring the Response
data ListJobRunsResponse Source #
See: newListJobRunsResponse smart constructor.
Constructors
| ListJobRunsResponse' | |
Instances
newListJobRunsResponse Source #
Arguments
| :: Int | |
| -> ListJobRunsResponse |
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 - 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.