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

Description

Deleting a Global datastore is a two-step process:

  • First, you must DisassociateGlobalReplicationGroup to remove the secondary clusters in the Global datastore.
  • Once the Global datastore contains only the primary cluster, you can use the DeleteGlobalReplicationGroup API to delete the Global datastore while retainining the primary cluster using RetainPrimaryReplicationGroup=true.

Since the Global Datastore has only a primary cluster, you can delete the Global Datastore while retaining the primary by setting RetainPrimaryReplicationGroup=true. The primary cluster is never deleted when deleting a Global Datastore. It can only be deleted when it no longer is associated with any Global Datastore.

When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.

Synopsis

Creating a Request

data DeleteGlobalReplicationGroup Source #

See: newDeleteGlobalReplicationGroup smart constructor.

Constructors

DeleteGlobalReplicationGroup' 

Fields

Instances

Instances details
Eq DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Read DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Show DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Generic DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Associated Types

type Rep DeleteGlobalReplicationGroup :: Type -> Type #

NFData DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Hashable DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

AWSRequest DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

ToHeaders DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

ToPath DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

ToQuery DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

type Rep DeleteGlobalReplicationGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

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

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

newDeleteGlobalReplicationGroup Source #

Create a value of DeleteGlobalReplicationGroup 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:globalReplicationGroupId:DeleteGlobalReplicationGroup', deleteGlobalReplicationGroup_globalReplicationGroupId - The name of the Global datastore

$sel:retainPrimaryReplicationGroup:DeleteGlobalReplicationGroup', deleteGlobalReplicationGroup_retainPrimaryReplicationGroup - The primary replication group is retained as a standalone replication group.

Request Lenses

deleteGlobalReplicationGroup_retainPrimaryReplicationGroup :: Lens' DeleteGlobalReplicationGroup Bool Source #

The primary replication group is retained as a standalone replication group.

Destructuring the Response

data DeleteGlobalReplicationGroupResponse Source #

Instances

Instances details
Eq DeleteGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Read DeleteGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Show DeleteGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

Generic DeleteGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

NFData DeleteGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

type Rep DeleteGlobalReplicationGroupResponse Source # 
Instance details

Defined in Amazonka.ElastiCache.DeleteGlobalReplicationGroup

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

newDeleteGlobalReplicationGroupResponse Source #

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

$sel:httpStatus:DeleteGlobalReplicationGroupResponse', deleteGlobalReplicationGroupResponse_httpStatus - The response's http status code.

Response Lenses