CodeBuild.Paginator.ListBuildsForProject - incorrect 'MaxItems' #4320
Labels
bug
This issue is a confirmed bug.
codebuild
p2
This is a standard priority issue
pagination
response-requested
Waiting on additional information or feedback.
Describe the bug
When using
paginator
api forcodebuild's list_builds_for_project
api the response still fetches the default size which is 100 items but the iterator gives onlyMaxItems
configured and misses the rest of themFor example if
MaxItems
is configured as 20 theresponse_iterator
returns only 20 items then fetches next 100 items and returns first 20 againRegression Issue
Expected Behavior
Maxitems should fetch only 20 items and then iterate to fetch next 20
Current Behavior
MaxItems only iterates over the configured value from the fetched list and misses the rest of them when it iterates again
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.35.49
Environment details (OS name and version, etc.)
Mac
The text was updated successfully, but these errors were encountered: