Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 #
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:
rdsgiEC2SecurityGroupOwnerId
- The AWS Account Number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter. The AWS Access Key ID is not an acceptable value. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.rdsgiEC2SecurityGroupName
- The name of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.rdsgiCIdRIP
- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
can't be provided.rdsgiEC2SecurityGroupId
- The id of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.rdsgiDBSecurityGroupName
- The name of the DB security group to revoke ingress from.
data RevokeDBSecurityGroupIngress Source #
See: revokeDBSecurityGroupIngress
smart constructor.
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
can't 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 #
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:
rdsgirsDBSecurityGroup
- Undocumented member.rdsgirsResponseStatus
- -- | The response status code.
data RevokeDBSecurityGroupIngressResponse Source #
See: revokeDBSecurityGroupIngressResponse
smart constructor.
Response Lenses
rdsgirsDBSecurityGroup :: Lens' RevokeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup) Source #
Undocumented member.
rdsgirsResponseStatus :: Lens' RevokeDBSecurityGroupIngressResponse Int Source #
- - | The response status code.