Jump to Content

Class ConfirmPrivateVirtualInterfaceCommandProtected

Accepts ownership of a private virtual interface created by another Amazon Web Services account.

After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.

Example

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

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

Param

ConfirmPrivateVirtualInterfaceCommandInput

Returns

ConfirmPrivateVirtualInterfaceCommandOutput

See

Throws

DirectConnectClientException (client fault)

One or more parameters are not valid.

Throws

DirectConnectServerException (server fault)

A server-side error occurred.

Hierarchy

Constructors

Properties

Methods