Smaws_Client_GlobalAccelerator.CreateCustomRoutingAcceleratorCreate a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.
Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.
Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TransactionInProgressException of Types.transaction_in_progress_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_custom_routing_accelerator_request ->
(Types.create_custom_routing_accelerator_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_custom_routing_accelerator_request ->
(Types.create_custom_routing_accelerator_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TransactionInProgressException of
Types.transaction_in_progress_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result