pub struct AssociateConnectionWithLag { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateConnectionWithLag
.
Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to Amazon Web Services is interrupted). The connection must be hosted on the same Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's currently associated with a different LAG; however, if removing the connection would cause the original LAG to fall below its setting for minimum number of operational connections, the request fails.
Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG.
For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.
Implementations
sourceimpl AssociateConnectionWithLag
impl AssociateConnectionWithLag
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AssociateConnectionWithLag, AwsResponseRetryClassifier>, SdkError<AssociateConnectionWithLagError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AssociateConnectionWithLag, AwsResponseRetryClassifier>, SdkError<AssociateConnectionWithLagError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AssociateConnectionWithLagOutput, SdkError<AssociateConnectionWithLagError>>
pub async fn send(
self
) -> Result<AssociateConnectionWithLagOutput, SdkError<AssociateConnectionWithLagError>>
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.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the connection.
sourcepub fn lag_id(self, input: impl Into<String>) -> Self
pub fn lag_id(self, input: impl Into<String>) -> Self
The ID of the LAG with which to associate the connection.
sourcepub fn set_lag_id(self, input: Option<String>) -> Self
pub fn set_lag_id(self, input: Option<String>) -> Self
The ID of the LAG with which to associate the connection.
Trait Implementations
sourceimpl Clone for AssociateConnectionWithLag
impl Clone for AssociateConnectionWithLag
sourcefn clone(&self) -> AssociateConnectionWithLag
fn clone(&self) -> AssociateConnectionWithLag
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more