get_ipam_discovered_accounts
async
¶
get_ipam_discovered_accounts(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
44922 44923 44924 44925 44926 44927 44928 44929 44930 44931 44932 44933 44934 44935 44936 44937 44938 44939 44940 44941 44942 44943 44944 44945 44946 44947 44948 44949 44950 44951 44952 44953 44954 44955 44956 44957 44958 44959 44960 44961 44962 44963 44964 44965 44966 44967 44968 44969 44970 44971 44972 44973 44974 44975 44976 44977 44978 44979 44980 44981 44982 44983 44984 44985 44986 44987 | |