import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { DescribeVpcEndpointsRequest, DescribeVpcEndpointsResult } from "../models/models_5"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeVpcEndpointsCommand}. */ export interface DescribeVpcEndpointsCommandInput extends DescribeVpcEndpointsRequest { } /** * @public * * The output of {@link DescribeVpcEndpointsCommand}. */ export interface DescribeVpcEndpointsCommandOutput extends DescribeVpcEndpointsResult, __MetadataBearer { } declare const DescribeVpcEndpointsCommand_base: { new (input: DescribeVpcEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeVpcEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes your VPC endpoints. The default is to describe all your VPC endpoints. * Alternatively, you can specify specific VPC endpoint IDs or filter the results to * include only the VPC endpoints that match specific criteria.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeVpcEndpointsCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeVpcEndpointsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // DescribeVpcEndpointsRequest * DryRun: true || false, * VpcEndpointIds: [ // VpcEndpointIdList * "STRING_VALUE", * ], * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", * Values: [ // ValueStringList * "STRING_VALUE", * ], * }, * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeVpcEndpointsCommand(input); * const response = await client.send(command); * // { // DescribeVpcEndpointsResult * // VpcEndpoints: [ // VpcEndpointSet * // { // VpcEndpoint * // VpcEndpointId: "STRING_VALUE", * // VpcEndpointType: "Interface" || "Gateway" || "GatewayLoadBalancer" || "Resource" || "ServiceNetwork", * // VpcId: "STRING_VALUE", * // ServiceName: "STRING_VALUE", * // State: "PendingAcceptance" || "Pending" || "Available" || "Deleting" || "Deleted" || "Rejected" || "Failed" || "Expired" || "Partial", * // PolicyDocument: "STRING_VALUE", * // RouteTableIds: [ // ValueStringList * // "STRING_VALUE", * // ], * // SubnetIds: [ * // "STRING_VALUE", * // ], * // Groups: [ // GroupIdentifierSet * // { // SecurityGroupIdentifier * // GroupId: "STRING_VALUE", * // GroupName: "STRING_VALUE", * // }, * // ], * // IpAddressType: "ipv4" || "dualstack" || "ipv6", * // DnsOptions: { // DnsOptions * // DnsRecordIpType: "ipv4" || "dualstack" || "ipv6" || "service-defined", * // PrivateDnsOnlyForInboundResolverEndpoint: true || false, * // PrivateDnsPreference: "STRING_VALUE", * // PrivateDnsSpecifiedDomains: [ // PrivateDnsSpecifiedDomainSet * // "STRING_VALUE", * // ], * // }, * // PrivateDnsEnabled: true || false, * // RequesterManaged: true || false, * // NetworkInterfaceIds: [ * // "STRING_VALUE", * // ], * // DnsEntries: [ // DnsEntrySet * // { // DnsEntry * // DnsName: "STRING_VALUE", * // HostedZoneId: "STRING_VALUE", * // }, * // ], * // CreationTimestamp: new Date("TIMESTAMP"), * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // OwnerId: "STRING_VALUE", * // LastError: { // LastError * // Message: "STRING_VALUE", * // Code: "STRING_VALUE", * // }, * // Ipv4Prefixes: [ // SubnetIpPrefixesList * // { // SubnetIpPrefixes * // SubnetId: "STRING_VALUE", * // IpPrefixes: [ * // "STRING_VALUE", * // ], * // }, * // ], * // Ipv6Prefixes: [ * // { * // SubnetId: "STRING_VALUE", * // IpPrefixes: [ * // "STRING_VALUE", * // ], * // }, * // ], * // FailureReason: "STRING_VALUE", * // ServiceNetworkArn: "STRING_VALUE", * // ResourceConfigurationArn: "STRING_VALUE", * // ServiceRegion: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeVpcEndpointsCommandInput - {@link DescribeVpcEndpointsCommandInput} * @returns {@link DescribeVpcEndpointsCommandOutput} * @see {@link DescribeVpcEndpointsCommandInput} for command's `input` shape. * @see {@link DescribeVpcEndpointsCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class DescribeVpcEndpointsCommand extends DescribeVpcEndpointsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeVpcEndpointsRequest; output: DescribeVpcEndpointsResult; }; sdk: { input: DescribeVpcEndpointsCommandInput; output: DescribeVpcEndpointsCommandOutput; }; }; }