Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeDirectConnectGatewayAttachmentsCommand

Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.

example

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

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

DescribeDirectConnectGatewayAttachmentsCommandInput for command's input shape.

see

DescribeDirectConnectGatewayAttachmentsCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DescribeDirectConnectGatewayAttachmentsCommandInput

Readonly middlewareStack