/AWS1/CL_DCO=>UPDDIRECTCNCTGWASSOCIATION()
¶
About UpdateDirectConnectGatewayAssociation¶
Updates the specified attributes of the Direct Connect gateway association.
Add or remove prefixes from the association.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_associationid
TYPE /AWS1/DCODIRECTCNCTGWASSOCIA02
/AWS1/DCODIRECTCNCTGWASSOCIA02
¶
The ID of the Direct Connect gateway association.
it_addalwedprefixestodirec00
TYPE /AWS1/CL_DCOROUTEFILTERPREFIX=>TT_ROUTEFILTERPREFIXLIST
TT_ROUTEFILTERPREFIXLIST
¶
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
it_remalwedprefixestodirec00
TYPE /AWS1/CL_DCOROUTEFILTERPREFIX=>TT_ROUTEFILTERPREFIXLIST
TT_ROUTEFILTERPREFIXLIST
¶
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_dcoupdirectcnctgwas01
/AWS1/CL_DCOUPDIRECTCNCTGWAS01
¶
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_dco~upddirectcnctgwassociation(
it_addalwedprefixestodirec00 = VALUE /aws1/cl_dcoroutefilterprefix=>tt_routefilterprefixlist(
( new /aws1/cl_dcoroutefilterprefix( |string| ) )
)
it_remalwedprefixestodirec00 = VALUE /aws1/cl_dcoroutefilterprefix=>tt_routefilterprefixlist(
( new /aws1/cl_dcoroutefilterprefix( |string| ) )
)
iv_associationid = |string|
).
This is an example of reading all possible response values
lv_directconnectgatewayid = lo_directconnectgatewayass->get_directconnectgatewayid( ).
lv_owneraccount = lo_directconnectgatewayass->get_directcnctgwowneraccount( ).
lv_directconnectgatewayass_1 = lo_directconnectgatewayass->get_associationstate( ).
lv_statechangeerror = lo_directconnectgatewayass->get_statechangeerror( ).
lv_gatewayidentifier = lo_associatedgateway->get_id( ).
lv_gatewaytype = lo_associatedgateway->get_type( ).
lv_owneraccount = lo_associatedgateway->get_owneraccount( ).
lv_region = lo_associatedgateway->get_region( ).
lv_directconnectgatewayass_2 = lo_directconnectgatewayass->get_associationid( ).
LOOP AT lo_directconnectgatewayass->get_alwedprefixestodirectc00( ) into lo_row.
lv_cidr = lo_row_1->get_cidr( ).
ENDLOOP.
lv_corenetworkidentifier = lo_associatedcorenetwork->get_id( ).
lv_owneraccount = lo_associatedcorenetwork->get_owneraccount( ).
lv_corenetworkattachmentid = lo_associatedcorenetwork->get_attachmentid( ).
lv_virtualgatewayid = lo_directconnectgatewayass->get_virtualgatewayid( ).
lv_virtualgatewayregion = lo_directconnectgatewayass->get_virtualgatewayregion( ).
lv_owneraccount = lo_directconnectgatewayass->get_vgwowneraccount( ).