amazonka-dynamodb-1.6.1: Amazon DynamoDB 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.DynamoDB.UpdateContinuousBackups

Contents

Description

UpdateContinuousBackups enables or disables point in time recovery for the specified table. A successful UpdateContinuousBackups call returns the current ContinuousBackupsDescription . Continuous backups are ENABLED on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

Once continuous backups and point in time recovery are enabled, you can restore to any point in time within EarliestRestorableDateTime and LatestRestorableDateTime .

LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point in time during the last 35 days..

Synopsis

Creating a Request

updateContinuousBackups Source #

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

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

data UpdateContinuousBackups Source #

See: updateContinuousBackups smart constructor.

Instances
Eq UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Data UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Methods

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

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

toConstr :: UpdateContinuousBackups -> Constr #

dataTypeOf :: UpdateContinuousBackups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Show UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Generic UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Associated Types

type Rep UpdateContinuousBackups :: Type -> Type #

Hashable UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

ToJSON UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

AWSRequest UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Associated Types

type Rs UpdateContinuousBackups :: Type #

ToHeaders UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

ToPath UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

ToQuery UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

NFData UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Methods

rnf :: UpdateContinuousBackups -> () #

type Rep UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackups = D1 (MetaData "UpdateContinuousBackups" "Network.AWS.DynamoDB.UpdateContinuousBackups" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "UpdateContinuousBackups'" PrefixI True) (S1 (MetaSel (Just "_ucbTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ucbPointInTimeRecoverySpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PointInTimeRecoverySpecification)))
type Rs UpdateContinuousBackups Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Request Lenses

ucbPointInTimeRecoverySpecification :: Lens' UpdateContinuousBackups PointInTimeRecoverySpecification Source #

Represents the settings used to enable point in time recovery.

Destructuring the Response

updateContinuousBackupsResponse Source #

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

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

data UpdateContinuousBackupsResponse Source #

See: updateContinuousBackupsResponse smart constructor.

Instances
Eq UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Data UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Methods

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

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

toConstr :: UpdateContinuousBackupsResponse -> Constr #

dataTypeOf :: UpdateContinuousBackupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Show UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Generic UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

Associated Types

type Rep UpdateContinuousBackupsResponse :: Type -> Type #

NFData UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Network.AWS.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackupsResponse = D1 (MetaData "UpdateContinuousBackupsResponse" "Network.AWS.DynamoDB.UpdateContinuousBackups" "amazonka-dynamodb-1.6.1-FTtIhwsA5vX17zvPeEA8Mr" False) (C1 (MetaCons "UpdateContinuousBackupsResponse'" PrefixI True) (S1 (MetaSel (Just "_ucbrsContinuousBackupsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContinuousBackupsDescription)) :*: S1 (MetaSel (Just "_ucbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ucbrsContinuousBackupsDescription :: Lens' UpdateContinuousBackupsResponse (Maybe ContinuousBackupsDescription) Source #

Represents the continuous backups and point in time recovery settings on the table.