| 1 | import * as ecrpublic from "@distilled.cloud/aws/ecr-public"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makePublicRegistryHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetRegistryCatalogData } from "./GetRegistryCatalogData.ts"; |
| 5 | |
| 6 | export const GetRegistryCatalogDataHttp = Layer.effect( |
| 7 | GetRegistryCatalogData, |
| 8 | makePublicRegistryHttpBinding({ |
| 9 | capability: "GetRegistryCatalogData", |
| 10 | iamActions: ["ecr-public:GetRegistryCatalogData"], |
| 11 | operation: ecrpublic.getRegistryCatalogData, |
| 12 | }), |
| 13 | ); |