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 { ModifyClientVpnEndpointRequest, ModifyClientVpnEndpointResult } from "../models/models_6"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifyClientVpnEndpointCommand}. */ export interface ModifyClientVpnEndpointCommandInput extends ModifyClientVpnEndpointRequest { } /** * @public * * The output of {@link ModifyClientVpnEndpointCommand}. */ export interface ModifyClientVpnEndpointCommandOutput extends ModifyClientVpnEndpointResult, __MetadataBearer { } declare const ModifyClientVpnEndpointCommand_base: { new (input: ModifyClientVpnEndpointCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ModifyClientVpnEndpointCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, ModifyClientVpnEndpointCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, ModifyClientVpnEndpointCommand } = 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 = { // ModifyClientVpnEndpointRequest * ClientVpnEndpointId: "STRING_VALUE", // required * ServerCertificateArn: "STRING_VALUE", * ConnectionLogOptions: { // ConnectionLogOptions * Enabled: true || false, * CloudwatchLogGroup: "STRING_VALUE", * CloudwatchLogStream: "STRING_VALUE", * }, * DnsServers: { // DnsServersOptionsModifyStructure * CustomDnsServers: [ // ValueStringList * "STRING_VALUE", * ], * Enabled: true || false, * }, * VpnPort: Number("int"), * Description: "STRING_VALUE", * SplitTunnel: true || false, * DryRun: true || false, * SecurityGroupIds: [ // ClientVpnSecurityGroupIdSet * "STRING_VALUE", * ], * VpcId: "STRING_VALUE", * SelfServicePortal: "enabled" || "disabled", * ClientConnectOptions: { // ClientConnectOptions * Enabled: true || false, * LambdaFunctionArn: "STRING_VALUE", * }, * SessionTimeoutHours: Number("int"), * ClientLoginBannerOptions: { // ClientLoginBannerOptions * Enabled: true || false, * BannerText: "STRING_VALUE", * }, * ClientRouteEnforcementOptions: { // ClientRouteEnforcementOptions * Enforced: true || false, * }, * DisconnectOnSessionTimeout: true || false, * TransitGatewayConfiguration: { // TransitGatewayConfigurationInputStructure * TransitGatewayId: "STRING_VALUE", * AvailabilityZones: [ // ClientVpnAvailabilityZoneSet * "STRING_VALUE", * ], * AvailabilityZoneIds: [ // ClientVpnAvailabilityZoneIdSet * "STRING_VALUE", * ], * }, * }; * const command = new ModifyClientVpnEndpointCommand(input); * const response = await client.send(command); * // { // ModifyClientVpnEndpointResult * // Return: true || false, * // }; * * ``` * * @param ModifyClientVpnEndpointCommandInput - {@link ModifyClientVpnEndpointCommandInput} * @returns {@link ModifyClientVpnEndpointCommandOutput} * @see {@link ModifyClientVpnEndpointCommandInput} for command's `input` shape. * @see {@link ModifyClientVpnEndpointCommandOutput} 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 ModifyClientVpnEndpointCommand extends ModifyClientVpnEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyClientVpnEndpointRequest; output: ModifyClientVpnEndpointResult; }; sdk: { input: ModifyClientVpnEndpointCommandInput; output: ModifyClientVpnEndpointCommandOutput; }; }; }