| 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 { ListHostedZonesByName } from "./ListHostedZonesByName.ts"; |
| 5 | |
| 6 | export const ListHostedZonesByNameHttp = Layer.effect( |
| 7 | ListHostedZonesByName, |
| 8 | makeRoute53AccountHttpBinding({ |
| 9 | tag: "AWS.Route53.ListHostedZonesByName", |
| 10 | operation: route53.listHostedZonesByName, |
| 11 | actions: ["route53:ListHostedZonesByName"], |
| 12 | }), |
| 13 | ); |