Skip to content

GetLicense

Source: src/AWS/LicenseManager/GetLicense.ts

Runtime binding for license-manager:GetLicense — read a seller-issued license’s details (issuer, entitlements, validity, consumption configuration) by ARN.

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

// init
const getLicense = yield* AWS.LicenseManager.GetLicense();
// runtime
const { License } = yield* getLicense({ LicenseArn: licenseArn });