Skip to content

GetLicenseUsage

Source: src/AWS/LicenseManager/GetLicenseUsage.ts

Runtime binding for license-manager:GetLicenseUsage — read the per-entitlement usage counters of a seller-issued license.

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

// init
const getLicenseUsage = yield* AWS.LicenseManager.GetLicenseUsage();
// runtime
const { LicenseUsage } = yield* getLicenseUsage({
LicenseArn: licenseArn,
});