AWS ses documentation change
Summary
Added SAP ABAP SDK code example for GetEmailIdentity API
Security assessment
Expands SDK coverage with non-security feature example; email verification relates to anti-spoofing but doesn't document new security capabilities
Diff
diff --git a/ses/latest/dg/sesv2_example_sesv2_GetEmailIdentity_section.md b/ses/latest/dg/sesv2_example_sesv2_GetEmailIdentity_section.md index 6964e3740..dc37ac5ac 100644 --- a//ses/latest/dg/sesv2_example_sesv2_GetEmailIdentity_section.md +++ b//ses/latest/dg/sesv2_example_sesv2_GetEmailIdentity_section.md @@ -122,0 +123,30 @@ Determines whether an email address has been verified. +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. + oo_result = lo_se2->getemailidentity( + iv_emailidentity = iv_email_identity ). + MESSAGE |Identity type: { oo_result->get_identitytype( ) }, | && + |verified for sending: { oo_result->get_verifiedforsendingstatus( ) }| TYPE 'I'. + CATCH /aws1/cx_se2notfoundexception. + MESSAGE |Email identity { iv_email_identity } not found.| TYPE 'I'. + CATCH /aws1/cx_se2badrequestex INTO DATA(lo_bad_request). + MESSAGE lo_bad_request TYPE 'I' DISPLAY LIKE 'E'. + RAISE EXCEPTION lo_bad_request. + ENDTRY. + + + + * For API details, see [GetEmailIdentity](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +