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 a list of data stores.
- listDatastores :: ListDatastores
- data ListDatastores
- ldNextToken :: Lens' ListDatastores (Maybe Text)
- ldMaxResults :: Lens' ListDatastores (Maybe Natural)
- listDatastoresResponse :: Int -> ListDatastoresResponse
- data ListDatastoresResponse
- ldrsNextToken :: Lens' ListDatastoresResponse (Maybe Text)
- ldrsDatastoreSummaries :: Lens' ListDatastoresResponse [DatastoreSummary]
- ldrsResponseStatus :: Lens' ListDatastoresResponse Int
Creating a Request
listDatastores :: ListDatastores Source #
Creates a value of ListDatastores
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldNextToken
- The token for the next set of results.ldMaxResults
- The maximum number of results to return in this request. The default value is 100.
data ListDatastores Source #
See: listDatastores
smart constructor.
Request Lenses
ldNextToken :: Lens' ListDatastores (Maybe Text) Source #
The token for the next set of results.
ldMaxResults :: Lens' ListDatastores (Maybe Natural) Source #
The maximum number of results to return in this request. The default value is 100.
Destructuring the Response
listDatastoresResponse Source #
Creates a value of ListDatastoresResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrsNextToken
- The token to retrieve the next set of results, ornull
if there are no more results.ldrsDatastoreSummaries
- A list of DatastoreSummary objects.ldrsResponseStatus
- -- | The response status code.
data ListDatastoresResponse Source #
See: listDatastoresResponse
smart constructor.
Response Lenses
ldrsNextToken :: Lens' ListDatastoresResponse (Maybe Text) Source #
The token to retrieve the next set of results, or null
if there are no more results.
ldrsDatastoreSummaries :: Lens' ListDatastoresResponse [DatastoreSummary] Source #
A list of DatastoreSummary objects.
ldrsResponseStatus :: Lens' ListDatastoresResponse Int Source #
- - | The response status code.