| 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 |
Amazonka.DataBrew.ListDatasets
Description
Lists all of the DataBrew datasets.
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_nextToken :: Lens' ListDatasetsResponse (Maybe Text)
- listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int
- listDatasetsResponse_datasets :: Lens' ListDatasetsResponse [Dataset]
Creating a Request
data ListDatasets Source #
See: newListDatasets smart constructor.
Constructors
| 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:maxResults:ListDatasets', listDatasets_maxResults - The maximum number of results to return in this request.
ListDatasets, listDatasets_nextToken - The token returned by a previous call to retrieve the next set of
results.
Request Lenses
listDatasets_maxResults :: Lens' ListDatasets (Maybe Natural) Source #
The maximum number of results to return in this request.
listDatasets_nextToken :: Lens' ListDatasets (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
Destructuring the Response
data ListDatasetsResponse Source #
See: newListDatasetsResponse smart constructor.
Constructors
| ListDatasetsResponse' | |
Instances
newListDatasetsResponse Source #
Arguments
| :: Int | |
| -> ListDatasetsResponse |
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:
ListDatasets, listDatasetsResponse_nextToken - A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListDatasetsResponse', listDatasetsResponse_httpStatus - The response's http status code.
$sel:datasets:ListDatasetsResponse', listDatasetsResponse_datasets - A list of datasets that are defined.
Response Lenses
listDatasetsResponse_nextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listDatasetsResponse_httpStatus :: Lens' ListDatasetsResponse Int Source #
The response's http status code.
listDatasetsResponse_datasets :: Lens' ListDatasetsResponse [Dataset] Source #
A list of datasets that are defined.