AWS SDK for .NET Documentation
CreateClusterSubnetGroup Method (request)
AmazonAmazon.RedshiftAmazonRedshiftClientCreateClusterSubnetGroup(CreateClusterSubnetGroupRequest) Did this page help you?   Yes   No    Tell us about it...
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 toAmazon Redshift Cluster Subnet Groups in the Amazon Redshift Management Guide.

Declaration Syntax
C#
public CreateClusterSubnetGroupResponse CreateClusterSubnetGroup(
	CreateClusterSubnetGroupRequest request
)
Parameters
request (CreateClusterSubnetGroupRequest)
Container for the necessary parameters to execute the CreateClusterSubnetGroup service method.
Return Value
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 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 Management Guide.
InvalidSubnetException The requested subnet is not valid, or not all of the subnets are in the same VPC.
UnauthorizedOperationException Your account is not authorized to perform the requested operation.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)