| 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.ListJobs
Description
Lists all of the DataBrew jobs that are defined.
This operation returns paginated results.
Synopsis
- data ListJobs = ListJobs' {
- datasetName :: Maybe Text
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- projectName :: Maybe Text
- newListJobs :: ListJobs
- listJobs_datasetName :: Lens' ListJobs (Maybe Text)
- listJobs_maxResults :: Lens' ListJobs (Maybe Natural)
- listJobs_nextToken :: Lens' ListJobs (Maybe Text)
- listJobs_projectName :: Lens' ListJobs (Maybe Text)
- 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.
Constructors
| ListJobs' | |
Fields
| |
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:
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.
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.
ListJobs, listJobs_projectName - The name of a project. Using this parameter indicates to return only
those jobs that are associated with the specified project.
Request Lenses
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.
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.
Destructuring the Response
data ListJobsResponse Source #
See: newListJobsResponse smart constructor.
Constructors
| ListJobsResponse' | |
Instances
Arguments
| :: Int | |
| -> ListJobsResponse |
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:
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.