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 |
Returns a list of the tags assigned to the specified resource.
- listTagsForResource :: ResourceTypeForTagging -> Text -> ListTagsForResource
- data ListTagsForResource
- ltfrResourceType :: Lens' ListTagsForResource ResourceTypeForTagging
- ltfrResourceId :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag]
- ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int
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
- Returns a list of tags for a specific resource type.ltfrResourceId
- The resource ID for which you want to see a list of tags.
data ListTagsForResource Source #
See: listTagsForResource
smart constructor.
Request Lenses
ltfrResourceType :: Lens' ListTagsForResource ResourceTypeForTagging Source #
Returns a list of tags for a specific resource type.
ltfrResourceId :: Lens' ListTagsForResource Text Source #
The resource ID for which you want to see a list of 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:
ltfrrsTagList
- A list of tags.ltfrrsResponseStatus
- -- | The response status code.
data ListTagsForResourceResponse Source #
See: listTagsForResourceResponse
smart constructor.
Response Lenses
ltfrrsTagList :: Lens' ListTagsForResourceResponse [Tag] Source #
A list of tags.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int Source #
- - | The response status code.