| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElastiCache.ResetCacheParameterGroup
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
- data ResetCacheParameterGroup = ResetCacheParameterGroup' {}
- newResetCacheParameterGroup :: Text -> ResetCacheParameterGroup
- resetCacheParameterGroup_parameterNameValues :: Lens' ResetCacheParameterGroup (Maybe [ParameterNameValue])
- resetCacheParameterGroup_resetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool)
- 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.
Constructors
| ResetCacheParameterGroup' | |
Fields
| |
Instances
newResetCacheParameterGroup Source #
Arguments
| :: Text | |
| -> ResetCacheParameterGroup |
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: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: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
ResetCacheParameterGroup, resetCacheParameterGroup_cacheParameterGroupName - The name of the cache parameter group to reset.
Request Lenses
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_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_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.
Constructors
| CacheParameterGroupNameMessage' | |
Fields
| |
Instances
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.