Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.
A Redis (cluster mode disabled) replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas.
A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards).
When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group after it has been created.
This operation is valid for Redis only.
/// The requested cache cluster ID does not refer to an existing cache cluster.
///
/// The requested cache parameter group name does not refer to an existing cache parameter
/// group.
///
/// The requested cache security group name does not refer to an existing cache security
/// group.
///
/// The requested cache subnet group name does not refer to an existing cache subnet group.
///
/// The request cannot be processed because it would exceed the allowed number of cache
/// clusters per customer.
///
/// The requested cache node type is not available in the specified Availability Zone.
///
/// The requested cache cluster is not in the available
state.
///
/// Two or more incompatible parameters were specified.
///
/// The value for a parameter is invalid.
///
/// The VPC network is in an invalid state.
///
/// The request cannot be processed because it would exceed the maximum of 15 node groups
/// (shards) in a single replication group.
///
/// The request cannot be processed because it would exceed the allowed number of cache
/// nodes in a single cache cluster.
///
/// The request cannot be processed because it would exceed the allowed number of cache
/// nodes per customer.
///
/// The specified replication group already exists.
///
/// The request cannot be processed because it would cause the resource to have more than
/// the allowed number of tags. The maximum number of tags permitted on a resource is
/// 10.
///