Jump to Content

Class ConfirmConnectionCommandProtected

Confirms the creation of the specified hosted connection on an interconnect.

Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.

Example

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

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

Param

ConfirmConnectionCommandInput

Returns

ConfirmConnectionCommandOutput

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