amazonka-rds-1.2.0.1: Amazon Relational Database Service SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.RDS.ResetDBParameterGroup

Contents

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.

See: AWS API Reference for ResetDBParameterGroup.

Synopsis

Creating a Request

resetDBParameterGroup Source

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:

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.

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:

Response Lenses

dpgnmDBParameterGroupName :: Lens' DBParameterGroupNameMessage (Maybe Text) Source

Provides the name of the DB parameter group.