describe_replication_groups
async
¶
describe_replication_groups(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = None,
replication_group_id: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> ReplicationGroupMessage
Returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
This operation is valid for Valkey or Redis OSS only.
Parameters:
-
replication_group_id(Optional[String], default:None) –The identifier for the replication group to be described. This parameter is not case sensitive.
If you do not specify this parameter, information about all replication groups is returned.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: minimum 20; maximum 100.
-
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.
-
InvalidParameterValueException–The value for a parameter is invalid.
-
ReplicationGroupNotFoundFault–The specified replication group does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
DescribeReplicationGroups Returns information about the replication group myreplgroup.
Source code in docs_src/capo_elasticache/_services/async_elasti_cache.py
3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 | |