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 reference stores.
This operation returns paginated results.
Synopsis
- data ListReferenceStores = ListReferenceStores' {}
- newListReferenceStores :: ListReferenceStores
- listReferenceStores_filter :: Lens' ListReferenceStores (Maybe ReferenceStoreFilter)
- listReferenceStores_maxResults :: Lens' ListReferenceStores (Maybe Natural)
- listReferenceStores_nextToken :: Lens' ListReferenceStores (Maybe Text)
- data ListReferenceStoresResponse = ListReferenceStoresResponse' {}
- newListReferenceStoresResponse :: Int -> ListReferenceStoresResponse
- listReferenceStoresResponse_nextToken :: Lens' ListReferenceStoresResponse (Maybe Text)
- listReferenceStoresResponse_httpStatus :: Lens' ListReferenceStoresResponse Int
- listReferenceStoresResponse_referenceStores :: Lens' ListReferenceStoresResponse [ReferenceStoreDetail]
Creating a Request
data ListReferenceStores Source #
See: newListReferenceStores
smart constructor.
ListReferenceStores' | |
|
Instances
newListReferenceStores :: ListReferenceStores Source #
Create a value of ListReferenceStores
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:filter':ListReferenceStores'
, listReferenceStores_filter
- A filter to apply to the list.
$sel:maxResults:ListReferenceStores'
, listReferenceStores_maxResults
- The maximum number of stores to return in one page of results.
ListReferenceStores
, listReferenceStores_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listReferenceStores_filter :: Lens' ListReferenceStores (Maybe ReferenceStoreFilter) Source #
A filter to apply to the list.
listReferenceStores_maxResults :: Lens' ListReferenceStores (Maybe Natural) Source #
The maximum number of stores to return in one page of results.
listReferenceStores_nextToken :: Lens' ListReferenceStores (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListReferenceStoresResponse Source #
See: newListReferenceStoresResponse
smart constructor.
ListReferenceStoresResponse' | |
|
Instances
newListReferenceStoresResponse Source #
Create a value of ListReferenceStoresResponse
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:
ListReferenceStores
, listReferenceStoresResponse_nextToken
- A pagination token that's included if more results are available.
$sel:httpStatus:ListReferenceStoresResponse'
, listReferenceStoresResponse_httpStatus
- The response's http status code.
$sel:referenceStores:ListReferenceStoresResponse'
, listReferenceStoresResponse_referenceStores
- A list of reference stores.
Response Lenses
listReferenceStoresResponse_nextToken :: Lens' ListReferenceStoresResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listReferenceStoresResponse_httpStatus :: Lens' ListReferenceStoresResponse Int Source #
The response's http status code.
listReferenceStoresResponse_referenceStores :: Lens' ListReferenceStoresResponse [ReferenceStoreDetail] Source #
A list of reference stores.