Copyright | (c) 2013-2015 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 |
Sets one or more parameters of the specified parameter group to their default values and sets the source values of the parameters to "engine-default". To reset the entire parameter group specify the ResetAllParameters parameter. For parameter changes to take effect you must reboot any associated clusters.
See: AWS API Reference for ResetClusterParameterGroup.
- resetClusterParameterGroup :: Text -> ResetClusterParameterGroup
- data ResetClusterParameterGroup
- rcpgResetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool)
- rcpgParameters :: Lens' ResetClusterParameterGroup [Parameter]
- rcpgParameterGroupName :: Lens' ResetClusterParameterGroup Text
- clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
- data ClusterParameterGroupNameMessage
- cpgnmParameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
- cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
Creating a Request
resetClusterParameterGroup Source
Creates a value of ResetClusterParameterGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResetClusterParameterGroup Source
See: resetClusterParameterGroup
smart constructor.
Request Lenses
rcpgResetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool) Source
If true
, all parameters in the specified parameter group will be reset
to their default values.
Default: true
rcpgParameters :: Lens' ResetClusterParameterGroup [Parameter] Source
An array of names of parameters to be reset. If ResetAllParameters option is not used, then at least one parameter name must be supplied.
Constraints: A maximum of 20 parameters can be reset in a single request.
rcpgParameterGroupName :: Lens' ResetClusterParameterGroup Text Source
The name of the cluster parameter group to be reset.
Destructuring the Response
clusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage Source
Creates a value of ClusterParameterGroupNameMessage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ClusterParameterGroupNameMessage Source
Contains the output from the ModifyClusterParameterGroup and ResetClusterParameterGroup actions and indicate the parameter group involved and the status of the operation on the parameter group.
See: clusterParameterGroupNameMessage
smart constructor.
Response Lenses
cpgnmParameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text) Source
The status of the parameter group. For example, if you made a change to a parameter group name-value pair, then the change could be pending a reboot of an associated cluster.
cpgnmParameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text) Source
The name of the cluster parameter group.