deleteCacheParameterGroup
inline suspend fun ElastiCacheClient.deleteCacheParameterGroup(crossinline block: DeleteCacheParameterGroupRequest.Builder.() -> Unit): DeleteCacheParameterGroupResponse
Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters. You cannot delete the default cache parameter groups in your account.
Samples
fun main() {
//sampleStart
// Deletes the Amazon ElastiCache parameter group custom mem1 4.
elastiCacheClient.deleteCacheParameterGroup {
cacheParameterGroupName = "custom-mem1-4"
}
//sampleEnd
}