import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AcceptGrantCommand , AcceptGrantCommandInput , AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand" ; import { CheckInLicenseCommand , CheckInLicenseCommandInput , CheckInLicenseCommandOutput , } from "./commands/CheckInLicenseCommand" ; import { CheckoutBorrowLicenseCommand , CheckoutBorrowLicenseCommandInput , CheckoutBorrowLicenseCommandOutput , } from "./commands/CheckoutBorrowLicenseCommand" ; import { CheckoutLicenseCommand , CheckoutLicenseCommandInput , CheckoutLicenseCommandOutput , } from "./commands/CheckoutLicenseCommand" ; import { CreateGrantCommand , CreateGrantCommandInput , CreateGrantCommandOutput } from "./commands/CreateGrantCommand" ; import { CreateGrantVersionCommand , CreateGrantVersionCommandInput , CreateGrantVersionCommandOutput , } from "./commands/CreateGrantVersionCommand" ; import { CreateLicenseCommand , CreateLicenseCommandInput , CreateLicenseCommandOutput , } from "./commands/CreateLicenseCommand" ; import { CreateLicenseConfigurationCommand , CreateLicenseConfigurationCommandInput , CreateLicenseConfigurationCommandOutput , } from "./commands/CreateLicenseConfigurationCommand" ; import { CreateLicenseConversionTaskForResourceCommand , CreateLicenseConversionTaskForResourceCommandInput , CreateLicenseConversionTaskForResourceCommandOutput , } from "./commands/CreateLicenseConversionTaskForResourceCommand" ; import { CreateLicenseManagerReportGeneratorCommand , CreateLicenseManagerReportGeneratorCommandInput , CreateLicenseManagerReportGeneratorCommandOutput , } from "./commands/CreateLicenseManagerReportGeneratorCommand" ; import { CreateLicenseVersionCommand , CreateLicenseVersionCommandInput , CreateLicenseVersionCommandOutput , } from "./commands/CreateLicenseVersionCommand" ; import { CreateTokenCommand , CreateTokenCommandInput , CreateTokenCommandOutput } from "./commands/CreateTokenCommand" ; import { DeleteGrantCommand , DeleteGrantCommandInput , DeleteGrantCommandOutput } from "./commands/DeleteGrantCommand" ; import { DeleteLicenseCommand , DeleteLicenseCommandInput , DeleteLicenseCommandOutput , } from "./commands/DeleteLicenseCommand" ; import { DeleteLicenseConfigurationCommand , DeleteLicenseConfigurationCommandInput , DeleteLicenseConfigurationCommandOutput , } from "./commands/DeleteLicenseConfigurationCommand" ; import { DeleteLicenseManagerReportGeneratorCommand , DeleteLicenseManagerReportGeneratorCommandInput , DeleteLicenseManagerReportGeneratorCommandOutput , } from "./commands/DeleteLicenseManagerReportGeneratorCommand" ; import { DeleteTokenCommand , DeleteTokenCommandInput , DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand" ; import { ExtendLicenseConsumptionCommand , ExtendLicenseConsumptionCommandInput , ExtendLicenseConsumptionCommandOutput , } from "./commands/ExtendLicenseConsumptionCommand" ; import { GetAccessTokenCommand , GetAccessTokenCommandInput , GetAccessTokenCommandOutput , } from "./commands/GetAccessTokenCommand" ; import { GetGrantCommand , GetGrantCommandInput , GetGrantCommandOutput } from "./commands/GetGrantCommand" ; import { GetLicenseCommand , GetLicenseCommandInput , GetLicenseCommandOutput } from "./commands/GetLicenseCommand" ; import { GetLicenseConfigurationCommand , GetLicenseConfigurationCommandInput , GetLicenseConfigurationCommandOutput , } from "./commands/GetLicenseConfigurationCommand" ; import { GetLicenseConversionTaskCommand , GetLicenseConversionTaskCommandInput , GetLicenseConversionTaskCommandOutput , } from "./commands/GetLicenseConversionTaskCommand" ; import { GetLicenseManagerReportGeneratorCommand , GetLicenseManagerReportGeneratorCommandInput , GetLicenseManagerReportGeneratorCommandOutput , } from "./commands/GetLicenseManagerReportGeneratorCommand" ; import { GetLicenseUsageCommand , GetLicenseUsageCommandInput , GetLicenseUsageCommandOutput , } from "./commands/GetLicenseUsageCommand" ; import { GetServiceSettingsCommand , GetServiceSettingsCommandInput , GetServiceSettingsCommandOutput , } from "./commands/GetServiceSettingsCommand" ; import { ListAssociationsForLicenseConfigurationCommand , ListAssociationsForLicenseConfigurationCommandInput , ListAssociationsForLicenseConfigurationCommandOutput , } from "./commands/ListAssociationsForLicenseConfigurationCommand" ; import { ListDistributedGrantsCommand , ListDistributedGrantsCommandInput , ListDistributedGrantsCommandOutput , } from "./commands/ListDistributedGrantsCommand" ; import { ListFailuresForLicenseConfigurationOperationsCommand , ListFailuresForLicenseConfigurationOperationsCommandInput , ListFailuresForLicenseConfigurationOperationsCommandOutput , } from "./commands/ListFailuresForLicenseConfigurationOperationsCommand" ; import { ListLicenseConfigurationsCommand , ListLicenseConfigurationsCommandInput , ListLicenseConfigurationsCommandOutput , } from "./commands/ListLicenseConfigurationsCommand" ; import { ListLicenseConversionTasksCommand , ListLicenseConversionTasksCommandInput , ListLicenseConversionTasksCommandOutput , } from "./commands/ListLicenseConversionTasksCommand" ; import { ListLicenseManagerReportGeneratorsCommand , ListLicenseManagerReportGeneratorsCommandInput , ListLicenseManagerReportGeneratorsCommandOutput , } from "./commands/ListLicenseManagerReportGeneratorsCommand" ; import { ListLicensesCommand , ListLicensesCommandInput , ListLicensesCommandOutput , } from "./commands/ListLicensesCommand" ; import { ListLicenseSpecificationsForResourceCommand , ListLicenseSpecificationsForResourceCommandInput , ListLicenseSpecificationsForResourceCommandOutput , } from "./commands/ListLicenseSpecificationsForResourceCommand" ; import { ListLicenseVersionsCommand , ListLicenseVersionsCommandInput , ListLicenseVersionsCommandOutput , } from "./commands/ListLicenseVersionsCommand" ; import { ListReceivedGrantsCommand , ListReceivedGrantsCommandInput , ListReceivedGrantsCommandOutput , } from "./commands/ListReceivedGrantsCommand" ; import { ListReceivedLicensesCommand , ListReceivedLicensesCommandInput , ListReceivedLicensesCommandOutput , } from "./commands/ListReceivedLicensesCommand" ; import { ListResourceInventoryCommand , ListResourceInventoryCommandInput , ListResourceInventoryCommandOutput , } from "./commands/ListResourceInventoryCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListTokensCommand , ListTokensCommandInput , ListTokensCommandOutput } from "./commands/ListTokensCommand" ; import { ListUsageForLicenseConfigurationCommand , ListUsageForLicenseConfigurationCommandInput , ListUsageForLicenseConfigurationCommandOutput , } from "./commands/ListUsageForLicenseConfigurationCommand" ; import { RejectGrantCommand , RejectGrantCommandInput , RejectGrantCommandOutput } from "./commands/RejectGrantCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateLicenseConfigurationCommand , UpdateLicenseConfigurationCommandInput , UpdateLicenseConfigurationCommandOutput , } from "./commands/UpdateLicenseConfigurationCommand" ; import { UpdateLicenseManagerReportGeneratorCommand , UpdateLicenseManagerReportGeneratorCommandInput , UpdateLicenseManagerReportGeneratorCommandOutput , } from "./commands/UpdateLicenseManagerReportGeneratorCommand" ; import { UpdateLicenseSpecificationsForResourceCommand , UpdateLicenseSpecificationsForResourceCommandInput , UpdateLicenseSpecificationsForResourceCommandOutput , } from "./commands/UpdateLicenseSpecificationsForResourceCommand" ; import { UpdateServiceSettingsCommand , UpdateServiceSettingsCommandInput , UpdateServiceSettingsCommandOutput , } from "./commands/UpdateServiceSettingsCommand" ; import { LicenseManagerClient } from "./LicenseManagerClient" ; /**
 * <p>License Manager makes it easier to manage licenses from software vendors across multiple
 *          Amazon Web Services accounts and on-premises servers.</p>
 */ export class LicenseManager extends LicenseManagerClient { /**
     * <p>Accepts the specified grant.</p>
     */ public acceptGrant ( args , options ? ) ; public acceptGrant ( args , cb ) ; public acceptGrant ( args , options , cb ) ; public acceptGrant ( args , optionsOrCb ? , cb ? ) { const command = new AcceptGrantCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Checks in the specified license. Check in a license when it is no longer in use.</p>
     */ public checkInLicense ( args , options ? ) ; public checkInLicense ( args , cb ) ; public checkInLicense ( args , options , cb ) ; public checkInLicense ( args , optionsOrCb ? , cb ? ) { const command = new CheckInLicenseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Checks out the specified license for offline use.</p>
     */ public checkoutBorrowLicense ( args , options ? ) ; public checkoutBorrowLicense ( args , cb ) ; public checkoutBorrowLicense ( args , options , cb ) ; public checkoutBorrowLicense ( args , optionsOrCb ? , cb ? ) { const command = new CheckoutBorrowLicenseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Checks out the specified license.</p>
     */ public checkoutLicense ( args , options ? ) ; public checkoutLicense ( args , cb ) ; public checkoutLicense ( args , options , cb ) ; public checkoutLicense ( args , optionsOrCb ? , cb ? ) { const command = new CheckoutLicenseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a grant for the specified license. A grant shares the use of license entitlements with specific Amazon Web Services accounts.</p>
     */ public createGrant ( args , options ? ) ; public createGrant ( args , cb ) ; public createGrant ( args , options , cb ) ; public createGrant ( args , optionsOrCb ? , cb ? ) { const command = new CreateGrantCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new version of the specified grant.</p>
     */ public createGrantVersion ( args , options ? ) ; public createGrantVersion ( args , cb ) ; public createGrantVersion ( args , options , cb ) ; public createGrantVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateGrantVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a license.</p>
     */ public createLicense ( args , options ? ) ; public createLicense ( args , cb ) ; public createLicense ( args , options , cb ) ; public createLicense ( args , optionsOrCb ? , cb ? ) { const command = new CreateLicenseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a license configuration.</p>
     *          <p>A license configuration is an abstraction of a customer license agreement that can be
     *          consumed and enforced by License Manager. Components include specifications for the license
     *          type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
     *          Dedicated Instance, Dedicated Host, or all of these), license affinity  to host (how long a
     *          license must be associated with a host), and the number of licenses purchased and used.</p>
     */ public createLicenseConfiguration ( args , options ? ) ; public createLicenseConfiguration ( args , cb ) ; public createLicenseConfiguration ( args , options , cb ) ; public createLicenseConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new CreateLicenseConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new license conversion task.</p>
     */ public createLicenseConversionTaskForResource ( args , options ? ) ; public createLicenseConversionTaskForResource ( args , cb ) ; public createLicenseConversionTaskForResource ( args , options , cb ) ; public createLicenseConversionTaskForResource ( args , optionsOrCb ? , cb ? ) { const command = new CreateLicenseConversionTaskForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a report generator.</p>
     */ public createLicenseManagerReportGenerator ( args , options ? ) ; public createLicenseManagerReportGenerator ( args , cb ) ; public createLicenseManagerReportGenerator ( args , options , cb ) ; public createLicenseManagerReportGenerator ( args , optionsOrCb ? , cb ? ) { const command = new CreateLicenseManagerReportGeneratorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new version of the specified license.</p>
     */ public createLicenseVersion ( args , options ? ) ; public createLicenseVersion ( args , cb ) ; public createLicenseVersion ( args , options , cb ) ; public createLicenseVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreateLicenseVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a long-lived token.</p>
     *          <p>A refresh token is a JWT token used to get an access token. With an access token,
     *           you can call AssumeRoleWithWebIdentity to get role credentials that you can use to
     *           call License Manager to manage the specified license.</p>
     */ public createToken ( args , options ? ) ; public createToken ( args , cb ) ; public createToken ( args , options , cb ) ; public createToken ( args , optionsOrCb ? , cb ? ) { const command = new CreateTokenCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified grant.</p>
     */ public deleteGrant ( args , options ? ) ; public deleteGrant ( args , cb ) ; public deleteGrant ( args , options , cb ) ; public deleteGrant ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGrantCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified license.</p>
     */ public deleteLicense ( args , options ? ) ; public deleteLicense ( args , cb ) ; public deleteLicense ( args , options , cb ) ; public deleteLicense ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLicenseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified license configuration.</p>
     *          <p>You cannot delete a license configuration that is in use.</p>
     */ public deleteLicenseConfiguration ( args , options ? ) ; public deleteLicenseConfiguration ( args , cb ) ; public deleteLicenseConfiguration ( args , options , cb ) ; public deleteLicenseConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLicenseConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified report generator.</p>
     *          <p>This action deletes the report generator, which stops it from generating future reports.
     *          The action cannot be reversed. It has no effect on the previous reports from this generator.</p>
     */ public deleteLicenseManagerReportGenerator ( args , options ? ) ; public deleteLicenseManagerReportGenerator ( args , cb ) ; public deleteLicenseManagerReportGenerator ( args , options , cb ) ; public deleteLicenseManagerReportGenerator ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLicenseManagerReportGeneratorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified token. Must be called in the license home Region.</p>
     */ public deleteToken ( args , options ? ) ; public deleteToken ( args , cb ) ; public deleteToken ( args , options , cb ) ; public deleteToken ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTokenCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Extends the expiration date for license consumption.</p>
     */ public extendLicenseConsumption ( args , options ? ) ; public extendLicenseConsumption ( args , cb ) ; public extendLicenseConsumption ( args , options , cb ) ; public extendLicenseConsumption ( args , optionsOrCb ? , cb ? ) { const command = new ExtendLicenseConsumptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens
     *           are valid for one hour.</p>
     */ public getAccessToken ( args , options ? ) ; public getAccessToken ( args , cb ) ; public getAccessToken ( args , options , cb ) ; public getAccessToken ( args , optionsOrCb ? , cb ? ) { const command = new GetAccessTokenCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets detailed information about the specified grant.</p>
     */ public getGrant ( args , options ? ) ; public getGrant ( args , cb ) ; public getGrant ( args , options , cb ) ; public getGrant ( args , optionsOrCb ? , cb ? ) { const command = new GetGrantCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets detailed information about the specified license.</p>
     */ public getLicense ( args , options ? ) ; public getLicense ( args , cb ) ; public getLicense ( args , options , cb ) ; public getLicense ( args , optionsOrCb ? , cb ? ) { const command = new GetLicenseCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets detailed information about the specified license configuration.</p>
     */ public getLicenseConfiguration ( args , options ? ) ; public getLicenseConfiguration ( args , cb ) ; public getLicenseConfiguration ( args , options , cb ) ; public getLicenseConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetLicenseConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the specified license type conversion task.</p>
     */ public getLicenseConversionTask ( args , options ? ) ; public getLicenseConversionTask ( args , cb ) ; public getLicenseConversionTask ( args , options , cb ) ; public getLicenseConversionTask ( args , optionsOrCb ? , cb ? ) { const command = new GetLicenseConversionTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets information about the specified report generator.</p>
     */ public getLicenseManagerReportGenerator ( args , options ? ) ; public getLicenseManagerReportGenerator ( args , cb ) ; public getLicenseManagerReportGenerator ( args , options , cb ) ; public getLicenseManagerReportGenerator ( args , optionsOrCb ? , cb ? ) { const command = new GetLicenseManagerReportGeneratorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets detailed information about the usage of the specified license.</p>
     */ public getLicenseUsage ( args , options ? ) ; public getLicenseUsage ( args , cb ) ; public getLicenseUsage ( args , options , cb ) ; public getLicenseUsage ( args , optionsOrCb ? , cb ? ) { const command = new GetLicenseUsageCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets the License Manager settings for the current Region.</p>
     */ public getServiceSettings ( args , options ? ) ; public getServiceSettings ( args , cb ) ; public getServiceSettings ( args , options , cb ) ; public getServiceSettings ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the resource associations for the specified license configuration.</p>
     *          <p>Resource associations need not consume licenses from a license configuration.
     *          For example, an AMI or a stopped instance might not consume a license (depending on
     *          the license rules).</p>
     */ public listAssociationsForLicenseConfiguration ( args , options ? ) ; public listAssociationsForLicenseConfiguration ( args , cb ) ; public listAssociationsForLicenseConfiguration ( args , options , cb ) ; public listAssociationsForLicenseConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new ListAssociationsForLicenseConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the grants distributed for the specified license.</p>
     */ public listDistributedGrants ( args , options ? ) ; public listDistributedGrants ( args , cb ) ; public listDistributedGrants ( args , options , cb ) ; public listDistributedGrants ( args , optionsOrCb ? , cb ? ) { const command = new ListDistributedGrantsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the license configuration operations that failed.</p>
     */ public listFailuresForLicenseConfigurationOperations ( args , options ? ) ; public listFailuresForLicenseConfigurationOperations ( args , cb ) ; public listFailuresForLicenseConfigurationOperations ( args , options , cb ) ; public listFailuresForLicenseConfigurationOperations ( args , optionsOrCb ? , cb ? ) { const command = new ListFailuresForLicenseConfigurationOperationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the license configurations for your account.</p>
     */ public listLicenseConfigurations ( args , options ? ) ; public listLicenseConfigurations ( args , cb ) ; public listLicenseConfigurations ( args , options , cb ) ; public listLicenseConfigurations ( args , optionsOrCb ? , cb ? ) { const command = new ListLicenseConfigurationsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the license type conversion tasks for your account.</p>
     */ public listLicenseConversionTasks ( args , options ? ) ; public listLicenseConversionTasks ( args , cb ) ; public listLicenseConversionTasks ( args , options , cb ) ; public listLicenseConversionTasks ( args , optionsOrCb ? , cb ? ) { const command = new ListLicenseConversionTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the report generators for your account.</p>
     */ public listLicenseManagerReportGenerators ( args , options ? ) ; public listLicenseManagerReportGenerators ( args , cb ) ; public listLicenseManagerReportGenerators ( args , options , cb ) ; public listLicenseManagerReportGenerators ( args , optionsOrCb ? , cb ? ) { const command = new ListLicenseManagerReportGeneratorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the licenses for your account.</p>
     */ public listLicenses ( args , options ? ) ; public listLicenses ( args , cb ) ; public listLicenses ( args , options , cb ) ; public listLicenses ( args , optionsOrCb ? , cb ? ) { const command = new ListLicensesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Describes the license configurations for the specified resource.</p>
     */ public listLicenseSpecificationsForResource ( args , options ? ) ; public listLicenseSpecificationsForResource ( args , cb ) ; public listLicenseSpecificationsForResource ( args , options , cb ) ; public listLicenseSpecificationsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListLicenseSpecificationsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all versions of the specified license.</p>
     */ public listLicenseVersions ( args , options ? ) ; public listLicenseVersions ( args , cb ) ; public listLicenseVersions ( args , options , cb ) ; public listLicenseVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListLicenseVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists grants that are received but not accepted.</p>
     */ public listReceivedGrants ( args , options ? ) ; public listReceivedGrants ( args , cb ) ; public listReceivedGrants ( args , options , cb ) ; public listReceivedGrants ( args , optionsOrCb ? , cb ? ) { const command = new ListReceivedGrantsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists received licenses.</p>
     */ public listReceivedLicenses ( args , options ? ) ; public listReceivedLicenses ( args , cb ) ; public listReceivedLicenses ( args , options , cb ) ; public listReceivedLicenses ( args , optionsOrCb ? , cb ? ) { const command = new ListReceivedLicensesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists resources managed using Systems Manager inventory.</p>
     */ public listResourceInventory ( args , options ? ) ; public listResourceInventory ( args , cb ) ; public listResourceInventory ( args , options , cb ) ; public listResourceInventory ( args , optionsOrCb ? , cb ? ) { const command = new ListResourceInventoryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags for the specified license configuration.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists your tokens.</p>
     */ public listTokens ( args , options ? ) ; public listTokens ( args , cb ) ; public listTokens ( args , options , cb ) ; public listTokens ( args , optionsOrCb ? , cb ? ) { const command = new ListTokensCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all license usage records for a license configuration, displaying license
     *          consumption details by resource at a selected point in time. Use this action to audit the
     *          current license consumption for any license inventory and configuration.</p>
     */ public listUsageForLicenseConfiguration ( args , options ? ) ; public listUsageForLicenseConfiguration ( args , cb ) ; public listUsageForLicenseConfiguration ( args , options , cb ) ; public listUsageForLicenseConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new ListUsageForLicenseConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Rejects the specified grant.</p>
     */ public rejectGrant ( args , options ? ) ; public rejectGrant ( args , cb ) ; public rejectGrant ( args , options , cb ) ; public rejectGrant ( args , optionsOrCb ? , cb ? ) { const command = new RejectGrantCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds the specified tags to the specified license configuration.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the specified license configuration.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the attributes of an existing license configuration.</p>
     */ public updateLicenseConfiguration ( args , options ? ) ; public updateLicenseConfiguration ( args , cb ) ; public updateLicenseConfiguration ( args , options , cb ) ; public updateLicenseConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLicenseConfigurationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a report generator.</p>
     *          <p>After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.</p>
     */ public updateLicenseManagerReportGenerator ( args , options ? ) ; public updateLicenseManagerReportGenerator ( args , cb ) ; public updateLicenseManagerReportGenerator ( args , options , cb ) ; public updateLicenseManagerReportGenerator ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLicenseManagerReportGeneratorCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or removes the specified license configurations for the specified Amazon Web Services resource.</p>
     *          <p>You can update the license specifications of AMIs, instances, and hosts.
     *          You cannot update the license specifications for launch templates and CloudFormation templates,
     *          as they send license configurations to the operation that creates the resource.</p>
     */ public updateLicenseSpecificationsForResource ( args , options ? ) ; public updateLicenseSpecificationsForResource ( args , cb ) ; public updateLicenseSpecificationsForResource ( args , options , cb ) ; public updateLicenseSpecificationsForResource ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLicenseSpecificationsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates License Manager settings for the current Region.</p>
     */ public updateServiceSettings ( args , options ? ) ; public updateServiceSettings ( args , cb ) ; public updateServiceSettings ( args , options , cb ) ; public updateServiceSettings ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServiceSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }