Safe Haskell | None |
---|---|
Language | Haskell2010 |
The DeleteReplicationGroup operation deletes an existing cluster. By default, this operation deletes the entire cluster, including the primary node group and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary node group.
When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.
http://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DeleteReplicationGroup.html
- data DeleteReplicationGroup
- deleteReplicationGroup :: Text -> DeleteReplicationGroup
- drgFinalSnapshotIdentifier :: Lens' DeleteReplicationGroup (Maybe Text)
- drgReplicationGroupId :: Lens' DeleteReplicationGroup Text
- drgRetainPrimaryCluster :: Lens' DeleteReplicationGroup (Maybe Bool)
- data DeleteReplicationGroupResponse
- deleteReplicationGroupResponse :: DeleteReplicationGroupResponse
- drgrReplicationGroup :: Lens' DeleteReplicationGroupResponse (Maybe ReplicationGroup)
Request
data DeleteReplicationGroup Source
Request constructor
DeleteReplicationGroup
constructor.
The fields accessible through corresponding lenses are:
Request lenses
drgFinalSnapshotIdentifier :: Lens' DeleteReplicationGroup (Maybe Text) Source
The name of a final node group snapshot. ElastiCache creates the snapshot from the primary node in the cluster, rather than one of the replicas; this is to ensure that it captures the freshest data. After the final snapshot is taken, the cluster is immediately deleted.
drgReplicationGroupId :: Lens' DeleteReplicationGroup Text Source
The identifier for the cluster to be deleted. This parameter is not case sensitive.
drgRetainPrimaryCluster :: Lens' DeleteReplicationGroup (Maybe Bool) Source
If set to true, all of the read replicas will be deleted, but the primary node will be retained.
Response
Response constructor
deleteReplicationGroupResponse :: DeleteReplicationGroupResponse Source
DeleteReplicationGroupResponse
constructor.
The fields accessible through corresponding lenses are: