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 import jobs that use the given dataset. When a dataset is not specified, all the dataset import jobs associated with the account are listed. The response provides the properties for each dataset import job, including the Amazon Resource Name (ARN). For more information on dataset import jobs, see CreateDatasetImportJob. For more information on datasets, see CreateDataset.
This operation returns paginated results.
Synopsis
- data ListDatasetImportJobs = ListDatasetImportJobs' {
- datasetArn :: Maybe Text
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newListDatasetImportJobs :: ListDatasetImportJobs
- listDatasetImportJobs_datasetArn :: Lens' ListDatasetImportJobs (Maybe Text)
- listDatasetImportJobs_nextToken :: Lens' ListDatasetImportJobs (Maybe Text)
- listDatasetImportJobs_maxResults :: Lens' ListDatasetImportJobs (Maybe Natural)
- data ListDatasetImportJobsResponse = ListDatasetImportJobsResponse' {}
- newListDatasetImportJobsResponse :: Int -> ListDatasetImportJobsResponse
- listDatasetImportJobsResponse_datasetImportJobs :: Lens' ListDatasetImportJobsResponse (Maybe [DatasetImportJobSummary])
- listDatasetImportJobsResponse_nextToken :: Lens' ListDatasetImportJobsResponse (Maybe Text)
- listDatasetImportJobsResponse_httpStatus :: Lens' ListDatasetImportJobsResponse Int
Creating a Request
data ListDatasetImportJobs Source #
See: newListDatasetImportJobs
smart constructor.
ListDatasetImportJobs' | |
|
Instances
newListDatasetImportJobs :: ListDatasetImportJobs Source #
Create a value of ListDatasetImportJobs
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:ListDatasetImportJobs'
, listDatasetImportJobs_datasetArn
- The Amazon Resource Name (ARN) of the dataset to list the dataset import
jobs for.
$sel:nextToken:ListDatasetImportJobs'
, listDatasetImportJobs_nextToken
- A token returned from the previous call to ListDatasetImportJobs
for
getting the next set of dataset import jobs (if they exist).
$sel:maxResults:ListDatasetImportJobs'
, listDatasetImportJobs_maxResults
- The maximum number of dataset import jobs to return.
Request Lenses
listDatasetImportJobs_datasetArn :: Lens' ListDatasetImportJobs (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs for.
listDatasetImportJobs_nextToken :: Lens' ListDatasetImportJobs (Maybe Text) Source #
A token returned from the previous call to ListDatasetImportJobs
for
getting the next set of dataset import jobs (if they exist).
listDatasetImportJobs_maxResults :: Lens' ListDatasetImportJobs (Maybe Natural) Source #
The maximum number of dataset import jobs to return.
Destructuring the Response
data ListDatasetImportJobsResponse Source #
See: newListDatasetImportJobsResponse
smart constructor.
ListDatasetImportJobsResponse' | |
|
Instances
newListDatasetImportJobsResponse Source #
Create a value of ListDatasetImportJobsResponse
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:datasetImportJobs:ListDatasetImportJobsResponse'
, listDatasetImportJobsResponse_datasetImportJobs
- The list of dataset import jobs.
$sel:nextToken:ListDatasetImportJobs'
, listDatasetImportJobsResponse_nextToken
- A token for getting the next set of dataset import jobs (if they exist).
$sel:httpStatus:ListDatasetImportJobsResponse'
, listDatasetImportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetImportJobsResponse_datasetImportJobs :: Lens' ListDatasetImportJobsResponse (Maybe [DatasetImportJobSummary]) Source #
The list of dataset import jobs.
listDatasetImportJobsResponse_nextToken :: Lens' ListDatasetImportJobsResponse (Maybe Text) Source #
A token for getting the next set of dataset import jobs (if they exist).
listDatasetImportJobsResponse_httpStatus :: Lens' ListDatasetImportJobsResponse Int Source #
The response's http status code.