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 { EnableVpcClassicLinkRequest, EnableVpcClassicLinkResult } from "../models/models_5"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link EnableVpcClassicLinkCommand}. */ export interface EnableVpcClassicLinkCommandInput extends EnableVpcClassicLinkRequest { } /** * @public * * The output of {@link EnableVpcClassicLinkCommand}. */ export interface EnableVpcClassicLinkCommandOutput extends EnableVpcClassicLinkResult, __MetadataBearer { } declare const EnableVpcClassicLinkCommand_base: { new (input: EnableVpcClassicLinkCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: EnableVpcClassicLinkCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * *

This action is deprecated.

*
*

Enables a VPC for ClassicLink. You can then link EC2-Classic instances to your * ClassicLink-enabled VPC to allow communication over private IP addresses. You cannot * enable your VPC for ClassicLink if any of your VPC route tables have existing routes for * address ranges within the 10.0.0.0/8 IP address range, excluding local * routes for VPCs in the 10.0.0.0/16 and 10.1.0.0/16 IP address * ranges.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, EnableVpcClassicLinkCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, EnableVpcClassicLinkCommand } = 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 = { // EnableVpcClassicLinkRequest * DryRun: true || false, * VpcId: "STRING_VALUE", // required * }; * const command = new EnableVpcClassicLinkCommand(input); * const response = await client.send(command); * // { // EnableVpcClassicLinkResult * // Return: true || false, * // }; * * ``` * * @param EnableVpcClassicLinkCommandInput - {@link EnableVpcClassicLinkCommandInput} * @returns {@link EnableVpcClassicLinkCommandOutput} * @see {@link EnableVpcClassicLinkCommandInput} for command's `input` shape. * @see {@link EnableVpcClassicLinkCommandOutput} 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 EnableVpcClassicLinkCommand extends EnableVpcClassicLinkCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: EnableVpcClassicLinkRequest; output: EnableVpcClassicLinkResult; }; sdk: { input: EnableVpcClassicLinkCommandInput; output: EnableVpcClassicLinkCommandOutput; }; }; }