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 |
This operation lists your jobs sorted by CreatedAt in descending order.
This operation returns paginated results.
Synopsis
- data ListJobs = ListJobs' {}
- newListJobs :: ListJobs
- listJobs_nextToken :: Lens' ListJobs (Maybe Text)
- listJobs_dataSetId :: Lens' ListJobs (Maybe Text)
- listJobs_maxResults :: Lens' ListJobs (Maybe Natural)
- listJobs_revisionId :: Lens' ListJobs (Maybe Text)
- data ListJobsResponse = ListJobsResponse' {}
- newListJobsResponse :: Int -> ListJobsResponse
- listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text)
- listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [JobEntry])
- listJobsResponse_httpStatus :: Lens' ListJobsResponse Int
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
- The token value retrieved from a previous call to access the next page
of results.
$sel:dataSetId:ListJobs'
, listJobs_dataSetId
- The unique identifier for a data set.
$sel:maxResults:ListJobs'
, listJobs_maxResults
- The maximum number of results returned by a single call.
$sel:revisionId:ListJobs'
, listJobs_revisionId
- The unique identifier for a revision.
Request Lenses
listJobs_nextToken :: Lens' ListJobs (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listJobs_maxResults :: Lens' ListJobs (Maybe Natural) Source #
The maximum number of results returned by a single call.
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
- The token value retrieved from a previous call to access the next page
of results.
$sel:jobs:ListJobsResponse'
, listJobsResponse_jobs
- The jobs listed by the request.
$sel:httpStatus:ListJobsResponse'
, listJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listJobsResponse_nextToken :: Lens' ListJobsResponse (Maybe Text) Source #
The token value retrieved from a previous call to access the next page of results.
listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [JobEntry]) Source #
The jobs listed by the request.
listJobsResponse_httpStatus :: Lens' ListJobsResponse Int Source #
The response's http status code.