import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeVpcEndpointsRequest, DescribeVpcEndpointsResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @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 DescribeVpcEndpointsResponse, __MetadataBearer { } declare const DescribeVpcEndpointsCommand_base: { new (input: DescribeVpcEndpointsCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeVpcEndpointsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Describes one or more Amazon OpenSearch Service-managed VPC endpoints.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, DescribeVpcEndpointsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, DescribeVpcEndpointsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch"; * const config = {}; // type is OpenSearchClientConfig * const client = new OpenSearchClient(config); * const input = { // DescribeVpcEndpointsRequest * VpcEndpointIds: [ // VpcEndpointIdList // required * "STRING_VALUE", * ], * }; * const command = new DescribeVpcEndpointsCommand(input); * const response = await client.send(command); * // { // DescribeVpcEndpointsResponse * // VpcEndpoints: [ // VpcEndpoints // required * // { // VpcEndpoint * // VpcEndpointId: "STRING_VALUE", * // VpcEndpointOwner: "STRING_VALUE", * // DomainArn: "STRING_VALUE", * // VpcOptions: { // VPCDerivedInfo * // VPCId: "STRING_VALUE", * // SubnetIds: [ // StringList * // "STRING_VALUE", * // ], * // AvailabilityZones: [ * // "STRING_VALUE", * // ], * // SecurityGroupIds: [ * // "STRING_VALUE", * // ], * // EgressEnabled: true || false, * // }, * // Status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATE_FAILED" || "DELETING" || "DELETE_FAILED", * // Endpoint: "STRING_VALUE", * // }, * // ], * // VpcEndpointErrors: [ // VpcEndpointErrorList // required * // { // VpcEndpointError * // VpcEndpointId: "STRING_VALUE", * // ErrorCode: "ENDPOINT_NOT_FOUND" || "SERVER_ERROR", * // ErrorMessage: "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 OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape. * * @throws {@link BaseException} (client fault) *

An error occurred while processing the request.

* * @throws {@link DisabledOperationException} (client fault) *

An error occured because the client wanted to access an unsupported operation.

* * @throws {@link InternalException} (server fault) *

Request processing failed because of an unknown error, exception, or internal failure.

* * @throws {@link ValidationException} (client fault) *

An exception for accessing or deleting a resource that doesn't exist.

* * @throws {@link OpenSearchServiceException} *

Base exception class for all service exceptions from OpenSearch service.

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