Modify Replication Group Shard Configuration

GET {{aws_elasticache_base_url}}/?ApplyImmediately&NodeGroupCount&ReplicationGroupId&NodeGroupsToRemove.NodeGroupToRemove.N&NodeGroupsToRetain.NodeGroupToRetain.N&ReshardingConfiguration.ReshardingConfiguration.N&Version=2015-02-02

Request Params

KeyDatatypeRequiredDescription
ApplyImmediatelynullIndicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
NodeGroupCountnullThe number of node groups (shards) that results from the modification of the shard configuration.
ReplicationGroupIdnullThe name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
NodeGroupsToRemove.NodeGroupToRemove.NnullIf the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster.
NodeGroupsToRetain.NodeGroupToRetain.NnullIf the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. NodeGroupsToRetain is a list of NodeGroupIds to retain in the cluster.
ReshardingConfiguration.ReshardingConfiguration.NnullSpecifies the preferred availability zones for each node group in the cluster. If the value of NodeGroupCount is greater than the current number of node groups (shards), you can use this parameter to specify the preferred availability zones of the cluster's shards. If you omit this parameter ElastiCache selects availability zones for you.
VersionstringThe version of the API.