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

The DeleteCacheCluster operation deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.

Declaration Syntax

C#

    DeleteCacheClusterResponse DeleteCacheCluster(
    	DeleteCacheClusterRequest deleteCacheClusterRequest
    )

Parameters

deleteCacheClusterRequest (DeleteCacheClusterRequest)
  Container for the necessary parameters to execute the DeleteCacheCluster service method on AmazonElastiCache.

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

Exception | Condition
--- | ---
InvalidParameterValueException |
SnapshotFeatureNotSupportedException |
CacheClusterNotFoundException |
InvalidParameterCombinationException |
InvalidCacheClusterStateException |
SnapshotAlreadyExistsException |
SnapshotQuotaExceededException |

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