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

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 #

See: rebootDBInstance smart constructor.

Instances
Eq RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Data RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

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 # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Show RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Generic RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Associated Types

type Rep RebootDBInstance :: Type -> Type #

Hashable RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

AWSRequest RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Associated Types

type Rs RebootDBInstance :: Type #

ToHeaders RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

ToPath RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

ToQuery RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

NFData RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Methods

rnf :: RebootDBInstance -> () #

type Rep RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

type Rep RebootDBInstance = D1 (MetaData "RebootDBInstance" "Network.AWS.RDS.RebootDBInstance" "amazonka-rds-1.6.1-3ZKMQU9eYbr7zx3WZ2Anqw" False) (C1 (MetaCons "RebootDBInstance'" PrefixI True) (S1 (MetaSel (Just "_rdiForceFailover") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_rdiDBInstanceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs RebootDBInstance # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Request Lenses

rdiForceFailover :: Lens' RebootDBInstance (Maybe Bool) #

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 #

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 #

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 #

See: rebootDBInstanceResponse smart constructor.

Instances
Eq RebootDBInstanceResponse # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Data RebootDBInstanceResponse # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

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 # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Show RebootDBInstanceResponse # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Generic RebootDBInstanceResponse # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

Associated Types

type Rep RebootDBInstanceResponse :: Type -> Type #

NFData RebootDBInstanceResponse # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

type Rep RebootDBInstanceResponse # 
Instance details

Defined in Network.AWS.RDS.RebootDBInstance

type Rep RebootDBInstanceResponse = D1 (MetaData "RebootDBInstanceResponse" "Network.AWS.RDS.RebootDBInstance" "amazonka-rds-1.6.1-3ZKMQU9eYbr7zx3WZ2Anqw" False) (C1 (MetaCons "RebootDBInstanceResponse'" PrefixI True) (S1 (MetaSel (Just "_rdirsDBInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DBInstance)) :*: S1 (MetaSel (Just "_rdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

rdirsResponseStatus :: Lens' RebootDBInstanceResponse Int #

  • - | The response status code.