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.ResetCacheParameterGroup

Contents

Description

Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.

Synopsis

Creating a Request

resetCacheParameterGroup Source #

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

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

  • rcpgResetAllParameters - If true , all parameters in the cache parameter group are reset to their default values. If false , only the parameters listed by ParameterNameValues are reset to their default values. Valid values: true | false
  • rcpgParameterNameValues - An array of parameter names to reset to their default values. If ResetAllParameters is true , do not use ParameterNameValues . If ResetAllParameters is false , you must specify the name of at least one parameter to reset.
  • rcpgCacheParameterGroupName - The name of the cache parameter group to reset.

data ResetCacheParameterGroup Source #

Represents the input of a ResetCacheParameterGroup operation.

See: resetCacheParameterGroup smart constructor.

Instances

Eq ResetCacheParameterGroup Source # 
Data ResetCacheParameterGroup Source # 

Methods

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

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

toConstr :: ResetCacheParameterGroup -> Constr #

dataTypeOf :: ResetCacheParameterGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetCacheParameterGroup Source # 
Show ResetCacheParameterGroup Source # 
Generic ResetCacheParameterGroup Source # 
Hashable ResetCacheParameterGroup Source # 
NFData ResetCacheParameterGroup Source # 
AWSRequest ResetCacheParameterGroup Source # 
ToHeaders ResetCacheParameterGroup Source # 
ToPath ResetCacheParameterGroup Source # 
ToQuery ResetCacheParameterGroup Source # 
type Rep ResetCacheParameterGroup Source # 
type Rep ResetCacheParameterGroup = D1 * (MetaData "ResetCacheParameterGroup" "Network.AWS.ElastiCache.ResetCacheParameterGroup" "amazonka-elasticache-1.6.0-4uuZWL7zhxxEXFvtkJRku9" False) (C1 * (MetaCons "ResetCacheParameterGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rcpgResetAllParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rcpgParameterNameValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ParameterNameValue]))) (S1 * (MetaSel (Just Symbol "_rcpgCacheParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ResetCacheParameterGroup Source # 

Request Lenses

rcpgResetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool) Source #

If true , all parameters in the cache parameter group are reset to their default values. If false , only the parameters listed by ParameterNameValues are reset to their default values. Valid values: true | false

rcpgParameterNameValues :: Lens' ResetCacheParameterGroup [ParameterNameValue] Source #

An array of parameter names to reset to their default values. If ResetAllParameters is true , do not use ParameterNameValues . If ResetAllParameters is false , you must specify the name of at least one parameter to reset.

rcpgCacheParameterGroupName :: Lens' ResetCacheParameterGroup Text Source #

The name of the cache parameter group to reset.

Destructuring the Response

cacheParameterGroupNameMessage :: CacheParameterGroupNameMessage Source #

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

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

data CacheParameterGroupNameMessage Source #

Represents the output of one of the following operations:

  • ModifyCacheParameterGroup
  • ResetCacheParameterGroup

See: cacheParameterGroupNameMessage smart constructor.

Instances

Eq CacheParameterGroupNameMessage Source # 
Data CacheParameterGroupNameMessage Source # 

Methods

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

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

toConstr :: CacheParameterGroupNameMessage -> Constr #

dataTypeOf :: CacheParameterGroupNameMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CacheParameterGroupNameMessage Source # 
Show CacheParameterGroupNameMessage Source # 
Generic CacheParameterGroupNameMessage Source # 
Hashable CacheParameterGroupNameMessage Source # 
NFData CacheParameterGroupNameMessage Source # 
FromXML CacheParameterGroupNameMessage Source # 
type Rep CacheParameterGroupNameMessage Source # 
type Rep CacheParameterGroupNameMessage = D1 * (MetaData "CacheParameterGroupNameMessage" "Network.AWS.ElastiCache.Types.Product" "amazonka-elasticache-1.6.0-4uuZWL7zhxxEXFvtkJRku9" True) (C1 * (MetaCons "CacheParameterGroupNameMessage'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cpgnmCacheParameterGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))

Response Lenses