DescribeBackupJob
Source:
src/AWS/Backup/DescribeBackupJob.ts
Runtime binding for the DescribeBackupJob operation (IAM action
backup:DescribeBackupJob).
Returns the details of a backup job by its ID — poll a job started with
StartBackupJob until it completes. Provide the implementation with
Effect.provide(AWS.Backup.DescribeBackupJobHttp).
Monitoring Backup Jobs
Section titled “Monitoring Backup Jobs”const describeBackupJob = yield* AWS.Backup.DescribeBackupJob();
const job = yield* describeBackupJob({ BackupJobId: jobId });if (job.State === "COMPLETED") { yield* Effect.log(`recovery point: ${job.RecoveryPointArn}`);}