/AWS1/IF_UNT=>LSTMANAGEDNTFCHANNELASSOCI00()¶
About ListManagedNotificationChannelAssociations¶
Returns a list of Account contacts and Channels associated with a ManagedNotificationConfiguration, in paginated format.
Method Signature¶
METHODS /AWS1/IF_UNT~LSTMANAGEDNTFCHANNELASSOCI00
IMPORTING
!IV_MANAGEDNOTIFCONFARN TYPE /AWS1/UNTMANAGEDNOTIFCONFOSARN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/UNTINTEGER OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/UNTNEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_untlstmanagedntfcha01
RAISING
/AWS1/CX_UNTACCESSDENIEDEX
/AWS1/CX_UNTINTERNALSERVEREX
/AWS1/CX_UNTRESOURCENOTFOUNDEX
/AWS1/CX_UNTTHROTTLINGEX
/AWS1/CX_UNTVALIDATIONEX
/AWS1/CX_UNTCLIENTEXC
/AWS1/CX_UNTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_managednotifconfarn TYPE /AWS1/UNTMANAGEDNOTIFCONFOSARN /AWS1/UNTMANAGEDNOTIFCONFOSARN¶
The Amazon Resource Name (ARN) of the
ManagedNotificationConfigurationto match.
Optional arguments:¶
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
ListManagedNotificationChannelAssociationscall.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_untlstmanagedntfcha01 /AWS1/CL_UNTLSTMANAGEDNTFCHA01¶
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->lstmanagedntfchannelassoci00(
iv_managednotifconfarn = |string|
iv_maxresults = 123
iv_nexttoken = |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_channelassociations( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_channelidentifier( ).
lv_channeltype = lo_row_1->get_channeltype( ).
lv_channelassociationoverr = lo_row_1->get_overrideoption( ).
ENDIF.
ENDLOOP.
ENDIF.