AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added SAP ABAP code example for DeleteEmailIdentity operation

Security assessment

The change documents identity deletion which helps maintain least-privilege security. Error handling is added, but no evidence indicates this fixes a specific security issue.

Diff

diff --git a/code-library/latest/ug/sesv2_example_sesv2_DeleteEmailIdentity_section.md b/code-library/latest/ug/sesv2_example_sesv2_DeleteEmailIdentity_section.md
index 6a83d7b94..88e7c00e8 100644
--- a//code-library/latest/ug/sesv2_example_sesv2_DeleteEmailIdentity_section.md
+++ b//code-library/latest/ug/sesv2_example_sesv2_DeleteEmailIdentity_section.md
@@ -200,0 +201,29 @@ 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/se2#code-examples). 
+    
+    
+        TRY.
+            lo_se2->deleteemailidentity(
+              iv_emailidentity = iv_email_identity ).
+            MESSAGE 'Email identity deleted successfully.' TYPE 'I'.
+          CATCH /aws1/cx_se2notfoundexception.
+            MESSAGE 'Email identity not found.' TYPE 'I'.
+          CATCH /aws1/cx_se2badrequestex INTO DATA(lo_bad_request).
+            MESSAGE 'Bad request.' TYPE 'I'.
+            RAISE EXCEPTION lo_bad_request.
+        ENDTRY.
+    
+    
+
+  * For API details, see [DeleteEmailIdentity](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+