-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Wrong limit value in sample code for boto3 describe_log_groups #4079
Comments
Hi @puidenz, thanks for reaching out. This is pretty common in SDK examples; the examples aren't intended to be copied and ran off-the-shelf. They exist to demonstrate the correct syntax and explain other nuances. All of the other parameters in |
Hi Ryan, thanks for your reply!
So users don't have to travel over API doc or try-and-error to get the valid value. |
Hi @puidenz thanks for following up and providing more context. As Ryan mentioned, using As described in the new issue, further discussion is needed to discuss possible paths forward here. I'll go ahead and close this in favor of consolidating and tracking in the new issue. Please feel free to 👍 or comment there. Thanks again! |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the issue
The sample code uses
limit=123
; however, the valid value is 1 to 50 forDescribeLogGroups
.Links
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs/client/describe_log_groups.html#describe-log-groups
The text was updated successfully, but these errors were encountered: