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 #

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 #

Represents the input of a CreateCacheParameterGroup operation.

See: createCacheParameterGroup smart constructor.

Instances

Eq CreateCacheParameterGroup # 
Data CreateCacheParameterGroup # 

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 # 
Show CreateCacheParameterGroup # 
Generic CreateCacheParameterGroup # 
Hashable CreateCacheParameterGroup # 
NFData CreateCacheParameterGroup # 
AWSRequest CreateCacheParameterGroup # 
ToHeaders CreateCacheParameterGroup # 
ToPath CreateCacheParameterGroup # 
ToQuery CreateCacheParameterGroup # 
type Rep CreateCacheParameterGroup # 
type Rep CreateCacheParameterGroup = D1 * (MetaData "CreateCacheParameterGroup" "Network.AWS.ElastiCache.CreateCacheParameterGroup" "amazonka-elasticache-1.6.0-C0yVJ8PCcEi8P9OaSotBTC" 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 # 

Request Lenses

ccpgCacheParameterGroupName :: Lens' CreateCacheParameterGroup Text #

A user-specified name for the cache parameter group.

ccpgCacheParameterGroupFamily :: Lens' CreateCacheParameterGroup Text #

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 #

A user-specified description for the cache parameter group.

Destructuring the Response

createCacheParameterGroupResponse #

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 #

See: createCacheParameterGroupResponse smart constructor.

Instances

Eq CreateCacheParameterGroupResponse # 
Data CreateCacheParameterGroupResponse # 

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 # 
Show CreateCacheParameterGroupResponse # 
Generic CreateCacheParameterGroupResponse # 
NFData CreateCacheParameterGroupResponse # 
type Rep CreateCacheParameterGroupResponse # 
type Rep CreateCacheParameterGroupResponse = D1 * (MetaData "CreateCacheParameterGroupResponse" "Network.AWS.ElastiCache.CreateCacheParameterGroup" "amazonka-elasticache-1.6.0-C0yVJ8PCcEi8P9OaSotBTC" 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