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

main
ts 13 lines 408 Bytes
Raw
1 import * as account from "@distilled.cloud/aws/account";
2 import * as Layer from "effect/Layer";
3 import { makeAccountHttpBinding } from "./BindingHttp.ts";
4 import { ListRegions } from "./ListRegions.ts";
5
6 export const ListRegionsHttp = Layer.effect(
7 ListRegions,
8 makeAccountHttpBinding({
9 capability: "ListRegions",
10 iamActions: ["account:ListRegions"],
11 operation: account.listRegions,
12 }),
13 );