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 |
Displays the tags associated with a CloudWatch RUM resource.
Synopsis
- data ListTagsForResource = ListTagsForResource' {
- resourceArn :: Text
- newListTagsForResource :: Text -> ListTagsForResource
- listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse = ListTagsForResourceResponse' {
- httpStatus :: Int
- resourceArn :: Text
- tags :: HashMap Text Text
- newListTagsForResourceResponse :: Int -> Text -> ListTagsForResourceResponse
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- listTagsForResourceResponse_resourceArn :: Lens' ListTagsForResourceResponse Text
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (HashMap Text Text)
Creating a Request
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
ListTagsForResource' | |
|
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:
ListTagsForResource
, listTagsForResource_resourceArn
- The ARN of the resource that you want to see the tags of.
Request Lenses
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #
The ARN of the resource that you want to see the tags of.
Destructuring the Response
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
ListTagsForResourceResponse' | |
|
Instances
newListTagsForResourceResponse Source #
:: Int | |
-> Text | |
-> ListTagsForResourceResponse |
Create a value of ListTagsForResourceResponse
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:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
ListTagsForResource
, listTagsForResourceResponse_resourceArn
- The ARN of the resource that you are viewing.
ListTagsForResourceResponse
, listTagsForResourceResponse_tags
- The list of tag keys and values associated with the resource you
specified.
Response Lenses
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
listTagsForResourceResponse_resourceArn :: Lens' ListTagsForResourceResponse Text Source #
The ARN of the resource that you are viewing.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (HashMap Text Text) Source #
The list of tag keys and values associated with the resource you specified.