amazonka-elasticache-1.6.0: 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.CreateCacheParameterGroup

Contents

Description

Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster or replication group using the CacheParameterGroup.

A newly created CacheParameterGroup is an exact duplicate of the default parameter group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can change the values of specific parameters. For more information, see:

Synopsis

Creating a Request

createCacheParameterGroup Source #

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

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

data CreateCacheParameterGroup Source #

Represents the input of a CreateCacheParameterGroup operation.

See: createCacheParameterGroup smart constructor.

Instances

Eq CreateCacheParameterGroup Source # 
Data CreateCacheParameterGroup Source # 

Methods

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

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

toConstr :: CreateCacheParameterGroup -> Constr #

dataTypeOf :: CreateCacheParameterGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCacheParameterGroup Source # 
Show CreateCacheParameterGroup Source # 
Generic CreateCacheParameterGroup Source # 
Hashable CreateCacheParameterGroup Source # 
NFData CreateCacheParameterGroup Source # 
AWSRequest CreateCacheParameterGroup Source # 
ToHeaders CreateCacheParameterGroup Source # 
ToPath CreateCacheParameterGroup Source # 
ToQuery CreateCacheParameterGroup Source # 
type Rep CreateCacheParameterGroup Source # 
type Rep CreateCacheParameterGroup = D1 * (MetaData "CreateCacheParameterGroup" "Network.AWS.ElastiCache.CreateCacheParameterGroup" "amazonka-elasticache-1.6.0-4uuZWL7zhxxEXFvtkJRku9" False) (C1 * (MetaCons "CreateCacheParameterGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccpgCacheParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccpgCacheParameterGroupFamily") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ccpgDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateCacheParameterGroup Source # 

Request Lenses

ccpgCacheParameterGroupName :: Lens' CreateCacheParameterGroup Text Source #

A user-specified name for the cache parameter group.

ccpgCacheParameterGroupFamily :: Lens' CreateCacheParameterGroup Text Source #

The name of the cache parameter group family that the cache parameter group can be used with. Valid values are: memcached1.4 | redis2.6 | redis2.8 | redis3.2

ccpgDescription :: Lens' CreateCacheParameterGroup Text Source #

A user-specified description for the cache parameter group.

Destructuring the Response

createCacheParameterGroupResponse Source #

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

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

data CreateCacheParameterGroupResponse Source #

See: createCacheParameterGroupResponse smart constructor.

Instances

Eq CreateCacheParameterGroupResponse Source # 
Data CreateCacheParameterGroupResponse Source # 

Methods

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

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

toConstr :: CreateCacheParameterGroupResponse -> Constr #

dataTypeOf :: CreateCacheParameterGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateCacheParameterGroupResponse Source # 
Show CreateCacheParameterGroupResponse Source # 
Generic CreateCacheParameterGroupResponse Source # 
NFData CreateCacheParameterGroupResponse Source # 
type Rep CreateCacheParameterGroupResponse Source # 
type Rep CreateCacheParameterGroupResponse = D1 * (MetaData "CreateCacheParameterGroupResponse" "Network.AWS.ElastiCache.CreateCacheParameterGroup" "amazonka-elasticache-1.6.0-4uuZWL7zhxxEXFvtkJRku9" False) (C1 * (MetaCons "CreateCacheParameterGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccpgrsCacheParameterGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CacheParameterGroup))) (S1 * (MetaSel (Just Symbol "_ccpgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses