modify_vpc_endpoint_service_configuration
¶
modify_vpc_endpoint_service_configuration(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
54448 54449 54450 54451 54452 54453 54454 54455 54456 54457 54458 54459 54460 54461 54462 54463 54464 54465 54466 54467 54468 54469 54470 54471 54472 54473 54474 54475 54476 54477 54478 54479 54480 54481 54482 54483 54484 54485 54486 54487 54488 54489 54490 54491 54492 54493 54494 54495 54496 54497 54498 54499 54500 54501 54502 54503 54504 54505 54506 54507 54508 54509 54510 54511 54512 54513 54514 54515 54516 54517 54518 54519 54520 54521 54522 54523 54524 54525 54526 54527 54528 54529 54530 54531 54532 54533 54534 54535 54536 54537 54538 54539 54540 54541 54542 54543 54544 54545 54546 54547 54548 54549 54550 54551 54552 54553 54554 54555 54556 54557 54558 54559 54560 54561 54562 | |