Menu
Amazon ElastiCache
API Reference (API Version 2015-02-02)

ModifyCacheParameterGroup

Modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.

Request Parameters

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

CacheParameterGroupName

The name of the cache parameter group to modify.

Type: String

Required: Yes

ParameterNameValues.ParameterNameValue.N

An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.

Type: Array of ParameterNameValue objects

Required: Yes

Response Elements

The following element is returned by the service.

CacheParameterGroupName

The name of the cache parameter group.

Type: String

Errors

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

CacheParameterGroupNotFound

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

HTTP Status Code: 404

InvalidCacheParameterGroupState

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

HTTP Status Code: 400

InvalidParameterCombination

Two or more incompatible parameters were specified.

HTTP Status Code: 400

InvalidParameterValue

The value for a parameter is invalid.

HTTP Status Code: 400

Example

Sample Request

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=ModifyCacheParameterGroup &CacheParameterGroupName=mycacheparametergroup &ParameterNameValues.member.1.ParameterName=chunk_size_growth_factor &ParameterNameValues.member.1.ParameterValue=1.02 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

Sample Response

Copy
<ModifyCacheParameterGroupResponse xmlns="http://elasticache.amazonaws.com/doc/2015-02-02/"> <ModifyCacheParameterGroupResult> <CacheParameterGroupName>mycacheparametergroup</CacheParameterGroupName> </ModifyCacheParameterGroupResult> <ResponseMetadata> <RequestId>fcedeef2-b7ff-11e0-9326-b7275b9d4a6c</RequestId> </ResponseMetadata> </ModifyCacheParameterGroupResponse>

See Also

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