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
C# |
public DeleteClusterSecurityGroupResponse DeleteClusterSecurityGroup( DeleteClusterSecurityGroupRequest request )
Parameters
- request (DeleteClusterSecurityGroupRequest)
- Container for the necessary parameters to execute the DeleteClusterSecurityGroup service method.
Return Value
The response from the DeleteClusterSecurityGroup service method, as returned by Redshift.
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 |