aws-sdk-go
aws-sdk-go copied to clipboard
Input paramter MaxResults is not working properly in ListIdentityProviderConfigsPages API
Describe the bug
As per the documentation the maximum value for input parameter MaxResults is 100 in the ListIdentityProviderConfigsPages API call. However, at the time of execution, it generates the below error.
Error: InvalidParameterException: maxResults needs to be 1
{
RespMetadata: {
StatusCode: 400,
RequestID: "77e1f652-1042-4540-87f1-d24192f3c6ef"
},
Message_: "maxResults needs to be 1"
Expected Behavior
The API should work with MaxResults 100.
Current Behavior
The API is not working with MaxResults 100.
Reproduction Steps
Execute the API with MaxResults 100
Possible Solution
No response
Additional Information/Context
No response
SDK version used
v1.44.43
Environment details (Version of Go (go version
)? OS name and version, etc.)
go v1.18
Hi, is there a sample of reproducible code that we can use to see how you got the error above?
@vudh1 Code reference