Skip to content

/AWS1/IF_DFM=>GETVPCECONFIGURATION()

About GetVPCEConfiguration

Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.

Method Signature

METHODS /AWS1/IF_DFM~GETVPCECONFIGURATION
  IMPORTING
    !IV_ARN TYPE /AWS1/DFMAMAZONRESOURCENAME OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dfmgetvpceconfresult
  RAISING
    /AWS1/CX_DFMARGUMENTEXCEPTION
    /AWS1/CX_DFMNOTFOUNDEXCEPTION
    /AWS1/CX_DFMSERVICEACCOUNTEX
    /AWS1/CX_DFMCLIENTEXC
    /AWS1/CX_DFMSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/DFMAMAZONRESOURCENAME /AWS1/DFMAMAZONRESOURCENAME

The Amazon Resource Name (ARN) of the VPC endpoint configuration you want to describe.

RETURNING

oo_output TYPE REF TO /aws1/cl_dfmgetvpceconfresult /AWS1/CL_DFMGETVPCECONFRESULT

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->getvpceconfiguration( |string| ).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_vpceconfiguration = lo_result->get_vpceconfiguration( ).
  IF lo_vpceconfiguration IS NOT INITIAL.
    lv_amazonresourcename = lo_vpceconfiguration->get_arn( ).
    lv_vpceconfigurationname = lo_vpceconfiguration->get_vpceconfigurationname( ).
    lv_vpceservicename = lo_vpceconfiguration->get_vpceservicename( ).
    lv_servicednsname = lo_vpceconfiguration->get_servicednsname( ).
    lv_vpceconfigurationdescri = lo_vpceconfiguration->get_vpceconfdescription( ).
  ENDIF.
ENDIF.