Class DisassociateConnectionFromLagCommandProtected
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.
Example
Use a bare-bones client and the command you need to make an API call.
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.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DisassociateConnectionFromLagCommandInput
Returns
DisassociateConnectionFromLagCommandOutput
See
input
shape.response
shape.config
shape.Throws
DirectConnectClientException (client fault)
One or more parameters are not valid.
Throws
DirectConnectServerException (server fault)
A server-side error occurred.
Throws
DirectConnectServiceException
Base exception class for all service exceptions from DirectConnect service.