/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.licensemanager; import javax.annotation.Generated; import com.amazonaws.*; import com.amazonaws.regions.*; import com.amazonaws.services.licensemanager.model.*; /** * Interface for accessing AWS License Manager. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.licensemanager.AbstractAWSLicenseManager} instead. *
**
* License Manager makes it easier to manage licenses from software vendors across multiple Amazon Web Services accounts * and on-premises servers. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSLicenseManager { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "license-manager"; /** ** Accepts the specified grant. *
* * @param acceptGrantRequest * @return Result of the AcceptGrant operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.AcceptGrant * @see AWS * API Documentation */ AcceptGrantResult acceptGrant(AcceptGrantRequest acceptGrantRequest); /** ** Checks in the specified license. Check in a license when it is no longer in use. *
* * @param checkInLicenseRequest * @return Result of the CheckInLicense operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceNotFoundException * The resource cannot be found. * @throws ConflictException * There was a conflict processing the request. Try your request again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.CheckInLicense * @see AWS * API Documentation */ CheckInLicenseResult checkInLicense(CheckInLicenseRequest checkInLicenseRequest); /** ** Checks out the specified license for offline use. *
* * @param checkoutBorrowLicenseRequest * @return Result of the CheckoutBorrowLicense operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceNotFoundException * The resource cannot be found. * @throws NoEntitlementsAllowedException * There are no entitlements found for this license, or the entitlement maximum count is reached. * @throws EntitlementNotAllowedException * The entitlement is not allowed. * @throws UnsupportedDigitalSignatureMethodException * The digital signature method is unsupported. Try your request again. * @throws RedirectException * This is not the correct Region for the resource. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.CheckoutBorrowLicense * @see AWS API Documentation */ CheckoutBorrowLicenseResult checkoutBorrowLicense(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest); /** ** Checks out the specified license. *
** If the account that created the license is the same that is performing the check out, you must specify the * account as the beneficiary. *
** Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon * Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in * License Manager in the License Manager User Guide. *
* * @param createGrantRequest * @return Result of the CreateGrant operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws AccessDeniedException * Access to resource denied. * @sample AWSLicenseManager.CreateGrant * @see AWS * API Documentation */ CreateGrantResult createGrant(CreateGrantRequest createGrantRequest); /** ** Creates a new version of the specified grant. For more information, see Granted licenses in * License Manager in the License Manager User Guide. *
* * @param createGrantVersionRequest * @return Result of the CreateGrantVersion operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.CreateGrantVersion * @see AWS API Documentation */ CreateGrantVersionResult createGrantVersion(CreateGrantVersionRequest createGrantVersionRequest); /** ** Creates a license. *
* * @param createLicenseRequest * @return Result of the CreateLicense operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws RedirectException * This is not the correct Region for the resource. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.CreateLicense * @see AWS * API Documentation */ CreateLicenseResult createLicense(CreateLicenseRequest createLicenseRequest); /** ** 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. *
* * @param createLicenseConfigurationRequest * @return Result of the CreateLicenseConfiguration operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.CreateLicenseConfiguration * @see AWS API Documentation */ CreateLicenseConfigurationResult createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest); /** ** Creates a new license conversion task. *
* * @param createLicenseConversionTaskForResourceRequest * @return Result of the CreateLicenseConversionTaskForResource operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.CreateLicenseConversionTaskForResource * @see AWS API Documentation */ CreateLicenseConversionTaskForResourceResult createLicenseConversionTaskForResource( CreateLicenseConversionTaskForResourceRequest createLicenseConversionTaskForResourceRequest); /** ** Creates a report generator. *
* * @param createLicenseManagerReportGeneratorRequest * @return Result of the CreateLicenseManagerReportGenerator operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws AccessDeniedException * Access to resource denied. * @throws ResourceNotFoundException * The resource cannot be found. * @sample AWSLicenseManager.CreateLicenseManagerReportGenerator * @see AWS API Documentation */ CreateLicenseManagerReportGeneratorResult createLicenseManagerReportGenerator( CreateLicenseManagerReportGeneratorRequest createLicenseManagerReportGeneratorRequest); /** ** Creates a new version of the specified license. *
* * @param createLicenseVersionRequest * @return Result of the CreateLicenseVersion operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws AccessDeniedException * Access to resource denied. * @throws ResourceNotFoundException * The resource cannot be found. * @throws RedirectException * This is not the correct Region for the resource. Try again. * @throws ConflictException * There was a conflict processing the request. Try your request again. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.CreateLicenseVersion * @see AWS API Documentation */ CreateLicenseVersionResult createLicenseVersion(CreateLicenseVersionRequest createLicenseVersionRequest); /** ** 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. *
* * @param createTokenRequest * @return Result of the CreateToken operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws ResourceNotFoundException * The resource cannot be found. * @throws RedirectException * This is not the correct Region for the resource. Try again. * @sample AWSLicenseManager.CreateToken * @see AWS * API Documentation */ CreateTokenResult createToken(CreateTokenRequest createTokenRequest); /** ** Deletes the specified grant. *
* * @param deleteGrantRequest * @return Result of the DeleteGrant operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.DeleteGrant * @see AWS * API Documentation */ DeleteGrantResult deleteGrant(DeleteGrantRequest deleteGrantRequest); /** ** Deletes the specified license. *
* * @param deleteLicenseRequest * @return Result of the DeleteLicense operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws RedirectException * This is not the correct Region for the resource. Try again. * @throws ConflictException * There was a conflict processing the request. Try your request again. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.DeleteLicense * @see AWS * API Documentation */ DeleteLicenseResult deleteLicense(DeleteLicenseRequest deleteLicenseRequest); /** ** Deletes the specified license configuration. *
** You cannot delete a license configuration that is in use. *
* * @param deleteLicenseConfigurationRequest * @return Result of the DeleteLicenseConfiguration operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.DeleteLicenseConfiguration * @see AWS API Documentation */ DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest); /** ** 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. *
* * @param deleteLicenseManagerReportGeneratorRequest * @return Result of the DeleteLicenseManagerReportGenerator operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws AccessDeniedException * Access to resource denied. * @throws ResourceNotFoundException * The resource cannot be found. * @sample AWSLicenseManager.DeleteLicenseManagerReportGenerator * @see AWS API Documentation */ DeleteLicenseManagerReportGeneratorResult deleteLicenseManagerReportGenerator( DeleteLicenseManagerReportGeneratorRequest deleteLicenseManagerReportGeneratorRequest); /** ** Deletes the specified token. Must be called in the license home Region. *
* * @param deleteTokenRequest * @return Result of the DeleteToken operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws ResourceNotFoundException * The resource cannot be found. * @throws RedirectException * This is not the correct Region for the resource. Try again. * @sample AWSLicenseManager.DeleteToken * @see AWS * API Documentation */ DeleteTokenResult deleteToken(DeleteTokenRequest deleteTokenRequest); /** ** Extends the expiration date for license consumption. *
* * @param extendLicenseConsumptionRequest * @return Result of the ExtendLicenseConsumption operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws ResourceNotFoundException * The resource cannot be found. * @sample AWSLicenseManager.ExtendLicenseConsumption * @see AWS API Documentation */ ExtendLicenseConsumptionResult extendLicenseConsumption(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest); /** ** Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour. *
* * @param getAccessTokenRequest * @return Result of the GetAccessToken operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.GetAccessToken * @see AWS * API Documentation */ GetAccessTokenResult getAccessToken(GetAccessTokenRequest getAccessTokenRequest); /** ** Gets detailed information about the specified grant. *
* * @param getGrantRequest * @return Result of the GetGrant operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.GetGrant * @see AWS API * Documentation */ GetGrantResult getGrant(GetGrantRequest getGrantRequest); /** ** Gets detailed information about the specified license. *
* * @param getLicenseRequest * @return Result of the GetLicense operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.GetLicense * @see AWS API * Documentation */ GetLicenseResult getLicense(GetLicenseRequest getLicenseRequest); /** ** Gets detailed information about the specified license configuration. *
* * @param getLicenseConfigurationRequest * @return Result of the GetLicenseConfiguration operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.GetLicenseConfiguration * @see AWS API Documentation */ GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest); /** ** Gets information about the specified license type conversion task. *
* * @param getLicenseConversionTaskRequest * @return Result of the GetLicenseConversionTask operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.GetLicenseConversionTask * @see AWS API Documentation */ GetLicenseConversionTaskResult getLicenseConversionTask(GetLicenseConversionTaskRequest getLicenseConversionTaskRequest); /** ** Gets information about the specified report generator. *
* * @param getLicenseManagerReportGeneratorRequest * @return Result of the GetLicenseManagerReportGenerator operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws AccessDeniedException * Access to resource denied. * @throws ResourceNotFoundException * The resource cannot be found. * @sample AWSLicenseManager.GetLicenseManagerReportGenerator * @see AWS API Documentation */ GetLicenseManagerReportGeneratorResult getLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest getLicenseManagerReportGeneratorRequest); /** ** Gets detailed information about the usage of the specified license. *
* * @param getLicenseUsageRequest * @return Result of the GetLicenseUsage operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.GetLicenseUsage * @see AWS API Documentation */ GetLicenseUsageResult getLicenseUsage(GetLicenseUsageRequest getLicenseUsageRequest); /** ** Gets the License Manager settings for the current Region. *
* * @param getServiceSettingsRequest * @return Result of the GetServiceSettings operation returned by the service. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.GetServiceSettings * @see AWS API Documentation */ GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest); /** ** 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). *
* * @param listAssociationsForLicenseConfigurationRequest * @return Result of the ListAssociationsForLicenseConfiguration operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws FilterLimitExceededException * The request uses too many filters or too many filter values. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListAssociationsForLicenseConfiguration * @see AWS API Documentation */ ListAssociationsForLicenseConfigurationResult listAssociationsForLicenseConfiguration( ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest); /** ** Lists the grants distributed for the specified license. *
* * @param listDistributedGrantsRequest * @return Result of the ListDistributedGrants operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListDistributedGrants * @see AWS API Documentation */ ListDistributedGrantsResult listDistributedGrants(ListDistributedGrantsRequest listDistributedGrantsRequest); /** ** Lists the license configuration operations that failed. *
* * @param listFailuresForLicenseConfigurationOperationsRequest * @return Result of the ListFailuresForLicenseConfigurationOperations operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListFailuresForLicenseConfigurationOperations * @see AWS API Documentation */ ListFailuresForLicenseConfigurationOperationsResult listFailuresForLicenseConfigurationOperations( ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest); /** ** Lists the license configurations for your account. *
* * @param listLicenseConfigurationsRequest * @return Result of the ListLicenseConfigurations operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws FilterLimitExceededException * The request uses too many filters or too many filter values. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListLicenseConfigurations * @see AWS API Documentation */ ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest); /** ** Lists the license type conversion tasks for your account. *
* * @param listLicenseConversionTasksRequest * @return Result of the ListLicenseConversionTasks operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListLicenseConversionTasks * @see AWS API Documentation */ ListLicenseConversionTasksResult listLicenseConversionTasks(ListLicenseConversionTasksRequest listLicenseConversionTasksRequest); /** ** Lists the report generators for your account. *
* * @param listLicenseManagerReportGeneratorsRequest * @return Result of the ListLicenseManagerReportGenerators operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws AccessDeniedException * Access to resource denied. * @throws ResourceNotFoundException * The resource cannot be found. * @sample AWSLicenseManager.ListLicenseManagerReportGenerators * @see AWS API Documentation */ ListLicenseManagerReportGeneratorsResult listLicenseManagerReportGenerators( ListLicenseManagerReportGeneratorsRequest listLicenseManagerReportGeneratorsRequest); /** ** Describes the license configurations for the specified resource. *
* * @param listLicenseSpecificationsForResourceRequest * @return Result of the ListLicenseSpecificationsForResource operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListLicenseSpecificationsForResource * @see AWS API Documentation */ ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource( ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest); /** ** Lists all versions of the specified license. *
* * @param listLicenseVersionsRequest * @return Result of the ListLicenseVersions operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.ListLicenseVersions * @see AWS API Documentation */ ListLicenseVersionsResult listLicenseVersions(ListLicenseVersionsRequest listLicenseVersionsRequest); /** ** Lists the licenses for your account. *
* * @param listLicensesRequest * @return Result of the ListLicenses operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.ListLicenses * @see AWS * API Documentation */ ListLicensesResult listLicenses(ListLicensesRequest listLicensesRequest); /** ** Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon * Web Services account, your organization, or an organizational unit (OU) to which this member account belongs. *
* * @param listReceivedGrantsRequest * @return Result of the ListReceivedGrants operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListReceivedGrants * @see AWS API Documentation */ ListReceivedGrantsResult listReceivedGrants(ListReceivedGrantsRequest listReceivedGrantsRequest); /** ** Lists the grants received for all accounts in the organization. *
* * @param listReceivedGrantsForOrganizationRequest * @return Result of the ListReceivedGrantsForOrganization operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListReceivedGrantsForOrganization * @see AWS API Documentation */ ListReceivedGrantsForOrganizationResult listReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest listReceivedGrantsForOrganizationRequest); /** ** Lists received licenses. *
* * @param listReceivedLicensesRequest * @return Result of the ListReceivedLicenses operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListReceivedLicenses * @see AWS API Documentation */ ListReceivedLicensesResult listReceivedLicenses(ListReceivedLicensesRequest listReceivedLicensesRequest); /** ** Lists the licenses received for all accounts in the organization. *
* * @param listReceivedLicensesForOrganizationRequest * @return Result of the ListReceivedLicensesForOrganization operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListReceivedLicensesForOrganization * @see AWS API Documentation */ ListReceivedLicensesForOrganizationResult listReceivedLicensesForOrganization( ListReceivedLicensesForOrganizationRequest listReceivedLicensesForOrganizationRequest); /** ** Lists resources managed using Systems Manager inventory. *
* * @param listResourceInventoryRequest * @return Result of the ListResourceInventory operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws FilterLimitExceededException * The request uses too many filters or too many filter values. * @throws FailedDependencyException * A dependency required to run the API is missing. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListResourceInventory * @see AWS API Documentation */ ListResourceInventoryResult listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest); /** ** Lists the tags for the specified license configuration. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListTagsForResource * @see AWS API Documentation */ ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest); /** ** Lists your tokens. *
* * @param listTokensRequest * @return Result of the ListTokens operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.ListTokens * @see AWS API * Documentation */ ListTokensResult listTokens(ListTokensRequest listTokensRequest); /** ** 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. *
* * @param listUsageForLicenseConfigurationRequest * @return Result of the ListUsageForLicenseConfiguration operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws FilterLimitExceededException * The request uses too many filters or too many filter values. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.ListUsageForLicenseConfiguration * @see AWS API Documentation */ ListUsageForLicenseConfigurationResult listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest); /** ** Rejects the specified grant. *
* * @param rejectGrantRequest * @return Result of the RejectGrant operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @throws ServerInternalException * The server experienced an internal error. Try again. * @sample AWSLicenseManager.RejectGrant * @see AWS * API Documentation */ RejectGrantResult rejectGrant(RejectGrantRequest rejectGrantRequest); /** ** Adds the specified tags to the specified license configuration. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.TagResource * @see AWS * API Documentation */ TagResourceResult tagResource(TagResourceRequest tagResourceRequest); /** ** Removes the specified tags from the specified license configuration. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.UntagResource * @see AWS * API Documentation */ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest); /** ** Modifies the attributes of an existing license configuration. *
* * @param updateLicenseConfigurationRequest * @return Result of the UpdateLicenseConfiguration operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @sample AWSLicenseManager.UpdateLicenseConfiguration * @see AWS API Documentation */ UpdateLicenseConfigurationResult updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest); /** ** Updates a report generator. *
** After you make changes to a report generator, it starts generating new reports within 60 minutes of being * updated. *
* * @param updateLicenseManagerReportGeneratorRequest * @return Result of the UpdateLicenseManagerReportGenerator operation returned by the service. * @throws ValidationException * The provided input is not valid. Try your request again. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws ResourceNotFoundException * The resource cannot be found. * @throws ResourceLimitExceededException * Your resource limits have been exceeded. * @sample AWSLicenseManager.UpdateLicenseManagerReportGenerator * @see AWS API Documentation */ UpdateLicenseManagerReportGeneratorResult updateLicenseManagerReportGenerator( UpdateLicenseManagerReportGeneratorRequest updateLicenseManagerReportGeneratorRequest); /** ** 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. *
* * @param updateLicenseSpecificationsForResourceRequest * @return Result of the UpdateLicenseSpecificationsForResource operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws InvalidResourceStateException * License Manager cannot allocate a license to a resource because of its state. ** For example, you cannot allocate a license to an instance in the process of shutting down. * @throws LicenseUsageException * You do not have enough licenses available to support a new resource launch. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.UpdateLicenseSpecificationsForResource * @see AWS API Documentation */ UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource( UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest); /** *
* Updates License Manager settings for the current Region. *
* * @param updateServiceSettingsRequest * @return Result of the UpdateServiceSettings operation returned by the service. * @throws InvalidParameterValueException * One or more parameter values are not valid. * @throws ServerInternalException * The server experienced an internal error. Try again. * @throws AuthorizationException * The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy * associated with this account. * @throws AccessDeniedException * Access to resource denied. * @throws RateLimitExceededException * Too many requests have been submitted. Try again after a brief wait. * @sample AWSLicenseManager.UpdateServiceSettings * @see AWS API Documentation */ UpdateServiceSettingsResult updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest); /** * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client * has been shutdown, it should not be used to make any more requests. */ void shutdown(); /** * Returns additional metadata for a previously executed successful request, typically used for debugging issues * where a service isn't acting as expected. This data isn't considered part of the result data returned by an * operation, so it's available through this separate, diagnostic interface. ** Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic * information for an executed request, you should use this method to retrieve it as soon as possible after * executing a request. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); }