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 |
Lists all datasets currently available in your account, filtering on the dataset name.
Synopsis
- data ListDatasets = ListDatasets' {}
- newListDatasets :: ListDatasets
- listDatasets_nextToken :: Lens' ListDatasets (Maybe Text)
- listDatasets_datasetNameBeginsWith :: Lens' ListDatasets (Maybe Text)
- listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural)
- data ListDatasetsResponse = ListDatasetsResponse' {}
- newListDatasetsResponse :: Int -> ListDatasetsResponse
- listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text)
- listDatasetsResponse_datasetSummaries :: 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
- An opaque pagination token indicating where to continue the listing of
datasets.
$sel:datasetNameBeginsWith:ListDatasets'
, listDatasets_datasetNameBeginsWith
- The beginning of the name of the datasets to be listed.
$sel:maxResults:ListDatasets'
, listDatasets_maxResults
- Specifies the maximum number of datasets to list.
Request Lenses
listDatasets_nextToken :: Lens' ListDatasets (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of datasets.
listDatasets_datasetNameBeginsWith :: Lens' ListDatasets (Maybe Text) Source #
The beginning of the name of the datasets to be listed.
listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural) Source #
Specifies the maximum number of datasets to list.
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
- An opaque pagination token indicating where to continue the listing of
datasets.
$sel:datasetSummaries:ListDatasetsResponse'
, listDatasetsResponse_datasetSummaries
- Provides information about the specified dataset, including creation
time, dataset ARN, and status.
$sel:httpStatus:ListDatasetsResponse'
, listDatasetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
An opaque pagination token indicating where to continue the listing of datasets.
listDatasetsResponse_datasetSummaries :: Lens' ListDatasetsResponse (Maybe [DatasetSummary]) Source #
Provides information about the specified dataset, including creation time, dataset ARN, and status.
listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int Source #
The response's http status code.