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 { EnableVpcClassicLinkDnsSupportRequest, EnableVpcClassicLinkDnsSupportResult } from "../models/models_5"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link EnableVpcClassicLinkDnsSupportCommand}. */ export interface EnableVpcClassicLinkDnsSupportCommandInput extends EnableVpcClassicLinkDnsSupportRequest { } /** * @public * * The output of {@link EnableVpcClassicLinkDnsSupportCommand}. */ export interface EnableVpcClassicLinkDnsSupportCommandOutput extends EnableVpcClassicLinkDnsSupportResult, __MetadataBearer { } declare const EnableVpcClassicLinkDnsSupportCommand_base: { new (input: EnableVpcClassicLinkDnsSupportCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [EnableVpcClassicLinkDnsSupportCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** * *

This action is deprecated.

*
*

Enables a VPC to support DNS hostname resolution for ClassicLink. If enabled, the DNS * hostname of a linked EC2-Classic instance resolves to its private IP address when * addressed from an instance in the VPC to which it's linked. Similarly, the DNS hostname * of an instance in a VPC resolves to its private IP address when addressed from a linked * EC2-Classic instance.

*

You must specify a VPC ID in the request.

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