update_endpoint_group
async
¶
update_endpoint_group(
endpoint_group_arn: GenericString,
*,
config_overrides: Optional[AsyncGlobalAcceleratorClientConfig] = None,
endpoint_configurations: Optional[EndpointConfigurations] = None,
traffic_dial_percentage: Optional[TrafficDialPercentage] = None,
health_check_port: Optional[HealthCheckPort] = None,
health_check_protocol: Optional[HealthCheckProtocol] = None,
health_check_path: Optional[HealthCheckPath] = None,
health_check_interval_seconds: Optional[HealthCheckIntervalSeconds] = None,
threshold_count: Optional[ThresholdCount] = None,
port_overrides: Optional[PortOverrides] = None,
) -> UpdateEndpointGroupResponse
Update an endpoint group. A resource must be valid and active when you add it as an endpoint.
Parameters:
-
endpoint_group_arn(GenericString) –The Amazon Resource Name (ARN) of the endpoint group.
-
endpoint_configurations(Optional[EndpointConfigurations], default:None) –The list of endpoint objects. A resource must be valid and active when you add it as an endpoint.
-
traffic_dial_percentage(Optional[TrafficDialPercentage], default:None) –The percentage of traffic to send to an Amazon Web Services Region. Additional traffic is distributed to other endpoint groups for this listener.
Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing.
The default value is 100.
-
health_check_port(Optional[HealthCheckPort], default:None) –The port that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If the listener port is a list of ports, Global Accelerator uses the first port in the list.
-
health_check_protocol(Optional[HealthCheckProtocol], default:None) –The protocol that Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
-
health_check_path(Optional[HealthCheckPath], default:None) –If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
-
health_check_interval_seconds(Optional[HealthCheckIntervalSeconds], default:None) –The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
-
threshold_count(Optional[ThresholdCount], default:None) –The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
-
port_overrides(Optional[PortOverrides], default:None) –Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
Raises:
-
AccessDeniedException–You don't have access permission.
-
EndpointGroupNotFoundException–The endpoint group that you specified doesn't exist.
-
InternalServiceErrorException–There was an internal error for Global Accelerator.
-
InvalidArgumentException–An argument that you specified is invalid.
-
LimitExceededException–Processing your request would cause you to exceed an Global Accelerator limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_global_accelerator/_services/async_global_accelerator.py
3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 | |