list_automated_discovery_accounts
async
¶
list_automated_discovery_accounts(
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = None,
account_ids: Optional[__listOf__string] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
) -> ListAutomatedDiscoveryAccountsResponse
Retrieves the status of automated sensitive data discovery for one or more accounts.
Parameters:
-
account_ids(Optional[__listOf__string], default:None) –The Amazon Web Services account ID for each account, for as many as 50 accounts. To retrieve the status for multiple accounts, append the accountIds parameter and argument for each account, separated by an ampersand (&). To retrieve the status for all the accounts in an organization, omit this parameter.
-
max_results(Optional[MaxResults], default:None) –The maximum number of items to include in each page of a paginated response.
-
next_token(Optional[__string], default:None) –The nextToken string that specifies which page of results to return in a paginated response.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to a specified resource.
-
InternalServerException–Provides information about an error that occurred due to an unknown internal server error, exception, or failure.
-
ResourceNotFoundException–Provides information about an error that occurred because a specified resource wasn't found.
-
ThrottlingException–Provides information about an error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–Provides information about an error that occurred due to a syntax error in a request.
-
UnknownServiceError–The service returned an error code this client does not model.