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

DescribeCacheParameterGroups

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.

CacheParameterGroupName

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

Type: String

Required: No

Marker

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

MaxRecords

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.

CacheParameterGroups.CacheParameterGroup.N

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

Type: Array of CacheParameterGroup objects

Marker

Provides an identifier to allow retrieval of paginated results.

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

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

DescribeCacheParameterGroups

Sample Request

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &MaxRecords=100 &Version=2015-02-02 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &X-Amz-Credential=<credential>

Sample Response

<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2015-02-02/"> <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 AWS SDKs, see the following: