amazonka-rds-1.2.0: 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.ResetDBClusterParameterGroup

Contents

Description

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.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

See: AWS API Reference for ResetDBClusterParameterGroup.

Synopsis

Creating a Request

resetDBClusterParameterGroup Source

Creates a value of ResetDBClusterParameterGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rdcpgResetAllParameters :: 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 cannot use this parameter if there is a list of parameter names specified for the Parameters parameter.

rdcpgParameters :: Lens' ResetDBClusterParameterGroup [Parameter] Source

A list of parameter names in the DB cluster parameter group to reset to the default values. You cannot use this parameter if the ResetAllParameters parameter is set to true.

rdcpgDBClusterParameterGroupName :: Lens' ResetDBClusterParameterGroup Text Source

The name of the DB cluster parameter group to reset.

Destructuring the Response

dbClusterParameterGroupNameMessage :: DBClusterParameterGroupNameMessage Source

Creates a value of DBClusterParameterGroupNameMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dcpgnmDBClusterParameterGroupName :: Lens' DBClusterParameterGroupNameMessage (Maybe Text) Source

The name of the DB cluster 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

This value is stored as a lowercase string.