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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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, 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

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:

  • rdpgResetAllParameters - Specifies whether (true ) or not (false ) to reset all parameters in the DB parameter group to default values. Default: true
  • rdpgParameters - 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 - The name of the DB parameter group. Constraints: * Must match the name of an existing DBParameterGroup.

data ResetDBParameterGroup Source #

See: resetDBParameterGroup smart constructor.

Instances
Eq ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Data ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResetDBParameterGroup -> c ResetDBParameterGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResetDBParameterGroup #

toConstr :: ResetDBParameterGroup -> Constr #

dataTypeOf :: ResetDBParameterGroup -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ResetDBParameterGroup) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResetDBParameterGroup) #

gmapT :: (forall b. Data b => b -> b) -> ResetDBParameterGroup -> ResetDBParameterGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResetDBParameterGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResetDBParameterGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResetDBParameterGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResetDBParameterGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResetDBParameterGroup -> m ResetDBParameterGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetDBParameterGroup -> m ResetDBParameterGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetDBParameterGroup -> m ResetDBParameterGroup #

Read ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Show ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Generic ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Associated Types

type Rep ResetDBParameterGroup :: Type -> Type #

Hashable ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

AWSRequest ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Associated Types

type Rs ResetDBParameterGroup :: Type #

ToHeaders ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

ToPath ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

ToQuery ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

NFData ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

Methods

rnf :: ResetDBParameterGroup -> () #

type Rep ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

type Rep ResetDBParameterGroup = D1 (MetaData "ResetDBParameterGroup" "Network.AWS.RDS.ResetDBParameterGroup" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "ResetDBParameterGroup'" PrefixI True) (S1 (MetaSel (Just "_rdpgResetAllParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_rdpgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Parameter])) :*: S1 (MetaSel (Just "_rdpgDBParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ResetDBParameterGroup Source # 
Instance details

Defined in Network.AWS.RDS.ResetDBParameterGroup

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:

data DBParameterGroupNameMessage Source #

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

See: dbParameterGroupNameMessage smart constructor.

Instances
Eq DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

Data DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DBParameterGroupNameMessage -> c DBParameterGroupNameMessage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DBParameterGroupNameMessage #

toConstr :: DBParameterGroupNameMessage -> Constr #

dataTypeOf :: DBParameterGroupNameMessage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DBParameterGroupNameMessage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DBParameterGroupNameMessage) #

gmapT :: (forall b. Data b => b -> b) -> DBParameterGroupNameMessage -> DBParameterGroupNameMessage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DBParameterGroupNameMessage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DBParameterGroupNameMessage -> r #

gmapQ :: (forall d. Data d => d -> u) -> DBParameterGroupNameMessage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DBParameterGroupNameMessage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DBParameterGroupNameMessage -> m DBParameterGroupNameMessage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DBParameterGroupNameMessage -> m DBParameterGroupNameMessage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DBParameterGroupNameMessage -> m DBParameterGroupNameMessage #

Read DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

Show DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

Generic DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

Associated Types

type Rep DBParameterGroupNameMessage :: Type -> Type #

Hashable DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

FromXML DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

NFData DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

type Rep DBParameterGroupNameMessage Source # 
Instance details

Defined in Network.AWS.RDS.Types.Product

type Rep DBParameterGroupNameMessage = D1 (MetaData "DBParameterGroupNameMessage" "Network.AWS.RDS.Types.Product" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" True) (C1 (MetaCons "DBParameterGroupNameMessage'" PrefixI True) (S1 (MetaSel (Just "_dpgnmDBParameterGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

Response Lenses

dpgnmDBParameterGroupName :: Lens' DBParameterGroupNameMessage (Maybe Text) Source #

Provides the name of the DB parameter group.