modify_vpc_endpoint_service_configuration
async
¶
modify_vpc_endpoint_service_configuration(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
service_id: Optional[VpcEndpointServiceId] = None,
private_dns_name: Optional[String] = None,
remove_private_dns_name: Optional[Boolean] = None,
acceptance_required: Optional[Boolean] = None,
add_network_load_balancer_arns: Optional[ValueStringList] = None,
remove_network_load_balancer_arns: Optional[ValueStringList] = None,
add_gateway_load_balancer_arns: Optional[ValueStringList] = None,
remove_gateway_load_balancer_arns: Optional[ValueStringList] = None,
add_supported_ip_address_types: Optional[ValueStringList] = None,
remove_supported_ip_address_types: Optional[ValueStringList] = None,
add_supported_regions: Optional[ValueStringList] = None,
remove_supported_regions: Optional[ValueStringList] = None,
) -> ModifyVpcEndpointServiceConfigurationResult
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.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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. -
service_id(Optional[VpcEndpointServiceId], default:None) –The ID of the service.
-
private_dns_name(Optional[String], default:None) –(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
-
remove_private_dns_name(Optional[Boolean], default:None) –(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
-
acceptance_required(Optional[Boolean], default:None) –Indicates whether requests to create an endpoint to the service must be accepted.
-
add_network_load_balancer_arns(Optional[ValueStringList], default:None) –The Amazon Resource Names (ARNs) of Network Load Balancers to add to the service configuration.
-
remove_network_load_balancer_arns(Optional[ValueStringList], default:None) –The Amazon Resource Names (ARNs) of Network Load Balancers to remove from the service configuration.
-
add_gateway_load_balancer_arns(Optional[ValueStringList], default:None) –The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to the service configuration.
-
remove_gateway_load_balancer_arns(Optional[ValueStringList], default:None) –The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from the service configuration.
-
add_supported_ip_address_types(Optional[ValueStringList], default:None) –The IP address types to add to the service configuration.
-
remove_supported_ip_address_types(Optional[ValueStringList], default:None) –The IP address types to remove from the service configuration.
-
add_supported_regions(Optional[ValueStringList], default:None) –The supported Regions to add to the service configuration.
-
remove_supported_regions(Optional[ValueStringList], default:None) –The supported Regions to remove from the service configuration.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
55205 55206 55207 55208 55209 55210 55211 55212 55213 55214 55215 55216 55217 55218 55219 55220 55221 55222 55223 55224 55225 55226 55227 55228 55229 55230 55231 55232 55233 55234 55235 55236 55237 55238 55239 55240 55241 55242 55243 55244 55245 55246 55247 55248 55249 55250 55251 55252 55253 55254 55255 55256 55257 55258 55259 55260 55261 55262 55263 55264 55265 55266 55267 55268 55269 55270 55271 55272 55273 55274 55275 55276 55277 55278 55279 55280 55281 55282 55283 55284 55285 55286 55287 55288 55289 55290 55291 55292 55293 55294 55295 55296 55297 55298 55299 55300 55301 55302 55303 55304 55305 55306 55307 55308 55309 55310 55311 55312 55313 55314 55315 55316 55317 55318 55319 55320 | |