amazonka-rds-1.4.3: Amazon Relational Database Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.RevokeDBSecurityGroupIngress

Contents

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).

Synopsis

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:

data RevokeDBSecurityGroupIngress Source #

See: revokeDBSecurityGroupIngress smart constructor.

Instances

Eq RevokeDBSecurityGroupIngress Source # 
Data RevokeDBSecurityGroupIngress Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RevokeDBSecurityGroupIngress -> c RevokeDBSecurityGroupIngress #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RevokeDBSecurityGroupIngress #

toConstr :: RevokeDBSecurityGroupIngress -> Constr #

dataTypeOf :: RevokeDBSecurityGroupIngress -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RevokeDBSecurityGroupIngress) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RevokeDBSecurityGroupIngress) #

gmapT :: (forall b. Data b => b -> b) -> RevokeDBSecurityGroupIngress -> RevokeDBSecurityGroupIngress #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RevokeDBSecurityGroupIngress -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RevokeDBSecurityGroupIngress -> r #

gmapQ :: (forall d. Data d => d -> u) -> RevokeDBSecurityGroupIngress -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RevokeDBSecurityGroupIngress -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RevokeDBSecurityGroupIngress -> m RevokeDBSecurityGroupIngress #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RevokeDBSecurityGroupIngress -> m RevokeDBSecurityGroupIngress #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RevokeDBSecurityGroupIngress -> m RevokeDBSecurityGroupIngress #

Read RevokeDBSecurityGroupIngress Source # 
Show RevokeDBSecurityGroupIngress Source # 
Generic RevokeDBSecurityGroupIngress Source # 
Hashable RevokeDBSecurityGroupIngress Source # 
NFData RevokeDBSecurityGroupIngress Source # 
AWSRequest RevokeDBSecurityGroupIngress Source # 
ToQuery RevokeDBSecurityGroupIngress Source # 
ToPath RevokeDBSecurityGroupIngress Source # 
ToHeaders RevokeDBSecurityGroupIngress Source # 
type Rep RevokeDBSecurityGroupIngress Source # 
type Rep RevokeDBSecurityGroupIngress = D1 (MetaData "RevokeDBSecurityGroupIngress" "Network.AWS.RDS.RevokeDBSecurityGroupIngress" "amazonka-rds-1.4.3-4bcWghDPA7l4r93XQMzvZA" False) (C1 (MetaCons "RevokeDBSecurityGroupIngress'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rdsgiEC2SecurityGroupOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rdsgiEC2SecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rdsgiCIdRIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rdsgiEC2SecurityGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rdsgiDBSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs RevokeDBSecurityGroupIngress Source # 

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 #

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

Eq RevokeDBSecurityGroupIngressResponse Source # 
Data RevokeDBSecurityGroupIngressResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RevokeDBSecurityGroupIngressResponse -> c RevokeDBSecurityGroupIngressResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RevokeDBSecurityGroupIngressResponse #

toConstr :: RevokeDBSecurityGroupIngressResponse -> Constr #

dataTypeOf :: RevokeDBSecurityGroupIngressResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RevokeDBSecurityGroupIngressResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RevokeDBSecurityGroupIngressResponse) #

gmapT :: (forall b. Data b => b -> b) -> RevokeDBSecurityGroupIngressResponse -> RevokeDBSecurityGroupIngressResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RevokeDBSecurityGroupIngressResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RevokeDBSecurityGroupIngressResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> RevokeDBSecurityGroupIngressResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RevokeDBSecurityGroupIngressResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RevokeDBSecurityGroupIngressResponse -> m RevokeDBSecurityGroupIngressResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RevokeDBSecurityGroupIngressResponse -> m RevokeDBSecurityGroupIngressResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RevokeDBSecurityGroupIngressResponse -> m RevokeDBSecurityGroupIngressResponse #

Read RevokeDBSecurityGroupIngressResponse Source # 
Show RevokeDBSecurityGroupIngressResponse Source # 
Generic RevokeDBSecurityGroupIngressResponse Source # 
NFData RevokeDBSecurityGroupIngressResponse Source # 
type Rep RevokeDBSecurityGroupIngressResponse Source # 
type Rep RevokeDBSecurityGroupIngressResponse = D1 (MetaData "RevokeDBSecurityGroupIngressResponse" "Network.AWS.RDS.RevokeDBSecurityGroupIngress" "amazonka-rds-1.4.3-4bcWghDPA7l4r93XQMzvZA" False) (C1 (MetaCons "RevokeDBSecurityGroupIngressResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rdsgirsDBSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSecurityGroup))) (S1 (MetaSel (Just Symbol "_rdsgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses