CheckoutBorrowLicense
Source:
src/AWS/LicenseManager/CheckoutBorrowLicense.ts
Runtime binding for license-manager:CheckoutBorrowLicense — check out
an offline-capable (borrow) entitlement from a seller-issued license
that allows borrowing. The signed token proves the entitlement while the
consumer is disconnected.
Provide the implementation with
Effect.provide(AWS.LicenseManager.CheckoutBorrowLicenseHttp).
License Checkout Data Plane
Section titled “License Checkout Data Plane”// initconst checkoutBorrow = yield* AWS.LicenseManager.CheckoutBorrowLicense();
// runtimeconst borrowed = yield* checkoutBorrow({ LicenseArn: licenseArn, Entitlements: [{ Name: "seats", Value: "1", Unit: "Count" }], DigitalSignatureMethod: "JWT_PS384", ClientToken: crypto.randomUUID(),});