amazonka-redshift-1.6.1: Amazon Redshift 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.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 # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Data RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

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

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Show RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Generic RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Associated Types

type Rep RevokeClusterSecurityGroupIngress :: Type -> Type #

Hashable RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

AWSRequest RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Associated Types

type Rs RevokeClusterSecurityGroupIngress :: Type #

ToHeaders RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

ToPath RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

ToQuery RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

NFData RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngress = D1 (MetaData "RevokeClusterSecurityGroupIngress" "Network.AWS.Redshift.RevokeClusterSecurityGroupIngress" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "RevokeClusterSecurityGroupIngress'" PrefixI True) ((S1 (MetaSel (Just "_rcsgiEC2SecurityGroupOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rcsgiEC2SecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_rcsgiCIdRIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rcsgiClusterSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs RevokeClusterSecurityGroupIngress Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

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

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Data RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

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

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Show RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

Generic RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

NFData RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngressResponse Source # 
Instance details

Defined in Network.AWS.Redshift.RevokeClusterSecurityGroupIngress

type Rep RevokeClusterSecurityGroupIngressResponse = D1 (MetaData "RevokeClusterSecurityGroupIngressResponse" "Network.AWS.Redshift.RevokeClusterSecurityGroupIngress" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" False) (C1 (MetaCons "RevokeClusterSecurityGroupIngressResponse'" PrefixI True) (S1 (MetaSel (Just "_rcsgirsClusterSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClusterSecurityGroup)) :*: S1 (MetaSel (Just "_rcsgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses