Copyright | (c) 2013-2018 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 up to 10 health checks or hosted zones.
For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
- listTagsForResources :: TagResourceType -> NonEmpty Text -> ListTagsForResources
- data ListTagsForResources
- lResourceType :: Lens' ListTagsForResources TagResourceType
- lResourceIds :: Lens' ListTagsForResources (NonEmpty Text)
- listTagsForResourcesResponse :: Int -> ListTagsForResourcesResponse
- data ListTagsForResourcesResponse
- lrsResponseStatus :: Lens' ListTagsForResourcesResponse Int
- lrsResourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet]
Creating a Request
Creates a value of ListTagsForResources
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lResourceType
- The type of the resources. * The resource type for health checks ishealthcheck
. * The resource type for hosted zones ishostedzone
.lResourceIds
- A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
data ListTagsForResources Source #
A complex type that contains information about the health checks or hosted zones for which you want to list tags.
See: listTagsForResources
smart constructor.
Request Lenses
lResourceType :: Lens' ListTagsForResources TagResourceType Source #
The type of the resources. * The resource type for health checks is healthcheck
. * The resource type for hosted zones is hostedzone
.
lResourceIds :: Lens' ListTagsForResources (NonEmpty Text) Source #
A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
Destructuring the Response
listTagsForResourcesResponse Source #
Creates a value of ListTagsForResourcesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrsResponseStatus
- -- | The response status code.lrsResourceTagSets
- A list ofResourceTagSet
s containing tags associated with the specified resources.
data ListTagsForResourcesResponse Source #
A complex type containing tags for the specified resources.
See: listTagsForResourcesResponse
smart constructor.
Response Lenses
lrsResponseStatus :: Lens' ListTagsForResourcesResponse Int Source #
- - | The response status code.
lrsResourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet] Source #
A list of ResourceTagSet
s containing tags associated with the specified resources.