ResetCacheParameterGroup - Amazon ElastiCache


Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.

Request Parameters

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


The name of the cache parameter group to reset.

Type: String

Required: Yes


An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

Type: Array of ParameterNameValue objects

Required: No


If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

Valid values: true | false

Type: Boolean

Required: No

Response Elements

The following element is returned by the service.


The name of the cache parameter group.

Type: String


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


The requested cache parameter group name does not refer to an existing cache parameter group.

HTTP Status Code: 404


The current state of the cache parameter group does not allow the requested operation to occur.

HTTP Status Code: 400


The Global datastore is not available or in primary-only state.

HTTP Status Code: 400


Two or more incompatible parameters were specified.

HTTP Status Code: 400


The value for a parameter is invalid.

HTTP Status Code: 400



This example illustrates one usage of ResetCacheParameterGroup.

Sample Request ?Action=ResetCacheParameterGroup &ResetAllParameters=true &CacheParameterGroupName=mycacheparametergroup1 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

Sample Response

<ResetCacheParameterGroupResponse xmlns=""> <ResetCacheParameterGroupResult> <CacheParameterGroupName>mycacheparametergroup1</CacheParameterGroupName> </ResetCacheParameterGroupResult> <ResponseMetadata> <RequestId>cb7cc855-b9d2-11e3-8a16-7978bb24ffdf</RequestId> </ResponseMetadata> </ResetCacheParameterGroupResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: