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