EC2 / Client / modify_vpc_endpoint_service_configuration
modify_vpc_endpoint_service_configuration#
- 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', ] )
- Parameters:
DryRun (boolean) – 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
.ServiceId (string) –
[REQUIRED]
The ID of the service.
PrivateDnsName (string) – (Interface endpoint configuration) The private DNS name to assign to the endpoint service.
RemovePrivateDnsName (boolean) – (Interface endpoint configuration) Removes the private DNS name of the endpoint service.
AcceptanceRequired (boolean) – Indicates whether requests to create an endpoint to your service must be accepted.
AddNetworkLoadBalancerArns (list) –
The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.
(string) –
RemoveNetworkLoadBalancerArns (list) –
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.
(string) –
AddGatewayLoadBalancerArns (list) –
The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.
(string) –
RemoveGatewayLoadBalancerArns (list) –
The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.
(string) –
AddSupportedIpAddressTypes (list) –
The IP address types to add to your service configuration.
(string) –
RemoveSupportedIpAddressTypes (list) –
The IP address types to remove from your service configuration.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Return': True|False }
Response Structure
(dict) –
Return (boolean) –
Returns
true
if the request succeeds; otherwise, it returns an error.