update_endpoint_group
¶
update_endpoint_group(
endpoint_group_arn: GenericString,
*,
config_overrides: Optional[GlobalAcceleratorClientConfig] = 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/global_accelerator.py
3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 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 | |