amazonka-elasticache-1.5.0: Amazon ElastiCache SDK.

Copyright(c) 2013-2017 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.ElastiCache.AuthorizeCacheSecurityGroupIngress

Contents

Description

Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism.

Synopsis

Creating a Request

authorizeCacheSecurityGroupIngress Source #

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

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

  • acsgiCacheSecurityGroupName - The cache security group that allows network ingress.
  • acsgiEC2SecurityGroupName - The Amazon EC2 security group to be authorized for ingress to the cache security group.
  • acsgiEC2SecurityGroupOwnerId - The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.

data AuthorizeCacheSecurityGroupIngress Source #

Represents the input of an AuthorizeCacheSecurityGroupIngress operation.

See: authorizeCacheSecurityGroupIngress smart constructor.

Instances

Eq AuthorizeCacheSecurityGroupIngress Source # 
Data AuthorizeCacheSecurityGroupIngress Source # 

Methods

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

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

toConstr :: AuthorizeCacheSecurityGroupIngress -> Constr #

dataTypeOf :: AuthorizeCacheSecurityGroupIngress -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AuthorizeCacheSecurityGroupIngress Source # 
Show AuthorizeCacheSecurityGroupIngress Source # 
Generic AuthorizeCacheSecurityGroupIngress Source # 
Hashable AuthorizeCacheSecurityGroupIngress Source # 
NFData AuthorizeCacheSecurityGroupIngress Source # 
AWSRequest AuthorizeCacheSecurityGroupIngress Source # 
ToQuery AuthorizeCacheSecurityGroupIngress Source # 
ToPath AuthorizeCacheSecurityGroupIngress Source # 
ToHeaders AuthorizeCacheSecurityGroupIngress Source # 
type Rep AuthorizeCacheSecurityGroupIngress Source # 
type Rep AuthorizeCacheSecurityGroupIngress = D1 (MetaData "AuthorizeCacheSecurityGroupIngress" "Network.AWS.ElastiCache.AuthorizeCacheSecurityGroupIngress" "amazonka-elasticache-1.5.0-3KxmcjA9oxuJn4AiPGdjQZ" False) (C1 (MetaCons "AuthorizeCacheSecurityGroupIngress'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_acsgiCacheSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_acsgiEC2SecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_acsgiEC2SecurityGroupOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs AuthorizeCacheSecurityGroupIngress Source # 

Request Lenses

acsgiCacheSecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #

The cache security group that allows network ingress.

acsgiEC2SecurityGroupName :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #

The Amazon EC2 security group to be authorized for ingress to the cache security group.

acsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeCacheSecurityGroupIngress Text Source #

The AWS account number of the Amazon EC2 security group owner. Note that this is not the same thing as an AWS access key ID - you must provide a valid AWS account number for this parameter.

Destructuring the Response

authorizeCacheSecurityGroupIngressResponse Source #

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

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

data AuthorizeCacheSecurityGroupIngressResponse Source #

Instances

Eq AuthorizeCacheSecurityGroupIngressResponse Source # 
Data AuthorizeCacheSecurityGroupIngressResponse Source # 

Methods

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

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

toConstr :: AuthorizeCacheSecurityGroupIngressResponse -> Constr #

dataTypeOf :: AuthorizeCacheSecurityGroupIngressResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AuthorizeCacheSecurityGroupIngressResponse Source # 
Show AuthorizeCacheSecurityGroupIngressResponse Source # 
Generic AuthorizeCacheSecurityGroupIngressResponse Source # 
NFData AuthorizeCacheSecurityGroupIngressResponse Source # 
type Rep AuthorizeCacheSecurityGroupIngressResponse Source # 
type Rep AuthorizeCacheSecurityGroupIngressResponse = D1 (MetaData "AuthorizeCacheSecurityGroupIngressResponse" "Network.AWS.ElastiCache.AuthorizeCacheSecurityGroupIngress" "amazonka-elasticache-1.5.0-3KxmcjA9oxuJn4AiPGdjQZ" False) (C1 (MetaCons "AuthorizeCacheSecurityGroupIngressResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_acsgirsCacheSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheSecurityGroup))) (S1 (MetaSel (Just Symbol "_acsgirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses