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 |
List all of the tags for a DAX cluster. You can call ListTags
up to 10
times per second, per account.
This operation returns paginated results.
Synopsis
- data ListTags = ListTags' {
- nextToken :: Maybe Text
- resourceName :: Text
- newListTags :: Text -> ListTags
- listTags_nextToken :: Lens' ListTags (Maybe Text)
- listTags_resourceName :: Lens' ListTags Text
- data ListTagsResponse = ListTagsResponse' {}
- newListTagsResponse :: Int -> ListTagsResponse
- listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text)
- listTagsResponse_tags :: Lens' ListTagsResponse (Maybe [Tag])
- listTagsResponse_httpStatus :: Lens' ListTagsResponse Int
Creating a Request
See: newListTags
smart constructor.
ListTags' | |
|
Instances
Create a value of ListTags
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:ListTags'
, listTags_nextToken
- An optional token returned from a prior request. Use this token for
pagination of results from this action. If this parameter is specified,
the response includes only results beyond the token.
$sel:resourceName:ListTags'
, listTags_resourceName
- The name of the DAX resource to which the tags belong.
Request Lenses
listTags_nextToken :: Lens' ListTags (Maybe Text) Source #
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token.
listTags_resourceName :: Lens' ListTags Text Source #
The name of the DAX resource to which the tags belong.
Destructuring the Response
data ListTagsResponse Source #
See: newListTagsResponse
smart constructor.
Instances
Create a value of ListTagsResponse
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:ListTags'
, listTagsResponse_nextToken
- If this value is present, there are additional results to be displayed.
To retrieve them, call ListTags
again, with NextToken
set to this
value.
$sel:tags:ListTagsResponse'
, listTagsResponse_tags
- A list of tags currently associated with the DAX cluster.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsResponse_nextToken :: Lens' ListTagsResponse (Maybe Text) Source #
If this value is present, there are additional results to be displayed.
To retrieve them, call ListTags
again, with NextToken
set to this
value.
listTagsResponse_tags :: Lens' ListTagsResponse (Maybe [Tag]) Source #
A list of tags currently associated with the DAX cluster.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.