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 #

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 #

See: updateContinuousBackups smart constructor.

Instances

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

Methods

rnf :: UpdateContinuousBackups -> () #

AWSRequest UpdateContinuousBackups # 
ToHeaders UpdateContinuousBackups # 
ToPath UpdateContinuousBackups # 
ToQuery UpdateContinuousBackups # 
type Rep UpdateContinuousBackups # 
type Rep UpdateContinuousBackups = D1 * (MetaData "UpdateContinuousBackups" "Network.AWS.DynamoDB.UpdateContinuousBackups" "amazonka-dynamodb-1.6.0-4CAL5C38QRN24HHgdQoKAY" 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 # 

Request Lenses

ucbPointInTimeRecoverySpecification :: Lens' UpdateContinuousBackups PointInTimeRecoverySpecification #

Represents the settings used to enable point in time recovery.

Destructuring the Response

updateContinuousBackupsResponse #

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 #

See: updateContinuousBackupsResponse smart constructor.

Instances

Eq UpdateContinuousBackupsResponse # 
Data UpdateContinuousBackupsResponse # 

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 # 
Show UpdateContinuousBackupsResponse # 
Generic UpdateContinuousBackupsResponse # 
NFData UpdateContinuousBackupsResponse # 
type Rep UpdateContinuousBackupsResponse # 
type Rep UpdateContinuousBackupsResponse = D1 * (MetaData "UpdateContinuousBackupsResponse" "Network.AWS.DynamoDB.UpdateContinuousBackups" "amazonka-dynamodb-1.6.0-4CAL5C38QRN24HHgdQoKAY" 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) #

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