Skip to content

ListSearchJobBackups

Source: src/AWS/BackupSearch/ListSearchJobBackups.ts

Runtime binding for backup-search:ListSearchJobBackups.

Pages through the recovery points included in the bound search job, with each backup’s per-job status — including backups skipped because their index is not ACTIVE or a permissions issue marked them FAILED. Provide the implementation with Effect.provide(AWS.BackupSearch.ListSearchJobBackupsHttp).

// init — bind the operation to the search job
const listSearchJobBackups =
yield* AWS.BackupSearch.ListSearchJobBackups(search);
// runtime
const page = yield* listSearchJobBackups({ MaxResults: 100 });
for (const backup of page.Results) {
console.log(backup.BackupResourceArn, backup.Status);
}