/AWS1/IF_DCO=>DSCDIRECTCNCTGWASSOCIATION00()¶
About DescribeDirectConnectGatewayAssociationProposals¶
Describes one or more association proposals for connection between a virtual private gateway or transit gateway and a Direct Connect gateway.
Method Signature¶
METHODS /AWS1/IF_DCO~DSCDIRECTCNCTGWASSOCIATION00
IMPORTING
!IV_DIRECTCONNECTGATEWAYID TYPE /AWS1/DCODIRECTCNCTGATEWAYID OPTIONAL
!IV_PROPOSALID TYPE /AWS1/DCODIRECTCNCTGWASSOCIA00 OPTIONAL
!IV_ASSOCIATEDGATEWAYID TYPE /AWS1/DCOASSOCIATEDGATEWAYID OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/DCOMAXRESULTSETSIZE OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/DCOPAGINATIONTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dcodscdirectcnctgwa01
RAISING
/AWS1/CX_DCODIRECTCNCTCLIENTEX
/AWS1/CX_DCODIRECTCNCTSERVEREX
/AWS1/CX_DCOCLIENTEXC
/AWS1/CX_DCOSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_directconnectgatewayid TYPE /AWS1/DCODIRECTCNCTGATEWAYID /AWS1/DCODIRECTCNCTGATEWAYID¶
The ID of the Direct Connect gateway.
iv_proposalid TYPE /AWS1/DCODIRECTCNCTGWASSOCIA00 /AWS1/DCODIRECTCNCTGWASSOCIA00¶
The ID of the proposal.
iv_associatedgatewayid TYPE /AWS1/DCOASSOCIATEDGATEWAYID /AWS1/DCOASSOCIATEDGATEWAYID¶
The ID of the associated gateway.
iv_maxresults TYPE /AWS1/DCOMAXRESULTSETSIZE /AWS1/DCOMAXRESULTSETSIZE¶
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.If
MaxResultsis given a value larger than 100, only 100 results are returned.
iv_nexttoken TYPE /AWS1/DCOPAGINATIONTOKEN /AWS1/DCOPAGINATIONTOKEN¶
The token for the next page of results.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dcodscdirectcnctgwa01 /AWS1/CL_DCODSCDIRECTCNCTGWA01¶
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->dscdirectcnctgwassociation00(
iv_associatedgatewayid = |string|
iv_directconnectgatewayid = |string|
iv_maxresults = 123
iv_nexttoken = |string|
iv_proposalid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_directcnctgwassociatio01( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_directconnectgatewayass = lo_row_1->get_proposalid( ).
lv_directconnectgatewayid = lo_row_1->get_directconnectgatewayid( ).
lv_owneraccount = lo_row_1->get_directcnctgwowneraccount( ).
lv_directconnectgatewayass_1 = lo_row_1->get_proposalstate( ).
lo_associatedgateway = lo_row_1->get_associatedgateway( ).
IF lo_associatedgateway IS NOT INITIAL.
lv_gatewayidentifier = lo_associatedgateway->get_id( ).
lv_gatewaytype = lo_associatedgateway->get_type( ).
lv_owneraccount = lo_associatedgateway->get_owneraccount( ).
lv_region = lo_associatedgateway->get_region( ).
ENDIF.
LOOP AT lo_row_1->get_exingalwedprefixestodi00( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_cidr = lo_row_3->get_cidr( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_1->get_reqedalwedprefixestodi00( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_cidr = lo_row_3->get_cidr( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_paginationtoken = lo_result->get_nexttoken( ).
ENDIF.