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.

465 B
Raw Blame
import * as batch from "@distilled.cloud/aws/batch";
import * as Layer from "effect/Layer";
import { makeBatchQueueHttpBinding } from "./BindingHttp.ts";
import { ListJobs } from "./ListJobs.ts";

export const ListJobsHttp = Layer.effect(
  ListJobs,
  // batch:ListJobs does not support resource-level IAM.
  makeBatchQueueHttpBinding({
    tag: "AWS.Batch.ListJobs",
    operation: batch.listJobs,
    actions: ["batch:ListJobs"],
    wildcardIam: true,
  }),
);