@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.04 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 `DescribeCopyJob` operation (IAM action
7 * `backup:DescribeCopyJob`).
8 *
9 * Returns the details of a copy job by its ID — poll a job started with
10 * `StartCopyJob` until it completes. Provide the implementation with
11 * `Effect.provide(AWS.Backup.DescribeCopyJobHttp)`.
12 * ### Copying Recovery Points
13 * **Example:** Poll A Copy Job
14 * ```typescript
15 * const describeCopyJob = yield* AWS.Backup.DescribeCopyJob();
16 *
17 * const { CopyJob } = yield* describeCopyJob({ CopyJobId: jobId });
18 * ```
19 *
20 * @binding
21 */
22 export interface DescribeCopyJob extends Binding.Service<
23 DescribeCopyJob,
24 "AWS.Backup.DescribeCopyJob",
25 () => Effect.Effect<
26 (
27 request: backup.DescribeCopyJobInput,
28 ) => Effect.Effect<backup.DescribeCopyJobOutput, backup.DescribeCopyJobError>
29 >
30 > {}
31 export const DescribeCopyJob = Binding.Service<DescribeCopyJob>("AWS.Backup.DescribeCopyJob");