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 tags for a resource.
Synopsis
- data ListTags = ListTags' {
- resourceArn :: Text
- newListTags :: Text -> ListTags
- listTags_resourceArn :: Lens' ListTags Text
- data ListTagsResponse = ListTagsResponse' {}
- newListTagsResponse :: Int -> ListTagsResponse
- listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text))
- 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.MQ.ListTags | |
Hashable ListTags Source # | |
Defined in Amazonka.MQ.ListTags | |
AWSRequest ListTags Source # | |
Defined in Amazonka.MQ.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.MQ.ListTags | |
ToPath ListTags Source # | |
Defined in Amazonka.MQ.ListTags toPath :: ListTags -> ByteString # | |
ToQuery ListTags Source # | |
Defined in Amazonka.MQ.ListTags toQuery :: ListTags -> QueryString # | |
type Rep ListTags Source # | |
Defined in Amazonka.MQ.ListTags | |
type AWSResponse ListTags Source # | |
Defined in Amazonka.MQ.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 tag.
Request Lenses
listTags_resourceArn :: Lens' ListTags Text Source #
The Amazon Resource Name (ARN) of the resource tag.
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:tags:ListTagsResponse'
, listTagsResponse_tags
- The key-value pair for the resource tag.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsResponse_tags :: Lens' ListTagsResponse (Maybe (HashMap Text Text)) Source #
The key-value pair for the resource tag.
listTagsResponse_httpStatus :: Lens' ListTagsResponse Int Source #
The response's http status code.