1import * as batch from "@distilled.cloud/aws/batch";
2import * as Layer from "effect/Layer";
3import { makeBatchQueueHttpBinding } from "./BindingHttp.ts";
4import { GetJobQueueSnapshot } from "./GetJobQueueSnapshot.ts";
5
6export 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);