Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

512 B
Raw Blame
import * as ecr from "@distilled.cloud/aws/ecr";
import * as Layer from "effect/Layer";
import { makeEcrRepositoryHttpBinding } from "./BindingHttp.ts";
import { BatchDeleteImage } from "./BatchDeleteImage.ts";

/** HTTP implementation of {@link BatchDeleteImage} over the ECR API. */
export const BatchDeleteImageHttp = Layer.effect(
  BatchDeleteImage,
  makeEcrRepositoryHttpBinding({
    capability: "BatchDeleteImage",
    operation: ecr.batchDeleteImage,
    iamActions: ["ecr:BatchDeleteImage"],
  }),
);