Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

1.3 KB
Raw Blame
import type * as TSW from "@distilled.cloud/aws/timestream-write";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.ts";

export interface ListBatchLoadTasksRequest
  extends TSW.ListBatchLoadTasksRequest {}

/**
 * Runtime binding for `timestream-write:ListBatchLoadTasks` — enumerate the
 * account's bulk imports, optionally filtered by status.
 *
 * Account-level binding invoked with no resource argument.
 *
 * Provide `Timestream.ListBatchLoadTasksHttp` on the Function to implement
 * the binding.
 *
 * @binding
 * @section Batch Loading
 * @example List in-progress imports
 * ```typescript
 * // init — account-level binding, no resource argument
 * const listBatchLoadTasks = yield* Timestream.ListBatchLoadTasks();
 *
 * // runtime
 * const tasks = yield* listBatchLoadTasks({ TaskStatus: "IN_PROGRESS" });
 * // tasks.BatchLoadTasks lists each task's TaskId and status
 * ```
 */
export interface ListBatchLoadTasks extends Binding.Service<
  ListBatchLoadTasks,
  "AWS.Timestream.ListBatchLoadTasks",
  () => Effect.Effect<
    (
      request: ListBatchLoadTasksRequest,
    ) => Effect.Effect<
      TSW.ListBatchLoadTasksResponse,
      TSW.ListBatchLoadTasksError | TSW.DescribeEndpointsError
    >
  >
> {}

export const ListBatchLoadTasks = Binding.Service<ListBatchLoadTasks>(
  "AWS.Timestream.ListBatchLoadTasks",
);