Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteLagCommand

Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections.

example

Use a bare-bones client and the command you need to make an API call.

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

DeleteLagCommandInput for command's input shape.

see

DeleteLagCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteLagCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteLagCommandInput, DeleteLagCommandOutput>

Methods

Static getEndpointParameterInstructions