ElastiCache.Paginator.
DescribeUserGroups
¶paginator = client.get_paginator('describe_user_groups')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from ElastiCache.Client.describe_user_groups()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
UserGroupId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'UserGroups': [
{
'UserGroupId': 'string',
'Status': 'string',
'Engine': 'string',
'UserIds': [
'string',
],
'MinimumEngineVersion': 'string',
'PendingChanges': {
'UserIdsToRemove': [
'string',
],
'UserIdsToAdd': [
'string',
]
},
'ReplicationGroups': [
'string',
],
'ARN': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
UserGroups (list) --
Returns a list of user groups.
(dict) --
UserGroupId (string) --
The ID of the user group.
Status (string) --
Indicates user group status. Can be "creating", "active", "modifying", "deleting".
Engine (string) --
The current supported value is Redis.
UserIds (list) --
The list of user IDs that belong to the user group.
MinimumEngineVersion (string) --
The minimum engine version required, which is Redis 6.0
PendingChanges (dict) --
A list of updates being applied to the user group.
UserIdsToRemove (list) --
The list of user IDs to remove.
UserIdsToAdd (list) --
The list of user IDs to add.
ReplicationGroups (list) --
A list of replication groups that the user group can access.
ARN (string) --
The Amazon Resource Name (ARN) of the user group.
NextToken (string) --
A token to resume pagination.