Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Lists tags for one health check or hosted zone.
For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
- listTagsForResource :: TagResourceType -> Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceType :: Lens' ListTagsForResource TagResourceType
- ltfrResourceId :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ResourceTagSet -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int
- ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet
Creating a Request
Creates a value of ListTagsForResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfrResourceType
- The type of the resource. * The resource type for health checks ishealthcheck
. * The resource type for hosted zones ishostedzone
.ltfrResourceId
- The ID of the resource for which you want to retrieve tags.
data ListTagsForResource Source #
A complex type containing information about a request for a list of the tags that are associated with an individual resource.
See: listTagsForResource
smart constructor.
Request Lenses
ltfrResourceType :: Lens' ListTagsForResource TagResourceType Source #
The type of the resource. * The resource type for health checks is healthcheck
. * The resource type for hosted zones is hostedzone
.
ltfrResourceId :: Lens' ListTagsForResource Text Source #
The ID of the resource for which you want to retrieve tags.
Destructuring the Response
listTagsForResourceResponse Source #
Creates a value of ListTagsForResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltfrrsResponseStatus
- -- | The response status code.ltfrrsResourceTagSet
- AResourceTagSet
containing tags associated with the specified resource.
data ListTagsForResourceResponse Source #
A complex type that contains information about the health checks or hosted zones for which you want to list tags.
See: listTagsForResourceResponse
smart constructor.
Response Lenses
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int Source #
- - | The response status code.
ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet Source #
A ResourceTagSet
containing tags associated with the specified resource.