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 DataBrew jobs that are defined.
This operation returns paginated results.
Synopsis
- data ListJobs = ListJobs' {
- nextToken :: Maybe Text
- projectName :: Maybe Text
- datasetName :: Maybe Text
- maxResults :: Maybe Natural
- newListJobs :: ListJobs
- listJobs_nextToken :: Lens' ListJobs (Maybe Text)
- listJobs_projectName :: Lens' ListJobs (Maybe Text)
- listJobs_datasetName :: Lens' ListJobs (Maybe Text)
- listJobs_maxResults :: Lens' ListJobs (Maybe Natural)
- data ListJobsResponse = ListJobsResponse' {}
- newListJobsResponse :: Int -> ListJobsResponse
- listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text)
- listJobsResponse_httpStatus :: Lens' ListJobsResponse Int
- listJobsResponse_jobs :: Lens' ListJobsResponse [Job]
Creating a Request
See: newListJobs
smart constructor.
ListJobs' | |
|
Instances
newListJobs :: ListJobs Source #
Create a value of ListJobs
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:ListJobs'
, listJobs_nextToken
- A token generated by DataBrew that specifies where to continue
pagination if a previous request was truncated. To get the next set of
pages, pass in the NextToken value from the response object of the
previous page call.
$sel:projectName:ListJobs'
, listJobs_projectName
- The name of a project. Using this parameter indicates to return only
those jobs that are associated with the specified project.
$sel:datasetName:ListJobs'
, listJobs_datasetName
- The name of a dataset. Using this parameter indicates to return only
those jobs that act on the specified dataset.
$sel:maxResults:ListJobs'
, listJobs_maxResults
- The maximum number of results to return in this request.
Request Lenses
listJobs_nextToken :: Lens' ListJobs (Maybe Text) Source #
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.
listJobs_projectName :: Lens' ListJobs (Maybe Text) Source #
The name of a project. Using this parameter indicates to return only those jobs that are associated with the specified project.
listJobs_datasetName :: Lens' ListJobs (Maybe Text) Source #
The name of a dataset. Using this parameter indicates to return only those jobs that act on the specified dataset.
listJobs_maxResults :: Lens' ListJobs (Maybe Natural) Source #
The maximum number of results to return in this request.
Destructuring the Response
data ListJobsResponse Source #
See: newListJobsResponse
smart constructor.
Instances
Create a value of ListJobsResponse
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:ListJobs'
, listJobsResponse_nextToken
- A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListJobsResponse'
, listJobsResponse_httpStatus
- The response's http status code.
$sel:jobs:ListJobsResponse'
, listJobsResponse_jobs
- A list of jobs that are defined.
Response Lenses
listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #
The response's http status code.
listJobsResponse_jobs :: Lens' ListJobsResponse [Job] Source #
A list of jobs that are defined.