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

Defined in Network.AWS.RDS.StopDBInstance

Data StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

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

Defined in Network.AWS.RDS.StopDBInstance

Show StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Generic StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Associated Types

type Rep StopDBInstance :: Type -> Type #

Hashable StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

AWSRequest StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Associated Types

type Rs StopDBInstance :: Type #

ToHeaders StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

ToPath StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

ToQuery StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

NFData StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Methods

rnf :: StopDBInstance -> () #

type Rep StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

type Rep StopDBInstance = D1 (MetaData "StopDBInstance" "Network.AWS.RDS.StopDBInstance" "amazonka-rds-1.6.1-GvYb6r2di9RGFKQcoJXq1A" False) (C1 (MetaCons "StopDBInstance'" PrefixI True) (S1 (MetaSel (Just "_sdiDBSnapshotIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdiDBInstanceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs StopDBInstance Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

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

Defined in Network.AWS.RDS.StopDBInstance

Data StopDBInstanceResponse Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

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

Defined in Network.AWS.RDS.StopDBInstance

Show StopDBInstanceResponse Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Generic StopDBInstanceResponse Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Associated Types

type Rep StopDBInstanceResponse :: Type -> Type #

NFData StopDBInstanceResponse Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

Methods

rnf :: StopDBInstanceResponse -> () #

type Rep StopDBInstanceResponse Source # 
Instance details

Defined in Network.AWS.RDS.StopDBInstance

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

Response Lenses