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