Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteBGPPeerCommand

Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN.

You cannot delete the last BGP peer from a virtual interface.

example

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

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

DeleteBGPPeerCommandInput for command's input shape.

see

DeleteBGPPeerCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteBGPPeerCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteBGPPeerCommandInput, DeleteBGPPeerCommandOutput>

Methods

Static getEndpointParameterInstructions