Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Performs horizontal scaling on a Redis (cluster mode enabled) cluster with no downtime. Requires Redis engine version 3.2.10 or newer. For information on upgrading your engine to a newer version, see Upgrading Engine Versions in the Amazon ElastiCache User Guide.
For more information on ElastiCache for Redis online horizontal scaling, see ElastiCache for Redis Horizontal Scaling
- modifyReplicationGroupShardConfiguration :: Text -> Int -> Bool -> ModifyReplicationGroupShardConfiguration
- data ModifyReplicationGroupShardConfiguration
- mrgscReshardingConfiguration :: Lens' ModifyReplicationGroupShardConfiguration [ReshardingConfiguration]
- mrgscNodeGroupsToRemove :: Lens' ModifyReplicationGroupShardConfiguration [Text]
- mrgscReplicationGroupId :: Lens' ModifyReplicationGroupShardConfiguration Text
- mrgscNodeGroupCount :: Lens' ModifyReplicationGroupShardConfiguration Int
- mrgscApplyImmediately :: Lens' ModifyReplicationGroupShardConfiguration Bool
- modifyReplicationGroupShardConfigurationResponse :: Int -> ModifyReplicationGroupShardConfigurationResponse
- data ModifyReplicationGroupShardConfigurationResponse
- mrgscrsReplicationGroup :: Lens' ModifyReplicationGroupShardConfigurationResponse (Maybe ReplicationGroup)
- mrgscrsResponseStatus :: Lens' ModifyReplicationGroupShardConfigurationResponse Int
Creating a Request
modifyReplicationGroupShardConfiguration Source #
Creates a value of ModifyReplicationGroupShardConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrgscReshardingConfiguration
- Specifies the preferred availability zones for each node group in the cluster. If the value ofNodeGroupCount
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. You can specify this parameter only if the value ofNodeGroupCount
is greater than the current number of node groups (shards).mrgscNodeGroupsToRemove
- If the value ofNodeGroupCount
is less than the current number of node groups (shards),NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.mrgscReplicationGroupId
- The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.mrgscNodeGroupCount
- The number of node groups (shards) that results from the modification of the shard configuration.mrgscApplyImmediately
- Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter istrue
. Value: true
data ModifyReplicationGroupShardConfiguration Source #
Represents the input for a ModifyReplicationGroupShardConfiguration
operation.
See: modifyReplicationGroupShardConfiguration
smart constructor.
Request Lenses
mrgscReshardingConfiguration :: Lens' ModifyReplicationGroupShardConfiguration [ReshardingConfiguration] Source #
Specifies 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. You can specify this parameter only if the value of NodeGroupCount
is greater than the current number of node groups (shards).
mrgscNodeGroupsToRemove :: Lens' ModifyReplicationGroupShardConfiguration [Text] Source #
If the value of NodeGroupCount
is less than the current number of node groups (shards), NodeGroupsToRemove
is a required list of node group ids to remove from the cluster.
mrgscReplicationGroupId :: Lens' ModifyReplicationGroupShardConfiguration Text Source #
The name of the Redis (cluster mode enabled) cluster (replication group) on which the shards are to be configured.
mrgscNodeGroupCount :: Lens' ModifyReplicationGroupShardConfiguration Int Source #
The number of node groups (shards) that results from the modification of the shard configuration.
mrgscApplyImmediately :: Lens' ModifyReplicationGroupShardConfiguration Bool Source #
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true
. Value: true
Destructuring the Response
modifyReplicationGroupShardConfigurationResponse Source #
Creates a value of ModifyReplicationGroupShardConfigurationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrgscrsReplicationGroup
- Undocumented member.mrgscrsResponseStatus
- -- | The response status code.
data ModifyReplicationGroupShardConfigurationResponse Source #
See: modifyReplicationGroupShardConfigurationResponse
smart constructor.
Response Lenses
mrgscrsReplicationGroup :: Lens' ModifyReplicationGroupShardConfigurationResponse (Maybe ReplicationGroup) Source #
Undocumented member.
mrgscrsResponseStatus :: Lens' ModifyReplicationGroupShardConfigurationResponse Int Source #
- - | The response status code.