Smaws_Client_GlobalAccelerator.ListCustomRoutingPortMappingsByDestinationList the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `EndpointNotFoundException of Types.endpoint_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_custom_routing_port_mappings_by_destination_request ->
(Types.list_custom_routing_port_mappings_by_destination_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `EndpointNotFoundException of Types.endpoint_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_custom_routing_port_mappings_by_destination_request ->
(Types.list_custom_routing_port_mappings_by_destination_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `EndpointNotFoundException of Types.endpoint_not_found_exception
| `InternalServiceErrorException of Types.internal_service_error_exception
| `InvalidArgumentException of Types.invalid_argument_exception
| `InvalidNextTokenException of Types.invalid_next_token_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result