AWS code-library documentation change
Summary
Modified pagination parameter to use PaginationConfig and added basic logging configuration
Security assessment
Routine code example updates for configuration parameters and logging, no security-related content added or modified
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_Hello_section.md index 2989c6d55..e861c29b0 100644 --- a/code-library/latest/ug/ec2_example_ec2_Hello_section.md +++ b/code-library/latest/ug/ec2_example_ec2_Hello_section.md @@ -409 +409,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - response_iterator = paginator.paginate(MaxResults=10) + response_iterator = paginator.paginate(PaginationConfig={'MaxItems': 10}) # List only 10 security groups. + logging.basicConfig(level=logging.INFO) # Enable logging.