import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListVpcEndpointAccessRequest, ListVpcEndpointAccessResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListVpcEndpointAccessCommand}. */ export interface ListVpcEndpointAccessCommandInput extends ListVpcEndpointAccessRequest { } /** * @public * * The output of {@link ListVpcEndpointAccessCommand}. */ export interface ListVpcEndpointAccessCommandOutput extends ListVpcEndpointAccessResponse, __MetadataBearer { } declare const ListVpcEndpointAccessCommand_base: { new (input: ListVpcEndpointAccessCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListVpcEndpointAccessCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves information about each Amazon Web Services principal that is allowed to * access a given Amazon OpenSearch Service domain through the use of an interface VPC * endpoint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, ListVpcEndpointAccessCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, ListVpcEndpointAccessCommand } = 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 = { // ListVpcEndpointAccessRequest * DomainName: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * }; * const command = new ListVpcEndpointAccessCommand(input); * const response = await client.send(command); * // { // ListVpcEndpointAccessResponse * // AuthorizedPrincipalList: [ // AuthorizedPrincipalList // required * // { // AuthorizedPrincipal * // PrincipalType: "AWS_ACCOUNT" || "AWS_SERVICE", * // Principal: "STRING_VALUE", * // ServiceOptions: { // ServiceOptions * // SupportedRegions: [ // RegionsList * // "STRING_VALUE", * // ], * // }, * // }, * // ], * // NextToken: "STRING_VALUE", // required * // }; * * ``` * * @param ListVpcEndpointAccessCommandInput - {@link ListVpcEndpointAccessCommandInput} * @returns {@link ListVpcEndpointAccessCommandOutput} * @see {@link ListVpcEndpointAccessCommandInput} for command's `input` shape. * @see {@link ListVpcEndpointAccessCommandOutput} 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 ResourceNotFoundException} (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 ListVpcEndpointAccessCommand extends ListVpcEndpointAccessCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListVpcEndpointAccessRequest; output: ListVpcEndpointAccessResponse; }; sdk: { input: ListVpcEndpointAccessCommandInput; output: ListVpcEndpointAccessCommandOutput; }; }; }