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 a list of the available cache engines and their versions.

Note:

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

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

Syntax

C#
public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions(
         DescribeCacheEngineVersionsRequest request
)

Parameters

request
Type: Amazon.ElastiCache.Model.DescribeCacheEngineVersionsRequest

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

Return Value


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

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 Framework:
Supported in: 4.5, 4.0, 3.5

See Also