amazonka-elasticache-1.3.1: Amazon ElastiCache SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




The DescribeCacheParameterGroups action returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list will contain only the descriptions for that group.

See: AWS API Reference for DescribeCacheParameterGroups.

This operation returns paginated results.


Creating a Request

describeCacheParameterGroups :: DescribeCacheParameterGroups Source

Creates a value of DescribeCacheParameterGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dcpgCacheParameterGroupName :: Lens' DescribeCacheParameterGroups (Maybe Text) Source

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

dcpgMarker :: Lens' DescribeCacheParameterGroups (Maybe Text) Source

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

dcpgMaxRecords :: Lens' DescribeCacheParameterGroups (Maybe Int) Source

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.

Destructuring the Response

describeCacheParameterGroupsResponse Source

Creates a value of DescribeCacheParameterGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dcpgrsCacheParameterGroups :: Lens' DescribeCacheParameterGroupsResponse [CacheParameterGroup] Source

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

dcpgrsMarker :: Lens' DescribeCacheParameterGroupsResponse (Maybe Text) Source

Provides an identifier to allow retrieval of paginated results.