Protected
Displays the specified connection or all connections in this Region.
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 importconst client = new DirectConnectClient(config);const command = new DescribeConnectionsCommand(input);const response = await client.send(command);
DescribeConnectionsCommandInput
DescribeConnectionsCommandOutput
input
response
config
DirectConnectClientException (client fault)
One or more parameters are not valid.
DirectConnectServerException (server fault)
A server-side error occurred.
Readonly
Static
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.
Param
DescribeConnectionsCommandInput
Returns
DescribeConnectionsCommandOutput
See
input
shape.response
shape.config
shape.Throws
DirectConnectClientException (client fault)
One or more parameters are not valid.
Throws
DirectConnectServerException (server fault)
A server-side error occurred.