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.

Container for the parameters to the DescribeCacheEngineVersions operation. Returns a list of the available cache engines and their versions.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElastiCache.AmazonElastiCacheRequest
      Amazon.ElastiCache.Model.DescribeCacheEngineVersionsRequest

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

Syntax

C#
public class DescribeCacheEngineVersionsRequest : AmazonElastiCacheRequest
         IAmazonWebServiceRequest

The DescribeCacheEngineVersionsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property CacheParameterGroupFamily System.String

Gets and sets the property CacheParameterGroupFamily.

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

Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis6.2 | redis7

Constraints:

  • Must be 1 to 255 alphanumeric characters

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Public Property DefaultOnly System.Boolean

Gets and sets the property DefaultOnly.

If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.

Public Property Engine System.String

Gets and sets the property Engine.

The cache engine to return. Valid values: memcached | redis

Public Property EngineVersion System.String

Gets and sets the property EngineVersion.

The cache engine version to return.

Example: 1.4.14

Public Property Marker System.String

Gets and sets the property 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.

Public Property MaxRecords System.Int32

Gets and sets the property 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.

Examples

Lists the details for up to 25 Memcached and Redis cache engine versions.

DescribeCacheEngineVersions


var client = new AmazonElastiCacheClient();
var response = client.DescribeCacheEngineVersions(new DescribeCacheEngineVersionsRequest 
{
});

List<CacheEngineVersion> cacheEngineVersions = response.CacheEngineVersions;

            

Lists the details for up to 50 Redis cache engine versions.

DescribeCacheEngineVersions


var client = new AmazonElastiCacheClient();
var response = client.DescribeCacheEngineVersions(new DescribeCacheEngineVersionsRequest 
{
});

List<CacheEngineVersion> cacheEngineVersions = response.CacheEngineVersions;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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