Copyright | (c) 2013-2021 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 |
Modifies the parameters of a DB cluster parameter group to the default
value. To reset specific parameters submit a list of the following:
ParameterName
and ApplyMethod
. To reset the entire DB cluster
parameter group, specify the DBClusterParameterGroupName
and
ResetAllParameters
parameters.
When resetting the entire group, dynamic parameters are updated
immediately and static parameters are set to pending-reboot
to take
effect on the next DB instance restart or RebootDBInstance request. You
must call RebootDBInstance for every DB instance in your DB cluster that
you want the updated static parameter to apply to.
Synopsis
- data ResetDBClusterParameterGroup = ResetDBClusterParameterGroup' {}
- newResetDBClusterParameterGroup :: Text -> ResetDBClusterParameterGroup
- resetDBClusterParameterGroup_resetAllParameters :: Lens' ResetDBClusterParameterGroup (Maybe Bool)
- resetDBClusterParameterGroup_parameters :: Lens' ResetDBClusterParameterGroup (Maybe [Parameter])
- resetDBClusterParameterGroup_dbClusterParameterGroupName :: Lens' ResetDBClusterParameterGroup Text
- data DBClusterParameterGroupNameMessage = DBClusterParameterGroupNameMessage' {}
- newDBClusterParameterGroupNameMessage :: DBClusterParameterGroupNameMessage
- dbClusterParameterGroupNameMessage_dbClusterParameterGroupName :: Lens' DBClusterParameterGroupNameMessage (Maybe Text)
Creating a Request
data ResetDBClusterParameterGroup Source #
See: newResetDBClusterParameterGroup
smart constructor.
ResetDBClusterParameterGroup' | |
|
Instances
newResetDBClusterParameterGroup Source #
:: Text |
|
-> ResetDBClusterParameterGroup |
Create a value of ResetDBClusterParameterGroup
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:resetAllParameters:ResetDBClusterParameterGroup'
, resetDBClusterParameterGroup_resetAllParameters
- A value that is set to true
to reset all parameters in the DB cluster
parameter group to their default values, and false
otherwise. You
can't use this parameter if there is a list of parameter names
specified for the Parameters
parameter.
$sel:parameters:ResetDBClusterParameterGroup'
, resetDBClusterParameterGroup_parameters
- A list of parameter names in the DB cluster parameter group to reset to
the default values. You can't use this parameter if the
ResetAllParameters
parameter is set to true
.
$sel:dbClusterParameterGroupName:ResetDBClusterParameterGroup'
, resetDBClusterParameterGroup_dbClusterParameterGroupName
- The name of the DB cluster parameter group to reset.
Request Lenses
resetDBClusterParameterGroup_resetAllParameters :: Lens' ResetDBClusterParameterGroup (Maybe Bool) Source #
A value that is set to true
to reset all parameters in the DB cluster
parameter group to their default values, and false
otherwise. You
can't use this parameter if there is a list of parameter names
specified for the Parameters
parameter.
resetDBClusterParameterGroup_parameters :: Lens' ResetDBClusterParameterGroup (Maybe [Parameter]) Source #
A list of parameter names in the DB cluster parameter group to reset to
the default values. You can't use this parameter if the
ResetAllParameters
parameter is set to true
.
resetDBClusterParameterGroup_dbClusterParameterGroupName :: Lens' ResetDBClusterParameterGroup Text Source #
The name of the DB cluster parameter group to reset.
Destructuring the Response
data DBClusterParameterGroupNameMessage Source #
See: newDBClusterParameterGroupNameMessage
smart constructor.
DBClusterParameterGroupNameMessage' | |
|
Instances
newDBClusterParameterGroupNameMessage :: DBClusterParameterGroupNameMessage Source #
Create a value of DBClusterParameterGroupNameMessage
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:dbClusterParameterGroupName:DBClusterParameterGroupNameMessage'
, dbClusterParameterGroupNameMessage_dbClusterParameterGroupName
- The name of the DB cluster parameter group.
Constraints:
- Must be 1 to 255 letters or numbers.
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
Response Lenses
dbClusterParameterGroupNameMessage_dbClusterParameterGroupName :: Lens' DBClusterParameterGroupNameMessage (Maybe Text) Source #
The name of the DB cluster parameter group.
Constraints:
- Must be 1 to 255 letters or numbers.
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.