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