/AWS1/IF_NWF=>DELETEPROXY()¶
About DeleteProxy¶
Deletes the specified Proxy.
Detaches a Proxy configuration from a NAT Gateway.
Method Signature¶
METHODS /AWS1/IF_NWF~DELETEPROXY
IMPORTING
!IV_NATGATEWAYID TYPE /AWS1/NWFNATGATEWAYID OPTIONAL
!IV_PROXYNAME TYPE /AWS1/NWFRESOURCENAME OPTIONAL
!IV_PROXYARN TYPE /AWS1/NWFRESOURCEARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_nwfdeleteproxyrsp
RAISING
/AWS1/CX_NWFINTERNALSERVERERR
/AWS1/CX_NWFINVALIDREQUESTEX
/AWS1/CX_NWFRESOURCENOTFOUNDEX
/AWS1/CX_NWFTHROTTLINGEX
/AWS1/CX_NWFUNSUPPORTEDOPEX
/AWS1/CX_NWFCLIENTEXC
/AWS1/CX_NWFSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_natgatewayid TYPE /AWS1/NWFNATGATEWAYID /AWS1/NWFNATGATEWAYID¶
The NAT Gateway the proxy is attached to.
Optional arguments:¶
iv_proxyname TYPE /AWS1/NWFRESOURCENAME /AWS1/NWFRESOURCENAME¶
The descriptive name of the proxy. You can't change the name of a proxy after you create it.
You must specify the ARN or the name, and you can specify both.
iv_proxyarn TYPE /AWS1/NWFRESOURCEARN /AWS1/NWFRESOURCEARN¶
The Amazon Resource Name (ARN) of a proxy.
You must specify the ARN or the name, and you can specify both.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_nwfdeleteproxyrsp /AWS1/CL_NWFDELETEPROXYRSP¶
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->deleteproxy(
iv_natgatewayid = |string|
iv_proxyarn = |string|
iv_proxyname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_natgatewayid = lo_result->get_natgatewayid( ).
lv_resourcename = lo_result->get_proxyname( ).
lv_resourcearn = lo_result->get_proxyarn( ).
ENDIF.