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

Modify the configurations of an IPAM. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, ModifyIpamCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, ModifyIpamCommand } = 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 = { // ModifyIpamRequest * DryRun: true || false, * IpamId: "STRING_VALUE", // required * Description: "STRING_VALUE", * AddOperatingRegions: [ // AddIpamOperatingRegionSet * { // AddIpamOperatingRegion * RegionName: "STRING_VALUE", * }, * ], * RemoveOperatingRegions: [ // RemoveIpamOperatingRegionSet * { // RemoveIpamOperatingRegion * RegionName: "STRING_VALUE", * }, * ], * Tier: "free" || "advanced", * EnablePrivateGua: true || false, * MeteredAccount: "ipam-owner" || "resource-owner", * }; * const command = new ModifyIpamCommand(input); * const response = await client.send(command); * // { // ModifyIpamResult * // Ipam: { // Ipam * // OwnerId: "STRING_VALUE", * // IpamId: "STRING_VALUE", * // IpamArn: "STRING_VALUE", * // IpamRegion: "STRING_VALUE", * // PublicDefaultScopeId: "STRING_VALUE", * // PrivateDefaultScopeId: "STRING_VALUE", * // ScopeCount: Number("int"), * // Description: "STRING_VALUE", * // OperatingRegions: [ // IpamOperatingRegionSet * // { // IpamOperatingRegion * // RegionName: "STRING_VALUE", * // }, * // ], * // State: "create-in-progress" || "create-complete" || "create-failed" || "modify-in-progress" || "modify-complete" || "modify-failed" || "delete-in-progress" || "delete-complete" || "delete-failed" || "isolate-in-progress" || "isolate-complete" || "restore-in-progress", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // DefaultResourceDiscoveryId: "STRING_VALUE", * // DefaultResourceDiscoveryAssociationId: "STRING_VALUE", * // ResourceDiscoveryAssociationCount: Number("int"), * // StateMessage: "STRING_VALUE", * // Tier: "free" || "advanced", * // EnablePrivateGua: true || false, * // MeteredAccount: "ipam-owner" || "resource-owner", * // }, * // }; * * ``` * * @param ModifyIpamCommandInput - {@link ModifyIpamCommandInput} * @returns {@link ModifyIpamCommandOutput} * @see {@link ModifyIpamCommandInput} for command's `input` shape. * @see {@link ModifyIpamCommandOutput} 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 ModifyIpamCommand extends ModifyIpamCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyIpamRequest; output: ModifyIpamResult; }; sdk: { input: ModifyIpamCommandInput; output: ModifyIpamCommandOutput; }; }; }