Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Undocumented operation.
See: AWS API Reference for ListTagsForResource.
- listTagsForResource :: TagResourceType -> Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceType :: Lens' ListTagsForResource TagResourceType
- ltfrResourceId :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ResourceTagSet -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsStatus :: 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:
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:
data ListTagsForResourceResponse Source
A complex type containing tags for the specified resource.
See: listTagsForResourceResponse
smart constructor.
Response Lenses
ltfrrsStatus :: Lens' ListTagsForResourceResponse Int Source
The response status code.
ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet Source
A ResourceTagSet
containing tags associated with the specified
resource.