Smaws_Client_RDS.RevokeDBSecurityGroupIngressRevokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).
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
| `AuthorizationNotFoundFault of Types.authorization_not_found_fault
| `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.revoke_db_security_group_ingress_message ->
(Types.revoke_db_security_group_ingress_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationNotFoundFault of Types.authorization_not_found_fault
| `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.revoke_db_security_group_ingress_message ->
(Types.revoke_db_security_group_ingress_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AuthorizationNotFoundFault of Types.authorization_not_found_fault
| `DBSecurityGroupNotFoundFault of Types.db_security_group_not_found_fault
| `InvalidDBSecurityGroupStateFault of
Types.invalid_db_security_group_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result