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 |
This operation lists the tags that have been added to the specified resource.
See: AWS API Reference for ListTagsForResource.
- listTagsForResource :: ListTagsForResource
- data ListTagsForResource
- ltfrResourceARN :: Lens' ListTagsForResource (Maybe Text)
- ltfrMarker :: Lens' ListTagsForResource (Maybe Text)
- ltfrLimit :: Lens' ListTagsForResource (Maybe Natural)
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsResourceARN :: Lens' ListTagsForResourceResponse (Maybe Text)
- ltfrrsMarker :: Lens' ListTagsForResourceResponse (Maybe Text)
- ltfrrsTags :: Lens' ListTagsForResourceResponse [Tag]
- ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int
Creating a Request
listTagsForResource :: ListTagsForResource Source
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
ListTagsForResourceInput
See: listTagsForResource
smart constructor.
Request Lenses
ltfrResourceARN :: Lens' ListTagsForResource (Maybe Text) Source
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
ltfrMarker :: Lens' ListTagsForResource (Maybe Text) Source
An opaque string that indicates the position at which to begin returning the list of tags.
ltfrLimit :: Lens' ListTagsForResource (Maybe Natural) Source
Specifies that the list of tags returned be limited to the specified number of items.
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
ListTagsForResourceOutput
See: listTagsForResourceResponse
smart constructor.
Response Lenses
ltfrrsResourceARN :: Lens' ListTagsForResourceResponse (Maybe Text) Source
he Amazon Resource Name (ARN) of the resource for which you want to list tags.
ltfrrsMarker :: Lens' ListTagsForResourceResponse (Maybe Text) Source
An opaque string that indicates the position at which to stop returning the list of tags.
ltfrrsTags :: Lens' ListTagsForResourceResponse [Tag] Source
An array that contains the tags for the specified resource.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int Source
The response status code.