Deletes an Amazon Redshift security group.         
            
                    
|  Note: | 
|---|
| You cannot delete a security group that is associated with any clusters. You cannot delete the default security group. | 
For information about managing security groups, go toAmazon Redshift Cluster Security Groups in the Amazon Redshift Management Guide.
 Declaration Syntax
 Declaration Syntax| C# | 
DeleteClusterSecurityGroupResponse DeleteClusterSecurityGroup( DeleteClusterSecurityGroupRequest request )
 Parameters
 Parameters- request (DeleteClusterSecurityGroupRequest)
- Container for the necessary parameters to execute the DeleteClusterSecurityGroup service method.
 Return Value
 Return ValueThe response from the DeleteClusterSecurityGroup service method, as returned by Redshift.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ClusterSecurityGroupNotFoundException | The cluster security group name does not refer to an existing cluster
            security group. | 
| InvalidClusterSecurityGroupStateException | The state of the cluster security group is not  CopyC# available |