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