AWS SDK Version 2 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.

.NET Framework 3.5
 
The CreateCacheSubnetGroup action creates a new cache subnet group.

Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).

Namespace: Amazon.ElastiCache
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CreateCacheSubnetGroupResponse CreateCacheSubnetGroup(
         CreateCacheSubnetGroupRequest request
)

Parameters

request
Type: Amazon.ElastiCache.Model.CreateCacheSubnetGroupRequest

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

Return Value
Type: Amazon.ElastiCache.Model.CreateCacheSubnetGroupResponse
The response from the CreateCacheSubnetGroup service method, as returned by ElastiCache.

Exceptions

ExceptionCondition
CacheSubnetGroupAlreadyExistsException The requested cache subnet group name is already in use by an existing cache subnet group.
CacheSubnetGroupQuotaExceededException The request cannot be processed because it would exceed the allowed number of cache subnet groups.
CacheSubnetQuotaExceededException The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.
InvalidSubnetException An invalid subnet identifier was specified.

Version Information

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