amazonka-redshift-1.4.5: Amazon Redshift 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.Redshift.RevokeClusterSecurityGroupIngress

Contents

Description

Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress . For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide .

Synopsis

Creating a Request

revokeClusterSecurityGroupIngress Source #

Creates a value of RevokeClusterSecurityGroupIngress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rcsgiEC2SecurityGroupOwnerId - The AWS account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided. Example: 111122223333
  • rcsgiEC2SecurityGroupName - The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.
  • rcsgiCIdRIP - The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.
  • rcsgiClusterSecurityGroupName - The name of the security Group from which to revoke the ingress rule.

data RevokeClusterSecurityGroupIngress Source #

See: revokeClusterSecurityGroupIngress smart constructor.

Instances

Eq RevokeClusterSecurityGroupIngress Source # 
Data RevokeClusterSecurityGroupIngress Source # 

Methods

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

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

toConstr :: RevokeClusterSecurityGroupIngress -> Constr #

dataTypeOf :: RevokeClusterSecurityGroupIngress -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RevokeClusterSecurityGroupIngress Source # 
Show RevokeClusterSecurityGroupIngress Source # 
Generic RevokeClusterSecurityGroupIngress Source # 
Hashable RevokeClusterSecurityGroupIngress Source # 
NFData RevokeClusterSecurityGroupIngress Source # 
AWSRequest RevokeClusterSecurityGroupIngress Source # 
ToPath RevokeClusterSecurityGroupIngress Source # 
ToHeaders RevokeClusterSecurityGroupIngress Source # 
ToQuery RevokeClusterSecurityGroupIngress Source # 
type Rep RevokeClusterSecurityGroupIngress Source # 
type Rep RevokeClusterSecurityGroupIngress = D1 (MetaData "RevokeClusterSecurityGroupIngress" "Network.AWS.Redshift.RevokeClusterSecurityGroupIngress" "amazonka-redshift-1.4.5-2iQeXmFrftS29tYZtVOT2g" False) (C1 (MetaCons "RevokeClusterSecurityGroupIngress'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rcsgiEC2SecurityGroupOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rcsgiEC2SecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rcsgiCIdRIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rcsgiClusterSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs RevokeClusterSecurityGroupIngress Source # 

Request Lenses

rcsgiEC2SecurityGroupOwnerId :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #

The AWS account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided. Example: 111122223333

rcsgiEC2SecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #

The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.

rcsgiCIdRIP :: Lens' RevokeClusterSecurityGroupIngress (Maybe Text) Source #

The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.

rcsgiClusterSecurityGroupName :: Lens' RevokeClusterSecurityGroupIngress Text Source #

The name of the security Group from which to revoke the ingress rule.

Destructuring the Response

revokeClusterSecurityGroupIngressResponse Source #

Creates a value of RevokeClusterSecurityGroupIngressResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RevokeClusterSecurityGroupIngressResponse Source #

Instances

Eq RevokeClusterSecurityGroupIngressResponse Source # 
Data RevokeClusterSecurityGroupIngressResponse Source # 

Methods

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

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

toConstr :: RevokeClusterSecurityGroupIngressResponse -> Constr #

dataTypeOf :: RevokeClusterSecurityGroupIngressResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RevokeClusterSecurityGroupIngressResponse Source # 
Show RevokeClusterSecurityGroupIngressResponse Source # 
Generic RevokeClusterSecurityGroupIngressResponse Source # 
NFData RevokeClusterSecurityGroupIngressResponse Source # 
type Rep RevokeClusterSecurityGroupIngressResponse Source # 
type Rep RevokeClusterSecurityGroupIngressResponse = D1 (MetaData "RevokeClusterSecurityGroupIngressResponse" "Network.AWS.Redshift.RevokeClusterSecurityGroupIngress" "amazonka-redshift-1.4.5-2iQeXmFrftS29tYZtVOT2g" False) (C1 (MetaCons "RevokeClusterSecurityGroupIngressResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rcsgirsClusterSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterSecurityGroup))) (S1 (MetaSel (Just Symbol "_rcsgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses