Smaws_Client_Redshift.DeleteClusterSecurityGroupDeletes 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ClusterSecurityGroupNotFoundFault of
Types.cluster_security_group_not_found_fault
| `InvalidClusterSecurityGroupStateFault of
Types.invalid_cluster_security_group_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_cluster_security_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterSecurityGroupNotFoundFault of
Types.cluster_security_group_not_found_fault
| `InvalidClusterSecurityGroupStateFault of
Types.invalid_cluster_security_group_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_cluster_security_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterSecurityGroupNotFoundFault of
Types.cluster_security_group_not_found_fault
| `InvalidClusterSecurityGroupStateFault of
Types.invalid_cluster_security_group_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result