Jump to Content

Class DescribeConnectionsCommandProtected

Displays the specified connection or all connections in this Region.

Example

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

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

Param

DescribeConnectionsCommandInput

Returns

DescribeConnectionsCommandOutput

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