Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data ResetCacheParameterGroup = ResetCacheParameterGroup' {}
- newResetCacheParameterGroup :: Text -> ResetCacheParameterGroup
- resetCacheParameterGroup_resetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool)
- resetCacheParameterGroup_parameterNameValues :: Lens' ResetCacheParameterGroup (Maybe [ParameterNameValue])
- resetCacheParameterGroup_cacheParameterGroupName :: Lens' ResetCacheParameterGroup Text
- data CacheParameterGroupNameMessage = CacheParameterGroupNameMessage' {}
- newCacheParameterGroupNameMessage :: CacheParameterGroupNameMessage
- cacheParameterGroupNameMessage_cacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text)
Creating a Request
data ResetCacheParameterGroup Source #
Represents the input of a ResetCacheParameterGroup
operation.
See: newResetCacheParameterGroup
smart constructor.
ResetCacheParameterGroup' | |
|
Instances
newResetCacheParameterGroup Source #
Create a value of ResetCacheParameterGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resetAllParameters:ResetCacheParameterGroup'
, resetCacheParameterGroup_resetAllParameters
- 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
$sel:parameterNameValues:ResetCacheParameterGroup'
, resetCacheParameterGroup_parameterNameValues
- 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.
$sel:cacheParameterGroupName:ResetCacheParameterGroup'
, resetCacheParameterGroup_cacheParameterGroupName
- The name of the cache parameter group to reset.
Request Lenses
resetCacheParameterGroup_resetAllParameters :: 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
resetCacheParameterGroup_parameterNameValues :: Lens' ResetCacheParameterGroup (Maybe [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.
resetCacheParameterGroup_cacheParameterGroupName :: Lens' ResetCacheParameterGroup Text Source #
The name of the cache parameter group to reset.
Destructuring the Response
data CacheParameterGroupNameMessage Source #
Represents the output of one of the following operations:
ModifyCacheParameterGroup
ResetCacheParameterGroup
See: newCacheParameterGroupNameMessage
smart constructor.
CacheParameterGroupNameMessage' | |
|
Instances
Eq CacheParameterGroupNameMessage Source # | |
Read CacheParameterGroupNameMessage Source # | |
Show CacheParameterGroupNameMessage Source # | |
Generic CacheParameterGroupNameMessage Source # | |
NFData CacheParameterGroupNameMessage Source # | |
Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage rnf :: CacheParameterGroupNameMessage -> () # | |
Hashable CacheParameterGroupNameMessage Source # | |
FromXML CacheParameterGroupNameMessage Source # | |
type Rep CacheParameterGroupNameMessage Source # | |
Defined in Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage type Rep CacheParameterGroupNameMessage = D1 ('MetaData "CacheParameterGroupNameMessage" "Amazonka.ElastiCache.Types.CacheParameterGroupNameMessage" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "CacheParameterGroupNameMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newCacheParameterGroupNameMessage :: CacheParameterGroupNameMessage Source #
Create a value of CacheParameterGroupNameMessage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cacheParameterGroupName:CacheParameterGroupNameMessage'
, cacheParameterGroupNameMessage_cacheParameterGroupName
- The name of the cache parameter group.
Response Lenses
cacheParameterGroupNameMessage_cacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text) Source #
The name of the cache parameter group.