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

main
ts 13 lines 471 Bytes
Raw
1 import * as ecrpublic from "@distilled.cloud/aws/ecr-public";
2 import * as Layer from "effect/Layer";
3 import { BatchDeleteImage } from "./BatchDeleteImage.ts";
4 import { makePublicRepositoryHttpBinding } from "./BindingHttp.ts";
5
6 export const BatchDeleteImageHttp = Layer.effect(
7 BatchDeleteImage,
8 makePublicRepositoryHttpBinding({
9 capability: "BatchDeleteImage",
10 iamActions: ["ecr-public:BatchDeleteImage"],
11 operation: ecrpublic.batchDeleteImage,
12 }),
13 );