AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added SAP ABAP code example for ListAccountAliases API

Security assessment

Addition of SDK example without security context. Listing account aliases is routine management without evidence of security fixes.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_ListAccountAliases_section.md b/code-library/latest/ug/iam_example_iam_ListAccountAliases_section.md
index 074b8b9dd..422cbe531 100644
--- a//code-library/latest/ug/iam_example_iam_ListAccountAliases_section.md
+++ b//code-library/latest/ug/iam_example_iam_ListAccountAliases_section.md
@@ -423,0 +424,25 @@ List, create, and delete account aliases.
+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/iam#code-examples). 
+    
+    
+        TRY.
+            oo_result = lo_iam->listaccountaliases( ).
+            MESSAGE 'Retrieved account alias list.' TYPE 'I'.
+          CATCH /aws1/cx_iamservicefailureex.
+            MESSAGE 'Service failure when listing account aliases.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [ListAccountAliases](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+