@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 15 lines 465 Bytes
Raw
1 import * as batch from "@distilled.cloud/aws/batch";
2 import * as Layer from "effect/Layer";
3 import { makeBatchQueueHttpBinding } from "./BindingHttp.ts";
4 import { ListJobs } from "./ListJobs.ts";
5
6 export const ListJobsHttp = Layer.effect(
7 ListJobs,
8 // batch:ListJobs does not support resource-level IAM.
9 makeBatchQueueHttpBinding({
10 tag: "AWS.Batch.ListJobs",
11 operation: batch.listJobs,
12 actions: ["batch:ListJobs"],
13 wildcardIam: true,
14 }),
15 );