Copyright | (c) 2013-2021 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 |
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.
This operation returns paginated results.
Synopsis
- data ListTagsOfResource = ListTagsOfResource' {
- nextToken :: Maybe Text
- resourceArn :: Text
- newListTagsOfResource :: Text -> ListTagsOfResource
- listTagsOfResource_nextToken :: Lens' ListTagsOfResource (Maybe Text)
- listTagsOfResource_resourceArn :: Lens' ListTagsOfResource Text
- data ListTagsOfResourceResponse = ListTagsOfResourceResponse' {}
- newListTagsOfResourceResponse :: Int -> ListTagsOfResourceResponse
- listTagsOfResourceResponse_nextToken :: Lens' ListTagsOfResourceResponse (Maybe Text)
- listTagsOfResourceResponse_tags :: Lens' ListTagsOfResourceResponse (Maybe [Tag])
- listTagsOfResourceResponse_httpStatus :: Lens' ListTagsOfResourceResponse Int
Creating a Request
data ListTagsOfResource Source #
See: newListTagsOfResource
smart constructor.
ListTagsOfResource' | |
|
Instances
newListTagsOfResource Source #
Create a value of ListTagsOfResource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListTagsOfResource'
, listTagsOfResource_nextToken
- 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.
$sel:resourceArn:ListTagsOfResource'
, listTagsOfResource_resourceArn
- The Amazon DynamoDB resource with tags to be listed. This value is an
Amazon Resource Name (ARN).
Request Lenses
listTagsOfResource_nextToken :: 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.
listTagsOfResource_resourceArn :: Lens' ListTagsOfResource Text Source #
The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).
Destructuring the Response
data ListTagsOfResourceResponse Source #
See: newListTagsOfResourceResponse
smart constructor.
ListTagsOfResourceResponse' | |
|
Instances
newListTagsOfResourceResponse Source #
Create a value of ListTagsOfResourceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListTagsOfResource'
, listTagsOfResourceResponse_nextToken
- If this value is returned, there are additional results to be displayed.
To retrieve them, call ListTagsOfResource again, with NextToken set to
this value.
$sel:tags:ListTagsOfResourceResponse'
, listTagsOfResourceResponse_tags
- The tags currently associated with the Amazon DynamoDB resource.
$sel:httpStatus:ListTagsOfResourceResponse'
, listTagsOfResourceResponse_httpStatus
- The response's http status code.
Response Lenses
listTagsOfResourceResponse_nextToken :: 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.
listTagsOfResourceResponse_tags :: Lens' ListTagsOfResourceResponse (Maybe [Tag]) Source #
The tags currently associated with the Amazon DynamoDB resource.
listTagsOfResourceResponse_httpStatus :: Lens' ListTagsOfResourceResponse Int Source #
The response's http status code.