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 annotation stores.
This operation returns paginated results.
Synopsis
- data ListAnnotationStores = ListAnnotationStores' {}
- newListAnnotationStores :: ListAnnotationStores
- listAnnotationStores_filter :: Lens' ListAnnotationStores (Maybe ListAnnotationStoresFilter)
- listAnnotationStores_ids :: Lens' ListAnnotationStores (Maybe (NonEmpty Text))
- listAnnotationStores_maxResults :: Lens' ListAnnotationStores (Maybe Natural)
- listAnnotationStores_nextToken :: Lens' ListAnnotationStores (Maybe Text)
- data ListAnnotationStoresResponse = ListAnnotationStoresResponse' {}
- newListAnnotationStoresResponse :: Int -> ListAnnotationStoresResponse
- listAnnotationStoresResponse_annotationStores :: Lens' ListAnnotationStoresResponse (Maybe [AnnotationStoreItem])
- listAnnotationStoresResponse_nextToken :: Lens' ListAnnotationStoresResponse (Maybe Text)
- listAnnotationStoresResponse_httpStatus :: Lens' ListAnnotationStoresResponse Int
Creating a Request
data ListAnnotationStores Source #
See: newListAnnotationStores
smart constructor.
ListAnnotationStores' | |
|
Instances
newListAnnotationStores :: ListAnnotationStores Source #
Create a value of ListAnnotationStores
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':ListAnnotationStores'
, listAnnotationStores_filter
- A filter to apply to the list.
$sel:ids:ListAnnotationStores'
, listAnnotationStores_ids
- IDs of stores to list.
$sel:maxResults:ListAnnotationStores'
, listAnnotationStores_maxResults
- The maximum number of stores to return in one page of results.
ListAnnotationStores
, listAnnotationStores_nextToken
- Specify the pagination token from a previous request to retrieve the
next page of results.
Request Lenses
listAnnotationStores_filter :: Lens' ListAnnotationStores (Maybe ListAnnotationStoresFilter) Source #
A filter to apply to the list.
listAnnotationStores_ids :: Lens' ListAnnotationStores (Maybe (NonEmpty Text)) Source #
IDs of stores to list.
listAnnotationStores_maxResults :: Lens' ListAnnotationStores (Maybe Natural) Source #
The maximum number of stores to return in one page of results.
listAnnotationStores_nextToken :: Lens' ListAnnotationStores (Maybe Text) Source #
Specify the pagination token from a previous request to retrieve the next page of results.
Destructuring the Response
data ListAnnotationStoresResponse Source #
See: newListAnnotationStoresResponse
smart constructor.
ListAnnotationStoresResponse' | |
|
Instances
newListAnnotationStoresResponse Source #
Create a value of ListAnnotationStoresResponse
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:annotationStores:ListAnnotationStoresResponse'
, listAnnotationStoresResponse_annotationStores
- A list of stores.
ListAnnotationStores
, listAnnotationStoresResponse_nextToken
- A pagination token that's included if more results are available.
$sel:httpStatus:ListAnnotationStoresResponse'
, listAnnotationStoresResponse_httpStatus
- The response's http status code.
Response Lenses
listAnnotationStoresResponse_annotationStores :: Lens' ListAnnotationStoresResponse (Maybe [AnnotationStoreItem]) Source #
A list of stores.
listAnnotationStoresResponse_nextToken :: Lens' ListAnnotationStoresResponse (Maybe Text) Source #
A pagination token that's included if more results are available.
listAnnotationStoresResponse_httpStatus :: Lens' ListAnnotationStoresResponse Int Source #
The response's http status code.