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 the list of datasets contained in the given dataset group. The response provides the properties for each dataset, including the Amazon Resource Name (ARN). For more information on datasets, see CreateDataset.
This operation returns paginated results.
Synopsis
- data ListDatasets = ListDatasets' {}
- newListDatasets :: ListDatasets
- listDatasets_nextToken :: Lens' ListDatasets (Maybe Text)
- listDatasets_datasetGroupArn :: Lens' ListDatasets (Maybe Text)
- listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural)
- data ListDatasetsResponse = ListDatasetsResponse' {
- nextToken :: Maybe Text
- datasets :: Maybe [DatasetSummary]
- httpStatus :: Int
- newListDatasetsResponse :: Int -> ListDatasetsResponse
- listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text)
- listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [DatasetSummary])
- listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int
Creating a Request
data ListDatasets Source #
See: newListDatasets
smart constructor.
ListDatasets' | |
|
Instances
newListDatasets :: ListDatasets Source #
Create a value of ListDatasets
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:ListDatasets'
, listDatasets_nextToken
- A token returned from the previous call to ListDatasetImportJobs
for
getting the next set of dataset import jobs (if they exist).
$sel:datasetGroupArn:ListDatasets'
, listDatasets_datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that contains the
datasets to list.
$sel:maxResults:ListDatasets'
, listDatasets_maxResults
- The maximum number of datasets to return.
Request Lenses
listDatasets_nextToken :: Lens' ListDatasets (Maybe Text) Source #
A token returned from the previous call to ListDatasetImportJobs
for
getting the next set of dataset import jobs (if they exist).
listDatasets_datasetGroupArn :: Lens' ListDatasets (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset group that contains the datasets to list.
listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural) Source #
The maximum number of datasets to return.
Destructuring the Response
data ListDatasetsResponse Source #
See: newListDatasetsResponse
smart constructor.
ListDatasetsResponse' | |
|
Instances
newListDatasetsResponse Source #
Create a value of ListDatasetsResponse
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:ListDatasets'
, listDatasetsResponse_nextToken
- A token for getting the next set of datasets (if they exist).
$sel:datasets:ListDatasetsResponse'
, listDatasetsResponse_datasets
- An array of Dataset
objects. Each object provides metadata
information.
$sel:httpStatus:ListDatasetsResponse'
, listDatasetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
A token for getting the next set of datasets (if they exist).
listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [DatasetSummary]) Source #
An array of Dataset
objects. Each object provides metadata
information.
listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int Source #
The response's http status code.