pub struct DisassociateConnectionFromLag { /* private fields */ }Expand description
Fluent builder constructing a request to DisassociateConnectionFromLag.
Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an Direct Connect Partner is automatically converted to an interconnect.
If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.
Implementations§
source§impl DisassociateConnectionFromLag
impl DisassociateConnectionFromLag
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateConnectionFromLag, AwsResponseRetryClassifier>, SdkError<DisassociateConnectionFromLagError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateConnectionFromLag, AwsResponseRetryClassifier>, SdkError<DisassociateConnectionFromLagError>>
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<DisassociateConnectionFromLagOutput, SdkError<DisassociateConnectionFromLagError>>
pub async fn send(
self
) -> Result<DisassociateConnectionFromLagOutput, SdkError<DisassociateConnectionFromLagError>>
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 set_lag_id(self, input: Option<String>) -> Self
pub fn set_lag_id(self, input: Option<String>) -> Self
The ID of the LAG.
Trait Implementations§
source§impl Clone for DisassociateConnectionFromLag
impl Clone for DisassociateConnectionFromLag
source§fn clone(&self) -> DisassociateConnectionFromLag
fn clone(&self) -> DisassociateConnectionFromLag
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more