AWS ses documentation change
Summary
Added SAP ABAP SDK code example for CreateEmailIdentity API
Security assessment
The change adds a new programming language example without modifying security-related content. No vulnerabilities or security features are referenced in the added code snippet.
Diff
diff --git a/ses/latest/dg/sesv2_example_sesv2_CreateEmailIdentity_section.md b/ses/latest/dg/sesv2_example_sesv2_CreateEmailIdentity_section.md index a1c41fd9c..13534260c 100644 --- a//ses/latest/dg/sesv2_example_sesv2_CreateEmailIdentity_section.md +++ b//ses/latest/dg/sesv2_example_sesv2_CreateEmailIdentity_section.md @@ -218,0 +219,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_. + + + +