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