/AWS1/IF_SE2=>UPDATECONFSETEVENTDST()¶
About UpdateConfigurationSetEventDestination¶
Update the configuration of an event destination for a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.
Method Signature¶
METHODS /AWS1/IF_SE2~UPDATECONFSETEVENTDST
IMPORTING
!IV_CONFIGURATIONSETNAME TYPE /AWS1/SE2CONFIGURATIONSETNAME OPTIONAL
!IV_EVENTDESTINATIONNAME TYPE /AWS1/SE2EVENTDESTINATIONNAME OPTIONAL
!IO_EVENTDESTINATION TYPE REF TO /AWS1/CL_SE2EVENTDSTDEFINITION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_se2upconfsetevtdstrsp
RAISING
/AWS1/CX_SE2BADREQUESTEX
/AWS1/CX_SE2NOTFOUNDEXCEPTION
/AWS1/CX_SE2TOOMANYREQUESTSEX
/AWS1/CX_SE2CLIENTEXC
/AWS1/CX_SE2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_configurationsetname TYPE /AWS1/SE2CONFIGURATIONSETNAME /AWS1/SE2CONFIGURATIONSETNAME¶
The name of the configuration set that contains the event destination to modify.
iv_eventdestinationname TYPE /AWS1/SE2EVENTDESTINATIONNAME /AWS1/SE2EVENTDESTINATIONNAME¶
The name of the event destination.
io_eventdestination TYPE REF TO /AWS1/CL_SE2EVENTDSTDEFINITION /AWS1/CL_SE2EVENTDSTDEFINITION¶
An object that defines the event destination.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_se2upconfsetevtdstrsp /AWS1/CL_SE2UPCONFSETEVTDSTRSP¶
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->updateconfseteventdst(
io_eventdestination = new /aws1/cl_se2eventdstdefinition(
io_cloudwatchdestination = new /aws1/cl_se2cloudwatchdst(
it_dimensionconfigurations = VALUE /aws1/cl_se2cloudwatchdimens00=>tt_cloudwatchdimensionconfs(
(
new /aws1/cl_se2cloudwatchdimens00(
iv_defaultdimensionvalue = |string|
iv_dimensionname = |string|
iv_dimensionvaluesource = |string|
)
)
)
)
io_eventbridgedestination = new /aws1/cl_se2eventbridgedst( |string| )
io_kinesisfirehosedst = new /aws1/cl_se2kinesisfirehosedst(
iv_deliverystreamarn = |string|
iv_iamrolearn = |string|
)
io_pinpointdestination = new /aws1/cl_se2pinpointdst( |string| )
io_snsdestination = new /aws1/cl_se2snsdestination( |string| )
it_matchingeventtypes = VALUE /aws1/cl_se2eventtypes_w=>tt_eventtypes(
( new /aws1/cl_se2eventtypes_w( |string| ) )
)
iv_enabled = ABAP_TRUE
)
iv_configurationsetname = |string|
iv_eventdestinationname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.