UNPKG

prowler-sdk-poc

Version:
1,077 lines 93.9 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class LicenseManager extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: LicenseManager.Types.ClientConfiguration) config: Config & LicenseManager.Types.ClientConfiguration; /** * Accepts the specified grant. */ acceptGrant(params: LicenseManager.Types.AcceptGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.AcceptGrantResponse) => void): Request<LicenseManager.Types.AcceptGrantResponse, AWSError>; /** * Accepts the specified grant. */ acceptGrant(callback?: (err: AWSError, data: LicenseManager.Types.AcceptGrantResponse) => void): Request<LicenseManager.Types.AcceptGrantResponse, AWSError>; /** * Checks in the specified license. Check in a license when it is no longer in use. */ checkInLicense(params: LicenseManager.Types.CheckInLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CheckInLicenseResponse) => void): Request<LicenseManager.Types.CheckInLicenseResponse, AWSError>; /** * Checks in the specified license. Check in a license when it is no longer in use. */ checkInLicense(callback?: (err: AWSError, data: LicenseManager.Types.CheckInLicenseResponse) => void): Request<LicenseManager.Types.CheckInLicenseResponse, AWSError>; /** * Checks out the specified license for offline use. */ checkoutBorrowLicense(params: LicenseManager.Types.CheckoutBorrowLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CheckoutBorrowLicenseResponse) => void): Request<LicenseManager.Types.CheckoutBorrowLicenseResponse, AWSError>; /** * Checks out the specified license for offline use. */ checkoutBorrowLicense(callback?: (err: AWSError, data: LicenseManager.Types.CheckoutBorrowLicenseResponse) => void): Request<LicenseManager.Types.CheckoutBorrowLicenseResponse, AWSError>; /** * Checks out the specified license. */ checkoutLicense(params: LicenseManager.Types.CheckoutLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CheckoutLicenseResponse) => void): Request<LicenseManager.Types.CheckoutLicenseResponse, AWSError>; /** * Checks out the specified license. */ checkoutLicense(callback?: (err: AWSError, data: LicenseManager.Types.CheckoutLicenseResponse) => void): Request<LicenseManager.Types.CheckoutLicenseResponse, AWSError>; /** * Creates a grant for the specified license. A grant shares the use of license entitlements with specific Amazon Web Services accounts. */ createGrant(params: LicenseManager.Types.CreateGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantResponse) => void): Request<LicenseManager.Types.CreateGrantResponse, AWSError>; /** * Creates a grant for the specified license. A grant shares the use of license entitlements with specific Amazon Web Services accounts. */ createGrant(callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantResponse) => void): Request<LicenseManager.Types.CreateGrantResponse, AWSError>; /** * Creates a new version of the specified grant. */ createGrantVersion(params: LicenseManager.Types.CreateGrantVersionRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantVersionResponse) => void): Request<LicenseManager.Types.CreateGrantVersionResponse, AWSError>; /** * Creates a new version of the specified grant. */ createGrantVersion(callback?: (err: AWSError, data: LicenseManager.Types.CreateGrantVersionResponse) => void): Request<LicenseManager.Types.CreateGrantVersionResponse, AWSError>; /** * Creates a license. */ createLicense(params: LicenseManager.Types.CreateLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseResponse) => void): Request<LicenseManager.Types.CreateLicenseResponse, AWSError>; /** * Creates a license. */ createLicense(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseResponse) => void): Request<LicenseManager.Types.CreateLicenseResponse, AWSError>; /** * Creates a license configuration. 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. */ createLicenseConfiguration(params: LicenseManager.Types.CreateLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.CreateLicenseConfigurationResponse, AWSError>; /** * Creates a license configuration. 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. */ createLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.CreateLicenseConfigurationResponse, AWSError>; /** * Creates a new license conversion task. */ createLicenseConversionTaskForResource(params: LicenseManager.Types.CreateLicenseConversionTaskForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConversionTaskForResourceResponse) => void): Request<LicenseManager.Types.CreateLicenseConversionTaskForResourceResponse, AWSError>; /** * Creates a new license conversion task. */ createLicenseConversionTaskForResource(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConversionTaskForResourceResponse) => void): Request<LicenseManager.Types.CreateLicenseConversionTaskForResourceResponse, AWSError>; /** * Creates a report generator. */ createLicenseManagerReportGenerator(params: LicenseManager.Types.CreateLicenseManagerReportGeneratorRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.CreateLicenseManagerReportGeneratorResponse, AWSError>; /** * Creates a report generator. */ createLicenseManagerReportGenerator(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.CreateLicenseManagerReportGeneratorResponse, AWSError>; /** * Creates a new version of the specified license. */ createLicenseVersion(params: LicenseManager.Types.CreateLicenseVersionRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseVersionResponse) => void): Request<LicenseManager.Types.CreateLicenseVersionResponse, AWSError>; /** * Creates a new version of the specified license. */ createLicenseVersion(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseVersionResponse) => void): Request<LicenseManager.Types.CreateLicenseVersionResponse, AWSError>; /** * Creates a long-lived token. 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. */ createToken(params: LicenseManager.Types.CreateTokenRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateTokenResponse) => void): Request<LicenseManager.Types.CreateTokenResponse, AWSError>; /** * Creates a long-lived token. 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. */ createToken(callback?: (err: AWSError, data: LicenseManager.Types.CreateTokenResponse) => void): Request<LicenseManager.Types.CreateTokenResponse, AWSError>; /** * Deletes the specified grant. */ deleteGrant(params: LicenseManager.Types.DeleteGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteGrantResponse) => void): Request<LicenseManager.Types.DeleteGrantResponse, AWSError>; /** * Deletes the specified grant. */ deleteGrant(callback?: (err: AWSError, data: LicenseManager.Types.DeleteGrantResponse) => void): Request<LicenseManager.Types.DeleteGrantResponse, AWSError>; /** * Deletes the specified license. */ deleteLicense(params: LicenseManager.Types.DeleteLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseResponse) => void): Request<LicenseManager.Types.DeleteLicenseResponse, AWSError>; /** * Deletes the specified license. */ deleteLicense(callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseResponse) => void): Request<LicenseManager.Types.DeleteLicenseResponse, AWSError>; /** * Deletes the specified license configuration. You cannot delete a license configuration that is in use. */ deleteLicenseConfiguration(params: LicenseManager.Types.DeleteLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseConfigurationResponse) => void): Request<LicenseManager.Types.DeleteLicenseConfigurationResponse, AWSError>; /** * Deletes the specified license configuration. You cannot delete a license configuration that is in use. */ deleteLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseConfigurationResponse) => void): Request<LicenseManager.Types.DeleteLicenseConfigurationResponse, AWSError>; /** * Deletes the specified report generator. 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. */ deleteLicenseManagerReportGenerator(params: LicenseManager.Types.DeleteLicenseManagerReportGeneratorRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.DeleteLicenseManagerReportGeneratorResponse, AWSError>; /** * Deletes the specified report generator. 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. */ deleteLicenseManagerReportGenerator(callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.DeleteLicenseManagerReportGeneratorResponse, AWSError>; /** * Deletes the specified token. Must be called in the license home Region. */ deleteToken(params: LicenseManager.Types.DeleteTokenRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteTokenResponse) => void): Request<LicenseManager.Types.DeleteTokenResponse, AWSError>; /** * Deletes the specified token. Must be called in the license home Region. */ deleteToken(callback?: (err: AWSError, data: LicenseManager.Types.DeleteTokenResponse) => void): Request<LicenseManager.Types.DeleteTokenResponse, AWSError>; /** * Extends the expiration date for license consumption. */ extendLicenseConsumption(params: LicenseManager.Types.ExtendLicenseConsumptionRequest, callback?: (err: AWSError, data: LicenseManager.Types.ExtendLicenseConsumptionResponse) => void): Request<LicenseManager.Types.ExtendLicenseConsumptionResponse, AWSError>; /** * Extends the expiration date for license consumption. */ extendLicenseConsumption(callback?: (err: AWSError, data: LicenseManager.Types.ExtendLicenseConsumptionResponse) => void): Request<LicenseManager.Types.ExtendLicenseConsumptionResponse, AWSError>; /** * Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour. */ getAccessToken(params: LicenseManager.Types.GetAccessTokenRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetAccessTokenResponse) => void): Request<LicenseManager.Types.GetAccessTokenResponse, AWSError>; /** * Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour. */ getAccessToken(callback?: (err: AWSError, data: LicenseManager.Types.GetAccessTokenResponse) => void): Request<LicenseManager.Types.GetAccessTokenResponse, AWSError>; /** * Gets detailed information about the specified grant. */ getGrant(params: LicenseManager.Types.GetGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetGrantResponse) => void): Request<LicenseManager.Types.GetGrantResponse, AWSError>; /** * Gets detailed information about the specified grant. */ getGrant(callback?: (err: AWSError, data: LicenseManager.Types.GetGrantResponse) => void): Request<LicenseManager.Types.GetGrantResponse, AWSError>; /** * Gets detailed information about the specified license. */ getLicense(params: LicenseManager.Types.GetLicenseRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseResponse) => void): Request<LicenseManager.Types.GetLicenseResponse, AWSError>; /** * Gets detailed information about the specified license. */ getLicense(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseResponse) => void): Request<LicenseManager.Types.GetLicenseResponse, AWSError>; /** * Gets detailed information about the specified license configuration. */ getLicenseConfiguration(params: LicenseManager.Types.GetLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConfigurationResponse) => void): Request<LicenseManager.Types.GetLicenseConfigurationResponse, AWSError>; /** * Gets detailed information about the specified license configuration. */ getLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConfigurationResponse) => void): Request<LicenseManager.Types.GetLicenseConfigurationResponse, AWSError>; /** * Gets information about the specified license type conversion task. */ getLicenseConversionTask(params: LicenseManager.Types.GetLicenseConversionTaskRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConversionTaskResponse) => void): Request<LicenseManager.Types.GetLicenseConversionTaskResponse, AWSError>; /** * Gets information about the specified license type conversion task. */ getLicenseConversionTask(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConversionTaskResponse) => void): Request<LicenseManager.Types.GetLicenseConversionTaskResponse, AWSError>; /** * Gets information about the specified report generator. */ getLicenseManagerReportGenerator(params: LicenseManager.Types.GetLicenseManagerReportGeneratorRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.GetLicenseManagerReportGeneratorResponse, AWSError>; /** * Gets information about the specified report generator. */ getLicenseManagerReportGenerator(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.GetLicenseManagerReportGeneratorResponse, AWSError>; /** * Gets detailed information about the usage of the specified license. */ getLicenseUsage(params: LicenseManager.Types.GetLicenseUsageRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseUsageResponse) => void): Request<LicenseManager.Types.GetLicenseUsageResponse, AWSError>; /** * Gets detailed information about the usage of the specified license. */ getLicenseUsage(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseUsageResponse) => void): Request<LicenseManager.Types.GetLicenseUsageResponse, AWSError>; /** * Gets the License Manager settings for the current Region. */ getServiceSettings(params: LicenseManager.Types.GetServiceSettingsRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetServiceSettingsResponse) => void): Request<LicenseManager.Types.GetServiceSettingsResponse, AWSError>; /** * Gets the License Manager settings for the current Region. */ getServiceSettings(callback?: (err: AWSError, data: LicenseManager.Types.GetServiceSettingsResponse) => void): Request<LicenseManager.Types.GetServiceSettingsResponse, AWSError>; /** * Lists the resource associations for the specified license configuration. 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). */ listAssociationsForLicenseConfiguration(params: LicenseManager.Types.ListAssociationsForLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse, AWSError>; /** * Lists the resource associations for the specified license configuration. 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). */ listAssociationsForLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse, AWSError>; /** * Lists the grants distributed for the specified license. */ listDistributedGrants(params: LicenseManager.Types.ListDistributedGrantsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListDistributedGrantsResponse) => void): Request<LicenseManager.Types.ListDistributedGrantsResponse, AWSError>; /** * Lists the grants distributed for the specified license. */ listDistributedGrants(callback?: (err: AWSError, data: LicenseManager.Types.ListDistributedGrantsResponse) => void): Request<LicenseManager.Types.ListDistributedGrantsResponse, AWSError>; /** * Lists the license configuration operations that failed. */ listFailuresForLicenseConfigurationOperations(params: LicenseManager.Types.ListFailuresForLicenseConfigurationOperationsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListFailuresForLicenseConfigurationOperationsResponse) => void): Request<LicenseManager.Types.ListFailuresForLicenseConfigurationOperationsResponse, AWSError>; /** * Lists the license configuration operations that failed. */ listFailuresForLicenseConfigurationOperations(callback?: (err: AWSError, data: LicenseManager.Types.ListFailuresForLicenseConfigurationOperationsResponse) => void): Request<LicenseManager.Types.ListFailuresForLicenseConfigurationOperationsResponse, AWSError>; /** * Lists the license configurations for your account. */ listLicenseConfigurations(params: LicenseManager.Types.ListLicenseConfigurationsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseConfigurationsResponse) => void): Request<LicenseManager.Types.ListLicenseConfigurationsResponse, AWSError>; /** * Lists the license configurations for your account. */ listLicenseConfigurations(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseConfigurationsResponse) => void): Request<LicenseManager.Types.ListLicenseConfigurationsResponse, AWSError>; /** * Lists the license type conversion tasks for your account. */ listLicenseConversionTasks(params: LicenseManager.Types.ListLicenseConversionTasksRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseConversionTasksResponse) => void): Request<LicenseManager.Types.ListLicenseConversionTasksResponse, AWSError>; /** * Lists the license type conversion tasks for your account. */ listLicenseConversionTasks(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseConversionTasksResponse) => void): Request<LicenseManager.Types.ListLicenseConversionTasksResponse, AWSError>; /** * Lists the report generators for your account. */ listLicenseManagerReportGenerators(params: LicenseManager.Types.ListLicenseManagerReportGeneratorsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseManagerReportGeneratorsResponse) => void): Request<LicenseManager.Types.ListLicenseManagerReportGeneratorsResponse, AWSError>; /** * Lists the report generators for your account. */ listLicenseManagerReportGenerators(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseManagerReportGeneratorsResponse) => void): Request<LicenseManager.Types.ListLicenseManagerReportGeneratorsResponse, AWSError>; /** * Describes the license configurations for the specified resource. */ listLicenseSpecificationsForResource(params: LicenseManager.Types.ListLicenseSpecificationsForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.ListLicenseSpecificationsForResourceResponse, AWSError>; /** * Describes the license configurations for the specified resource. */ listLicenseSpecificationsForResource(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.ListLicenseSpecificationsForResourceResponse, AWSError>; /** * Lists all versions of the specified license. */ listLicenseVersions(params: LicenseManager.Types.ListLicenseVersionsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseVersionsResponse) => void): Request<LicenseManager.Types.ListLicenseVersionsResponse, AWSError>; /** * Lists all versions of the specified license. */ listLicenseVersions(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseVersionsResponse) => void): Request<LicenseManager.Types.ListLicenseVersionsResponse, AWSError>; /** * Lists the licenses for your account. */ listLicenses(params: LicenseManager.Types.ListLicensesRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicensesResponse) => void): Request<LicenseManager.Types.ListLicensesResponse, AWSError>; /** * Lists the licenses for your account. */ listLicenses(callback?: (err: AWSError, data: LicenseManager.Types.ListLicensesResponse) => void): Request<LicenseManager.Types.ListLicensesResponse, AWSError>; /** * Lists grants that are received but not accepted. */ listReceivedGrants(params: LicenseManager.Types.ListReceivedGrantsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedGrantsResponse) => void): Request<LicenseManager.Types.ListReceivedGrantsResponse, AWSError>; /** * Lists grants that are received but not accepted. */ listReceivedGrants(callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedGrantsResponse) => void): Request<LicenseManager.Types.ListReceivedGrantsResponse, AWSError>; /** * Lists received licenses. */ listReceivedLicenses(params: LicenseManager.Types.ListReceivedLicensesRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedLicensesResponse) => void): Request<LicenseManager.Types.ListReceivedLicensesResponse, AWSError>; /** * Lists received licenses. */ listReceivedLicenses(callback?: (err: AWSError, data: LicenseManager.Types.ListReceivedLicensesResponse) => void): Request<LicenseManager.Types.ListReceivedLicensesResponse, AWSError>; /** * Lists resources managed using Systems Manager inventory. */ listResourceInventory(params: LicenseManager.Types.ListResourceInventoryRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListResourceInventoryResponse) => void): Request<LicenseManager.Types.ListResourceInventoryResponse, AWSError>; /** * Lists resources managed using Systems Manager inventory. */ listResourceInventory(callback?: (err: AWSError, data: LicenseManager.Types.ListResourceInventoryResponse) => void): Request<LicenseManager.Types.ListResourceInventoryResponse, AWSError>; /** * Lists the tags for the specified license configuration. */ listTagsForResource(params: LicenseManager.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListTagsForResourceResponse) => void): Request<LicenseManager.Types.ListTagsForResourceResponse, AWSError>; /** * Lists the tags for the specified license configuration. */ listTagsForResource(callback?: (err: AWSError, data: LicenseManager.Types.ListTagsForResourceResponse) => void): Request<LicenseManager.Types.ListTagsForResourceResponse, AWSError>; /** * Lists your tokens. */ listTokens(params: LicenseManager.Types.ListTokensRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListTokensResponse) => void): Request<LicenseManager.Types.ListTokensResponse, AWSError>; /** * Lists your tokens. */ listTokens(callback?: (err: AWSError, data: LicenseManager.Types.ListTokensResponse) => void): Request<LicenseManager.Types.ListTokensResponse, AWSError>; /** * 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. */ listUsageForLicenseConfiguration(params: LicenseManager.Types.ListUsageForLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListUsageForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListUsageForLicenseConfigurationResponse, AWSError>; /** * 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. */ listUsageForLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.ListUsageForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListUsageForLicenseConfigurationResponse, AWSError>; /** * Rejects the specified grant. */ rejectGrant(params: LicenseManager.Types.RejectGrantRequest, callback?: (err: AWSError, data: LicenseManager.Types.RejectGrantResponse) => void): Request<LicenseManager.Types.RejectGrantResponse, AWSError>; /** * Rejects the specified grant. */ rejectGrant(callback?: (err: AWSError, data: LicenseManager.Types.RejectGrantResponse) => void): Request<LicenseManager.Types.RejectGrantResponse, AWSError>; /** * Adds the specified tags to the specified license configuration. */ tagResource(params: LicenseManager.Types.TagResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.TagResourceResponse) => void): Request<LicenseManager.Types.TagResourceResponse, AWSError>; /** * Adds the specified tags to the specified license configuration. */ tagResource(callback?: (err: AWSError, data: LicenseManager.Types.TagResourceResponse) => void): Request<LicenseManager.Types.TagResourceResponse, AWSError>; /** * Removes the specified tags from the specified license configuration. */ untagResource(params: LicenseManager.Types.UntagResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.UntagResourceResponse) => void): Request<LicenseManager.Types.UntagResourceResponse, AWSError>; /** * Removes the specified tags from the specified license configuration. */ untagResource(callback?: (err: AWSError, data: LicenseManager.Types.UntagResourceResponse) => void): Request<LicenseManager.Types.UntagResourceResponse, AWSError>; /** * Modifies the attributes of an existing license configuration. */ updateLicenseConfiguration(params: LicenseManager.Types.UpdateLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.UpdateLicenseConfigurationResponse, AWSError>; /** * Modifies the attributes of an existing license configuration. */ updateLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.UpdateLicenseConfigurationResponse, AWSError>; /** * Updates a report generator. After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated. */ updateLicenseManagerReportGenerator(params: LicenseManager.Types.UpdateLicenseManagerReportGeneratorRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.UpdateLicenseManagerReportGeneratorResponse, AWSError>; /** * Updates a report generator. After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated. */ updateLicenseManagerReportGenerator(callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseManagerReportGeneratorResponse) => void): Request<LicenseManager.Types.UpdateLicenseManagerReportGeneratorResponse, AWSError>; /** * Adds or removes the specified license configurations for the specified Amazon Web Services resource. 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. */ updateLicenseSpecificationsForResource(params: LicenseManager.Types.UpdateLicenseSpecificationsForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse, AWSError>; /** * Adds or removes the specified license configurations for the specified Amazon Web Services resource. 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. */ updateLicenseSpecificationsForResource(callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse, AWSError>; /** * Updates License Manager settings for the current Region. */ updateServiceSettings(params: LicenseManager.Types.UpdateServiceSettingsRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateServiceSettingsResponse) => void): Request<LicenseManager.Types.UpdateServiceSettingsResponse, AWSError>; /** * Updates License Manager settings for the current Region. */ updateServiceSettings(callback?: (err: AWSError, data: LicenseManager.Types.UpdateServiceSettingsResponse) => void): Request<LicenseManager.Types.UpdateServiceSettingsResponse, AWSError>; } declare namespace LicenseManager { export interface AcceptGrantRequest { /** * Amazon Resource Name (ARN) of the grant. */ GrantArn: Arn; } export interface AcceptGrantResponse { /** * Grant ARN. */ GrantArn?: Arn; /** * Grant status. */ Status?: GrantStatus; /** * Grant version. */ Version?: String; } export type AllowedOperation = "CreateGrant"|"CheckoutLicense"|"CheckoutBorrowLicense"|"CheckInLicense"|"ExtendConsumptionLicense"|"ListPurchasedLicenses"|"CreateToken"|string; export type AllowedOperationList = AllowedOperation[]; export type Arn = string; export type ArnList = Arn[]; export interface AutomatedDiscoveryInformation { /** * Time that automated discovery last ran. */ LastRunTime?: DateTime; } export type Boolean = boolean; export interface BorrowConfiguration { /** * Indicates whether early check-ins are allowed. */ AllowEarlyCheckIn: BoxBoolean; /** * Maximum time for the borrow configuration, in minutes. */ MaxTimeToLiveInMinutes: BoxInteger; } export type BoxBoolean = boolean; export type BoxInteger = number; export type BoxLong = number; export interface CheckInLicenseRequest { /** * License consumption token. */ LicenseConsumptionToken: String; /** * License beneficiary. */ Beneficiary?: String; } export interface CheckInLicenseResponse { } export interface CheckoutBorrowLicenseRequest { /** * Amazon Resource Name (ARN) of the license. The license must use the borrow consumption configuration. */ LicenseArn: Arn; /** * License entitlements. Partial checkouts are not supported. */ Entitlements: EntitlementDataList; /** * Digital signature method. The possible value is JSON Web Signature (JWS) algorithm PS384. For more information, see RFC 7518 Digital Signature with RSASSA-PSS. */ DigitalSignatureMethod: DigitalSignatureMethod; /** * Node ID. */ NodeId?: String; /** * Information about constraints. */ CheckoutMetadata?: MetadataList; /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientToken; } export interface CheckoutBorrowLicenseResponse { /** * Amazon Resource Name (ARN) of the license. */ LicenseArn?: Arn; /** * License consumption token. */ LicenseConsumptionToken?: String; /** * Allowed license entitlements. */ EntitlementsAllowed?: EntitlementDataList; /** * Node ID. */ NodeId?: String; /** * Signed token. */ SignedToken?: SignedToken; /** * Date and time at which the license checkout is issued. */ IssuedAt?: ISO8601DateTime; /** * Date and time at which the license checkout expires. */ Expiration?: ISO8601DateTime; /** * Information about constraints. */ CheckoutMetadata?: MetadataList; } export interface CheckoutLicenseRequest { /** * Product SKU. */ ProductSKU: String; /** * Checkout type. */ CheckoutType: CheckoutType; /** * Key fingerprint identifying the license. */ KeyFingerprint: String; /** * License entitlements. */ Entitlements: EntitlementDataList; /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientToken; /** * License beneficiary. */ Beneficiary?: String; /** * Node ID. */ NodeId?: String; } export interface CheckoutLicenseResponse { /** * Checkout type. */ CheckoutType?: CheckoutType; /** * License consumption token. */ LicenseConsumptionToken?: String; /** * Allowed license entitlements. */ EntitlementsAllowed?: EntitlementDataList; /** * Signed token. */ SignedToken?: SignedToken; /** * Node ID. */ NodeId?: String; /** * Date and time at which the license checkout is issued. */ IssuedAt?: ISO8601DateTime; /** * Date and time at which the license checkout expires. */ Expiration?: ISO8601DateTime; /** * Amazon Resource Name (ARN) of the checkout license. */ LicenseArn?: String; } export type CheckoutType = "PROVISIONAL"|"PERPETUAL"|string; export type ClientRequestToken = string; export type ClientToken = string; export interface ConsumedLicenseSummary { /** * Resource type of the resource consuming a license. */ ResourceType?: ResourceType; /** * Number of licenses consumed by the resource. */ ConsumedLicenses?: BoxLong; } export type ConsumedLicenseSummaryList = ConsumedLicenseSummary[]; export interface ConsumptionConfiguration { /** * Renewal frequency. */ RenewType?: RenewType; /** * Details about a provisional configuration. */ ProvisionalConfiguration?: ProvisionalConfiguration; /** * Details about a borrow configuration. */ BorrowConfiguration?: BorrowConfiguration; } export interface CreateGrantRequest { /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientToken; /** * Grant name. */ GrantName: String; /** * Amazon Resource Name (ARN) of the license. */ LicenseArn: Arn; /** * The grant principals. */ Principals: PrincipalArnList; /** * Home Region of the grant. */ HomeRegion: String; /** * Allowed operations for the grant. */ AllowedOperations: AllowedOperationList; } export interface CreateGrantResponse { /** * Grant ARN. */ GrantArn?: Arn; /** * Grant status. */ Status?: GrantStatus; /** * Grant version. */ Version?: String; } export interface CreateGrantVersionRequest { /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientToken; /** * Amazon Resource Name (ARN) of the grant. */ GrantArn: Arn; /** * Grant name. */ GrantName?: String; /** * Allowed operations for the grant. */ AllowedOperations?: AllowedOperationList; /** * Grant status. */ Status?: GrantStatus; /** * Grant status reason. */ StatusReason?: StatusReasonMessage; /** * Current version of the grant. */ SourceVersion?: String; } export interface CreateGrantVersionResponse { /** * Grant ARN. */ GrantArn?: Arn; /** * Grant status. */ Status?: GrantStatus; /** * New version of the grant. */ Version?: String; } export interface CreateLicenseConfigurationRequest { /** * Name of the license configuration. */ Name: String; /** * Description of the license configuration. */ Description?: String; /** * Dimension used to track the license inventory. */ LicenseCountingType: LicenseCountingType; /** * Number of licenses managed by the license configuration. */ LicenseCount?: BoxLong; /** * Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances. */ LicenseCountHardLimit?: BoxBoolean; /** * License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows. Cores dimension: allowedTenancy | licenseAffinityToHost | maximumCores | minimumCores Instances dimension: allowedTenancy | maximumCores | minimumCores | maximumSockets | minimumSockets | maximumVcpus | minimumVcpus Sockets dimension: allowedTenancy | licenseAffinityToHost | maximumSockets | minimumSockets vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus | minimumVcpus The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and EC2-DedicatedInstance. The possible values for honorVcpuOptimization are True and False. */ LicenseRules?: StringList; /** * Tags to add to the license configuration. */ Tags?: TagList; /** * When true, disassociates a resource when software is uninstalled. */ DisassociateWhenNotFound?: BoxBoolean; /** * Product information. */ ProductInformationList?: ProductInformationList; } export interface CreateLicenseConfigurationResponse { /** * Amazon Resource Name (ARN) of the license configuration. */ LicenseConfigurationArn?: String; } export interface CreateLicenseConversionTaskForResourceRequest { /** * Amazon Resource Name (ARN) of the resource you are converting the license type for. */ ResourceArn: Arn; /** * Information that identifies the license type you are converting from. For the structure of the source license, see Convert a license type using the AWS CLI in the License Manager User Guide. */ SourceLicenseContext: LicenseConversionContext; /** * Information that identifies the license type you are converting to. For the structure of the destination license, see Convert a license type using the AWS CLI in the License Manager User Guide. */ DestinationLicenseContext: LicenseConversionContext; } export interface CreateLicenseConversionTaskForResourceResponse { /** * The ID of the created license type conversion task. */ LicenseConversionTaskId?: LicenseConversionTaskId; } export interface CreateLicenseManagerReportGeneratorRequest { /** * Name of the report generator. */ ReportGeneratorName: ReportGeneratorName; /** * Type of reports to generate. The following report types an be generated: License configuration report - Reports the number and details of consumed licenses for a license configuration. Resource report - Reports the tracked licenses and resource consumption for a license configuration. */ Type: ReportTypeList; /** * Defines the type of license configuration the report generator tracks. */ ReportContext: ReportContext; /** * Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly. */ ReportFrequency: ReportFrequency; /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientRequestToken; /** * Description of the report generator. */ Description?: String; /** * Tags to add to the report generator. */ Tags?: TagList; } export interface CreateLicenseManagerReportGeneratorResponse { /** * The Amazon Resource Name (ARN) of the new report generator. */ LicenseManagerReportGeneratorArn?: String; } export interface CreateLicenseRequest { /** * License name. */ LicenseName: String; /** * Product name. */ ProductName: String; /** * Product SKU. */ ProductSKU: String; /** * License issuer. */ Issuer: Issuer; /** * Home Region for the license. */ HomeRegion: String; /** * Date and time range during which the license is valid, in ISO8601-UTC format. */ Validity: DatetimeRange; /** * License entitlements. */ Entitlements: EntitlementList; /** * License beneficiary. */ Beneficiary: String; /** * Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage. */ ConsumptionConfiguration: ConsumptionConfiguration; /** * Information about the license. */ LicenseMetadata?: MetadataList; /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientToken; } export interface CreateLicenseResponse { /** * Amazon Resource Name (ARN) of the license. */ LicenseArn?: Arn; /** * License status. */ Status?: LicenseStatus; /** * License version. */ Version?: String; } export interface CreateLicenseVersionRequest { /** * Amazon Resource Name (ARN) of the license. */ LicenseArn: Arn; /** * License name. */ LicenseName: String; /** * Product name. */ ProductName: String; /** * License issuer. */ Issuer: Issuer; /** * Home Region of the license. */ HomeRegion: String; /** * Date and time range during which the license is valid, in ISO8601-UTC format. */ Validity: DatetimeRange; /** * Information about the license. */ LicenseMetadata?: MetadataList; /** * License entitlements. */ Entitlements: EntitlementList; /** * Configuration for consumption of the license. Choose a provisional configuration for workloads running with continuous connectivity. Choose a borrow configuration for workloads with offline usage. */ ConsumptionConfiguration: ConsumptionConfiguration; /** * License status. */ Status: LicenseStatus; /** * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. */ ClientToken: ClientToken; /** * Current version of the license. */ SourceVersion?: String; } export interface CreateLicenseVersionResponse { /** * License ARN. */ LicenseArn?: Arn; /** * New version of the license. */ Version?: String; /** * License status. */ Status?: LicenseStatus; } export interface CreateTokenRequest { /** * Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token. */ LicenseArn: Arn; /** * Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use. */ RoleArns?: ArnList; /** * Token expiration, in days, counted from token creation. The default is 365 days. */ ExpirationInDays?: Integer; /** * Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token. */ TokenProperties?: MaxSize3StringList; /** * Idempotency token, valid for 10 minutes. */ ClientToken: ClientToken; } export interface CreateTokenResponse { /** * Token ID. */ TokenId?: String; /** * Token type. */ TokenType?: TokenType; /** * Refresh token, encoded as a JWT token. */ Token?: TokenString; } export type DateTime = Date; export interface DatetimeRange { /** * Start of the time range. */ Begin: ISO8601DateTime; /** * End of the time range. */ End?: ISO8601DateTime; } export interface DeleteGrantRequest { /** * Amazon Resource Name (ARN) of the grant. */ GrantArn: Arn; /** * The Status reason for the delete request. */ StatusReason?: StatusReasonMessage; /** * Current version of the grant. */ Version: String; } export interface DeleteGrantResponse { /** * Grant ARN. */ GrantArn?: Arn; /** * Grant status. */ Status?: GrantStatus; /** * Grant version. */ Version?: String; } export interface DeleteLicenseConfigurationRequest { /** * ID of the license configuration. */ LicenseConfigurationArn: String; } export interface DeleteLicenseConfigurationResponse { } export interface DeleteLicenseManagerReportGeneratorRequest { /** * Amazon Resource Name (ARN) of the report generator to be deleted. */ LicenseManagerReportGeneratorArn: String; } export interface DeleteLicenseManagerReportGeneratorResponse { } export interface DeleteLicenseRequest { /** * Amazon Resource Name (ARN) of the license. */ LicenseArn: Arn; /** * Current version of the license. */ SourceVersion: String; } export interface DeleteLicenseResponse { /** * License status. */ Status?: LicenseDeletionStatus; /** * Date when the license is deleted. */ DeletionDate?: ISO8601DateTime; } export interface DeleteTokenRequest { /** * Token ID. */ TokenId: String; } export interface DeleteTokenResponse { } export type DigitalSignatureMethod = "JWT_PS384"|string; export interface Entitlement { /** * Entitlement name. */ Name: String; /** * Entitlement resource. Use only if the unit is None. */ Value?: String; /** * Maximum entitlement count. Use if the unit is not None. */ MaxCount?: Long; /** * Indicates whether overages are allowed. */ Overage?: BoxBoolean; /** * Entitlement unit. */ Unit: EntitlementUnit; /** * Indicates whether check-ins are allowed. */ AllowCheckIn?: BoxBoolean; } export interface EntitlementData { /** * Entitlement data name. */ Name: String; /** * Entitlement data value. */ Value?: String; /** * Entitlement data unit. */ Unit: EntitlementDataUnit; } export type EntitlementDataList = EntitlementData[]; export type EntitlementDataUnit = "Count"|"None"|"Seconds"|"Microseconds"|"Milliseconds"|"Bytes"|"Kilobytes"|"Megabytes"|"Gigabytes"|"Terabytes"|"Bits"|"Kilobits"|"Megabits"|"Gigabits"|"Terabits"|"Percent"|"Bytes/Second"|"Kilobytes/Second"|"Megabytes/Second"|"Gigabytes/Second"|"Terabytes/Second"|"Bits/Second"|"Kilobits/Second"|"Megabits/Second"|"Gigabits/Sec