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 |
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_datasetGroupArn :: Lens' ListDatasets (Maybe Text)
- listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural)
- listDatasets_nextToken :: Lens' ListDatasets (Maybe Text)
- data ListDatasetsResponse = ListDatasetsResponse' {
- datasets :: Maybe [DatasetSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDatasetsResponse :: Int -> ListDatasetsResponse
- listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [DatasetSummary])
- listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text)
- 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:
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.
ListDatasets
, listDatasets_nextToken
- A token returned from the previous call to ListDatasetImportJobs
for
getting the next set of dataset import jobs (if they exist).
Request Lenses
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.
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).
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:datasets:ListDatasetsResponse'
, listDatasetsResponse_datasets
- An array of Dataset
objects. Each object provides metadata
information.
ListDatasets
, listDatasetsResponse_nextToken
- A token for getting the next set of datasets (if they exist).
$sel:httpStatus:ListDatasetsResponse'
, listDatasetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [DatasetSummary]) Source #
An array of Dataset
objects. Each object provides metadata
information.
listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
A token for getting the next set of datasets (if they exist).
listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int Source #
The response's http status code.