PutRestoreValidationResult
Source:
src/AWS/Backup/PutRestoreValidationResult.ts
Runtime binding for the PutRestoreValidationResult operation (IAM action
backup:PutRestoreValidationResult).
Reports the result of a restore-test validation. This is the canonical
runtime use of AWS Backup: restore testing invokes a validation Lambda
after a restore-test job completes; the Lambda checks the restored
resource (fetch its metadata with GetRestoreJobMetadata, query the
restored table/volume, …) and posts SUCCESSFUL or FAILED back to the
restore job. Provide the implementation with
Effect.provide(AWS.Backup.PutRestoreValidationResultHttp).
Restore Testing Validation
Section titled “Restore Testing Validation”const putRestoreValidationResult = yield* AWS.Backup.PutRestoreValidationResult();
yield* putRestoreValidationResult({ RestoreJobId: restoreJobId, ValidationStatus: "SUCCESSFUL", ValidationStatusMessage: "restored table row count matches source",});