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 { AssignPrivateNatGatewayAddressRequest, AssignPrivateNatGatewayAddressResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link AssignPrivateNatGatewayAddressCommand}. */ export interface AssignPrivateNatGatewayAddressCommandInput extends AssignPrivateNatGatewayAddressRequest { } /** * @public * * The output of {@link AssignPrivateNatGatewayAddressCommand}. */ export interface AssignPrivateNatGatewayAddressCommandOutput extends AssignPrivateNatGatewayAddressResult, __MetadataBearer { } declare const AssignPrivateNatGatewayAddressCommand_base: { new (input: AssignPrivateNatGatewayAddressCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: AssignPrivateNatGatewayAddressCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Assigns private IPv4 addresses to a private NAT gateway. For more information, see * Work with NAT gateways in the Amazon VPC User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, AssignPrivateNatGatewayAddressCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, AssignPrivateNatGatewayAddressCommand } = 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 = { // AssignPrivateNatGatewayAddressRequest * NatGatewayId: "STRING_VALUE", // required * PrivateIpAddresses: [ // IpList * "STRING_VALUE", * ], * PrivateIpAddressCount: Number("int"), * DryRun: true || false, * }; * const command = new AssignPrivateNatGatewayAddressCommand(input); * const response = await client.send(command); * // { // AssignPrivateNatGatewayAddressResult * // NatGatewayId: "STRING_VALUE", * // NatGatewayAddresses: [ // NatGatewayAddressList * // { // NatGatewayAddress * // AllocationId: "STRING_VALUE", * // NetworkInterfaceId: "STRING_VALUE", * // PrivateIp: "STRING_VALUE", * // PublicIp: "STRING_VALUE", * // AssociationId: "STRING_VALUE", * // IsPrimary: true || false, * // FailureMessage: "STRING_VALUE", * // Status: "assigning" || "unassigning" || "associating" || "disassociating" || "succeeded" || "failed", * // AvailabilityZone: "STRING_VALUE", * // AvailabilityZoneId: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param AssignPrivateNatGatewayAddressCommandInput - {@link AssignPrivateNatGatewayAddressCommandInput} * @returns {@link AssignPrivateNatGatewayAddressCommandOutput} * @see {@link AssignPrivateNatGatewayAddressCommandInput} for command's `input` shape. * @see {@link AssignPrivateNatGatewayAddressCommandOutput} 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 AssignPrivateNatGatewayAddressCommand extends AssignPrivateNatGatewayAddressCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AssignPrivateNatGatewayAddressRequest; output: AssignPrivateNatGatewayAddressResult; }; sdk: { input: AssignPrivateNatGatewayAddressCommandInput; output: AssignPrivateNatGatewayAddressCommandOutput; }; }; }