AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added SAP ABAP code example for CreateEmailIdentity operation

Security assessment

The change documents identity creation which is foundational to email security. Error handling for existing identities and limits is shown, but no specific vulnerability is addressed.

Diff

diff --git a/code-library/latest/ug/sesv2_example_sesv2_CreateEmailIdentity_section.md b/code-library/latest/ug/sesv2_example_sesv2_CreateEmailIdentity_section.md
index f0cfe8ced..0d8d99a35 100644
--- a//code-library/latest/ug/sesv2_example_sesv2_CreateEmailIdentity_section.md
+++ b//code-library/latest/ug/sesv2_example_sesv2_CreateEmailIdentity_section.md
@@ -220,0 +221,30 @@ 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->createemailidentity(
+              iv_emailidentity = iv_email_identity ).
+            MESSAGE 'Email identity created successfully.' TYPE 'I'.
+          CATCH /aws1/cx_se2alreadyexistsex.
+            MESSAGE 'Email identity already exists.' TYPE 'I'.
+          CATCH /aws1/cx_se2badrequestex INTO DATA(lo_bad_request).
+            MESSAGE lo_bad_request TYPE 'I' DISPLAY LIKE 'E'.
+          CATCH /aws1/cx_se2limitexceededex INTO DATA(lo_limit_exceeded).
+            MESSAGE lo_limit_exceeded TYPE 'I' DISPLAY LIKE 'E'.
+        ENDTRY.
+    
+    
+
+  * For API details, see [CreateEmailIdentity](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. 
+
+
+
+