Amazon ElastiCache
API Reference (API Version 2012-11-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

DeleteCacheParameterGroup

Description

Deletes the specified CacheParameterGroup. The CacheParameterGroup cannot be deleted if it is associated with any cache clusters.

Request Parameters

For information about the common parameters that all actions use, see Common Parameters.

CacheParameterGroupName

The name of the Cache Parameter Group to delete.

Note

The specified cache security group must not be associated with any Cache clusters.

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

CacheParameterGroupNotFound

CacheParameterGroupName does not refer to an existing Cache Parameter Group.

HTTP Status Code: 404

InvalidCacheParameterGroupState

The state of the Cache Parameter Group does not allow for the requested action to occur.

HTTP Status Code: 400

InvalidParameterCombination

HTTP Status Code: 400

InvalidParameterValue

HTTP Status Code: 400

Examples

Sample Request

https://elasticache.us-east-1.amazonaws.com/
   ?Action=DeleteCacheParameterGroup
   &CacheParameterGroupName=myparametergroup
   &Version=2012-11-15
   &SignatureVersion=2
   &SignatureMethod=HmacSHA256
   &Timestamp=2011-07-25T21%3A16%3A39.166Z
   &AWSAccessKeyId=YOUR-ACCESS-KEY
   &Signature=YOUR-SIGNATURE
            

Sample Response

<DeleteCacheParameterGroupResponse xmlns="http://elasticache.amazonaws.com/doc/2012-11-15/">
  <ResponseMetadata>
    <RequestId>d0a417cb-575b-11e0-8869-cd22b4f9d96f</RequestId>
  </ResponseMetadata>
</DeleteCacheParameterGroupResponse>