modify_ipam
async
¶
modify_ipam(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_id: Optional[IpamId] = None,
description: Optional[String] = None,
add_operating_regions: Optional[AddIpamOperatingRegionSet] = None,
remove_operating_regions: Optional[RemoveIpamOperatingRegionSet] = None,
tier: Optional[IpamTier] = None,
enable_private_gua: Optional[Boolean] = None,
metered_account: Optional[IpamMeteredAccount] = None,
) -> ModifyIpamResult
Modify the configurations of an IPAM.
Parameters:
-
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation. -
ipam_id(Optional[IpamId], default:None) –The ID of the IPAM you want to modify.
-
description(Optional[String], default:None) –The description of the IPAM you want to modify.
-
add_operating_regions(Optional[AddIpamOperatingRegionSet], default: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.
-
remove_operating_regions(Optional[RemoveIpamOperatingRegionSet], default:None) –The operating Regions to remove.
-
tier(Optional[IpamTier], default: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.
-
enable_private_gua(Optional[Boolean], default:None) –Enable this option to use your own GUA ranges as private IPv6 addresses. This option is disabled by default.
-
metered_account(Optional[IpamMeteredAccount], default: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.
-
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
51644 51645 51646 51647 51648 51649 51650 51651 51652 51653 51654 51655 51656 51657 51658 51659 51660 51661 51662 51663 51664 51665 51666 51667 51668 51669 51670 51671 51672 51673 51674 51675 51676 51677 51678 51679 51680 51681 51682 51683 51684 51685 51686 51687 51688 51689 51690 51691 51692 51693 51694 51695 51696 51697 51698 51699 51700 51701 51702 51703 51704 51705 51706 51707 51708 51709 51710 51711 51712 51713 51714 51715 51716 51717 51718 51719 51720 51721 | |