| 1 | import * as acm from "@distilled.cloud/aws/acm"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAcmCertificateHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { RenewCertificate } from "./RenewCertificate.ts"; |
| 5 | |
| 6 | export const RenewCertificateHttp = Layer.effect( |
| 7 | RenewCertificate, |
| 8 | makeAcmCertificateHttpBinding({ |
| 9 | capability: "RenewCertificate", |
| 10 | iamActions: ["acm:RenewCertificate"], |
| 11 | operation: acm.renewCertificate, |
| 12 | }), |
| 13 | ); |