/AWS1/IF_KNV=>CREATESIGNALINGCHANNEL()¶
About CreateSignalingChannel¶
Creates a signaling channel.
CreateSignalingChannel is an asynchronous operation.
Method Signature¶
METHODS /AWS1/IF_KNV~CREATESIGNALINGCHANNEL
IMPORTING
!IV_CHANNELNAME TYPE /AWS1/KNVCHANNELNAME OPTIONAL
!IV_CHANNELTYPE TYPE /AWS1/KNVCHANNELTYPE OPTIONAL
!IO_SINGLEMASTERCONFIGURATION TYPE REF TO /AWS1/CL_KNVSINGLEMASTERCONF OPTIONAL
!IT_TAGS TYPE /AWS1/CL_KNVTAG=>TT_TAGONCREATELIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_knvcresignalingchan01
RAISING
/AWS1/CX_KNVACCESSDENIEDEX
/AWS1/CX_KNVACCHANNELLMTEXCDEX
/AWS1/CX_KNVCLIENTLIMITEXCDEX
/AWS1/CX_KNVINVALIDARGUMENTEX
/AWS1/CX_KNVRESOURCEINUSEEX
/AWS1/CX_KNVTGSPERRESRCEXCDL00
/AWS1/CX_KNVCLIENTEXC
/AWS1/CX_KNVSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_channelname TYPE /AWS1/KNVCHANNELNAME /AWS1/KNVCHANNELNAME¶
A name for the signaling channel that you are creating. It must be unique for each Amazon Web Services account and Amazon Web Services Region.
Optional arguments:¶
iv_channeltype TYPE /AWS1/KNVCHANNELTYPE /AWS1/KNVCHANNELTYPE¶
A type of the signaling channel that you are creating. Currently,
SINGLE_MASTERis the only supported channel type.
io_singlemasterconfiguration TYPE REF TO /AWS1/CL_KNVSINGLEMASTERCONF /AWS1/CL_KNVSINGLEMASTERCONF¶
A structure containing the configuration for the
SINGLE_MASTERchannel type.
it_tags TYPE /AWS1/CL_KNVTAG=>TT_TAGONCREATELIST TT_TAGONCREATELIST¶
A set of tags (key-value pairs) that you want to associate with this channel.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_knvcresignalingchan01 /AWS1/CL_KNVCRESIGNALINGCHAN01¶
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->createsignalingchannel(
io_singlemasterconfiguration = new /aws1/cl_knvsinglemasterconf( 123 )
it_tags = VALUE /aws1/cl_knvtag=>tt_tagoncreatelist(
(
new /aws1/cl_knvtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_channelname = |string|
iv_channeltype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcearn = lo_result->get_channelarn( ).
ENDIF.