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 |
Returns a list of dataset export jobs that use the given dataset. When a dataset is not specified, all the dataset export jobs associated with the account are listed. The response provides the properties for each dataset export job, including the Amazon Resource Name (ARN). For more information on dataset export jobs, see CreateDatasetExportJob. For more information on datasets, see CreateDataset.
This operation returns paginated results.
Synopsis
- data ListDatasetExportJobs = ListDatasetExportJobs' {
- datasetArn :: Maybe Text
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newListDatasetExportJobs :: ListDatasetExportJobs
- listDatasetExportJobs_datasetArn :: Lens' ListDatasetExportJobs (Maybe Text)
- listDatasetExportJobs_nextToken :: Lens' ListDatasetExportJobs (Maybe Text)
- listDatasetExportJobs_maxResults :: Lens' ListDatasetExportJobs (Maybe Natural)
- data ListDatasetExportJobsResponse = ListDatasetExportJobsResponse' {}
- newListDatasetExportJobsResponse :: Int -> ListDatasetExportJobsResponse
- listDatasetExportJobsResponse_nextToken :: Lens' ListDatasetExportJobsResponse (Maybe Text)
- listDatasetExportJobsResponse_datasetExportJobs :: Lens' ListDatasetExportJobsResponse (Maybe [DatasetExportJobSummary])
- listDatasetExportJobsResponse_httpStatus :: Lens' ListDatasetExportJobsResponse Int
Creating a Request
data ListDatasetExportJobs Source #
See: newListDatasetExportJobs
smart constructor.
ListDatasetExportJobs' | |
|
Instances
newListDatasetExportJobs :: ListDatasetExportJobs Source #
Create a value of ListDatasetExportJobs
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:datasetArn:ListDatasetExportJobs'
, listDatasetExportJobs_datasetArn
- The Amazon Resource Name (ARN) of the dataset to list the dataset export
jobs for.
$sel:nextToken:ListDatasetExportJobs'
, listDatasetExportJobs_nextToken
- A token returned from the previous call to ListDatasetExportJobs
for
getting the next set of dataset export jobs (if they exist).
$sel:maxResults:ListDatasetExportJobs'
, listDatasetExportJobs_maxResults
- The maximum number of dataset export jobs to return.
Request Lenses
listDatasetExportJobs_datasetArn :: Lens' ListDatasetExportJobs (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset to list the dataset export jobs for.
listDatasetExportJobs_nextToken :: Lens' ListDatasetExportJobs (Maybe Text) Source #
A token returned from the previous call to ListDatasetExportJobs
for
getting the next set of dataset export jobs (if they exist).
listDatasetExportJobs_maxResults :: Lens' ListDatasetExportJobs (Maybe Natural) Source #
The maximum number of dataset export jobs to return.
Destructuring the Response
data ListDatasetExportJobsResponse Source #
See: newListDatasetExportJobsResponse
smart constructor.
ListDatasetExportJobsResponse' | |
|
Instances
newListDatasetExportJobsResponse Source #
Create a value of ListDatasetExportJobsResponse
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:ListDatasetExportJobs'
, listDatasetExportJobsResponse_nextToken
- A token for getting the next set of dataset export jobs (if they exist).
$sel:datasetExportJobs:ListDatasetExportJobsResponse'
, listDatasetExportJobsResponse_datasetExportJobs
- The list of dataset export jobs.
$sel:httpStatus:ListDatasetExportJobsResponse'
, listDatasetExportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetExportJobsResponse_nextToken :: Lens' ListDatasetExportJobsResponse (Maybe Text) Source #
A token for getting the next set of dataset export jobs (if they exist).
listDatasetExportJobsResponse_datasetExportJobs :: Lens' ListDatasetExportJobsResponse (Maybe [DatasetExportJobSummary]) Source #
The list of dataset export jobs.
listDatasetExportJobsResponse_httpStatus :: Lens' ListDatasetExportJobsResponse Int Source #
The response's http status code.