| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DynamoDB.UpdateContinuousBackups
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
- updateContinuousBackups :: Text -> PointInTimeRecoverySpecification -> UpdateContinuousBackups
- data UpdateContinuousBackups
- ucbTableName :: Lens' UpdateContinuousBackups Text
- ucbPointInTimeRecoverySpecification :: Lens' UpdateContinuousBackups PointInTimeRecoverySpecification
- updateContinuousBackupsResponse :: Int -> UpdateContinuousBackupsResponse
- data UpdateContinuousBackupsResponse
- ucbrsContinuousBackupsDescription :: Lens' UpdateContinuousBackupsResponse (Maybe ContinuousBackupsDescription)
- ucbrsResponseStatus :: Lens' UpdateContinuousBackupsResponse Int
Creating a Request
updateContinuousBackups Source #
Arguments
| :: Text | |
| -> PointInTimeRecoverySpecification | |
| -> 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:
ucbTableName- The name of the table.ucbPointInTimeRecoverySpecification- Represents the settings used to enable point in time recovery.
data UpdateContinuousBackups Source #
See: updateContinuousBackups smart constructor.
Instances
Request Lenses
ucbTableName :: Lens' UpdateContinuousBackups Text Source #
The name of the table.
ucbPointInTimeRecoverySpecification :: Lens' UpdateContinuousBackups PointInTimeRecoverySpecification Source #
Represents the settings used to enable point in time recovery.
Destructuring the Response
updateContinuousBackupsResponse Source #
Arguments
| :: Int | |
| -> 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:
ucbrsContinuousBackupsDescription- Represents the continuous backups and point in time recovery settings on the table.ucbrsResponseStatus- -- | The response status code.
data UpdateContinuousBackupsResponse Source #
See: updateContinuousBackupsResponse smart constructor.
Instances
Response Lenses
ucbrsContinuousBackupsDescription :: Lens' UpdateContinuousBackupsResponse (Maybe ContinuousBackupsDescription) Source #
Represents the continuous backups and point in time recovery settings on the table.
ucbrsResponseStatus :: Lens' UpdateContinuousBackupsResponse Int Source #
- - | The response status code.