/AWS1/IF_UNT=>LISTNOTIFICATIONCONFS()¶
About ListNotificationConfigurations¶
Returns a list of abbreviated NotificationConfigurations according to specified filters, in reverse chronological order (newest first).
Method Signature¶
METHODS /AWS1/IF_UNT~LISTNOTIFICATIONCONFS
IMPORTING
!IV_EVENTRULESOURCE TYPE /AWS1/UNTSOURCE OPTIONAL
!IV_CHANNELARN TYPE /AWS1/UNTCHANNELARN OPTIONAL
!IV_STATUS TYPE /AWS1/UNTNOTIFCONFSTATUS OPTIONAL
!IV_SUBTYPE TYPE /AWS1/UNTNOTIFCONFSUBTYPE OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/UNTINTEGER OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/UNTNEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_untlistnotifconfsrsp
RAISING
/AWS1/CX_UNTACCESSDENIEDEX
/AWS1/CX_UNTINTERNALSERVEREX
/AWS1/CX_UNTTHROTTLINGEX
/AWS1/CX_UNTVALIDATIONEX
/AWS1/CX_UNTCLIENTEXC
/AWS1/CX_UNTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_eventrulesource TYPE /AWS1/UNTSOURCE /AWS1/UNTSOURCE¶
The matched event source.
Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
iv_channelarn TYPE /AWS1/UNTCHANNELARN /AWS1/UNTCHANNELARN¶
The Amazon Resource Name (ARN) of the Channel to match.
iv_status TYPE /AWS1/UNTNOTIFCONFSTATUS /AWS1/UNTNOTIFCONFSTATUS¶
The
NotificationConfigurationstatus to match.
Values:
ACTIVE
All
EventRulesareACTIVEand any call can be run.
PARTIALLY_ACTIVE
Some
EventRulesareACTIVEand some areINACTIVE. Any call can be run.Any call can be run.
INACTIVE
All
EventRulesareINACTIVEand any call can be run.
DELETING
This
NotificationConfigurationis being deleted.Only
GETandLISTcalls can be run.
iv_subtype TYPE /AWS1/UNTNOTIFCONFSUBTYPE /AWS1/UNTNOTIFCONFSUBTYPE¶
The subtype used to filter the notification configurations in the request.
iv_maxresults TYPE /AWS1/UNTINTEGER /AWS1/UNTINTEGER¶
The maximum number of results to be returned in this call. Defaults to 20.
iv_nexttoken TYPE /AWS1/UNTNEXTTOKEN /AWS1/UNTNEXTTOKEN¶
The start token for paginated calls. Retrieved from the response of a previous
ListEventRulescall. Next token uses Base64 encoding.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_untlistnotifconfsrsp /AWS1/CL_UNTLISTNOTIFCONFSRSP¶
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->listnotificationconfs(
iv_channelarn = |string|
iv_eventrulesource = |string|
iv_maxresults = 123
iv_nexttoken = |string|
iv_status = |string|
iv_subtype = |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_notificationconfs( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_notificationconfigurati = lo_row_1->get_arn( ).
lv_notificationconfigurati_1 = lo_row_1->get_name( ).
lv_notificationconfigurati_2 = lo_row_1->get_description( ).
lv_notificationconfigurati_3 = lo_row_1->get_status( ).
lv_creationtime = lo_row_1->get_creationtime( ).
lv_aggregationduration = lo_row_1->get_aggregationduration( ).
lv_notificationconfigurati_4 = lo_row_1->get_subtype( ).
ENDIF.
ENDLOOP.
ENDIF.