| 1 | import * as route53 from "@distilled.cloud/aws/route-53"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRoute53AccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListHostedZones } from "./ListHostedZones.ts"; |
| 5 | |
| 6 | export const ListHostedZonesHttp = Layer.effect( |
| 7 | ListHostedZones, |
| 8 | makeRoute53AccountHttpBinding({ |
| 9 | tag: "AWS.Route53.ListHostedZones", |
| 10 | operation: route53.listHostedZones, |
| 11 | actions: ["route53:ListHostedZones"], |
| 12 | }), |
| 13 | ); |