amazonka-elasticache-1.6.1: Amazon ElastiCache 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.ElastiCache.CreateCacheSecurityGroup

Contents

Description

Creates a new cache security group. Use a cache security group to control access to one or more clusters.

Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .

Synopsis

Creating a Request

createCacheSecurityGroup Source #

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

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

  • ccsgCacheSecurityGroupName - A name for the cache security group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word Default. Example: mysecuritygroup
  • ccsgDescription - A description for the cache security group.

data CreateCacheSecurityGroup Source #

Represents the input of a CreateCacheSecurityGroup operation.

See: createCacheSecurityGroup smart constructor.

Instances
Eq CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Data CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Methods

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

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

toConstr :: CreateCacheSecurityGroup -> Constr #

dataTypeOf :: CreateCacheSecurityGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Show CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Generic CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Associated Types

type Rep CreateCacheSecurityGroup :: Type -> Type #

Hashable CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

AWSRequest CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Associated Types

type Rs CreateCacheSecurityGroup :: Type #

ToHeaders CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

ToPath CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

ToQuery CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

NFData CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroup = D1 (MetaData "CreateCacheSecurityGroup" "Network.AWS.ElastiCache.CreateCacheSecurityGroup" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "CreateCacheSecurityGroup'" PrefixI True) (S1 (MetaSel (Just "_ccsgCacheSecurityGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccsgDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs CreateCacheSecurityGroup Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Request Lenses

ccsgCacheSecurityGroupName :: Lens' CreateCacheSecurityGroup Text Source #

A name for the cache security group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word Default. Example: mysecuritygroup

ccsgDescription :: Lens' CreateCacheSecurityGroup Text Source #

A description for the cache security group.

Destructuring the Response

createCacheSecurityGroupResponse Source #

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

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

data CreateCacheSecurityGroupResponse Source #

See: createCacheSecurityGroupResponse smart constructor.

Instances
Eq CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Data CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Methods

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

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

toConstr :: CreateCacheSecurityGroupResponse -> Constr #

dataTypeOf :: CreateCacheSecurityGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Show CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Generic CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

Associated Types

type Rep CreateCacheSecurityGroupResponse :: Type -> Type #

NFData CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroupResponse Source # 
Instance details

Defined in Network.AWS.ElastiCache.CreateCacheSecurityGroup

type Rep CreateCacheSecurityGroupResponse = D1 (MetaData "CreateCacheSecurityGroupResponse" "Network.AWS.ElastiCache.CreateCacheSecurityGroup" "amazonka-elasticache-1.6.1-7qPjCRJV7Sp8jKm0QWBmxX" False) (C1 (MetaCons "CreateCacheSecurityGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_ccsgrsCacheSecurityGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheSecurityGroup)) :*: S1 (MetaSel (Just "_ccsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses