aws-sdk-js-v3
aws-sdk-js-v3 copied to clipboard
Expose items (not just pages) in paginators
Is your feature request related to a problem? Please describe.
AWS SDK for Java 2.x introduced paginators - similar to paginators in the JavaScript SDK v3. One nice thing the Java version has is that the iterators expose an attribute to retrieve the items (not just the pages) e.g. (from https://aws.amazon.com/blogs/developer/aws-sdk-for-java-2-x-released/)
client.listTablesPaginator()
.tableNames()
The JavaScript paginators only allow iterating over pages and users have to implement boilerplate code on top if they simply need the items.
The request is to introduce methods/properties to allow paginating items similar to Java SDK.
Describe the solution you'd like
Paginators to expose items and not just pages similar to the Java SDK implementation.
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.
I believe this to still be a valuable thing to have.
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.
The request is still valid.