describe_users
async
¶
describe_users(
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = None,
user_name: Optional[UserName] = None,
filters: Optional[FilterList] = None,
max_results: Optional[IntegerOptional] = None,
next_token: Optional[String] = None,
) -> DescribeUsersResponse
Returns a list of users.
Parameters:
-
user_name(Optional[UserName], default:None) –The name of the user.
-
filters(Optional[FilterList], default:None) –Filter to determine the list of users to return.
-
max_results(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
-
next_token(Optional[String], default:None) –An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Raises:
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
UserNotFoundFault–The specified user does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.