Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteDirectConnectGatewayCommand

Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect gateway.

example

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

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

DeleteDirectConnectGatewayCommandInput for command's input shape.

see

DeleteDirectConnectGatewayCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteDirectConnectGatewayCommandInput

Readonly middlewareStack