Missing paginator for DynamoDB ListTagsOfResource
Describe the feature
DynamoDB's ListTagsOfResource is a paginated operation, returning a list and accepting NextToken in its input args. However, a Paginator is not provided for it in the SDK. Instead, callers need to call the client's ListTagsOfResource multiple times. We have the Paginator construct for exactly this use case, not sure why this method doesn't provide one.
Use Case
Anyone wanting to get tags from DynamoDB resources will benefit from this, as now they have to paginate manually
Proposed Solution
Implement the same Paginator pattern used throughout the SDK, but for this method
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
AWS Go SDK V2 Module Versions Used
N/A
Go version used
N/A
Hi @thieman ,
Thanks for opening this issue.
This paginator is missing because the Dynamo service team did not specify ListTagsOfResource in their model as a paginated operation.
I have created an internal ticket with the Dynamo service team to add this paginator. Im going to transfer this to the cross-sdk repo for further monitoring.
Thanks again, Ran~
P96938372
Contacted service team for update. Awaiting response.
Reached out to service team requesting for an update.
Followed up again with the service team oncall. Awaiting update.
Service team came back with following response:
ListTagsOfResource does not support pagination at the API level, this is not a model issue. Tags are limited to 50 per resource and therefore there's no need for pagination.
Provided them some instances of ListTagsOfResource in AWS services which support pagination:
Awaiting update.
Followed up with service team, waiting response.