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

main
ts 13 lines 473 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 { CheckInLicense } from "./CheckInLicense.ts";
5
6 export const CheckInLicenseHttp = Layer.effect(
7 CheckInLicense,
8 makeLicenseManagerHttpBinding({
9 capability: "CheckInLicense",
10 iamActions: ["license-manager:CheckInLicense"],
11 operation: licensemanager.checkInLicense,
12 }),
13 );