Module Smaws_Client_GlobalAccelerator.AddCustomRoutingEndpoints

Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.

The listener port range must be large enough to support the number of IP addresses that can be specified in your subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For example, a subnet defined as /24 requires a listener port range of at least 255 ports.

Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail with a LimitExceededException.

By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `EndpointAlreadyExistsException of Types.endpoint_already_exists_exception | `EndpointGroupNotFoundException of Types.endpoint_group_not_found_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `InvalidArgumentException of Types.invalid_argument_exception | `LimitExceededException of Types.limit_exceeded_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.add_custom_routing_endpoints_request -> (Types.add_custom_routing_endpoints_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `EndpointAlreadyExistsException of Types.endpoint_already_exists_exception | `EndpointGroupNotFoundException of Types.endpoint_group_not_found_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `InvalidArgumentException of Types.invalid_argument_exception | `LimitExceededException of Types.limit_exceeded_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.add_custom_routing_endpoints_request -> (Types.add_custom_routing_endpoints_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `EndpointAlreadyExistsException of Types.endpoint_already_exists_exception | `EndpointGroupNotFoundException of Types.endpoint_group_not_found_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `InvalidArgumentException of Types.invalid_argument_exception | `LimitExceededException of Types.limit_exceeded_exception ] * Smaws_Lib.Response.metadata) Stdlib.result