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 |
Retrieves a list of data stores.
This operation returns paginated results.
Synopsis
- data ListDatastores = ListDatastores' {}
- newListDatastores :: ListDatastores
- listDatastores_maxResults :: Lens' ListDatastores (Maybe Natural)
- listDatastores_nextToken :: Lens' ListDatastores (Maybe Text)
- data ListDatastoresResponse = ListDatastoresResponse' {}
- newListDatastoresResponse :: Int -> ListDatastoresResponse
- listDatastoresResponse_datastoreSummaries :: Lens' ListDatastoresResponse (Maybe [DatastoreSummary])
- listDatastoresResponse_nextToken :: Lens' ListDatastoresResponse (Maybe Text)
- listDatastoresResponse_httpStatus :: Lens' ListDatastoresResponse Int
Creating a Request
data ListDatastores Source #
See: newListDatastores
smart constructor.
Instances
newListDatastores :: ListDatastores Source #
Create a value of ListDatastores
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:ListDatastores'
, listDatastores_maxResults
- The maximum number of results to return in this request.
The default value is 100.
ListDatastores
, listDatastores_nextToken
- The token for the next set of results.
Request Lenses
listDatastores_maxResults :: Lens' ListDatastores (Maybe Natural) Source #
The maximum number of results to return in this request.
The default value is 100.
listDatastores_nextToken :: Lens' ListDatastores (Maybe Text) Source #
The token for the next set of results.
Destructuring the Response
data ListDatastoresResponse Source #
See: newListDatastoresResponse
smart constructor.
ListDatastoresResponse' | |
|
Instances
newListDatastoresResponse Source #
Create a value of ListDatastoresResponse
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:datastoreSummaries:ListDatastoresResponse'
, listDatastoresResponse_datastoreSummaries
- A list of DatastoreSummary
objects.
ListDatastores
, listDatastoresResponse_nextToken
- The token to retrieve the next set of results, or null
if there are no
more results.
$sel:httpStatus:ListDatastoresResponse'
, listDatastoresResponse_httpStatus
- The response's http status code.
Response Lenses
listDatastoresResponse_datastoreSummaries :: Lens' ListDatastoresResponse (Maybe [DatastoreSummary]) Source #
A list of DatastoreSummary
objects.
listDatastoresResponse_nextToken :: Lens' ListDatastoresResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no
more results.
listDatastoresResponse_httpStatus :: Lens' ListDatastoresResponse Int Source #
The response's http status code.