The best way to control Claude Code, Codex and more from any computer or phone

main
ts 31 lines 1.03 KB
Raw
1 import type * as backup from "@distilled.cloud/aws/backup";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
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 */
22 export interface ListRestoreJobs extends Binding.Service<
23 ListRestoreJobs,
24 "AWS.Backup.ListRestoreJobs",
25 () => Effect.Effect<
26 (
27 request?: backup.ListRestoreJobsInput,
28 ) => Effect.Effect<backup.ListRestoreJobsOutput, backup.ListRestoreJobsError>
29 >
30 > {}
31 export const ListRestoreJobs = Binding.Service<ListRestoreJobs>("AWS.Backup.ListRestoreJobs");