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