AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeCacheParameterGroupsAsync.
Namespace: Amazon.ElastiCache
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z
public virtual DescribeCacheParameterGroupsResponse DescribeCacheParameterGroups( DescribeCacheParameterGroupsRequest request )
Container for the necessary parameters to execute the DescribeCacheParameterGroups service method.
Exception | Condition |
---|---|
CacheParameterGroupNotFoundException | The requested cache parameter group name does not refer to an existing cache parameter group. |
InvalidParameterCombinationException | Two or more incompatible parameters were specified. |
InvalidParameterValueException | The value for a parameter is invalid. |
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.
var client = new AmazonElastiCacheClient(); var response = client.DescribeCacheParameterGroups(new DescribeCacheParameterGroupsRequest { CacheParameterGroupName = "custom-mem1-4" }); List<CacheParameterGroup> cacheParameterGroups = response.CacheParameterGroups;
.NET Framework:
Supported in: 4.5, 4.0, 3.5