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 { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/models_7"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifyVerifiedAccessEndpointPolicyCommand}. */ export interface ModifyVerifiedAccessEndpointPolicyCommandInput extends ModifyVerifiedAccessEndpointPolicyRequest { } /** * @public * * The output of {@link ModifyVerifiedAccessEndpointPolicyCommand}. */ export interface ModifyVerifiedAccessEndpointPolicyCommandOutput extends ModifyVerifiedAccessEndpointPolicyResult, __MetadataBearer { } declare const ModifyVerifiedAccessEndpointPolicyCommand_base: { new (input: ModifyVerifiedAccessEndpointPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ModifyVerifiedAccessEndpointPolicyCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Modifies the specified Amazon Web Services Verified Access endpoint policy.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, ModifyVerifiedAccessEndpointPolicyCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, ModifyVerifiedAccessEndpointPolicyCommand } = 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 = { // ModifyVerifiedAccessEndpointPolicyRequest * VerifiedAccessEndpointId: "STRING_VALUE", // required * PolicyEnabled: true || false, * PolicyDocument: "STRING_VALUE", * ClientToken: "STRING_VALUE", * DryRun: true || false, * SseSpecification: { // VerifiedAccessSseSpecificationRequest * CustomerManagedKeyEnabled: true || false, * KmsKeyArn: "STRING_VALUE", * }, * }; * const command = new ModifyVerifiedAccessEndpointPolicyCommand(input); * const response = await client.send(command); * // { // ModifyVerifiedAccessEndpointPolicyResult * // PolicyEnabled: true || false, * // PolicyDocument: "STRING_VALUE", * // SseSpecification: { // VerifiedAccessSseSpecificationResponse * // CustomerManagedKeyEnabled: true || false, * // KmsKeyArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param ModifyVerifiedAccessEndpointPolicyCommandInput - {@link ModifyVerifiedAccessEndpointPolicyCommandInput} * @returns {@link ModifyVerifiedAccessEndpointPolicyCommandOutput} * @see {@link ModifyVerifiedAccessEndpointPolicyCommandInput} for command's `input` shape. * @see {@link ModifyVerifiedAccessEndpointPolicyCommandOutput} 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 ModifyVerifiedAccessEndpointPolicyCommand extends ModifyVerifiedAccessEndpointPolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyVerifiedAccessEndpointPolicyRequest; output: ModifyVerifiedAccessEndpointPolicyResult; }; sdk: { input: ModifyVerifiedAccessEndpointPolicyCommandInput; output: ModifyVerifiedAccessEndpointPolicyCommandOutput; }; }; }