Struct aws_sdk_globalaccelerator::client::fluent_builders::ListCustomRoutingPortMappings [−][src]
pub struct ListCustomRoutingPortMappings<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListCustomRoutingPortMappings
.
Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers.
If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.
The mappings also include a flag for each destination denoting which destination IP addresses and ports are allowed or denied traffic.
Implementations
impl<C, M, R> ListCustomRoutingPortMappings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListCustomRoutingPortMappings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListCustomRoutingPortMappingsOutput, SdkError<ListCustomRoutingPortMappingsError>> where
R::Policy: SmithyRetryPolicy<ListCustomRoutingPortMappingsInputOperationOutputAlias, ListCustomRoutingPortMappingsOutput, ListCustomRoutingPortMappingsError, ListCustomRoutingPortMappingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListCustomRoutingPortMappingsOutput, SdkError<ListCustomRoutingPortMappingsError>> where
R::Policy: SmithyRetryPolicy<ListCustomRoutingPortMappingsInputOperationOutputAlias, ListCustomRoutingPortMappingsOutput, ListCustomRoutingPortMappingsError, ListCustomRoutingPortMappingsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for.
The Amazon Resource Name (ARN) of the accelerator to list the custom routing port mappings for.
The Amazon Resource Name (ARN) of the endpoint group to list the custom routing port mappings for.
The Amazon Resource Name (ARN) of the endpoint group to list the custom routing port mappings for.
The number of destination port mappings that you want to return with this call. The default value is 10.
The number of destination port mappings that you want to return with this call. The default value is 10.
The token for the next set of results. You receive this token from a previous call.
The token for the next set of results. You receive this token from a previous call.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListCustomRoutingPortMappings<C, M, R>
impl<C, M, R> Send for ListCustomRoutingPortMappings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListCustomRoutingPortMappings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListCustomRoutingPortMappings<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListCustomRoutingPortMappings<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more