-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next token did not change is not always a bug #620
Comments
Thanks for reporting this! It definitely looks like a bug. The spec specifically calls out this use-case:
|
The fix for this will go out in the next release. |
The fix for this was released in |
|
Describe the bug
The generated code currently assumes that an unchanged next token returned from AWS is a bug and returns an error (generator code here).
However, at least the AWS CloudWatch logs GetLogEvents token has an expected behavior for not changing the token, in both the forward & backward direction:
When using this API with the paginator, we see this error on every call (at least with more than one page).
Expected Behavior
Pagination works correctly with no errors.
Current Behavior
Probably not particularly interesting, but we see the expected error due to the faulty implementation:
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
Version
Environment details (OS name and version, etc.)
AL2, but likely not relevant.
Logs
No response
The text was updated successfully, but these errors were encountered: