AWS SDK Version 3 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.

Deletes an Amazon Redshift security group.

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 to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteClusterSecurityGroupAsync.

Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z

Syntax

C#
public abstract DeleteClusterSecurityGroupResponse DeleteClusterSecurityGroup(
         DeleteClusterSecurityGroupRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.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

ExceptionCondition
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 available.

Version Information

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

See Also