Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect.
Use a bare-bones client and the command you need to make an API call.
import { DirectConnectClient, DescribeInterconnectsCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import // const { DirectConnectClient, DescribeInterconnectsCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import const client = new DirectConnectClient(config); const command = new DescribeInterconnectsCommand(input); const response = await client.send(command);
DescribeInterconnectsCommandInput for command's input shape.
input
DescribeInterconnectsCommandOutput for command's response shape.
response
config for DirectConnectClient's config shape.
config
Lists the interconnects owned by the Amazon Web Services account or only the specified interconnect.
Use a bare-bones client and the command you need to make an API call.
import { DirectConnectClient, DescribeInterconnectsCommand } from "@aws-sdk/client-direct-connect"; // ES Modules import // const { DirectConnectClient, DescribeInterconnectsCommand } = require("@aws-sdk/client-direct-connect"); // CommonJS import const client = new DirectConnectClient(config); const command = new DescribeInterconnectsCommand(input); const response = await client.send(command);
DescribeInterconnectsCommandInput for command's
input
shape.DescribeInterconnectsCommandOutput for command's
response
shape.config for DirectConnectClient's
config
shape.