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

main
ts 13 lines 480 Bytes
Raw
1 import * as licensemanager from "@distilled.cloud/aws/license-manager";
2 import * as Layer from "effect/Layer";
3 import { makeLicenseManagerHttpBinding } from "./BindingHttp.ts";
4 import { CheckoutLicense } from "./CheckoutLicense.ts";
5
6 export const CheckoutLicenseHttp = Layer.effect(
7 CheckoutLicense,
8 makeLicenseManagerHttpBinding({
9 capability: "CheckoutLicense",
10 iamActions: ["license-manager:CheckoutLicense"],
11 operation: licensemanager.checkoutLicense,
12 }),
13 );