list_members
async
¶
list_members(
*,
config_overrides: Optional[AsyncMacie2ClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
only_associated: Optional[__string] = None,
) -> ListMembersResponse
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
Parameters:
-
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.
-
only_associated(Optional[__string], default:None) –Specifies which accounts to include in the response, based on the status of an account's relationship with the administrator account. By default, the response includes only current member accounts. To include all accounts, set this value to false.
Raises:
-
AccessDeniedException–Provides information about an error that occurred due to insufficient access to a specified resource.
-
ConflictException–Provides information about an error that occurred due to a versioning conflict for 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.
-
ServiceQuotaExceededException–Provides information about an error that occurred due to one or more service quotas for an account.
-
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.