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 |
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.
- 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:
rcpgResetAllParameters
- Iftrue
, all parameters in the specified parameter group will be reset to their default values. Default:true
rcpgParameters
- 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
- The name of the cluster parameter group to be reset.
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:
cpgnmParameterGroupStatus
- 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
- The name of the cluster parameter group.
data ClusterParameterGroupNameMessage Source #
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.