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

Amazonka.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.

Synopsis

Creating a Request

data ResetDBParameterGroup Source #

See: newResetDBParameterGroup smart constructor.

Constructors

ResetDBParameterGroup' 

Fields

  • resetAllParameters :: Maybe Bool

    A value that indicates whether to reset all parameters in the DB parameter group to default values. By default, all parameters in the DB parameter group are reset to default values.

  • parameters :: Maybe [Parameter]

    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

  • dbParameterGroupName :: Text

    The name of the DB parameter group.

    Constraints:

    • Must match the name of an existing DBParameterGroup.

Instances

Instances details
Eq ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

Read ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

Show ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

Generic ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

Associated Types

type Rep ResetDBParameterGroup :: Type -> Type #

NFData ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

Methods

rnf :: ResetDBParameterGroup -> () #

Hashable ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

AWSRequest ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

Associated Types

type AWSResponse ResetDBParameterGroup #

ToHeaders ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

ToPath ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

ToQuery ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

type Rep ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

type Rep ResetDBParameterGroup = D1 ('MetaData "ResetDBParameterGroup" "Amazonka.RDS.ResetDBParameterGroup" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ResetDBParameterGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resetAllParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Parameter])) :*: S1 ('MetaSel ('Just "dbParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ResetDBParameterGroup Source # 
Instance details

Defined in Amazonka.RDS.ResetDBParameterGroup

newResetDBParameterGroup Source #

Create a value of ResetDBParameterGroup 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:ResetDBParameterGroup', resetDBParameterGroup_resetAllParameters - A value that indicates whether to reset all parameters in the DB parameter group to default values. By default, all parameters in the DB parameter group are reset to default values.

$sel:parameters:ResetDBParameterGroup', resetDBParameterGroup_parameters - 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

$sel:dbParameterGroupName:ResetDBParameterGroup', resetDBParameterGroup_dbParameterGroupName - The name of the DB parameter group.

Constraints:

  • Must match the name of an existing DBParameterGroup.

Request Lenses

resetDBParameterGroup_resetAllParameters :: Lens' ResetDBParameterGroup (Maybe Bool) Source #

A value that indicates whether to reset all parameters in the DB parameter group to default values. By default, all parameters in the DB parameter group are reset to default values.

resetDBParameterGroup_parameters :: Lens' ResetDBParameterGroup (Maybe [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

resetDBParameterGroup_dbParameterGroupName :: Lens' ResetDBParameterGroup Text Source #

The name of the DB parameter group.

Constraints:

  • Must match the name of an existing DBParameterGroup.

Destructuring the Response

data DBParameterGroupNameMessage Source #

Contains the result of a successful invocation of the ModifyDBParameterGroup or ResetDBParameterGroup action.

See: newDBParameterGroupNameMessage smart constructor.

Constructors

DBParameterGroupNameMessage' 

Fields

Instances

Instances details
Eq DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

Read DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

Show DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

Generic DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

Associated Types

type Rep DBParameterGroupNameMessage :: Type -> Type #

NFData DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

Hashable DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

FromXML DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

type Rep DBParameterGroupNameMessage Source # 
Instance details

Defined in Amazonka.RDS.Types.DBParameterGroupNameMessage

type Rep DBParameterGroupNameMessage = D1 ('MetaData "DBParameterGroupNameMessage" "Amazonka.RDS.Types.DBParameterGroupNameMessage" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "DBParameterGroupNameMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbParameterGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDBParameterGroupNameMessage :: DBParameterGroupNameMessage Source #

Create a value of DBParameterGroupNameMessage 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:dbParameterGroupName:DBParameterGroupNameMessage', dbParameterGroupNameMessage_dbParameterGroupName - The name of the DB parameter group.

Response Lenses