| Copyright | (c) 2013-2016 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 |
Network.AWS.RDS.ResetDBParameterGroup
Description
Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters submit 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:
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 #
An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. 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 be 1 to 255 alphanumeric characters
- First character must be a letter
- Cannot end with a hyphen or contain two consecutive hyphens
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:
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.