Learn R Programming

paws.database (version 0.1.9)

elasticache_delete_global_replication_group: Deleting a Global Datastore is a two-step process: - First, you must DisassociateGlobalReplicationGroup to remove the secondary clusters in the Global Datastore

Description

Deleting a Global Datastore is a two-step process:

Usage

elasticache_delete_global_replication_group(GlobalReplicationGroupId,
  RetainPrimaryReplicationGroup)

Arguments

GlobalReplicationGroupId

[required] The name of the Global Datastore

RetainPrimaryReplicationGroup

[required] The primary replication group is retained as a standalone replication group.

Request syntax

svc$delete_global_replication_group(
  GlobalReplicationGroupId = "string",
  RetainPrimaryReplicationGroup = TRUE|FALSE
)

Details

  • 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 DeleteGlobalReplicationGroup API to delete the Global Datastore while retainining the primary cluster using Retain...= true.

Since the Global Datastore has only a primary cluster, you can delete the Global Datastore while retaining the primary by setting RetainPrimaryCluster=true.

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