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

Revokes access to an Amazon OpenSearch Service domain that was provided through an * interface VPC endpoint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, RevokeVpcEndpointAccessCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, RevokeVpcEndpointAccessCommand } = 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 = { // RevokeVpcEndpointAccessRequest * DomainName: "STRING_VALUE", // required * Account: "STRING_VALUE", * Service: "application.opensearchservice.amazonaws.com", * ServiceOptions: { // ServiceOptions * SupportedRegions: [ // RegionsList * "STRING_VALUE", * ], * }, * }; * const command = new RevokeVpcEndpointAccessCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param RevokeVpcEndpointAccessCommandInput - {@link RevokeVpcEndpointAccessCommandInput} * @returns {@link RevokeVpcEndpointAccessCommandOutput} * @see {@link RevokeVpcEndpointAccessCommandInput} for command's `input` shape. * @see {@link RevokeVpcEndpointAccessCommandOutput} 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 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 RevokeVpcEndpointAccessCommand extends RevokeVpcEndpointAccessCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RevokeVpcEndpointAccessRequest; output: {}; }; sdk: { input: RevokeVpcEndpointAccessCommandInput; output: RevokeVpcEndpointAccessCommandOutput; }; }; }