amazonka-rds-1.6.0: 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 # 
Data ResetDBParameterGroup Source # 

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 # 
Show ResetDBParameterGroup Source # 
Generic ResetDBParameterGroup Source # 
Hashable ResetDBParameterGroup Source # 
NFData ResetDBParameterGroup Source # 

Methods

rnf :: ResetDBParameterGroup -> () #

AWSRequest ResetDBParameterGroup Source # 
ToHeaders ResetDBParameterGroup Source # 
ToPath ResetDBParameterGroup Source # 
ToQuery ResetDBParameterGroup Source # 
type Rep ResetDBParameterGroup Source # 
type Rep ResetDBParameterGroup = D1 * (MetaData "ResetDBParameterGroup" "Network.AWS.RDS.ResetDBParameterGroup" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "ResetDBParameterGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdpgResetAllParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdpgParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Parameter]))) (S1 * (MetaSel (Just Symbol "_rdpgDBParameterGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ResetDBParameterGroup Source # 

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 # 
Data DBParameterGroupNameMessage Source # 

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 # 
Show DBParameterGroupNameMessage Source # 
Generic DBParameterGroupNameMessage Source # 
Hashable DBParameterGroupNameMessage Source # 
NFData DBParameterGroupNameMessage Source # 
FromXML DBParameterGroupNameMessage Source # 
type Rep DBParameterGroupNameMessage Source # 
type Rep DBParameterGroupNameMessage = D1 * (MetaData "DBParameterGroupNameMessage" "Network.AWS.RDS.Types.Product" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" True) (C1 * (MetaCons "DBParameterGroupNameMessage'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dpgnmDBParameterGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))))

Response Lenses

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

Provides the name of the DB parameter group.