Skip to content

ExtendLicenseConsumption

Source: src/AWS/LicenseManager/ExtendLicenseConsumption.ts

Runtime binding for license-manager:ExtendLicenseConsumption — extend a PROVISIONAL checkout’s expiration before it lapses, keeping a long-running consumer’s entitlement active.

Provide the implementation with Effect.provide(AWS.LicenseManager.ExtendLicenseConsumptionHttp).

// init
const extendConsumption =
yield* AWS.LicenseManager.ExtendLicenseConsumption();
// runtime
const { Expiration } = yield* extendConsumption({
LicenseConsumptionToken: token,
});