| 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 |
Amazonka.QuickSight.ListTagsForResource
Description
Lists the tags assigned to a resource.
Synopsis
- data ListTagsForResource = ListTagsForResource' {
- resourceArn :: Text
- newListTagsForResource :: Text -> ListTagsForResource
- listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse = ListTagsForResourceResponse' {}
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- listTagsForResourceResponse_requestId :: Lens' ListTagsForResourceResponse (Maybe Text)
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (NonEmpty Tag))
- listTagsForResourceResponse_status :: Lens' ListTagsForResourceResponse Int
Creating a Request
data ListTagsForResource Source #
See: newListTagsForResource smart constructor.
Constructors
| ListTagsForResource' | |
Fields
| |
Instances
newListTagsForResource Source #
Arguments
| :: Text | |
| -> ListTagsForResource |
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:
$sel:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The Amazon Resource Name (ARN) of the resource that you want a list of
tags for.
Request Lenses
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #
The Amazon Resource Name (ARN) of the resource that you want a list of tags for.
Destructuring the Response
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse smart constructor.
Constructors
| ListTagsForResourceResponse' | |
Instances
newListTagsForResourceResponse Source #
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:requestId:ListTagsForResourceResponse', listTagsForResourceResponse_requestId - The Amazon Web Services request ID for this operation.
$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - Contains a map of the key-value pairs for the resource tag or tags
assigned to the resource.
$sel:status:ListTagsForResourceResponse', listTagsForResourceResponse_status - The HTTP status of the request.
Response Lenses
listTagsForResourceResponse_requestId :: Lens' ListTagsForResourceResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (NonEmpty Tag)) Source #
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
listTagsForResourceResponse_status :: Lens' ListTagsForResourceResponse Int Source #
The HTTP status of the request.