RestoreBackup
Source:
src/AWS/CloudHSMV2/RestoreBackup.ts
Runtime binding for the RestoreBackup operation (IAM action
cloudhsm:RestoreBackup).
Recovers a CloudHSM backup in the PENDING_DELETION state back to
READY — the undo for DeleteBackup, available for 7 days after the
delete. Provide the implementation with
Effect.provide(AWS.CloudHSMV2.RestoreBackupHttp).
Managing Backups
Section titled “Managing Backups”const restoreBackup = yield* AWS.CloudHSMV2.RestoreBackup();
const restored = yield* restoreBackup({ BackupId: backupId });// restored.Backup?.BackupState === "READY"