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
Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

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


public virtual ModifyClusterSubnetGroupResponse ModifyClusterSubnetGroup(
         ModifyClusterSubnetGroupRequest request


Type: Amazon.Redshift.Model.ModifyClusterSubnetGroupRequest

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

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


ClusterSubnetGroupNotFoundException The cluster subnet group name does not refer to an existing cluster subnet group.
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.
SubnetAlreadyInUseException A specified subnet is already in use by another cluster.
UnauthorizedOperationException Your account is not authorized to perform the requested operation.

Version Information

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