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

Contents

Description

Stops a DB instance. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. For more information, see Stopping and Starting a DB instance in the AWS RDS user guide.

Synopsis

Creating a Request

stopDBInstance Source #

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

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

data StopDBInstance Source #

See: stopDBInstance smart constructor.

Instances

Eq StopDBInstance Source # 
Data StopDBInstance Source # 

Methods

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

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

toConstr :: StopDBInstance -> Constr #

dataTypeOf :: StopDBInstance -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopDBInstance Source # 
Show StopDBInstance Source # 
Generic StopDBInstance Source # 

Associated Types

type Rep StopDBInstance :: * -> * #

Hashable StopDBInstance Source # 
NFData StopDBInstance Source # 

Methods

rnf :: StopDBInstance -> () #

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

Request Lenses

sdiDBSnapshotIdentifier :: Lens' StopDBInstance (Maybe Text) Source #

The user-supplied instance identifier of the DB Snapshot created immediately before the DB instance is stopped.

sdiDBInstanceIdentifier :: Lens' StopDBInstance Text Source #

The user-supplied instance identifier.

Destructuring the Response

stopDBInstanceResponse Source #

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

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

data StopDBInstanceResponse Source #

See: stopDBInstanceResponse smart constructor.

Instances

Eq StopDBInstanceResponse Source # 
Data StopDBInstanceResponse Source # 

Methods

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

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

toConstr :: StopDBInstanceResponse -> Constr #

dataTypeOf :: StopDBInstanceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopDBInstanceResponse Source # 
Show StopDBInstanceResponse Source # 
Generic StopDBInstanceResponse Source # 
NFData StopDBInstanceResponse Source # 

Methods

rnf :: StopDBInstanceResponse -> () #

type Rep StopDBInstanceResponse Source # 
type Rep StopDBInstanceResponse = D1 * (MetaData "StopDBInstanceResponse" "Network.AWS.RDS.StopDBInstance" "amazonka-rds-1.6.0-1gpCa37cwlvAUzWljvprAs" False) (C1 * (MetaCons "StopDBInstanceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sdirsDBInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DBInstance))) (S1 * (MetaSel (Just Symbol "_sdirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses