Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves information about data sets.
- listDatasets :: ListDatasets
- data ListDatasets
- lNextToken :: Lens' ListDatasets (Maybe Text)
- lMaxResults :: Lens' ListDatasets (Maybe Natural)
- listDatasetsResponse :: Int -> ListDatasetsResponse
- data ListDatasetsResponse
- lrsNextToken :: Lens' ListDatasetsResponse (Maybe Text)
- lrsDatasetSummaries :: Lens' ListDatasetsResponse [DatasetSummary]
- lrsResponseStatus :: Lens' ListDatasetsResponse Int
Creating a Request
listDatasets :: ListDatasets Source #
Creates a value of ListDatasets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lNextToken
- The token for the next set of results.lMaxResults
- The maximum number of results to return in this request. The default value is 100.
data ListDatasets Source #
See: listDatasets
smart constructor.
Request Lenses
lNextToken :: Lens' ListDatasets (Maybe Text) Source #
The token for the next set of results.
lMaxResults :: Lens' ListDatasets (Maybe Natural) Source #
The maximum number of results to return in this request. The default value is 100.
Destructuring the Response
Creates a value of ListDatasetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrsNextToken
- The token to retrieve the next set of results, ornull
if there are no more results.lrsDatasetSummaries
- A list of DatasetSummary objects.lrsResponseStatus
- -- | The response status code.
data ListDatasetsResponse Source #
See: listDatasetsResponse
smart constructor.
Response Lenses
lrsNextToken :: Lens' ListDatasetsResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no more results.
lrsDatasetSummaries :: Lens' ListDatasetsResponse [DatasetSummary] Source #
A list of DatasetSummary objects.
lrsResponseStatus :: Lens' ListDatasetsResponse Int Source #
- - | The response status code.