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.
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.
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);
DeleteDirectConnectGatewayCommandInput for command's
input
shape.DeleteDirectConnectGatewayCommandOutput for command's
response
shape.config for DirectConnectClient's
config
shape.