/AWS1/IF_SE2=>UPREPUTATIONENTCUSMANAGEDS00()¶
About UpdateReputationEntityCustomerManagedStatus¶
Update the customer-managed sending status for a reputation entity. This allows you to enable, disable, or reinstate sending for the entity.
The customer-managed status works in conjunction with the Amazon Web Services Amazon SES-managed status to determine the overall sending capability. When you update the customer-managed status, the Amazon Web Services Amazon SES-managed status remains unchanged. If Amazon Web Services Amazon SES has disabled the entity, it will not be allowed to send regardless of the customer-managed status setting. When you reinstate an entity through the customer-managed status, it can continue sending only if the Amazon Web Services Amazon SES-managed status also permits sending, even if there are active reputation findings, until the findings are resolved or new violations occur.
Method Signature¶
METHODS /AWS1/IF_SE2~UPREPUTATIONENTCUSMANAGEDS00
IMPORTING
!IV_REPUTATIONENTITYTYPE TYPE /AWS1/SE2REPUTATIONENTITYTYPE OPTIONAL
!IV_REPUTATIONENTITYREFERENCE TYPE /AWS1/SE2REPUTATIONENTREFERE00 OPTIONAL
!IV_SENDINGSTATUS TYPE /AWS1/SE2SENDINGSTATUS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_se2upreputationentc01
RAISING
/AWS1/CX_SE2BADREQUESTEX
/AWS1/CX_SE2CONFLICTEXCEPTION
/AWS1/CX_SE2TOOMANYREQUESTSEX
/AWS1/CX_SE2CLIENTEXC
/AWS1/CX_SE2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_reputationentitytype TYPE /AWS1/SE2REPUTATIONENTITYTYPE /AWS1/SE2REPUTATIONENTITYTYPE¶
The type of reputation entity. Currently, only
RESOURCEtype entities are supported.
iv_reputationentityreference TYPE /AWS1/SE2REPUTATIONENTREFERE00 /AWS1/SE2REPUTATIONENTREFERE00¶
The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource.
iv_sendingstatus TYPE /AWS1/SE2SENDINGSTATUS /AWS1/SE2SENDINGSTATUS¶
The new customer-managed sending status for the reputation entity. This can be one of the following:
ENABLED– Allow sending for this entity.
DISABLED– Prevent sending for this entity.
REINSTATED– Allow sending even if there are active reputation findings.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_se2upreputationentc01 /AWS1/CL_SE2UPREPUTATIONENTC01¶
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->upreputationentcusmanageds00(
iv_reputationentityreference = |string|
iv_reputationentitytype = |string|
iv_sendingstatus = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.