amazonka-elasticache-1.4.1: Amazon ElastiCache 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.ElastiCache.CreateCacheSubnetGroup

Contents

Description

The CreateCacheSubnetGroup action creates a new cache subnet group.

Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).

Synopsis

Creating a Request

createCacheSubnetGroup Source #

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

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

data CreateCacheSubnetGroup Source #

Represents the input of a CreateCacheSubnetGroup action.

See: createCacheSubnetGroup smart constructor.

Instances

Eq CreateCacheSubnetGroup Source # 
Data CreateCacheSubnetGroup Source # 

Methods

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

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

toConstr :: CreateCacheSubnetGroup -> Constr #

dataTypeOf :: CreateCacheSubnetGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCacheSubnetGroup Source # 
Show CreateCacheSubnetGroup Source # 
Generic CreateCacheSubnetGroup Source # 
Hashable CreateCacheSubnetGroup Source # 
NFData CreateCacheSubnetGroup Source # 

Methods

rnf :: CreateCacheSubnetGroup -> () #

AWSRequest CreateCacheSubnetGroup Source # 
ToQuery CreateCacheSubnetGroup Source # 
ToPath CreateCacheSubnetGroup Source # 
ToHeaders CreateCacheSubnetGroup Source # 
type Rep CreateCacheSubnetGroup Source # 
type Rep CreateCacheSubnetGroup = D1 (MetaData "CreateCacheSubnetGroup" "Network.AWS.ElastiCache.CreateCacheSubnetGroup" "amazonka-elasticache-1.4.1-6dn1eG7a4T7LgNVR21qK1h" False) (C1 (MetaCons "CreateCacheSubnetGroup'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccsgCacheSubnetGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ccsgCacheSubnetGroupDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ccsgSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs CreateCacheSubnetGroup Source # 

Request Lenses

ccsgCacheSubnetGroupName :: Lens' CreateCacheSubnetGroup Text Source #

A name for the cache subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

ccsgCacheSubnetGroupDescription :: Lens' CreateCacheSubnetGroup Text Source #

A description for the cache subnet group.

ccsgSubnetIds :: Lens' CreateCacheSubnetGroup [Text] Source #

A list of VPC subnet IDs for the cache subnet group.

Destructuring the Response

createCacheSubnetGroupResponse Source #

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

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

data CreateCacheSubnetGroupResponse Source #

See: createCacheSubnetGroupResponse smart constructor.

Instances

Eq CreateCacheSubnetGroupResponse Source # 
Data CreateCacheSubnetGroupResponse Source # 

Methods

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

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

toConstr :: CreateCacheSubnetGroupResponse -> Constr #

dataTypeOf :: CreateCacheSubnetGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCacheSubnetGroupResponse Source # 
Show CreateCacheSubnetGroupResponse Source # 
Generic CreateCacheSubnetGroupResponse Source # 
NFData CreateCacheSubnetGroupResponse Source # 
type Rep CreateCacheSubnetGroupResponse Source # 
type Rep CreateCacheSubnetGroupResponse = D1 (MetaData "CreateCacheSubnetGroupResponse" "Network.AWS.ElastiCache.CreateCacheSubnetGroup" "amazonka-elasticache-1.4.1-6dn1eG7a4T7LgNVR21qK1h" False) (C1 (MetaCons "CreateCacheSubnetGroupResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crsCacheSubnetGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CacheSubnetGroup))) (S1 (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses