import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateVpcEndpointRequest, UpdateVpcEndpointResponse } from "../models/models_1"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateVpcEndpointCommand}. */ export interface UpdateVpcEndpointCommandInput extends UpdateVpcEndpointRequest { } /** * @public * * The output of {@link UpdateVpcEndpointCommand}. */ export interface UpdateVpcEndpointCommandOutput extends UpdateVpcEndpointResponse, __MetadataBearer { } declare const UpdateVpcEndpointCommand_base: { new (input: UpdateVpcEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateVpcEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, UpdateVpcEndpointCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, UpdateVpcEndpointCommand } = 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 = { // UpdateVpcEndpointRequest * VpcEndpointId: "STRING_VALUE", // required * VpcOptions: { // VPCOptions * SubnetIds: [ // StringList * "STRING_VALUE", * ], * SecurityGroupIds: [ * "STRING_VALUE", * ], * EgressEnabled: true || false, * }, * }; * const command = new UpdateVpcEndpointCommand(input); * const response = await client.send(command); * // { // UpdateVpcEndpointResponse * // VpcEndpoint: { // 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", * // }, * // }; * * ``` * * @param UpdateVpcEndpointCommandInput - {@link UpdateVpcEndpointCommandInput} * @returns {@link UpdateVpcEndpointCommandOutput} * @see {@link UpdateVpcEndpointCommandInput} for command's `input` shape. * @see {@link UpdateVpcEndpointCommandOutput} 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 ConflictException} (client fault) *

An error occurred because the client attempts to remove a resource that is currently in use.

* * @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 UpdateVpcEndpointCommand extends UpdateVpcEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateVpcEndpointRequest; output: UpdateVpcEndpointResponse; }; sdk: { input: UpdateVpcEndpointCommandInput; output: UpdateVpcEndpointCommandOutput; }; }; }