/AWS1/IF_IOW=>LISTEVENTCONFIGURATIONS()¶
About ListEventConfigurations¶
List event configurations where at least one event topic has been enabled.
Method Signature¶
METHODS /AWS1/IF_IOW~LISTEVENTCONFIGURATIONS
IMPORTING
!IV_RESOURCETYPE TYPE /AWS1/IOWEVENTNOTIFRESRCTYPE OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/IOWMAXRESULTS OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/IOWNEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iowlisteventconfsrsp
RAISING
/AWS1/CX_IOWACCESSDENIEDEX
/AWS1/CX_IOWINTERNALSERVEREX
/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_resourcetype TYPE /AWS1/IOWEVENTNOTIFRESRCTYPE /AWS1/IOWEVENTNOTIFRESRCTYPE¶
Resource type to filter event configurations.
Optional arguments:¶
iv_maxresults TYPE /AWS1/IOWMAXRESULTS /AWS1/IOWMAXRESULTS¶
MaxResults
iv_nexttoken TYPE /AWS1/IOWNEXTTOKEN /AWS1/IOWNEXTTOKEN¶
To retrieve the next set of results, the
nextTokenvalue from a previous response; otherwise null to receive the first set of results.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iowlisteventconfsrsp /AWS1/CL_IOWLISTEVENTCONFSRSP¶
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->listeventconfigurations(
iv_maxresults = 123
iv_nexttoken = |string|
iv_resourcetype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_nexttoken = lo_result->get_nexttoken( ).
LOOP AT lo_result->get_eventconfigurationslist( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_identifier = lo_row_1->get_identifier( ).
lv_identifiertype = lo_row_1->get_identifiertype( ).
lv_eventnotificationpartne = lo_row_1->get_partnertype( ).
lo_eventnotificationitemco = lo_row_1->get_events( ).
IF lo_eventnotificationitemco IS NOT INITIAL.
lo_deviceregistrationstate = lo_eventnotificationitemco->get_deviceregistrationstate( ).
IF lo_deviceregistrationstate IS NOT INITIAL.
lo_sidewalkeventnotificati = lo_deviceregistrationstate->get_sidewalk( ).
IF lo_sidewalkeventnotificati IS NOT INITIAL.
lv_eventnotificationtopics = lo_sidewalkeventnotificati->get_amazonideventtopic( ).
ENDIF.
lv_eventnotificationtopics = lo_deviceregistrationstate->get_wirelessdevideventtopic( ).
ENDIF.
lo_proximityeventconfigura = lo_eventnotificationitemco->get_proximity( ).
IF lo_proximityeventconfigura IS NOT INITIAL.
lo_sidewalkeventnotificati = lo_proximityeventconfigura->get_sidewalk( ).
IF lo_sidewalkeventnotificati IS NOT INITIAL.
lv_eventnotificationtopics = lo_sidewalkeventnotificati->get_amazonideventtopic( ).
ENDIF.
lv_eventnotificationtopics = lo_proximityeventconfigura->get_wirelessdevideventtopic( ).
ENDIF.
lo_joineventconfiguration = lo_eventnotificationitemco->get_join( ).
IF lo_joineventconfiguration IS NOT INITIAL.
lo_lorawanjoineventnotific = lo_joineventconfiguration->get_lorawan( ).
IF lo_lorawanjoineventnotific IS NOT INITIAL.
lv_eventnotificationtopics = lo_lorawanjoineventnotific->get_deveuieventtopic( ).
ENDIF.
lv_eventnotificationtopics = lo_joineventconfiguration->get_wirelessdevideventtopic( ).
ENDIF.
lo_connectionstatuseventco = lo_eventnotificationitemco->get_connectionstatus( ).
IF lo_connectionstatuseventco IS NOT INITIAL.
lo_lorawanconnectionstatus = lo_connectionstatuseventco->get_lorawan( ).
IF lo_lorawanconnectionstatus IS NOT INITIAL.
lv_eventnotificationtopics = lo_lorawanconnectionstatus->get_gatewayeuieventtopic( ).
ENDIF.
lv_eventnotificationtopics = lo_connectionstatuseventco->get_wirelessgwideventtopic( ).
ENDIF.
lo_messagedeliverystatusev = lo_eventnotificationitemco->get_messagedeliverystatus( ).
IF lo_messagedeliverystatusev IS NOT INITIAL.
lo_sidewalkeventnotificati = lo_messagedeliverystatusev->get_sidewalk( ).
IF lo_sidewalkeventnotificati IS NOT INITIAL.
lv_eventnotificationtopics = lo_sidewalkeventnotificati->get_amazonideventtopic( ).
ENDIF.
lv_eventnotificationtopics = lo_messagedeliverystatusev->get_wirelessdevideventtopic( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.