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