| 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 | ); |