The best way to control Claude Code, Codex and more from any computer or phone

main
ts 15 lines 581 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 { GetJobQueueSnapshot } from "./GetJobQueueSnapshot.ts";
5
6 export const GetJobQueueSnapshotHttp = Layer.effect(
7 GetJobQueueSnapshot,
8 // batch:GetJobQueueSnapshot supports the job-queue resource type — scope
9 // the grant to the bound queue's ARN.
10 makeBatchQueueHttpBinding({
11 tag: "AWS.Batch.GetJobQueueSnapshot",
12 operation: batch.getJobQueueSnapshot,
13 actions: ["batch:GetJobQueueSnapshot"],
14 }),
15 );