Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeVpcEndpointServicesCommand

Describes available services to which you can create a VPC endpoint.

When the service provider and the consumer have different accounts in multiple Availability Zones, and the consumer views the VPC endpoint service information, the response only includes the common Availability Zones. For example, when the service provider account uses us-east-1a and us-east-1c and the consumer uses us-east-1a and us-east-1b, the response includes the VPC endpoint services in the common Availability Zone, us-east-1a.

example

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

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

DescribeVpcEndpointServicesCommandInput for command's input shape.

see

DescribeVpcEndpointServicesCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeVpcEndpointServicesCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions