Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeVirtualGatewaysCommand

Lists the virtual private gateways owned by the Amazon Web Services account.

You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.

example

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

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

DescribeVirtualGatewaysCommandInput for command's input shape.

see

DescribeVirtualGatewaysCommandOutput for command's response shape.

see

config for DirectConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeVirtualGatewaysCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions