modify_ipam_resource_discovery
¶
modify_ipam_resource_discovery(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_resource_discovery_id: Optional[IpamResourceDiscoveryId] = None,
description: Optional[String] = None,
add_operating_regions: Optional[AddIpamOperatingRegionSet] = None,
remove_operating_regions: Optional[RemoveIpamOperatingRegionSet] = None,
add_organizational_unit_exclusions: Optional[
AddIpamOrganizationalUnitExclusionSet
] = None,
remove_organizational_unit_exclusions: Optional[
RemoveIpamOrganizationalUnitExclusionSet
] = None,
) -> ModifyIpamResourceDiscoveryResult
Modifies a resource discovery. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
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_resource_discovery_id(Optional[IpamResourceDiscoveryId], default:None) –A resource discovery ID.
-
description(Optional[String], default:None) –A resource discovery description.
-
add_operating_regions(Optional[AddIpamOperatingRegionSet], default:None) –Add operating Regions to the resource discovery. 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.
-
remove_operating_regions(Optional[RemoveIpamOperatingRegionSet], default:None) –Remove operating Regions.
-
add_organizational_unit_exclusions(Optional[AddIpamOrganizationalUnitExclusionSet], default:None) –Add an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
The resulting set of exclusions must not result in "overlap", meaning two or more OU exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in Add or remove OU exclusions in the Amazon VPC User Guide.
-
remove_organizational_unit_exclusions(Optional[RemoveIpamOrganizationalUnitExclusionSet], default:None) –Remove an Organizational Unit (OU) exclusion to your IPAM. If your IPAM is integrated with Amazon Web Services Organizations and you add an organizational unit (OU) exclusion, IPAM will not manage the IP addresses in accounts in that OU exclusion. There is a limit on the number of exclusions you can create. For more information, see Quotas for your IPAM in the Amazon VPC IPAM User Guide.
The resulting set of exclusions must not result in "overlap", meaning two or more OU exclusions must not exclude the same OU. For more information and examples, see the Amazon Web Services CLI request process in Add or remove OU exclusions in the Amazon VPC User Guide.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
51426 51427 51428 51429 51430 51431 51432 51433 51434 51435 51436 51437 51438 51439 51440 51441 51442 51443 51444 51445 51446 51447 51448 51449 51450 51451 51452 51453 51454 51455 51456 51457 51458 51459 51460 51461 51462 51463 51464 51465 51466 51467 51468 51469 51470 51471 51472 51473 51474 51475 51476 51477 51478 51479 51480 51481 51482 51483 51484 51485 51486 51487 51488 51489 51490 51491 51492 51493 51494 51495 51496 51497 51498 51499 51500 51501 51502 51503 51504 51505 51506 | |