@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 31 lines 1.06 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 `ListBackupJobs` operation (IAM action
7 * `backup:ListBackupJobs`).
8 *
9 * Lists the account's backup jobs from the last 30 days, with optional
10 * filters (state, vault, resource type, time window). Provide the
11 * implementation with `Effect.provide(AWS.Backup.ListBackupJobsHttp)`.
12 * ### Monitoring Backup Jobs
13 * **Example:** List Running Backup Jobs
14 * ```typescript
15 * const listBackupJobs = yield* AWS.Backup.ListBackupJobs();
16 *
17 * const page = yield* listBackupJobs({ ByState: "RUNNING", MaxResults: 25 });
18 * ```
19 *
20 * @binding
21 */
22 export interface ListBackupJobs extends Binding.Service<
23 ListBackupJobs,
24 "AWS.Backup.ListBackupJobs",
25 () => Effect.Effect<
26 (
27 request?: backup.ListBackupJobsInput,
28 ) => Effect.Effect<backup.ListBackupJobsOutput, backup.ListBackupJobsError>
29 >
30 > {}
31 export const ListBackupJobs = Binding.Service<ListBackupJobs>("AWS.Backup.ListBackupJobs");