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

Modify public hostname options for a network interface. For more information, see EC2 instance hostnames, DNS names, and domains in the Amazon EC2 User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, ModifyPublicIpDnsNameOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, ModifyPublicIpDnsNameOptionsCommand } = 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 = { // ModifyPublicIpDnsNameOptionsRequest * NetworkInterfaceId: "STRING_VALUE", // required * HostnameType: "public-dual-stack-dns-name" || "public-ipv4-dns-name" || "public-ipv6-dns-name", // required * DryRun: true || false, * }; * const command = new ModifyPublicIpDnsNameOptionsCommand(input); * const response = await client.send(command); * // { // ModifyPublicIpDnsNameOptionsResult * // Successful: true || false, * // }; * * ``` * * @param ModifyPublicIpDnsNameOptionsCommandInput - {@link ModifyPublicIpDnsNameOptionsCommandInput} * @returns {@link ModifyPublicIpDnsNameOptionsCommandOutput} * @see {@link ModifyPublicIpDnsNameOptionsCommandInput} for command's `input` shape. * @see {@link ModifyPublicIpDnsNameOptionsCommandOutput} 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 ModifyPublicIpDnsNameOptionsCommand extends ModifyPublicIpDnsNameOptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyPublicIpDnsNameOptionsRequest; output: ModifyPublicIpDnsNameOptionsResult; }; sdk: { input: ModifyPublicIpDnsNameOptionsCommandInput; output: ModifyPublicIpDnsNameOptionsCommandOutput; }; }; }