Copyright | (c) 2013-2021 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 |
Restores a specified AWS CloudHSM backup that is in the
PENDING_DELETION
state. For mor information on deleting a backup, see
DeleteBackup.
Synopsis
- data RestoreBackup = RestoreBackup' {}
- newRestoreBackup :: Text -> RestoreBackup
- restoreBackup_backupId :: Lens' RestoreBackup Text
- data RestoreBackupResponse = RestoreBackupResponse' {
- backup :: Maybe Backup
- httpStatus :: Int
- newRestoreBackupResponse :: Int -> RestoreBackupResponse
- restoreBackupResponse_backup :: Lens' RestoreBackupResponse (Maybe Backup)
- restoreBackupResponse_httpStatus :: Lens' RestoreBackupResponse Int
Creating a Request
data RestoreBackup Source #
See: newRestoreBackup
smart constructor.
Instances
Create a value of RestoreBackup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backupId:RestoreBackup'
, restoreBackup_backupId
- The ID of the backup to be restored. To find the ID of a backup, use the
DescribeBackups operation.
Request Lenses
restoreBackup_backupId :: Lens' RestoreBackup Text Source #
The ID of the backup to be restored. To find the ID of a backup, use the DescribeBackups operation.
Destructuring the Response
data RestoreBackupResponse Source #
See: newRestoreBackupResponse
smart constructor.
RestoreBackupResponse' | |
|
Instances
newRestoreBackupResponse Source #
Create a value of RestoreBackupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backup:RestoreBackupResponse'
, restoreBackupResponse_backup
- Information on the Backup
object created.
$sel:httpStatus:RestoreBackupResponse'
, restoreBackupResponse_httpStatus
- The response's http status code.
Response Lenses
restoreBackupResponse_backup :: Lens' RestoreBackupResponse (Maybe Backup) Source #
Information on the Backup
object created.
restoreBackupResponse_httpStatus :: Lens' RestoreBackupResponse Int Source #
The response's http status code.