amazonka-dynamodb-1.6.0: 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 # 
Data UpdateContinuousBackups Source # 

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 # 
Show UpdateContinuousBackups Source # 
Generic UpdateContinuousBackups Source # 
Hashable UpdateContinuousBackups Source # 
ToJSON UpdateContinuousBackups Source # 
NFData UpdateContinuousBackups Source # 

Methods

rnf :: UpdateContinuousBackups -> () #

AWSRequest UpdateContinuousBackups Source # 
ToHeaders UpdateContinuousBackups Source # 
ToPath UpdateContinuousBackups Source # 
ToQuery UpdateContinuousBackups Source # 
type Rep UpdateContinuousBackups Source # 
type Rep UpdateContinuousBackups = D1 * (MetaData "UpdateContinuousBackups" "Network.AWS.DynamoDB.UpdateContinuousBackups" "amazonka-dynamodb-1.6.0-Be8FXVQVyEHEMZza56FG0o" False) (C1 * (MetaCons "UpdateContinuousBackups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucbTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ucbPointInTimeRecoverySpecification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * PointInTimeRecoverySpecification))))
type Rs UpdateContinuousBackups Source # 

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 # 
Data UpdateContinuousBackupsResponse Source # 

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 # 
Show UpdateContinuousBackupsResponse Source # 
Generic UpdateContinuousBackupsResponse Source # 
NFData UpdateContinuousBackupsResponse Source # 
type Rep UpdateContinuousBackupsResponse Source # 
type Rep UpdateContinuousBackupsResponse = D1 * (MetaData "UpdateContinuousBackupsResponse" "Network.AWS.DynamoDB.UpdateContinuousBackups" "amazonka-dynamodb-1.6.0-Be8FXVQVyEHEMZza56FG0o" False) (C1 * (MetaCons "UpdateContinuousBackupsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucbrsContinuousBackupsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ContinuousBackupsDescription))) (S1 * (MetaSel (Just Symbol "_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.