describe_user_groups
async
¶
describe_user_groups(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = None,
user_group_id: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DescribeUserGroupsResult
Returns a list of user groups.
Parameters:
-
user_group_id(Optional[String], default:None) –The ID of the user group.
-
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.
-
UserGroupNotFoundFault–The user group was not found or does not exist
-
UnknownServiceError–The service returned an error code this client does not model.