/AWS1/IF_MDX=>UPDATEROUTERNETWORKINTERFACE()¶
About UpdateRouterNetworkInterface¶
Updates the configuration of an existing router network interface in AWS Elemental MediaConnect.
Method Signature¶
METHODS /AWS1/IF_MDX~UPDATEROUTERNETWORKINTERFACE
IMPORTING
!IV_ARN TYPE /AWS1/MDXROUTERNETWORKIFACEARN OPTIONAL
!IV_NAME TYPE /AWS1/MDXSTRING OPTIONAL
!IO_CONFIGURATION TYPE REF TO /AWS1/CL_MDXROUTERNETIFACECONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mdxupdrtrnetifacersp
RAISING
/AWS1/CX_MDXBADREQUESTEX
/AWS1/CX_MDXCONFLICTEXCEPTION
/AWS1/CX_MDXFORBIDDENEXCEPTION
/AWS1/CX_MDXINTERNALSERVERER00
/AWS1/CX_MDXSERVICEUNAVAILEX
/AWS1/CX_MDXTOOMANYREQUESTSEX
/AWS1/CX_MDXCLIENTEXC
/AWS1/CX_MDXSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_arn TYPE /AWS1/MDXROUTERNETWORKIFACEARN /AWS1/MDXROUTERNETWORKIFACEARN¶
The Amazon Resource Name (ARN) of the router network interface that you want to update.
Optional arguments:¶
iv_name TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING¶
The updated name for the router network interface.
io_configuration TYPE REF TO /AWS1/CL_MDXROUTERNETIFACECONF /AWS1/CL_MDXROUTERNETIFACECONF¶
The updated configuration settings for the router network interface. Changing the type of the configuration is not supported.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mdxupdrtrnetifacersp /AWS1/CL_MDXUPDRTRNETIFACERSP¶
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->updaterouternetworkinterface(
io_configuration = new /aws1/cl_mdxrouternetifaceconf(
io_public = new /aws1/cl_mdxpubrtrnetifaceconf(
it_allowrules = VALUE /aws1/cl_mdxpubrtrnetifacerule=>tt_networkinterfacerulelist(
( new /aws1/cl_mdxpubrtrnetifacerule( |string| ) )
)
)
io_vpc = new /aws1/cl_mdxvpcrtrnetifaceconf(
it_securitygroupids = VALUE /aws1/cl_mdxsecgroupidlist_w=>tt_securitygroupidlist(
( new /aws1/cl_mdxsecgroupidlist_w( |string| ) )
)
iv_subnetid = |string|
)
)
iv_arn = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_routernetworkinterface = lo_result->get_routernetworkinterface( ).
IF lo_routernetworkinterface IS NOT INITIAL.
lv_string = lo_routernetworkinterface->get_name( ).
lv_routernetworkinterfacea = lo_routernetworkinterface->get_arn( ).
lv_string = lo_routernetworkinterface->get_id( ).
lv_routernetworkinterfaces = lo_routernetworkinterface->get_state( ).
lv_routernetworkinterfacet = lo_routernetworkinterface->get_networkinterfacetype( ).
lo_routernetworkinterfacec = lo_routernetworkinterface->get_configuration( ).
IF lo_routernetworkinterfacec IS NOT INITIAL.
lo_publicrouternetworkinte = lo_routernetworkinterfacec->get_public( ).
IF lo_publicrouternetworkinte IS NOT INITIAL.
LOOP AT lo_publicrouternetworkinte->get_allowrules( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_cidr( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_vpcrouternetworkinterfa = lo_routernetworkinterfacec->get_vpc( ).
IF lo_vpcrouternetworkinterfa IS NOT INITIAL.
LOOP AT lo_vpcrouternetworkinterfa->get_securitygroupids( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_string = lo_vpcrouternetworkinterfa->get_subnetid( ).
ENDIF.
ENDIF.
lv_integer = lo_routernetworkinterface->get_associatedoutputcount( ).
lv_integer = lo_routernetworkinterface->get_associatedinputcount( ).
lv_string = lo_routernetworkinterface->get_regionname( ).
lv_timestamp = lo_routernetworkinterface->get_createdat( ).
lv_timestamp = lo_routernetworkinterface->get_updatedat( ).
LOOP AT lo_routernetworkinterface->get_tags( ) into ls_row_4.
lv_key = ls_row_4-key.
lo_value = ls_row_4-value.
IF lo_value IS NOT INITIAL.
lv_string = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.