Struct aws_sdk_globalaccelerator::client::fluent_builders::UpdateListener [−][src]
pub struct UpdateListener<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateListener
.
Update a listener.
Implementations
impl<C, M, R> UpdateListener<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateListener<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateListenerOutput, SdkError<UpdateListenerError>> where
R::Policy: SmithyRetryPolicy<UpdateListenerInputOperationOutputAlias, UpdateListenerOutput, UpdateListenerError, UpdateListenerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateListenerOutput, SdkError<UpdateListenerError>> where
R::Policy: SmithyRetryPolicy<UpdateListenerInputOperationOutputAlias, UpdateListenerOutput, UpdateListenerError, UpdateListenerInputOperationRetryAlias>,
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 listener to update.
The Amazon Resource Name (ARN) of the listener to update.
Appends an item to PortRanges
.
To override the contents of this collection use set_port_ranges
.
The updated list of port ranges for the connections from clients to the accelerator.
The updated list of port ranges for the connections from clients to the accelerator.
The updated protocol for the connections from clients to the accelerator.
The updated protocol for the connections from clients to the accelerator.
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Client affinity gives you control over whether to always route each client to the same specific endpoint.
AWS Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If client
affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, source port,
destination IP address, destination port, and protocol—to select the hash value, and then chooses the best
endpoint. However, with this setting, if someone uses different ports to connect to Global Accelerator, their connections might not
be always routed to the same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses the "two-tuple" (2-tuple) properties—
source (client) IP address and destination IP address—to select the hash value.
The default value is NONE
.
Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Client affinity gives you control over whether to always route each client to the same specific endpoint.
AWS Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If client
affinity is NONE
, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, source port,
destination IP address, destination port, and protocol—to select the hash value, and then chooses the best
endpoint. However, with this setting, if someone uses different ports to connect to Global Accelerator, their connections might not
be always routed to the same endpoint because the hash value changes.
If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP
instead. When you use the SOURCE_IP
setting, Global Accelerator uses the "two-tuple" (2-tuple) properties—
source (client) IP address and destination IP address—to select the hash value.
The default value is NONE
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateListener<C, M, R>
impl<C, M, R> Send for UpdateListener<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateListener<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateListener<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateListener<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