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