AWS SDK for .NET Documentation
DeleteReplicationGroup Method (deleteReplicationGroupRequest)
Amazon ► Amazon.ElastiCache ► AmazonElastiCache ► DeleteReplicationGroup(DeleteReplicationGroupRequest)
Did this page help you? Yes No Tell us about it...

The DeleteReplicationGroup operation deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary cache cluster and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary cache cluster.

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

Declaration Syntax

C#

    DeleteReplicationGroupResponse DeleteReplicationGroup(
    	DeleteReplicationGroupRequest deleteReplicationGroupRequest
    )

Parameters

deleteReplicationGroupRequest (DeleteReplicationGroupRequest)
  Container for the necessary parameters to execute the DeleteReplicationGroup service method on AmazonElastiCache.

Return Value
The response from the DeleteReplicationGroup service method, as returned by AmazonElastiCache.
Exceptions

Exception | Condition
--- | ---
InvalidReplicationGroupStateException |
InvalidParameterValueException |
SnapshotFeatureNotSupportedException |
ReplicationGroupNotFoundException |
InvalidParameterCombinationException |
SnapshotAlreadyExistsException |
SnapshotQuotaExceededException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)