Skip to content

ListAssociationsForLicenseConfiguration

Source: src/AWS/LicenseManager/ListAssociationsForLicenseConfiguration.ts

Runtime binding for license-manager:ListAssociationsForLicenseConfiguration — list the resources (instances, AMIs, hosts) currently associated with the bound license configuration.

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

// init
const listAssociations =
yield* AWS.LicenseManager.ListAssociationsForLicenseConfiguration(
licenses,
);
// runtime
const { LicenseConfigurationAssociations } = yield* listAssociations();