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 |
List all of the tags for a DAX cluster. You can call ListTags
up to 10 times per second, per account.
Synopsis
- listTags :: Text -> ListTags
- data ListTags
- ltNextToken :: Lens' ListTags (Maybe Text)
- ltResourceName :: Lens' ListTags Text
- listTagsResponse :: Int -> ListTagsResponse
- data ListTagsResponse
- ltrsNextToken :: Lens' ListTagsResponse (Maybe Text)
- ltrsTags :: Lens' ListTagsResponse [Tag]
- ltrsResponseStatus :: Lens' ListTagsResponse Int
Creating a Request
Creates a value of ListTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltNextToken
- 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.ltResourceName
- The name of the DAX resource to which the tags belong.
See: listTags
smart constructor.
Instances
Request Lenses
ltNextToken :: 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.
ltResourceName :: Lens' ListTags Text Source #
The name of the DAX resource to which the tags belong.
Destructuring the Response
Creates a value of ListTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrsNextToken
- If this value is present, there are additional results to be displayed. To retrieve them, callListTags
again, withNextToken
set to this value.ltrsTags
- A list of tags currently associated with the DAX cluster.ltrsResponseStatus
- -- | The response status code.
data ListTagsResponse Source #
See: listTagsResponse
smart constructor.
Instances
Response Lenses
ltrsNextToken :: 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.
ltrsTags :: Lens' ListTagsResponse [Tag] Source #
A list of tags currently associated with the DAX cluster.
ltrsResponseStatus :: Lens' ListTagsResponse Int Source #
- - | The response status code.