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 |
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 Billing and Cost Management User Guide.
Synopsis
- data ListTagsForResources = ListTagsForResources' {}
- newListTagsForResources :: TagResourceType -> NonEmpty Text -> ListTagsForResources
- listTagsForResources_resourceType :: Lens' ListTagsForResources TagResourceType
- listTagsForResources_resourceIds :: Lens' ListTagsForResources (NonEmpty Text)
- data ListTagsForResourcesResponse = ListTagsForResourcesResponse' {}
- newListTagsForResourcesResponse :: Int -> ListTagsForResourcesResponse
- listTagsForResourcesResponse_httpStatus :: Lens' ListTagsForResourcesResponse Int
- listTagsForResourcesResponse_resourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet]
Creating a Request
data ListTagsForResources Source #
A complex type that contains information about the health checks or hosted zones for which you want to list tags.
See: newListTagsForResources
smart constructor.
ListTagsForResources' | |
|
Instances
newListTagsForResources Source #
Create a value of ListTagsForResources
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:resourceType:ListTagsForResources'
, listTagsForResources_resourceType
- The type of the resources.
- The resource type for health checks is
healthcheck
. - The resource type for hosted zones is
hostedzone
.
$sel:resourceIds:ListTagsForResources'
, listTagsForResources_resourceIds
- A complex type that contains the ResourceId element for each resource
for which you want to get a list of tags.
Request Lenses
listTagsForResources_resourceType :: 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
.
listTagsForResources_resourceIds :: 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
data ListTagsForResourcesResponse Source #
A complex type containing tags for the specified resources.
See: newListTagsForResourcesResponse
smart constructor.
ListTagsForResourcesResponse' | |
|
Instances
newListTagsForResourcesResponse Source #
Create a value of ListTagsForResourcesResponse
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:ListTagsForResourcesResponse'
, listTagsForResourcesResponse_httpStatus
- The response's http status code.
$sel:resourceTagSets:ListTagsForResourcesResponse'
, listTagsForResourcesResponse_resourceTagSets
- A list of ResourceTagSet
s containing tags associated with the
specified resources.
Response Lenses
listTagsForResourcesResponse_httpStatus :: Lens' ListTagsForResourcesResponse Int Source #
The response's http status code.
listTagsForResourcesResponse_resourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet] Source #
A list of ResourceTagSet
s containing tags associated with the
specified resources.