EC2 / Client / modify_vpc_endpoint_service_configuration
modify_vpc_endpoint_service_configuration#
- EC2.Client.modify_vpc_endpoint_service_configuration(**kwargs)#
- 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. - 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', ], AddSupportedRegions=[ 'string', ], RemoveSupportedRegions=[ '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 is- UnauthorizedOperation.
- 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 the service must be accepted. 
- AddNetworkLoadBalancerArns (list) – - The Amazon Resource Names (ARNs) of Network Load Balancers to add to the service configuration. - (string) – 
 
- RemoveNetworkLoadBalancerArns (list) – - The Amazon Resource Names (ARNs) of Network Load Balancers to remove from the service configuration. - (string) – 
 
- AddGatewayLoadBalancerArns (list) – - The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the service configuration. - (string) – 
 
- RemoveGatewayLoadBalancerArns (list) – - The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the service configuration. - (string) – 
 
- AddSupportedIpAddressTypes (list) – - The IP address types to add to the service configuration. - (string) – 
 
- RemoveSupportedIpAddressTypes (list) – - The IP address types to remove from the service configuration. - (string) – 
 
- AddSupportedRegions (list) – - The supported Regions to add to the service configuration. - (string) – 
 
- RemoveSupportedRegions (list) – - The supported Regions to remove from the service configuration. - (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Return': True|False } - Response Structure- (dict) – - Return (boolean) – - Returns - trueif the request succeeds; otherwise, it returns an error.