/AWS1/IF_IOW=>UPDATERESOURCEEVENTCONF()¶
About UpdateResourceEventConfiguration¶
Update the event configuration for a particular resource identifier.
Method Signature¶
METHODS /AWS1/IF_IOW~UPDATERESOURCEEVENTCONF
IMPORTING
!IV_IDENTIFIER TYPE /AWS1/IOWIDENTIFIER OPTIONAL
!IV_IDENTIFIERTYPE TYPE /AWS1/IOWIDENTIFIERTYPE OPTIONAL
!IV_PARTNERTYPE TYPE /AWS1/IOWEVENTNOTIFPARTNERTYPE OPTIONAL
!IO_DEVICEREGISTRATIONSTATE TYPE REF TO /AWS1/CL_IOWDEVREGSTATEEVTCONF OPTIONAL
!IO_PROXIMITY TYPE REF TO /AWS1/CL_IOWPROXIMITYEVENTCONF OPTIONAL
!IO_JOIN TYPE REF TO /AWS1/CL_IOWJOINEVENTCONF OPTIONAL
!IO_CONNECTIONSTATUS TYPE REF TO /AWS1/CL_IOWCONNSTATEVENTCONF OPTIONAL
!IO_MESSAGEDELIVERYSTATUS TYPE REF TO /AWS1/CL_IOWMSGDELIVERYSTATE00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iowupdresrcevtconfrsp
RAISING
/AWS1/CX_IOWACCESSDENIEDEX
/AWS1/CX_IOWCONFLICTEXCEPTION
/AWS1/CX_IOWINTERNALSERVEREX
/AWS1/CX_IOWRESOURCENOTFOUNDEX
/AWS1/CX_IOWTHROTTLINGEX
/AWS1/CX_IOWVALIDATIONEX
/AWS1/CX_IOWCLIENTEXC
/AWS1/CX_IOWSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_identifier TYPE /AWS1/IOWIDENTIFIER /AWS1/IOWIDENTIFIER¶
Resource identifier to opt in for event messaging.
iv_identifiertype TYPE /AWS1/IOWIDENTIFIERTYPE /AWS1/IOWIDENTIFIERTYPE¶
Identifier type of the particular resource identifier for event configuration.
Optional arguments:¶
iv_partnertype TYPE /AWS1/IOWEVENTNOTIFPARTNERTYPE /AWS1/IOWEVENTNOTIFPARTNERTYPE¶
Partner type of the resource if the identifier type is
PartnerAccountId
io_deviceregistrationstate TYPE REF TO /AWS1/CL_IOWDEVREGSTATEEVTCONF /AWS1/CL_IOWDEVREGSTATEEVTCONF¶
Event configuration for the device registration state event.
io_proximity TYPE REF TO /AWS1/CL_IOWPROXIMITYEVENTCONF /AWS1/CL_IOWPROXIMITYEVENTCONF¶
Event configuration for the proximity event.
io_join TYPE REF TO /AWS1/CL_IOWJOINEVENTCONF /AWS1/CL_IOWJOINEVENTCONF¶
Event configuration for the join event.
io_connectionstatus TYPE REF TO /AWS1/CL_IOWCONNSTATEVENTCONF /AWS1/CL_IOWCONNSTATEVENTCONF¶
Event configuration for the connection status event.
io_messagedeliverystatus TYPE REF TO /AWS1/CL_IOWMSGDELIVERYSTATE00 /AWS1/CL_IOWMSGDELIVERYSTATE00¶
Event configuration for the message delivery status event.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iowupdresrcevtconfrsp /AWS1/CL_IOWUPDRESRCEVTCONFRSP¶
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->updateresourceeventconf(
io_connectionstatus = new /aws1/cl_iowconnstateventconf(
io_lorawan = new /aws1/cl_iowlorawancxnstatev00( |string| )
iv_wirelessgwideventtopic = |string|
)
io_deviceregistrationstate = new /aws1/cl_iowdevregstateevtconf(
io_sidewalk = new /aws1/cl_iowsidewalkevtntfco00( |string| )
iv_wirelessdevideventtopic = |string|
)
io_join = new /aws1/cl_iowjoineventconf(
io_lorawan = new /aws1/cl_iowlorawanjoinevtnt00( |string| )
iv_wirelessdevideventtopic = |string|
)
io_messagedeliverystatus = new /aws1/cl_iowmsgdeliverystate00(
io_sidewalk = new /aws1/cl_iowsidewalkevtntfco00( |string| )
iv_wirelessdevideventtopic = |string|
)
io_proximity = new /aws1/cl_iowproximityeventconf(
io_sidewalk = new /aws1/cl_iowsidewalkevtntfco00( |string| )
iv_wirelessdevideventtopic = |string|
)
iv_identifier = |string|
iv_identifiertype = |string|
iv_partnertype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.