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.Redshift.ResetClusterParameterGroup
Description
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.
Synopsis
- data ResetClusterParameterGroup = ResetClusterParameterGroup' {}
- newResetClusterParameterGroup :: Text -> ResetClusterParameterGroup
- resetClusterParameterGroup_parameters :: Lens' ResetClusterParameterGroup (Maybe [Parameter])
- resetClusterParameterGroup_resetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool)
- resetClusterParameterGroup_parameterGroupName :: Lens' ResetClusterParameterGroup Text
- data ClusterParameterGroupNameMessage = ClusterParameterGroupNameMessage' {}
- newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage
- clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
- clusterParameterGroupNameMessage_parameterGroupStatus :: Lens' ClusterParameterGroupNameMessage (Maybe Text)
Creating a Request
data ResetClusterParameterGroup Source #
See: newResetClusterParameterGroup
smart constructor.
Constructors
ResetClusterParameterGroup' | |
Fields
|
Instances
newResetClusterParameterGroup Source #
Arguments
:: Text | |
-> ResetClusterParameterGroup |
Create a value of ResetClusterParameterGroup
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:
ResetClusterParameterGroup
, resetClusterParameterGroup_parameters
- 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.
$sel:resetAllParameters:ResetClusterParameterGroup'
, resetClusterParameterGroup_resetAllParameters
- If true
, all parameters in the specified parameter group will be reset
to their default values.
Default: true
ResetClusterParameterGroup
, resetClusterParameterGroup_parameterGroupName
- The name of the cluster parameter group to be reset.
Request Lenses
resetClusterParameterGroup_parameters :: Lens' ResetClusterParameterGroup (Maybe [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.
resetClusterParameterGroup_resetAllParameters :: Lens' ResetClusterParameterGroup (Maybe Bool) Source #
If true
, all parameters in the specified parameter group will be reset
to their default values.
Default: true
resetClusterParameterGroup_parameterGroupName :: Lens' ResetClusterParameterGroup Text Source #
The name of the cluster parameter group to be reset.
Destructuring the Response
data ClusterParameterGroupNameMessage Source #
See: newClusterParameterGroupNameMessage
smart constructor.
Constructors
ClusterParameterGroupNameMessage' | |
Fields
|
Instances
newClusterParameterGroupNameMessage :: ClusterParameterGroupNameMessage Source #
Create a value of ClusterParameterGroupNameMessage
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:parameterGroupName:ClusterParameterGroupNameMessage'
, clusterParameterGroupNameMessage_parameterGroupName
- The name of the cluster parameter group.
$sel:parameterGroupStatus:ClusterParameterGroupNameMessage'
, clusterParameterGroupNameMessage_parameterGroupStatus
- 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.
Response Lenses
clusterParameterGroupNameMessage_parameterGroupName :: Lens' ClusterParameterGroupNameMessage (Maybe Text) Source #
The name of the cluster parameter group.
clusterParameterGroupNameMessage_parameterGroupStatus :: 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.