| 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 |
Network.AWS.RDS.ResetDBParameterGroup
Description
Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod . To reset the entire DB parameter group, specify the DBParameterGroup name 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.
- resetDBParameterGroup :: Text -> ResetDBParameterGroup
- data ResetDBParameterGroup
- rdpgResetAllParameters :: Lens' ResetDBParameterGroup (Maybe Bool)
- rdpgParameters :: Lens' ResetDBParameterGroup [Parameter]
- rdpgDBParameterGroupName :: Lens' ResetDBParameterGroup Text
- dbParameterGroupNameMessage :: DBParameterGroupNameMessage
- data DBParameterGroupNameMessage
- dpgnmDBParameterGroupName :: Lens' DBParameterGroupNameMessage (Maybe Text)
Creating a Request
resetDBParameterGroup Source #
Arguments
| :: Text | |
| -> ResetDBParameterGroup |
Creates a value of ResetDBParameterGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdpgResetAllParameters- Specifies whether (true) or not (false) to reset all parameters in the DB parameter group to default values. Default:truerdpgParameters- To reset the entire DB parameter group, specify theDBParameterGroupname andResetAllParametersparameters. To reset specific parameters, provide a list of the following:ParameterNameandApplyMethod. A maximum of 20 parameters can be modified in a single request. MySQL Valid Values (for Apply method):immediate|pending-rebootYou can use the immediate value with dynamic parameters only. You can use thepending-rebootvalue for both dynamic and static parameters, and changes are applied when DB instance reboots. MariaDB Valid Values (for Apply method):immediate|pending-rebootYou can use the immediate value with dynamic parameters only. You can use thepending-rebootvalue for both dynamic and static parameters, and changes are applied when DB instance reboots. Oracle Valid Values (for Apply method):pending-rebootrdpgDBParameterGroupName- The name of the DB parameter group. Constraints: * Must match the name of an existing DBParameterGroup.
data ResetDBParameterGroup Source #
See: resetDBParameterGroup smart constructor.
Instances
Request Lenses
rdpgResetAllParameters :: Lens' ResetDBParameterGroup (Maybe Bool) Source #
Specifies whether (true ) or not (false ) to reset all parameters in the DB parameter group to default values. Default: true
rdpgParameters :: Lens' ResetDBParameterGroup [Parameter] Source #
To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod . A maximum of 20 parameters can be modified in a single request. MySQL Valid Values (for Apply method): immediate | pending-reboot You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB instance reboots. MariaDB Valid Values (for Apply method): immediate | pending-reboot You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when DB instance reboots. Oracle Valid Values (for Apply method): pending-reboot
rdpgDBParameterGroupName :: Lens' ResetDBParameterGroup Text Source #
The name of the DB parameter group. Constraints: * Must match the name of an existing DBParameterGroup.
Destructuring the Response
dbParameterGroupNameMessage :: DBParameterGroupNameMessage Source #
Creates a value of DBParameterGroupNameMessage with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpgnmDBParameterGroupName- Provides the name of the DB parameter group.
data DBParameterGroupNameMessage Source #
Contains the result of a successful invocation of the ModifyDBParameterGroup or ResetDBParameterGroup action.
See: dbParameterGroupNameMessage smart constructor.
Instances
Response Lenses
dpgnmDBParameterGroupName :: Lens' DBParameterGroupNameMessage (Maybe Text) Source #
Provides the name of the DB parameter group.