Copyright | (c) 2013-2016 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 |
Lists all tags on an Amazon Directory Services directory.
- listTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResource
- ltfrNextToken :: Lens' ListTagsForResource (Maybe Text)
- ltfrLimit :: Lens' ListTagsForResource (Maybe Natural)
- ltfrResourceId :: Lens' ListTagsForResource Text
- listTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ListTagsForResourceResponse
- ltfrrsNextToken :: Lens' ListTagsForResourceResponse (Maybe Text)
- ltfrrsTags :: 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:
data ListTagsForResource Source #
See: listTagsForResource
smart constructor.
Request Lenses
ltfrNextToken :: Lens' ListTagsForResource (Maybe Text) Source #
Reserved for future use.
ltfrResourceId :: Lens' ListTagsForResource Text Source #
Identifier (ID) of the directory 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 #
See: listTagsForResourceResponse
smart constructor.
Response Lenses
ltfrrsNextToken :: Lens' ListTagsForResourceResponse (Maybe Text) Source #
Reserved for future use.
ltfrrsTags :: Lens' ListTagsForResourceResponse [Tag] Source #
List of tags returned by the ListTagsForResource operation.
ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int Source #
The response status code.