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 |
Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
You can call RestoreTableFromBackup
at a maximum rate of 10 times per second.
You must manually set up the following on the restored table:
- Auto scaling policies
- IAM policies
- Cloudwatch metrics and alarms
- Tags
- Stream settings
- Time to Live (TTL) settings
Synopsis
- restoreTableFromBackup :: Text -> Text -> RestoreTableFromBackup
- data RestoreTableFromBackup
- rtfbTargetTableName :: Lens' RestoreTableFromBackup Text
- rtfbBackupARN :: Lens' RestoreTableFromBackup Text
- restoreTableFromBackupResponse :: Int -> RestoreTableFromBackupResponse
- data RestoreTableFromBackupResponse
- rtfbrsTableDescription :: Lens' RestoreTableFromBackupResponse (Maybe TableDescription)
- rtfbrsResponseStatus :: Lens' RestoreTableFromBackupResponse Int
Creating a Request
restoreTableFromBackup Source #
Creates a value of RestoreTableFromBackup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtfbTargetTableName
- The name of the new table to which the backup must be restored.rtfbBackupARN
- The ARN associated with the backup.
data RestoreTableFromBackup Source #
See: restoreTableFromBackup
smart constructor.
Instances
Request Lenses
rtfbTargetTableName :: Lens' RestoreTableFromBackup Text Source #
The name of the new table to which the backup must be restored.
rtfbBackupARN :: Lens' RestoreTableFromBackup Text Source #
The ARN associated with the backup.
Destructuring the Response
restoreTableFromBackupResponse Source #
Creates a value of RestoreTableFromBackupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtfbrsTableDescription
- The description of the table created from an existing backup.rtfbrsResponseStatus
- -- | The response status code.
data RestoreTableFromBackupResponse Source #
See: restoreTableFromBackupResponse
smart constructor.
Instances
Response Lenses
rtfbrsTableDescription :: Lens' RestoreTableFromBackupResponse (Maybe TableDescription) Source #
The description of the table created from an existing backup.
rtfbrsResponseStatus :: Lens' RestoreTableFromBackupResponse Int Source #
- - | The response status code.