describe_users
async
¶
describe_users(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = None,
engine: Optional[EngineType] = None,
user_id: Optional[UserId] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DescribeUsersResult
Returns a list of users.
Parameters:
-
engine(Optional[EngineType], default:None) –The engine.
-
user_id(Optional[UserId], default:None) –The ID of the user.
-
filters(Optional[FilterList], default:None) –Filter to determine the list of User IDs to return.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
-
marker(Optional[String], default:None) –An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords. >
Raises:
-
InvalidParameterCombinationException–Two or more incompatible parameters were specified.
-
ServiceLinkedRoleNotFoundFault–The specified service linked role (SLR) was not found.
-
UserNotFoundFault–The user does not exist or could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_elasticache/_services/async_elasti_cache.py
4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 | |