/AWS1/IF_EC2=>MODIFYVPCENDPOINTSERVICECONF()¶
About ModifyVpcEndpointServiceConfiguration¶
Modifies the attributes of the specified VPC endpoint service configuration.
If you set or modify the private DNS name, you must prove that you own the private DNS domain name.
Method Signature¶
METHODS /AWS1/IF_EC2~MODIFYVPCENDPOINTSERVICECONF
IMPORTING
!IV_DRYRUN TYPE /AWS1/EC2BOOLEAN OPTIONAL
!IV_SERVICEID TYPE /AWS1/EC2VPCENDPOINTSERVICEID OPTIONAL
!IV_PRIVATEDNSNAME TYPE /AWS1/EC2STRING OPTIONAL
!IV_REMOVEPRIVATEDNSNAME TYPE /AWS1/EC2BOOLEAN OPTIONAL
!IV_ACCEPTANCEREQUIRED TYPE /AWS1/EC2BOOLEAN OPTIONAL
!IT_ADDNETWORKLOADBALANCERA00 TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_REMNETWORKLOADBALANCERA00 TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_ADDGWLOADBALANCERARNS TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_REMOVEGWLOADBALANCERARNS TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_ADDSUPPEDIPADDRESSTYPES TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_REMSUPPEDIPADDRESSTYPES TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_ADDSUPPORTEDREGIONS TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
!IT_REMOVESUPPORTEDREGIONS TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ec2modvpcendptsvcco01
RAISING
/AWS1/CX_EC2CLIENTEXC
/AWS1/CX_EC2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_serviceid TYPE /AWS1/EC2VPCENDPOINTSERVICEID /AWS1/EC2VPCENDPOINTSERVICEID¶
The ID of the service.
Optional arguments:¶
iv_dryrun TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
iv_privatednsname TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
iv_removeprivatednsname TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN¶
(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
iv_acceptancerequired TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN¶
Indicates whether requests to create an endpoint to the service must be accepted.
it_addnetworkloadbalancera00 TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The Amazon Resource Names (ARNs) of Network Load Balancers to add to the service configuration.
it_remnetworkloadbalancera00 TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from the service configuration.
it_addgwloadbalancerarns TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the service configuration.
it_removegwloadbalancerarns TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the service configuration.
it_addsuppedipaddresstypes TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The IP address types to add to the service configuration.
it_remsuppedipaddresstypes TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The IP address types to remove from the service configuration.
it_addsupportedregions TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The supported Regions to add to the service configuration.
it_removesupportedregions TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST¶
The supported Regions to remove from the service configuration.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ec2modvpcendptsvcco01 /AWS1/CL_EC2MODVPCENDPTSVCCO01¶
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->modifyvpcendpointserviceconf(
it_addgwloadbalancerarns = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_addnetworkloadbalancera00 = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_addsuppedipaddresstypes = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_addsupportedregions = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_remnetworkloadbalancera00 = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_removegwloadbalancerarns = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_removesupportedregions = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
it_remsuppedipaddresstypes = VALUE /aws1/cl_ec2valuestringlist_w=>tt_valuestringlist(
( new /aws1/cl_ec2valuestringlist_w( |string| ) )
)
iv_acceptancerequired = ABAP_TRUE
iv_dryrun = ABAP_TRUE
iv_privatednsname = |string|
iv_removeprivatednsname = ABAP_TRUE
iv_serviceid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_boolean = lo_result->get_return( ).
ENDIF.