AWS Security ChangesHomeSearch

AWS IAM documentation change

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

File: IAM/latest/UserGuide/iam_example_iam_DeletePolicyVersion_section.md

Summary

Updated title and added SAP ABAP SDK code example for DeletePolicyVersion API

Security assessment

Title changed to include SDKs and added code sample. No security vulnerabilities or security features documented.

Diff

diff --git a/IAM/latest/UserGuide/iam_example_iam_DeletePolicyVersion_section.md b/IAM/latest/UserGuide/iam_example_iam_DeletePolicyVersion_section.md
index 76caa795e..f297136c0 100644
--- a//IAM/latest/UserGuide/iam_example_iam_DeletePolicyVersion_section.md
+++ b//IAM/latest/UserGuide/iam_example_iam_DeletePolicyVersion_section.md
@@ -5 +5 @@
-# Use `DeletePolicyVersion` with a CLI
+# Use `DeletePolicyVersion` with an AWS SDK or CLI
@@ -89,0 +90,31 @@ PowerShell
+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.
+            lo_iam->deletepolicyversion(
+              iv_policyarn = iv_policy_arn
+              iv_versionid = iv_version_id ).
+            MESSAGE 'Policy version deleted successfully.' TYPE 'I'.
+          CATCH /aws1/cx_iamnosuchentityex.
+            MESSAGE 'Policy or version does not exist.' TYPE 'E'.
+          CATCH /aws1/cx_iamdeleteconflictex.
+            MESSAGE 'Cannot delete default policy version.' TYPE 'E'.
+          CATCH /aws1/cx_iamlimitexceededex.
+            MESSAGE 'Limit exceeded.' TYPE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [DeletePolicyVersion](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+