1import type * as backup from "@distilled.cloud/aws/backup";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for the `ListRestoreJobs` operation (IAM action
7 * `backup:ListRestoreJobs`).
8 *
9 * Lists the account's restore jobs, with optional filters (status, account,
10 * time window). Provide the implementation with
11 * `Effect.provide(AWS.Backup.ListRestoreJobsHttp)`.
12 * ### Restoring Recovery Points
13 * **Example:** List Running Restore Jobs
14 * ```typescript
15 * const listRestoreJobs = yield* AWS.Backup.ListRestoreJobs();
16 *
17 * const page = yield* listRestoreJobs({ ByStatus: "RUNNING" });
18 * ```
19 *
20 * @binding
21 */
22export interface ListRestoreJobs extends Binding.Service<
23 ListRestoreJobs,
24 "AWS.Backup.ListRestoreJobs",
25 () => Effect.Effect<
26 (
27 request?: backup.ListRestoreJobsInput,
28 ) => Effect.Effect<
29 backup.ListRestoreJobsOutput,
30 backup.ListRestoreJobsError
31 >
32 >
33> {}
34export const ListRestoreJobs = Binding.Service<ListRestoreJobs>(
35 "AWS.Backup.ListRestoreJobs",
36);