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

Description

Global Datastore for Redis offers fully managed, fast, reliable and secure cross-region replication. Using Global Datastore for Redis, you can create cross-region read replica clusters for ElastiCache for Redis to enable low-latency reads and disaster recovery across regions. For more information, see Replication Across Regions Using Global Datastore.

  • The GlobalReplicationGroupIdSuffix is the name of the Global datastore.
  • The PrimaryReplicationGroupId represents the name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
Synopsis

Creating a Request

data CreateGlobalReplicationGroup Source #

See: newCreateGlobalReplicationGroup smart constructor.

Constructors

CreateGlobalReplicationGroup' 

Fields

  • globalReplicationGroupDescription :: Maybe Text

    Provides details of the Global datastore

  • globalReplicationGroupIdSuffix :: Text

    The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.

    For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .

  • primaryReplicationGroupId :: Text

    The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.

Instances

Instances details
Eq CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Read CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Show CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Generic CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Associated Types

type Rep CreateGlobalReplicationGroup :: Type -> Type #

NFData CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Hashable CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

AWSRequest CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

ToHeaders CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

ToPath CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

ToQuery CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

type Rep CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

type Rep CreateGlobalReplicationGroup = D1 ('MetaData "CreateGlobalReplicationGroup" "Amazonka.ElastiCache.CreateGlobalReplicationGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "CreateGlobalReplicationGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalReplicationGroupDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "globalReplicationGroupIdSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "primaryReplicationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

newCreateGlobalReplicationGroup Source #

Create a value of CreateGlobalReplicationGroup 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:globalReplicationGroupDescription:CreateGlobalReplicationGroup', createGlobalReplicationGroup_globalReplicationGroupDescription - Provides details of the Global datastore

$sel:globalReplicationGroupIdSuffix:CreateGlobalReplicationGroup', createGlobalReplicationGroup_globalReplicationGroupIdSuffix - The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.

For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .

$sel:primaryReplicationGroupId:CreateGlobalReplicationGroup', createGlobalReplicationGroup_primaryReplicationGroupId - The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.

Request Lenses

createGlobalReplicationGroup_globalReplicationGroupIdSuffix :: Lens' CreateGlobalReplicationGroup Text Source #

The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.

For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .

createGlobalReplicationGroup_primaryReplicationGroupId :: Lens' CreateGlobalReplicationGroup Text Source #

The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.

Destructuring the Response

data CreateGlobalReplicationGroupResponse Source #

Instances

Instances details
Eq CreateGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Read CreateGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Show CreateGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

Generic CreateGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

NFData CreateGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

type Rep CreateGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.CreateGlobalReplicationGroup

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

newCreateGlobalReplicationGroupResponse Source #

Create a value of CreateGlobalReplicationGroupResponse 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:CreateGlobalReplicationGroupResponse', createGlobalReplicationGroupResponse_globalReplicationGroup - Undocumented member.

$sel:httpStatus:CreateGlobalReplicationGroupResponse', createGlobalReplicationGroupResponse_httpStatus - The response's http status code.

Response Lenses