The best way to control Claude Code, Codex and more from any computer or phone

main
ts 15 lines 524 Bytes
Raw
1 import * as route53 from "@distilled.cloud/aws/route-53";
2 import * as Layer from "effect/Layer";
3 import { makeRoute53ZoneHttpBinding } from "./BindingHttp.ts";
4 import { GetHostedZone } from "./GetHostedZone.ts";
5
6 export const GetHostedZoneHttp = Layer.effect(
7 GetHostedZone,
8 makeRoute53ZoneHttpBinding({
9 tag: "AWS.Route53.GetHostedZone",
10 operation: route53.getHostedZone,
11 actions: ["route53:GetHostedZone"],
12 // getHostedZone addresses the zone as `Id`, not `HostedZoneId`.
13 requestKey: "Id",
14 }),
15 );