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 |
Retrieves information about datasets.
This operation returns paginated results.
Synopsis
- data ListDatasets = ListDatasets' {}
- newListDatasets :: ListDatasets
- listDatasets_nextToken :: 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.
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
- The token for the next set of results.
$sel:maxResults:ListDatasets'
, listDatasets_maxResults
- The maximum number of results to return in this request.
The default value is 100.
Request Lenses
listDatasets_nextToken :: Lens' ListDatasets (Maybe Text) Source #
The token for the next set of results.
listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural) Source #
The maximum number of results to return in this request.
The default value is 100.
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
- The token to retrieve the next set of results, or null
if there are no
more results.
$sel:datasetSummaries:ListDatasetsResponse'
, listDatasetsResponse_datasetSummaries
- A list of DatasetSummary
objects.
$sel:httpStatus:ListDatasetsResponse'
, listDatasetsResponse_httpStatus
- The response's http status code.
Response Lenses
listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no
more results.
listDatasetsResponse_datasetSummaries :: Lens' ListDatasetsResponse (Maybe [DatasetSummary]) Source #
A list of DatasetSummary
objects.
listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int Source #
The response's http status code.