DescribeCacheParameterGroups - Amazon ElastiCache
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list contains only the descriptions for that group.

Request Parameters

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


The name of a specific cache parameter group to return details for.

Type: String

Required: No


An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Type: String

Required: No


The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: minimum 20; maximum 100.

Type: Integer

Required: No

Response Elements

The following elements are returned by the service.


A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.

Type: Array of CacheParameterGroup objects


Provides an identifier to allow retrieval of paginated results.

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


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 DescribeCacheParameterGroups.

Sample Request ?Action=DescribeCacheParameterGroups &MaxRecords=100 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

Sample Response

<DescribeCacheParameterGroupsResponse xmlns=""> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>default.memcached1.4</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>Default parameter group for memcached1.4</Description> </CacheParameterGroup> <CacheParameterGroup> <CacheParameterGroupName>mycacheparametergroup</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>My cache parameter group</Description> </CacheParameterGroup> <CacheParameterGroup> <CacheParameterGroupName>mycacheparametergroup1</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>My first cache parameter group</Description> </CacheParameterGroup> <CacheParameterGroup> <CacheParameterGroupName>mycacheparametergroup3</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>My first cache parameter group</Description> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>7193fbb8-b7fc-11e0-9b0b-a9261be2b354</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

See Also

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