libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Description

Decreases the number of node groups in a Global datastore

Synopsis

Creating a Request

data DecreaseNodeGroupsInGlobalReplicationGroup Source #

Constructors

DecreaseNodeGroupsInGlobalReplicationGroup' 

Fields

  • globalNodeGroupsToRemove :: Maybe [Text]

    If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

  • globalNodeGroupsToRetain :: Maybe [Text]

    If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

  • globalReplicationGroupId :: Text

    The name of the Global datastore

  • nodeGroupCount :: Int

    The number of node groups (shards) that results from the modification of the shard configuration

  • applyImmediately :: Bool

    Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

Instances

Instances details
Eq DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Read DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Show DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Generic DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

NFData DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Hashable DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

AWSRequest DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

ToHeaders DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

ToPath DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

ToQuery DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

type Rep DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

type Rep DecreaseNodeGroupsInGlobalReplicationGroup = D1 ('MetaData "DecreaseNodeGroupsInGlobalReplicationGroup" "Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "DecreaseNodeGroupsInGlobalReplicationGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "globalNodeGroupsToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "globalNodeGroupsToRetain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "globalReplicationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "nodeGroupCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applyImmediately") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))
type AWSResponse DecreaseNodeGroupsInGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

newDecreaseNodeGroupsInGlobalReplicationGroup Source #

Create a value of DecreaseNodeGroupsInGlobalReplicationGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:globalNodeGroupsToRemove:DecreaseNodeGroupsInGlobalReplicationGroup', decreaseNodeGroupsInGlobalReplicationGroup_globalNodeGroupsToRemove - If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

$sel:globalNodeGroupsToRetain:DecreaseNodeGroupsInGlobalReplicationGroup', decreaseNodeGroupsInGlobalReplicationGroup_globalNodeGroupsToRetain - If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

$sel:globalReplicationGroupId:DecreaseNodeGroupsInGlobalReplicationGroup', decreaseNodeGroupsInGlobalReplicationGroup_globalReplicationGroupId - The name of the Global datastore

$sel:nodeGroupCount:DecreaseNodeGroupsInGlobalReplicationGroup', decreaseNodeGroupsInGlobalReplicationGroup_nodeGroupCount - The number of node groups (shards) that results from the modification of the shard configuration

$sel:applyImmediately:DecreaseNodeGroupsInGlobalReplicationGroup', decreaseNodeGroupsInGlobalReplicationGroup_applyImmediately - Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

Request Lenses

decreaseNodeGroupsInGlobalReplicationGroup_globalNodeGroupsToRemove :: Lens' DecreaseNodeGroupsInGlobalReplicationGroup (Maybe [Text]) Source #

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.

decreaseNodeGroupsInGlobalReplicationGroup_globalNodeGroupsToRetain :: Lens' DecreaseNodeGroupsInGlobalReplicationGroup (Maybe [Text]) Source #

If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.

decreaseNodeGroupsInGlobalReplicationGroup_nodeGroupCount :: Lens' DecreaseNodeGroupsInGlobalReplicationGroup Int Source #

The number of node groups (shards) that results from the modification of the shard configuration

decreaseNodeGroupsInGlobalReplicationGroup_applyImmediately :: Lens' DecreaseNodeGroupsInGlobalReplicationGroup Bool Source #

Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

Destructuring the Response

data DecreaseNodeGroupsInGlobalReplicationGroupResponse Source #

Instances

Instances details
Eq DecreaseNodeGroupsInGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Read DecreaseNodeGroupsInGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Show DecreaseNodeGroupsInGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

Generic DecreaseNodeGroupsInGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

NFData DecreaseNodeGroupsInGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

type Rep DecreaseNodeGroupsInGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup

type Rep DecreaseNodeGroupsInGlobalReplicationGroupResponse = D1 ('MetaData "DecreaseNodeGroupsInGlobalReplicationGroupResponse" "Amazonka.ElastiCache.DecreaseNodeGroupsInGlobalReplicationGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "DecreaseNodeGroupsInGlobalReplicationGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalReplicationGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GlobalReplicationGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses