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 |
List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.
For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide .
Synopsis
- listTagsOfResource :: Text -> ListTagsOfResource
- data ListTagsOfResource
- ltorNextToken :: Lens' ListTagsOfResource (Maybe Text)
- ltorResourceARN :: Lens' ListTagsOfResource Text
- listTagsOfResourceResponse :: Int -> ListTagsOfResourceResponse
- data ListTagsOfResourceResponse
- ltorrsNextToken :: Lens' ListTagsOfResourceResponse (Maybe Text)
- ltorrsTags :: Lens' ListTagsOfResourceResponse [Tag]
- ltorrsResponseStatus :: Lens' ListTagsOfResourceResponse Int
Creating a Request
Creates a value of ListTagsOfResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltorNextToken
- An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.ltorResourceARN
- The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).
data ListTagsOfResource Source #
See: listTagsOfResource
smart constructor.
Instances
Request Lenses
ltorNextToken :: Lens' ListTagsOfResource (Maybe Text) Source #
An optional string that, if supplied, must be copied from the output of a previous call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.
ltorResourceARN :: Lens' ListTagsOfResource Text Source #
The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).
Destructuring the Response
listTagsOfResourceResponse Source #
Creates a value of ListTagsOfResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltorrsNextToken
- If this value is returned, there are additional results to be displayed. To retrieve them, call ListTagsOfResource again, with NextToken set to this value.ltorrsTags
- The tags currently associated with the Amazon DynamoDB resource.ltorrsResponseStatus
- -- | The response status code.
data ListTagsOfResourceResponse Source #
See: listTagsOfResourceResponse
smart constructor.
Instances
Response Lenses
ltorrsNextToken :: Lens' ListTagsOfResourceResponse (Maybe Text) Source #
If this value is returned, there are additional results to be displayed. To retrieve them, call ListTagsOfResource again, with NextToken set to this value.
ltorrsTags :: Lens' ListTagsOfResourceResponse [Tag] Source #
The tags currently associated with the Amazon DynamoDB resource.
ltorrsResponseStatus :: Lens' ListTagsOfResourceResponse Int Source #
- - | The response status code.