EC2.Client.
modify_vpc_endpoint_service_configuration
(**kwargs)¶Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.
If you set or modify the private DNS name, you must prove that you own the private DNS domain name.
See also: AWS API Documentation
Request Syntax
response = client.modify_vpc_endpoint_service_configuration(
DryRun=True|False,
ServiceId='string',
PrivateDnsName='string',
RemovePrivateDnsName=True|False,
AcceptanceRequired=True|False,
AddNetworkLoadBalancerArns=[
'string',
],
RemoveNetworkLoadBalancerArns=[
'string',
],
AddGatewayLoadBalancerArns=[
'string',
],
RemoveGatewayLoadBalancerArns=[
'string',
],
AddSupportedIpAddressTypes=[
'string',
],
RemoveSupportedIpAddressTypes=[
'string',
]
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the service.
The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.
The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.
The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.
The IP address types to add to your service configuration.
The IP address types to remove from your service configuration.
dict
Response Syntax
{
'Return': True|False
}
Response Structure
(dict) --
Return (boolean) --
Returns true
if the request succeeds; otherwise, it returns an error.