describe_replication_groups
¶
describe_replication_groups(
*,
config_overrides: Optional[ElastiCacheClientConfig] = 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/elasti_cache.py
3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 | |