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 |
Lists all of the active Datasets that a user has access to.
This operation returns paginated results.
Synopsis
- data ListDatasets = ListDatasets' {}
- newListDatasets :: ListDatasets
- listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural)
- listDatasets_nextToken :: Lens' ListDatasets (Maybe Text)
- data ListDatasetsResponse = ListDatasetsResponse' {}
- newListDatasetsResponse :: Int -> ListDatasetsResponse
- listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [Dataset])
- listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text)
- listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int
Creating a Request
data ListDatasets Source #
Request for the ListDatasets operation.
See: newListDatasets
smart constructor.
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:maxResults:ListDatasets'
, listDatasets_maxResults
- The maximum number of results per page.
ListDatasets
, listDatasets_nextToken
- A token that indicates where a results page should begin.
Request Lenses
listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural) Source #
The maximum number of results per page.
listDatasets_nextToken :: Lens' ListDatasets (Maybe Text) Source #
A token that indicates where a results page should begin.
Destructuring the Response
data ListDatasetsResponse Source #
Response for the ListDatasets operation
See: newListDatasetsResponse
smart constructor.
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
- List of Datasets.
ListDatasets
, listDatasetsResponse_nextToken
- A token that indicates where a results page should begin.
$sel:httpStatus:ListDatasetsResponse'
, listDatasetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetsResponse_datasets :: Lens' ListDatasetsResponse (Maybe [Dataset]) Source #
List of Datasets.
listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
A token that indicates where a results page should begin.
listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int Source #
The response's http status code.