GetRestoreJobMetadata
Source:
src/AWS/Backup/GetRestoreJobMetadata.ts
Runtime binding for the GetRestoreJobMetadata operation (IAM action
backup:GetRestoreJobMetadata).
Returns the metadata of a restore job — the key/value set describing the
restored resource. Together with PutRestoreValidationResult this is the
restore-testing validation flow: AWS Backup invokes a validation Lambda
after a restore-test job completes, the Lambda inspects the restored
resource, then reports the verdict. Provide the implementation with
Effect.provide(AWS.Backup.GetRestoreJobMetadataHttp).
Restore Testing Validation
Section titled “Restore Testing Validation”const getRestoreJobMetadata = yield* AWS.Backup.GetRestoreJobMetadata();
const { Metadata } = yield* getRestoreJobMetadata({ RestoreJobId: restoreJobId,});yield* Effect.log(`restored resource metadata: ${JSON.stringify(Metadata)}`);