| 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.CloudFront.ListTagsForResource
Description
List tags for a CloudFront resource.
Synopsis
- data ListTagsForResource = ListTagsForResource' {}
- newListTagsForResource :: Text -> ListTagsForResource
- listTagsForResource_resource :: Lens' ListTagsForResource Text
- data ListTagsForResourceResponse = ListTagsForResourceResponse' {
- httpStatus :: Int
- tags :: Tags
- newListTagsForResourceResponse :: Int -> Tags -> ListTagsForResourceResponse
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse Tags
Creating a Request
data ListTagsForResource Source #
The request to list tags for a CloudFront resource.
See: newListTagsForResource smart constructor.
Constructors
| ListTagsForResource' | |
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:resource:ListTagsForResource', listTagsForResource_resource - An ARN of a CloudFront resource.
Request Lenses
listTagsForResource_resource :: Lens' ListTagsForResource Text Source #
An ARN of a CloudFront resource.
Destructuring the Response
data ListTagsForResourceResponse Source #
The returned result of the corresponding request.
See: newListTagsForResourceResponse smart constructor.
Constructors
| ListTagsForResourceResponse' | |
Fields
| |
Instances
newListTagsForResourceResponse Source #
Arguments
| :: Int | |
| -> Tags | |
| -> 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.
$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - A complex type that contains zero or more Tag elements.
Response Lenses
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse Tags Source #
A complex type that contains zero or more Tag elements.