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

Contents

Description

You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain modifications, or if you change the DB parameter group associated with the DB instance, you must reboot the instance for the changes to take effect.

Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.

For more information about rebooting, see Rebooting a DB Instance .

Synopsis

Creating a Request

rebootDBInstance Source #

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

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

  • rdiForceFailover - When true , the reboot is conducted through a MultiAZ failover. Constraint: You can't specify true if the instance is not configured for MultiAZ.
  • rdiDBInstanceIdentifier - The DB instance identifier. This parameter is stored as a lowercase string. Constraints: * Must match the identifier of an existing DBInstance.

data RebootDBInstance Source #

See: rebootDBInstance smart constructor.

Instances

Eq RebootDBInstance Source # 
Data RebootDBInstance Source # 

Methods

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

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

toConstr :: RebootDBInstance -> Constr #

dataTypeOf :: RebootDBInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootDBInstance Source # 
Show RebootDBInstance Source # 
Generic RebootDBInstance Source # 
Hashable RebootDBInstance Source # 
NFData RebootDBInstance Source # 

Methods

rnf :: RebootDBInstance -> () #

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

Request Lenses

rdiForceFailover :: Lens' RebootDBInstance (Maybe Bool) Source #

When true , the reboot is conducted through a MultiAZ failover. Constraint: You can't specify true if the instance is not configured for MultiAZ.

rdiDBInstanceIdentifier :: Lens' RebootDBInstance Text Source #

The DB instance identifier. This parameter is stored as a lowercase string. Constraints: * Must match the identifier of an existing DBInstance.

Destructuring the Response

rebootDBInstanceResponse Source #

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

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

data RebootDBInstanceResponse Source #

See: rebootDBInstanceResponse smart constructor.

Instances

Eq RebootDBInstanceResponse Source # 
Data RebootDBInstanceResponse Source # 

Methods

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

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

toConstr :: RebootDBInstanceResponse -> Constr #

dataTypeOf :: RebootDBInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RebootDBInstanceResponse Source # 
Show RebootDBInstanceResponse Source # 
Generic RebootDBInstanceResponse Source # 
NFData RebootDBInstanceResponse Source # 
type Rep RebootDBInstanceResponse Source # 
type Rep RebootDBInstanceResponse = D1 * (MetaData "RebootDBInstanceResponse" "Network.AWS.RDS.RebootDBInstance" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "RebootDBInstanceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rdirsDBInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DBInstance))) (S1 * (MetaSel (Just Symbol "_rdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses