AWS SDK Version 3 for .NET
API Reference

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 the detailed parameter list for a particular cache parameter group.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DescribeCacheParametersAsync.

Namespace: Amazon.ElastiCache
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeCacheParametersResponse DescribeCacheParameters(
         DescribeCacheParametersRequest request
)

Parameters

request
Type: Amazon.ElastiCache.Model.DescribeCacheParametersRequest

Container for the necessary parameters to execute the DescribeCacheParameters service method.

Return Value


The response from the DescribeCacheParameters service method, as returned by ElastiCache.

Exceptions

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

Examples

Lists up to 100 user parameter values for the parameter group custom.redis2.8.

DescribeCacheParameters


var client = new AmazonElastiCacheClient();
var response = client.DescribeCacheParameters(new DescribeCacheParametersRequest 
{
    CacheParameterGroupName = "custom-redis2-8",
    MaxRecords = 100,
    Source = "user"
});

string marker = response.Marker;
List<Parameter> parameters = response.Parameters;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also