create_custom_routing_endpoint_group
¶
create_custom_routing_endpoint_group(
listener_arn: GenericString,
endpoint_group_region: GenericString,
destination_configurations: CustomRoutingDestinationConfigurations,
idempotency_token: IdempotencyToken,
*,
config_overrides: Optional[GlobalAcceleratorClientConfig] = None,
) -> CreateCustomRoutingEndpointGroupResponse
Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.
Parameters:
-
listener_arn(GenericString) –The Amazon Resource Name (ARN) of the listener for a custom routing endpoint.
-
endpoint_group_region(GenericString) –The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
-
destination_configurations(CustomRoutingDestinationConfigurations) –Sets the port range and protocol for all endpoints (virtual private cloud subnets) in a custom routing endpoint group to accept client traffic on.
-
idempotency_token(IdempotencyToken) –A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
Raises:
-
AcceleratorNotFoundException–The accelerator that you specified doesn't exist.
-
AccessDeniedException–You don't have access permission.
-
EndpointGroupAlreadyExistsException–The endpoint group that you specified already exists.
-
InternalServiceErrorException–There was an internal error for Global Accelerator.
-
InvalidArgumentException–An argument that you specified is invalid.
-
InvalidPortRangeException–The port numbers that you specified are not valid numbers or are not unique for this accelerator.
-
LimitExceededException–Processing your request would cause you to exceed an Global Accelerator limit.
-
ListenerNotFoundException–The listener that you specified doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.