/AWS1/CL_MDX=>ADDFLOWOUTPUTS()
¶
About AddFlowOutputs¶
Adds outputs to an existing flow. You can create up to 50 outputs per flow.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_flowarn
TYPE /AWS1/MDXFLOWARN
/AWS1/MDXFLOWARN
¶
The Amazon Resource Name (ARN) of the flow that you want to add outputs to.
it_outputs
TYPE /AWS1/CL_MDXADDOUTPUTREQUEST=>TT___LISTOFADDOUTPUTREQUEST
TT___LISTOFADDOUTPUTREQUEST
¶
A list of outputs that you want to add to the flow.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_mdxaddflowoutputsrsp
/AWS1/CL_MDXADDFLOWOUTPUTSRSP
¶
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->/aws1/if_mdx~addflowoutputs(
it_outputs = VALUE /aws1/cl_mdxaddoutputrequest=>tt___listofaddoutputrequest(
(
new /aws1/cl_mdxaddoutputrequest(
io_encryption = new /aws1/cl_mdxencryption(
iv_algorithm = |string|
iv_constantinitializationv00 = |string|
iv_deviceid = |string|
iv_keytype = |string|
iv_region = |string|
iv_resourceid = |string|
iv_rolearn = |string|
iv_secretarn = |string|
iv_url = |string|
)
io_vpcinterfaceattachment = new /aws1/cl_mdxvpcinterfaceatta00( |string| )
it_cidrallowlist = VALUE /aws1/cl_mdx__listofstring_w=>tt___listofstring(
( new /aws1/cl_mdx__listofstring_w( |string| ) )
)
it_mediastreamoutputconfs = VALUE /aws1/cl_mdxmediastrmoutconf00=>tt___listofmediastrmoutconfreq(
(
new /aws1/cl_mdxmediastrmoutconf00(
io_encodingparameters = new /aws1/cl_mdxencodingparamsreq(
iv_compressionfactor = '0.1'
iv_encoderprofile = |string|
)
it_destinationconfigurations = VALUE /aws1/cl_mdxdstconfrequest=>tt___listofdstconfrequest(
(
new /aws1/cl_mdxdstconfrequest(
io_interface = new /aws1/cl_mdxinterfacerequest( |string| )
iv_destinationip = |string|
iv_destinationport = 123
)
)
)
iv_encodingname = |string|
iv_mediastreamname = |string|
)
)
)
iv_description = |string|
iv_destination = |string|
iv_maxlatency = 123
iv_minlatency = 123
iv_name = |string|
iv_ndiprogramname = |string|
iv_ndispeedhqquality = 123
iv_outputstatus = |string|
iv_port = 123
iv_protocol = |string|
iv_remoteid = |string|
iv_sendercontrolport = 123
iv_smoothinglatency = 123
iv_streamid = |string|
)
)
)
iv_flowarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_flowarn( ).
LOOP AT lo_result->get_outputs( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_integer = lo_row_1->get_dataxfersubrfeepercent( ).
lv_string = lo_row_1->get_description( ).
lv_string = lo_row_1->get_destination( ).
lo_encryption = lo_row_1->get_encryption( ).
IF lo_encryption IS NOT INITIAL.
lv_algorithm = lo_encryption->get_algorithm( ).
lv_string = lo_encryption->get_constantinitialization00( ).
lv_string = lo_encryption->get_deviceid( ).
lv_keytype = lo_encryption->get_keytype( ).
lv_string = lo_encryption->get_region( ).
lv_string = lo_encryption->get_resourceid( ).
lv_string = lo_encryption->get_rolearn( ).
lv_string = lo_encryption->get_secretarn( ).
lv_string = lo_encryption->get_url( ).
ENDIF.
lv_string = lo_row_1->get_entitlementarn( ).
lv_string = lo_row_1->get_listeneraddress( ).
lv_string = lo_row_1->get_medialiveinputarn( ).
LOOP AT lo_row_1->get_mediastreamoutputconfs( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
LOOP AT lo_row_3->get_destinationconfs( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_destinationip( ).
lv_integer = lo_row_5->get_destinationport( ).
lo_interface = lo_row_5->get_interface( ).
IF lo_interface IS NOT INITIAL.
lv_string = lo_interface->get_name( ).
ENDIF.
lv_string = lo_row_5->get_outboundip( ).
ENDIF.
ENDLOOP.
lv_encodingname = lo_row_3->get_encodingname( ).
lo_encodingparameters = lo_row_3->get_encodingparameters( ).
IF lo_encodingparameters IS NOT INITIAL.
lv_double = lo_encodingparameters->get_compressionfactor( ).
lv_encoderprofile = lo_encodingparameters->get_encoderprofile( ).
ENDIF.
lv_string = lo_row_3->get_mediastreamname( ).
ENDIF.
ENDLOOP.
lv_string = lo_row_1->get_name( ).
lv_string = lo_row_1->get_outputarn( ).
lv_integer = lo_row_1->get_port( ).
lo_transport = lo_row_1->get_transport( ).
IF lo_transport IS NOT INITIAL.
LOOP AT lo_transport->get_cidrallowlist( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_string = lo_row_7->get_value( ).
ENDIF.
ENDLOOP.
lv_integer = lo_transport->get_maxbitrate( ).
lv_integer = lo_transport->get_maxlatency( ).
lv_integer = lo_transport->get_maxsyncbuffer( ).
lv_integer = lo_transport->get_minlatency( ).
lv_protocol = lo_transport->get_protocol( ).
lv_string = lo_transport->get_remoteid( ).
lv_integer = lo_transport->get_sendercontrolport( ).
lv_string = lo_transport->get_senderipaddress( ).
lv_integer = lo_transport->get_smoothinglatency( ).
lv_string = lo_transport->get_sourcelisteneraddress( ).
lv_integer = lo_transport->get_sourcelistenerport( ).
lv_string = lo_transport->get_streamid( ).
lv_integer = lo_transport->get_ndispeedhqquality( ).
lv_string = lo_transport->get_ndiprogramname( ).
ENDIF.
lo_vpcinterfaceattachment = lo_row_1->get_vpcinterfaceattachment( ).
IF lo_vpcinterfaceattachment IS NOT INITIAL.
lv_string = lo_vpcinterfaceattachment->get_vpcinterfacename( ).
ENDIF.
lv_string = lo_row_1->get_bridgearn( ).
LOOP AT lo_row_1->get_bridgeports( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_integer = lo_row_9->get_value( ).
ENDIF.
ENDLOOP.
lv_outputstatus = lo_row_1->get_outputstatus( ).
lv_string = lo_row_1->get_peeripaddress( ).
ENDIF.
ENDLOOP.
ENDIF.