@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 44 lines 1.33 KB
Raw
1 import type * as TSW from "@distilled.cloud/aws/timestream-write";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 export interface ResumeBatchLoadTaskRequest extends TSW.ResumeBatchLoadTaskRequest {}
6
7 /**
8 * Runtime binding for `timestream-write:ResumeBatchLoadTask` — resume a bulk
9 * import that Timestream paused (e.g. after transient S3 or throttling
10 * failures).
11 *
12 * Account-level binding invoked with no resource argument; keyed by `TaskId`.
13 *
14 * Provide `Timestream.ResumeBatchLoadTaskHttp` on the Function to implement
15 * the binding.
16 *
17 * ### Batch Loading
18 * **Example:** Resume a paused import
19 * ```typescript
20 * // init — account-level binding, no resource argument
21 * const resumeBatchLoadTask = yield* Timestream.ResumeBatchLoadTask();
22 *
23 * // runtime
24 * yield* resumeBatchLoadTask({ TaskId: task.TaskId });
25 * ```
26 *
27 * @binding
28 */
29 export interface ResumeBatchLoadTask extends Binding.Service<
30 ResumeBatchLoadTask,
31 "AWS.Timestream.ResumeBatchLoadTask",
32 () => Effect.Effect<
33 (
34 request: ResumeBatchLoadTaskRequest,
35 ) => Effect.Effect<
36 TSW.ResumeBatchLoadTaskResponse,
37 TSW.ResumeBatchLoadTaskError | TSW.DescribeEndpointsError
38 >
39 >
40 > {}
41
42 export const ResumeBatchLoadTask = Binding.Service<ResumeBatchLoadTask>(
43 "AWS.Timestream.ResumeBatchLoadTask",
44 );