Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- resetCacheParameterGroup :: Text -> ResetCacheParameterGroup
- data ResetCacheParameterGroup
- rcpgResetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool)
- rcpgParameterNameValues :: Lens' ResetCacheParameterGroup [ParameterNameValue]
- rcpgCacheParameterGroupName :: Lens' ResetCacheParameterGroup Text
- cacheParameterGroupNameMessage :: CacheParameterGroupNameMessage
- data CacheParameterGroupNameMessage
- cpgnmCacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text)
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
- Iftrue
, all parameters in the cache parameter group are reset to their default values. Iffalse
, only the parameters listed byParameterNameValues
are reset to their default values. Valid values:true
|false
rcpgParameterNameValues
- An array of parameter names to reset to their default values. IfResetAllParameters
istrue
, do not useParameterNameValues
. IfResetAllParameters
isfalse
, 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
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:
cpgnmCacheParameterGroupName
- The name of the cache parameter group.
data CacheParameterGroupNameMessage Source #
Represents the output of one of the following operations:
ModifyCacheParameterGroup
ResetCacheParameterGroup
See: cacheParameterGroupNameMessage
smart constructor.
Instances
Response Lenses
cpgnmCacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text) Source #
The name of the cache parameter group.