Deletes the specified cluster subnet group.
Declaration Syntax
C# |
public DeleteClusterSubnetGroupResponse DeleteClusterSubnetGroup( DeleteClusterSubnetGroupRequest request )
Parameters
- request (DeleteClusterSubnetGroupRequest)
- Container for the necessary parameters to execute the DeleteClusterSubnetGroup service method.
Return Value
The response from the DeleteClusterSubnetGroup service method, as returned by Redshift.
Exceptions
Exception | Condition |
---|---|
ClusterSubnetGroupNotFoundException |
The cluster subnet group name does not refer to an existing cluster subnet
group.
|
InvalidClusterSubnetGroupStateException |
The cluster subnet group cannot be deleted because it is in use.
|
InvalidClusterSubnetStateException |
The state of the subnet is invalid.
|