deleteSnapshot

Deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.

This operation is valid for Valkey or Redis OSS only.

Samples


fun main() { 
   //sampleStart 
   // Deletes the Redis snapshot snapshot 20160822.
val resp = elastiCacheClient.deleteSnapshot {
    snapshotName = "snapshot-20161212"
} 
   //sampleEnd
}