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 variant stores.
This operation returns paginated results.
Synopsis
- data ListVariantStores = ListVariantStores' {}
- newListVariantStores :: ListVariantStores
- listVariantStores_filter :: Lens' ListVariantStores (Maybe ListVariantStoresFilter)
- listVariantStores_ids :: Lens' ListVariantStores (Maybe (NonEmpty Text))
- listVariantStores_maxResults :: Lens' ListVariantStores (Maybe Natural)
- listVariantStores_nextToken :: Lens' ListVariantStores (Maybe Text)
- data ListVariantStoresResponse = ListVariantStoresResponse' {}
- newListVariantStoresResponse :: Int -> ListVariantStoresResponse
- listVariantStoresResponse_nextToken :: Lens' ListVariantStoresResponse (Maybe Text)
- listVariantStoresResponse_variantStores :: Lens' ListVariantStoresResponse (Maybe [VariantStoreItem])
- listVariantStoresResponse_httpStatus :: Lens' ListVariantStoresResponse Int
Creating a Request
data ListVariantStores Source #
See: newListVariantStores
smart constructor.
ListVariantStores' | |
|
Instances
newListVariantStores :: ListVariantStores Source #
Create a value of ListVariantStores
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':ListVariantStores'
, listVariantStores_filter
- A filter to apply to the list.
$sel:ids:ListVariantStores'
, listVariantStores_ids
- A list of store IDs.
$sel:maxResults:ListVariantStores'
, listVariantStores_maxResults
- The maximum number of stores to return in one page of results.
ListVariantStores
, listVariantStores_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listVariantStores_filter :: Lens' ListVariantStores (Maybe ListVariantStoresFilter) Source #
A filter to apply to the list.
listVariantStores_ids :: Lens' ListVariantStores (Maybe (NonEmpty Text)) Source #
A list of store IDs.
listVariantStores_maxResults :: Lens' ListVariantStores (Maybe Natural) Source #
The maximum number of stores to return in one page of results.
listVariantStores_nextToken :: Lens' ListVariantStores (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListVariantStoresResponse Source #
See: newListVariantStoresResponse
smart constructor.
ListVariantStoresResponse' | |
|
Instances
newListVariantStoresResponse Source #
Create a value of ListVariantStoresResponse
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:
ListVariantStores
, listVariantStoresResponse_nextToken
- A pagination token that's included if more results are available.
$sel:variantStores:ListVariantStoresResponse'
, listVariantStoresResponse_variantStores
- A list of variant stores.
$sel:httpStatus:ListVariantStoresResponse'
, listVariantStoresResponse_httpStatus
- The response's http status code.
Response Lenses
listVariantStoresResponse_nextToken :: Lens' ListVariantStoresResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listVariantStoresResponse_variantStores :: Lens' ListVariantStoresResponse (Maybe [VariantStoreItem]) Source #
A list of variant stores.
listVariantStoresResponse_httpStatus :: Lens' ListVariantStoresResponse Int Source #
The response's http status code.