/AWS1/CL_SES=>SETIDFEEDBACKFORWARDINGENBD()
¶
About SetIdentityFeedbackForwardingEnabled¶
Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.
You can execute this operation no more than once per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_identity
TYPE /AWS1/SESIDENTITY
/AWS1/SESIDENTITY
¶
The identity for which to set bounce and complaint notification forwarding. Examples:
user@example.com
,example.com
.
iv_forwardingenabled
TYPE /AWS1/SESENABLED
/AWS1/SESENABLED
¶
Sets whether Amazon SES forwards bounce and complaint notifications as email.
true
specifies that Amazon SES forwards bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified.false
specifies that Amazon SES publishes bounce and complaint notifications only through Amazon SNS. This value can only be set tofalse
when Amazon SNS topics are set for bothBounce
andComplaint
notification types.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_sessetidfeedbackfor01
/AWS1/CL_SESSETIDFEEDBACKFOR01
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_ses~setidfeedbackforwardingenbd(
iv_forwardingenabled = ABAP_TRUE
iv_identity = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
SetIdentityFeedbackForwardingEnabled¶
The following example configures Amazon SES to forward an identity's bounces and complaints via email:
DATA(lo_result) = lo_client->/aws1/if_ses~setidfeedbackforwardingenbd(
iv_forwardingenabled = ABAP_TRUE
iv_identity = |user@example.com|
).