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 4.5
 
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.

For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.

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

Syntax

C#
public abstract CreateClusterSubnetGroupResponse CreateClusterSubnetGroup(
         CreateClusterSubnetGroupRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.CreateClusterSubnetGroupRequest

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

Return Value
Type: Amazon.Redshift.Model.CreateClusterSubnetGroupResponse
The response from the CreateClusterSubnetGroup service method, as returned by Redshift.

Exceptions

ExceptionCondition
ClusterSubnetGroupAlreadyExistsException A ClusterSubnetGroupName is already used by an existing cluster subnet group.
ClusterSubnetGroupQuotaExceededException The request would result in user exceeding the allowed number of cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
ClusterSubnetQuotaExceededException The request would result in user exceeding the allowed number of subnets in a cluster subnet groups. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
InvalidSubnetException The requested subnet is not valid, or not all of the subnets are in the same VPC.
InvalidTagException The tag is invalid.
TagLimitExceededException The request exceeds the limit of 10 tags for the resource.
UnauthorizedOperationException Your account is not authorized to perform the requested operation.

Version Information

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