Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DisassociateConnectionFromLagCommand

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.

import { DirectConnectClient, DisassociateConnectionFromLagCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import
// const { DirectConnectClient, DisassociateConnectionFromLagCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import
const client = new DirectConnectClient(config);
const command = new DisassociateConnectionFromLagCommand(input);
const response = await client.send(command);
see

DisassociateConnectionFromLagCommandInput for command's input shape.

see

DisassociateConnectionFromLagCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DisassociateConnectionFromLagCommandInput

Readonly middlewareStack