Paginated trait doesn't support pagination scheme with a moreResults boolean
See original GitHub issueA number of paginated AWS operations indicate there are more results via a boolean and not whether an “outputToken” is returned. See https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html where the existence of more results is indicated via a IsTruncated value in the response.
The paginated trait does not provide support for this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Pagination – Asana
Pagination ensures a more reliableexperience by limiting requests to a smaller ... data-asana-accessible, Boolean, representing whether or not the linked ...
Read more >8. Behavior traits - Smithy 1.0
throttling, boolean, Indicates that the error is a retryable throttling error. ... Attaching the paginated trait to a service provides default pagination ......
Read more >RFC: Paginator Design #346 - awslabs/smithy-rs - GitHub
In this RFC, we propose modeling paginated data as a Stream of output shapes. When an output is paginated, a paginate() method will...
Read more >why the diesel new pagination sql did not work - Stack Overflow
I finally found using this code block generates the SQL command in the wrong format, tweaking the code like this will fix it:...
Read more >Guys, we're doing pagination wrong… - theburningmonk.com
A common mistake I see is that the paginated API requires the caller to provide the “key” it uses to sort through the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Actually S3.ListParts pagination is not available in the Smithy files in the aws-sdk-go-v2 repo but it is available in the old style json models. I know this doesn’t necessarily mean anything but thought it was worth noting.
@mtdowling See https://github.com/aws/aws-sdk-go-v2/pull/1141