AWS Security ChangesHomeSearch

AWS IAM documentation change

Service: IAM · 2026-01-25 · Documentation low

File: IAM/latest/UserGuide/iam_example_iam_GetRole_section.md

Summary

Added SAP ABAP SDK example code for GetRole API

Security assessment

Role information retrieval example with no security fixes or vulnerability mitigations. No security impact.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_GetRole_section.md b/IAM/latest/UserGuide/iam_example_iam_GetRole_section.md
index 81c93ed6a..50f7b1009 100644
--- a//IAM/latest/UserGuide/iam_example_iam_GetRole_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_GetRole_section.md
@@ -375,0 +376,25 @@ 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/iam#code-examples). 
+    
+    
+        TRY.
+            oo_result = lo_iam->getrole( iv_rolename = iv_role_name ).
+            MESSAGE 'Retrieved role information.' TYPE 'I'.
+          CATCH /aws1/cx_iamnosuchentityex.
+            MESSAGE 'Role does not exist.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [GetRole](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_.