Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The ResetCacheParameterGroup action 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.
- resetCacheParameterGroup :: Text -> ResetCacheParameterGroup
- data ResetCacheParameterGroup
- rcpgResetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool)
- rcpgCacheParameterGroupName :: Lens' ResetCacheParameterGroup Text
- rcpgParameterNameValues :: Lens' ResetCacheParameterGroup [ParameterNameValue]
- 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:
data ResetCacheParameterGroup Source #
Represents the input of a ResetCacheParameterGroup action.
See: resetCacheParameterGroup
smart constructor.
Request Lenses
rcpgResetAllParameters :: Lens' ResetCacheParameterGroup (Maybe Bool) Source #
If true, all parameters in the cache parameter group will be reset to default values. If false, no such action occurs.
Valid values: true
| false
rcpgCacheParameterGroupName :: Lens' ResetCacheParameterGroup Text Source #
The name of the cache parameter group to reset.
rcpgParameterNameValues :: Lens' ResetCacheParameterGroup [ParameterNameValue] Source #
An array of parameter names to be reset. If you are not resetting the entire cache parameter group, you must specify at least one parameter name.
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 actions:
- ModifyCacheParameterGroup
- ResetCacheParameterGroup
See: cacheParameterGroupNameMessage
smart constructor.
Response Lenses
cpgnmCacheParameterGroupName :: Lens' CacheParameterGroupNameMessage (Maybe Text) Source #
The name of the cache parameter group.