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