CloudControl Boto list_resources call for API Gateway API Keys returns max 25 resources #4166
Labels
bug
This issue is a confirmed bug.
cloudcontrol
service-api
This issue is caused by the service API, not the SDK implementation.
Describe the bug
When using the Boto CloudControl API to list API gateway keys (TypeName
AWS::ApiGateway::ApiKey
), only 25 resources are returned even though the account contains many more and the MaxResults argument is 100. In addition, the paginator only returns one page with 25 resourcesExpected Behavior
When given
TypeName=AWS::ApiGateway::ApiKey
andMaxItems=100
,list_resources
API call should return 100 resources or all the resources in the account, whichever is less.Current Behavior
When given
TypeName=AWS::ApiGateway::ApiKey
andMaxItems=100
,list_resources
API call only returns 25 resources, even though more are in the account.Reproduction Steps
Total item count is 25, and only 25 items are returned
Alternatively, use pagination to list the API keys:
Only one page with 25 resources are returned.
Possible Solution
No response
Additional Information/Context
Tested in us-east-1
The API Gateway Boto API call
get_api_keys
does work correctly and returns all API keys.SDK version used
Boto3 1.28.66
Environment details (OS name and version, etc.)
Linux 5.15.0-107-generic, Python 3.11.7
The text was updated successfully, but these errors were encountered: