get_ipam_discovered_accounts
¶
get_ipam_discovered_accounts(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_resource_discovery_id: Optional[IpamResourceDiscoveryId] = None,
discovery_region: Optional[String] = None,
filters: Optional[FilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[IpamMaxResults] = None,
) -> GetIpamDiscoveredAccountsResult
Gets IPAM discovered accounts. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts. Only the IPAM account can get all discovered accounts in the organization.
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.
-
discovery_region(Optional[String], default:None) –The Amazon Web Services Region that the account information is returned from.
-
filters(Optional[FilterList], default:None) –Discovered account filters.
-
next_token(Optional[NextToken], default:None) –Specify the pagination token from a previous request to retrieve the next page of results.
-
max_results(Optional[IpamMaxResults], default:None) –The maximum number of discovered accounts to return in one page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
44310 44311 44312 44313 44314 44315 44316 44317 44318 44319 44320 44321 44322 44323 44324 44325 44326 44327 44328 44329 44330 44331 44332 44333 44334 44335 44336 44337 44338 44339 44340 44341 44342 44343 44344 44345 44346 44347 44348 44349 44350 44351 44352 44353 44354 44355 44356 44357 44358 44359 44360 44361 44362 44363 44364 44365 44366 44367 44368 44369 44370 44371 44372 44373 44374 | |