@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.35 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 ListBatchLoadTasksRequest extends TSW.ListBatchLoadTasksRequest {}
6
7 /**
8 * Runtime binding for `timestream-write:ListBatchLoadTasks` — enumerate the
9 * account's bulk imports, optionally filtered by status.
10 *
11 * Account-level binding invoked with no resource argument.
12 *
13 * Provide `Timestream.ListBatchLoadTasksHttp` on the Function to implement
14 * the binding.
15 *
16 * ### Batch Loading
17 * **Example:** List in-progress imports
18 * ```typescript
19 * // init — account-level binding, no resource argument
20 * const listBatchLoadTasks = yield* Timestream.ListBatchLoadTasks();
21 *
22 * // runtime
23 * const tasks = yield* listBatchLoadTasks({ TaskStatus: "IN_PROGRESS" });
24 * // tasks.BatchLoadTasks lists each task's TaskId and status
25 * ```
26 *
27 * @binding
28 */
29 export interface ListBatchLoadTasks extends Binding.Service<
30 ListBatchLoadTasks,
31 "AWS.Timestream.ListBatchLoadTasks",
32 () => Effect.Effect<
33 (
34 request: ListBatchLoadTasksRequest,
35 ) => Effect.Effect<
36 TSW.ListBatchLoadTasksResponse,
37 TSW.ListBatchLoadTasksError | TSW.DescribeEndpointsError
38 >
39 >
40 > {}
41
42 export const ListBatchLoadTasks = Binding.Service<ListBatchLoadTasks>(
43 "AWS.Timestream.ListBatchLoadTasks",
44 );