Skip to content

Rebalance Slots In Global Replication Group

elasticache_rebalance_slots_in_global_replication_group R Documentation

Redistribute slots to ensure uniform distribution across existing shards in the cluster

Description

Redistribute slots to ensure uniform distribution across existing shards in the cluster.

Usage

elasticache_rebalance_slots_in_global_replication_group(
  GlobalReplicationGroupId, ApplyImmediately)

Arguments

GlobalReplicationGroupId

[required] The name of the Global datastore

ApplyImmediately

[required] If True, redistribution is applied immediately.

Value

A list with the following syntax:

list(
  GlobalReplicationGroup = list(
    GlobalReplicationGroupId = "string",
    GlobalReplicationGroupDescription = "string",
    Status = "string",
    CacheNodeType = "string",
    Engine = "string",
    EngineVersion = "string",
    Members = list(
      list(
        ReplicationGroupId = "string",
        ReplicationGroupRegion = "string",
        Role = "string",
        AutomaticFailover = "enabled"|"disabled"|"enabling"|"disabling",
        Status = "string"
      )
    ),
    ClusterEnabled = TRUE|FALSE,
    GlobalNodeGroups = list(
      list(
        GlobalNodeGroupId = "string",
        Slots = "string"
      )
    ),
    AuthTokenEnabled = TRUE|FALSE,
    TransitEncryptionEnabled = TRUE|FALSE,
    AtRestEncryptionEnabled = TRUE|FALSE,
    ARN = "string"
  )
)

Request syntax

svc$rebalance_slots_in_global_replication_group(
  GlobalReplicationGroupId = "string",
  ApplyImmediately = TRUE|FALSE
)