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.ModifyGlobalReplicationGroup

Description

Modifies the settings for a Global datastore.

Synopsis

Creating a Request

data ModifyGlobalReplicationGroup Source #

See: newModifyGlobalReplicationGroup smart constructor.

Constructors

ModifyGlobalReplicationGroup' 

Fields

Instances

Instances details
Eq ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Read ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Show ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Generic ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Associated Types

type Rep ModifyGlobalReplicationGroup :: Type -> Type #

NFData ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Hashable ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

AWSRequest ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

ToHeaders ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

ToPath ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

ToQuery ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

type Rep ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

type Rep ModifyGlobalReplicationGroup = D1 ('MetaData "ModifyGlobalReplicationGroup" "Amazonka.ElastiCache.ModifyGlobalReplicationGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "ModifyGlobalReplicationGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "automaticFailoverEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cacheNodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "cacheParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "globalReplicationGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "globalReplicationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "applyImmediately") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))
type AWSResponse ModifyGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

newModifyGlobalReplicationGroup Source #

Create a value of ModifyGlobalReplicationGroup 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:automaticFailoverEnabled:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_automaticFailoverEnabled - Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.

$sel:engineVersion:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_engineVersion - The upgraded version of the cache engine to be run on the clusters in the Global datastore.

$sel:cacheNodeType:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_cacheNodeType - A valid cache node type that you want to scale this Global datastore to.

$sel:cacheParameterGroupName:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_cacheParameterGroupName - The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.

$sel:globalReplicationGroupDescription:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_globalReplicationGroupDescription - A description of the Global datastore

$sel:globalReplicationGroupId:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_globalReplicationGroupId - The name of the Global datastore

$sel:applyImmediately:ModifyGlobalReplicationGroup', modifyGlobalReplicationGroup_applyImmediately - This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.

Request Lenses

modifyGlobalReplicationGroup_automaticFailoverEnabled :: Lens' ModifyGlobalReplicationGroup (Maybe Bool) Source #

Determines whether a read replica is automatically promoted to read/write primary if the existing primary encounters a failure.

modifyGlobalReplicationGroup_engineVersion :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #

The upgraded version of the cache engine to be run on the clusters in the Global datastore.

modifyGlobalReplicationGroup_cacheNodeType :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #

A valid cache node type that you want to scale this Global datastore to.

modifyGlobalReplicationGroup_cacheParameterGroupName :: Lens' ModifyGlobalReplicationGroup (Maybe Text) Source #

The name of the cache parameter group to use with the Global datastore. It must be compatible with the major engine version used by the Global datastore.

modifyGlobalReplicationGroup_applyImmediately :: Lens' ModifyGlobalReplicationGroup Bool Source #

This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.

Destructuring the Response

data ModifyGlobalReplicationGroupResponse Source #

Instances

Instances details
Eq ModifyGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Read ModifyGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Show ModifyGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

Generic ModifyGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

NFData ModifyGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

type Rep ModifyGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyGlobalReplicationGroup

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

newModifyGlobalReplicationGroupResponse Source #

Create a value of ModifyGlobalReplicationGroupResponse 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:globalReplicationGroup:ModifyGlobalReplicationGroupResponse', modifyGlobalReplicationGroupResponse_globalReplicationGroup - Undocumented member.

$sel:httpStatus:ModifyGlobalReplicationGroupResponse', modifyGlobalReplicationGroupResponse_httpStatus - The response's http status code.

Response Lenses