| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.RDS.RevokeDBSecurityGroupIngress
Description
Revokes 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).
- revokeDBSecurityGroupIngress :: Text -> RevokeDBSecurityGroupIngress
- data RevokeDBSecurityGroupIngress
- rdsgiEC2SecurityGroupOwnerId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- rdsgiEC2SecurityGroupName :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- rdsgiCIdRIP :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- rdsgiEC2SecurityGroupId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text)
- rdsgiDBSecurityGroupName :: Lens' RevokeDBSecurityGroupIngress Text
- revokeDBSecurityGroupIngressResponse :: Int -> RevokeDBSecurityGroupIngressResponse
- data RevokeDBSecurityGroupIngressResponse
- rdsgirsDBSecurityGroup :: Lens' RevokeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup)
- rdsgirsResponseStatus :: Lens' RevokeDBSecurityGroupIngressResponse Int
Creating a Request
revokeDBSecurityGroupIngress Source #
Arguments
| :: Text | |
| -> RevokeDBSecurityGroupIngress |
Creates a value of RevokeDBSecurityGroupIngress with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevokeDBSecurityGroupIngress Source #
See: revokeDBSecurityGroupIngress smart constructor.
Instances
Request Lenses
rdsgiEC2SecurityGroupOwnerId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #
The AWS Account Number of the owner of the EC2 security group specified in the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
rdsgiEC2SecurityGroupName :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #
The name of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
rdsgiCIdRIP :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #
The IP range to revoke access from. Must be a valid CIDR range. If CIDRIP is specified, EC2SecurityGroupName, EC2SecurityGroupId and EC2SecurityGroupOwnerId cannot be provided.
rdsgiEC2SecurityGroupId :: Lens' RevokeDBSecurityGroupIngress (Maybe Text) Source #
The id of the EC2 security group to revoke access from. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
rdsgiDBSecurityGroupName :: Lens' RevokeDBSecurityGroupIngress Text Source #
The name of the DB security group to revoke ingress from.
Destructuring the Response
revokeDBSecurityGroupIngressResponse Source #
Arguments
| :: Int | |
| -> RevokeDBSecurityGroupIngressResponse |
Creates a value of RevokeDBSecurityGroupIngressResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevokeDBSecurityGroupIngressResponse Source #
See: revokeDBSecurityGroupIngressResponse smart constructor.
Instances
Response Lenses
rdsgirsDBSecurityGroup :: Lens' RevokeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup) Source #
Undocumented member.
rdsgirsResponseStatus :: Lens' RevokeDBSecurityGroupIngressResponse Int Source #
The response status code.