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

main
ts 14 lines 512 Bytes
Raw
1 import * as ecr from "@distilled.cloud/aws/ecr";
2 import * as Layer from "effect/Layer";
3 import { BatchDeleteImage } from "./BatchDeleteImage.ts";
4 import { makeEcrRepositoryHttpBinding } from "./BindingHttp.ts";
5
6 /** HTTP implementation of {@link BatchDeleteImage} over the ECR API. */
7 export const BatchDeleteImageHttp = Layer.effect(
8 BatchDeleteImage,
9 makeEcrRepositoryHttpBinding({
10 capability: "BatchDeleteImage",
11 operation: ecr.batchDeleteImage,
12 iamActions: ["ecr:BatchDeleteImage"],
13 }),
14 );