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 |
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
Eq ListTags Source # | |
Read ListTags Source # | |
Show ListTags Source # | |
Generic ListTags Source # | |
NFData ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags | |
Hashable ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags | |
ToJSON ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags | |
AWSRequest ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags type AWSResponse ListTags # request :: ListTags -> Request ListTags # response :: MonadResource m => Logger -> Service -> Proxy ListTags -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse ListTags))) # | |
ToHeaders ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags | |
ToPath ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags toPath :: ListTags -> ByteString # | |
ToQuery ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags toQuery :: ListTags -> QueryString # | |
type Rep ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags | |
type AWSResponse ListTags Source # | |
Defined in Amazonka.MemoryDb.ListTags |
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.