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 |
Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources
Synopsis
- data ListTags = ListTags' {
- resourceArn :: Text
- newListTags :: Text -> ListTags
- listTags_resourceArn :: Lens' ListTags Text
- data ListTagsResponse = ListTagsResponse' {
- tagList :: Maybe [Tag]
- httpStatus :: Int
- newListTagsResponse :: Int -> ListTagsResponse
- listTagsResponse_tagList :: 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:resourceArn:ListTags'
, listTags_resourceArn
- The Amazon Resource Name (ARN) of the resource for which you want the
list of tags
Request Lenses
listTags_resourceArn :: Lens' ListTags Text Source #
The Amazon Resource Name (ARN) of the resource for which you want the list of tags
Destructuring the Response
data ListTagsResponse Source #
See: newListTagsResponse
smart constructor.
ListTagsResponse' | |
|
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:tagList:ListTagsResponse'
, listTagsResponse_tagList
- A list of tags as key-value pairs.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsResponse_tagList :: Lens' ListTagsResponse (Maybe [Tag]) Source #
A list of tags as key-value pairs.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.