AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-01-25 · Documentation low

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

Summary

Added SAP ABAP SDK code example for GetBucketAcl API with error handling

Security assessment

Demonstrates ACL retrieval but does not introduce security fixes or document security features beyond normal API usage.

Diff

diff --git a/code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md b/code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md
index e71433761..5ce21c21d 100644
--- a//code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md
+++ b//code-library/latest/ug/s3_example_s3_GetBucketAcl_section.md
@@ -454,0 +455,26 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+SAP ABAP
+    
+
+**SDK for SAP ABAP**
+    
+
+###### Note
+
+There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/s3#code-examples). 
+    
+    
+        TRY.
+            oo_result = lo_s3->getbucketacl(         " oo_result is returned for testing purposes. "
+              iv_bucket = iv_bucket_name ).
+            MESSAGE 'Retrieved bucket ACL.' TYPE 'I'.
+          CATCH /aws1/cx_s3_nosuchbucket.
+            MESSAGE 'Bucket does not exist.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [GetBucketAcl](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+