list_identities
async
¶
list_identities(
identity_pool_id: IdentityPoolId,
max_results: QueryLimit,
*,
config_overrides: Optional[AsyncCognitoIdentityClientConfig] = None,
next_token: Optional[PaginationKey] = None,
hide_disabled: Optional[HideDisabled] = None,
) -> ListIdentitiesResponse
Lists the identities in an identity pool.
You must use Amazon Web Services developer credentials to call this operation.
Parameters:
-
identity_pool_id(IdentityPoolId) –An identity pool ID in the format REGION:GUID.
-
max_results(QueryLimit) –The maximum number of identities to return.
-
next_token(Optional[PaginationKey], default:None) –A pagination token.
-
hide_disabled(Optional[HideDisabled], default:None) –An optional boolean parameter that allows you to hide disabled identities. If omitted, the ListIdentities API will include disabled identities in the response.
Raises:
-
InternalErrorException–Thrown when the service encounters an error during processing the request.
-
InvalidParameterException–Thrown for missing or bad input parameter(s).
-
NotAuthorizedException–Thrown when a user is not authorized to access the requested resource.
-
ResourceNotFoundException–Thrown when the requested resource (for example, a dataset or record) does not exist.
-
TooManyRequestsException–Thrown when a request is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.