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