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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • rdsgiEC2SecurityGroupOwnerId - 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 - 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 - 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 - 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 - The name of the DB security group to revoke ingress from.

data RevokeDBSecurityGroupIngress Source #

See: revokeDBSecurityGroupIngress smart constructor.

Instances
Eq RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Data RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

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 # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Show RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Generic RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Associated Types

type Rep RevokeDBSecurityGroupIngress :: Type -> Type #

Hashable RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

AWSRequest RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Associated Types

type Rs RevokeDBSecurityGroupIngress :: Type #

ToHeaders RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

ToPath RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

ToQuery RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

NFData RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngress = D1 (MetaData "RevokeDBSecurityGroupIngress" "Network.AWS.RDS.RevokeDBSecurityGroupIngress" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "RevokeDBSecurityGroupIngress'" PrefixI True) ((S1 (MetaSel (Just "_rdsgiEC2SecurityGroupOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rdsgiEC2SecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_rdsgiCIdRIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rdsgiEC2SecurityGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rdsgiDBSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs RevokeDBSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

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:

data RevokeDBSecurityGroupIngressResponse Source #

See: revokeDBSecurityGroupIngressResponse smart constructor.

Instances
Eq RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Data RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

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 # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Show RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

Generic RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

NFData RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.RDS.RevokeDBSecurityGroupIngress

type Rep RevokeDBSecurityGroupIngressResponse = D1 (MetaData "RevokeDBSecurityGroupIngressResponse" "Network.AWS.RDS.RevokeDBSecurityGroupIngress" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "RevokeDBSecurityGroupIngressResponse'" PrefixI True) (S1 (MetaSel (Just "_rdsgirsDBSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBSecurityGroup)) :*: S1 (MetaSel (Just "_rdsgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses