Skip to content

EC2  >  Operations  >  modify_ipam

modify_ipam

Operation

modify_ipam async

modify_ipam(input: ModifyIpamInput, plugins: list[Plugin] | None = None) -> ModifyIpamOutput

Modify the configurations of an IPAM.

Parameters:

Name Type Description Default
input ModifyIpamInput

An instance of ModifyIpamInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ModifyIpamOutput

An instance of ModifyIpamOutput.

Input

ModifyIpamInput dataclass

Bases: _SerdeShape

Dataclass for ModifyIpamInput structure.

Attributes

add_operating_regions class-attribute instance-attribute
add_operating_regions: list[AddIpamOperatingRegion] | None = ...

Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.

description class-attribute instance-attribute
description: str | None = ...

The description of the IPAM you want to modify.

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

enable_private_gua class-attribute instance-attribute
enable_private_gua: bool | None = ...

Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.

ipam_id class-attribute instance-attribute
ipam_id: str | None = ...

The ID of the IPAM you want to modify.

metered_account class-attribute instance-attribute
metered_account: str | None = ...

A metered account is an Amazon Web Services account that is charged for active IP addresses managed in IPAM. For more information, see Enable cost distribution in the Amazon VPC IPAM User Guide.

Possible values:

  • ipam-owner (default): The Amazon Web Services account which owns the IPAM is charged for all active IP addresses managed in IPAM.

  • resource-owner: The Amazon Web Services account that owns the IP address is charged for the active IP address.

remove_operating_regions class-attribute instance-attribute
remove_operating_regions: list[RemoveIpamOperatingRegion] | None = ...

The operating Regions to remove.

tier class-attribute instance-attribute
tier: str | None = ...

IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see Amazon VPC pricing > IPAM tab.

Output

ModifyIpamOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyIpamOutput structure.

Attributes

ipam class-attribute instance-attribute
ipam: Ipam | None = ...

The results of the modification.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.