Smaws_Client_RDS.DeleteDBSecurityGroupDeletes a DB security group.
The specified DB security group must not be associated with any DB instances.
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `InvalidDBSecurityGroupStateFault of
Types.invalid_db_security_group_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_db_security_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `InvalidDBSecurityGroupStateFault of
Types.invalid_db_security_group_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_db_security_group_message ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `InvalidDBSecurityGroupStateFault of
Types.invalid_db_security_group_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result