Skip to content

ListLicenseSpecificationsForResource

Source: src/AWS/LicenseManager/ListLicenseSpecificationsForResource.ts

Runtime binding for license-manager:ListLicenseSpecificationsForResource — list the license configurations associated with a resource (e.g. an AMI or instance).

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

// init
const listSpecifications =
yield* AWS.LicenseManager.ListLicenseSpecificationsForResource();
// runtime
const { LicenseSpecifications } = yield* listSpecifications({
ResourceArn: amiArn,
});