AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-03-10 · Documentation low

File: code-library/latest/ug/python_3_ec2_code_examples.md

Summary

Added logging configuration and updated pagination syntax in EC2 example

Security assessment

Added logging for debugging purposes but no direct security context or feature documentation.

Diff

diff --git a/code-library/latest/ug/python_3_ec2_code_examples.md
index 1ec4af56d..b65cbc708 100644
--- a/code-library/latest/ug/python_3_ec2_code_examples.md
+++ b/code-library/latest/ug/python_3_ec2_code_examples.md
@@ -45 +45,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.