/AWS1/IF_SE2=>GETREPUTATIONENTITY()
¶
About GetReputationEntity¶
Retrieve information about a specific reputation entity, including its reputation management policy, customer-managed status, Amazon Web Services Amazon SES-managed status, and aggregate sending status.
Reputation entities represent resources in your Amazon SES account that have reputation
tracking and management capabilities. The reputation impact reflects the highest
impact reputation finding for the entity. Reputation findings can be retrieved
using the ListRecommendations
operation.
Method Signature¶
IMPORTING¶
Required arguments:¶
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_reputationentitytype
TYPE /AWS1/SE2REPUTATIONENTITYTYPE
/AWS1/SE2REPUTATIONENTITYTYPE
¶
The type of reputation entity. Currently, only
RESOURCE
type entities are supported.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_se2getreputationent01
/AWS1/CL_SE2GETREPUTATIONENT01
¶
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_se2~getreputationentity(
iv_reputationentityreference = |string|
iv_reputationentitytype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_reputationentity = lo_result->get_reputationentity( ).
IF lo_reputationentity IS NOT INITIAL.
lv_reputationentityreferen = lo_reputationentity->get_reputationentreference( ).
lv_reputationentitytype = lo_reputationentity->get_reputationentitytype( ).
lv_amazonresourcename = lo_reputationentity->get_reputationmngmtpolicy( ).
lo_statusrecord = lo_reputationentity->get_customermanagedstatus( ).
IF lo_statusrecord IS NOT INITIAL.
lv_sendingstatus = lo_statusrecord->get_status( ).
lv_statuscause = lo_statusrecord->get_cause( ).
lv_timestamp = lo_statusrecord->get_lastupdatedtimestamp( ).
ENDIF.
lo_statusrecord = lo_reputationentity->get_awssesmanagedstatus( ).
IF lo_statusrecord IS NOT INITIAL.
lv_sendingstatus = lo_statusrecord->get_status( ).
lv_statuscause = lo_statusrecord->get_cause( ).
lv_timestamp = lo_statusrecord->get_lastupdatedtimestamp( ).
ENDIF.
lv_sendingstatus = lo_reputationentity->get_sendingstatusaggregate( ).
lv_recommendationimpact = lo_reputationentity->get_reputationimpact( ).
ENDIF.
ENDIF.