@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerClient extends AmazonWebServiceClient implements AWSLicenseManager
License Manager makes it easier to manage licenses from software vendors across multiple Amazon Web Services accounts and on-premises servers.
LOGGING_AWS_REQUEST_METRIC ENDPOINT_PREFIX addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset public static AWSLicenseManagerClientBuilder builder()
public AcceptGrantResult acceptGrant(AcceptGrantRequest request)
Accepts the specified grant.
acceptGrant in interface AWSLicenseManager acceptGrantRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.public CheckInLicenseResult checkInLicense(CheckInLicenseRequest request)
Checks in the specified license. Check in a license when it is no longer in use.
checkInLicense in interface AWSLicenseManager checkInLicenseRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceNotFoundException - The resource cannot be found.ConflictException - There was a conflict processing the request. Try your request again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public CheckoutBorrowLicenseResult checkoutBorrowLicense(CheckoutBorrowLicenseRequest request)
Checks out the specified license for offline use.
checkoutBorrowLicense in interface AWSLicenseManager checkoutBorrowLicenseRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceNotFoundException - The resource cannot be found.NoEntitlementsAllowedException - There are no entitlements found for this license, or the entitlement maximum count is reached.EntitlementNotAllowedException - The entitlement is not allowed.UnsupportedDigitalSignatureMethodException - The digital signature method is unsupported. Try your request again.RedirectException - This is not the correct Region for the resource. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public CheckoutLicenseResult checkoutLicense(CheckoutLicenseRequest request)
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.
checkoutLicense in interface AWSLicenseManager checkoutLicenseRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceNotFoundException - The resource cannot be found.NoEntitlementsAllowedException - There are no entitlements found for this license, or the entitlement maximum count is reached.UnsupportedDigitalSignatureMethodException - The digital signature method is unsupported. Try your request again.RedirectException - This is not the correct Region for the resource. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public CreateGrantResult createGrant(CreateGrantRequest request)
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.
createGrant in interface AWSLicenseManager createGrantRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.AccessDeniedException - Access to resource denied.public CreateGrantVersionResult createGrantVersion(CreateGrantVersionRequest request)
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
createGrantVersion in interface AWSLicenseManager createGrantVersionRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public CreateLicenseResult createLicense(CreateLicenseRequest request)
Creates a license.
createLicense in interface AWSLicenseManager createLicenseRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.RedirectException - This is not the correct Region for the resource. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public CreateLicenseConfigurationResult createLicenseConfiguration(CreateLicenseConfigurationRequest request)
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 in interface AWSLicenseManager createLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.ResourceLimitExceededException - Your resource limits have been exceeded.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public CreateLicenseConversionTaskForResourceResult createLicenseConversionTaskForResource(CreateLicenseConversionTaskForResourceRequest request)
Creates a new license conversion task.
createLicenseConversionTaskForResource in interface AWSLicenseManager createLicenseConversionTaskForResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ValidationException - The provided input is not valid. Try your request again.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public CreateLicenseManagerReportGeneratorResult createLicenseManagerReportGenerator(CreateLicenseManagerReportGeneratorRequest request)
Creates a report generator.
createLicenseManagerReportGenerator in interface AWSLicenseManager createLicenseManagerReportGeneratorRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.AccessDeniedException - Access to resource denied.ResourceNotFoundException - The resource cannot be found.public CreateLicenseVersionResult createLicenseVersion(CreateLicenseVersionRequest request)
Creates a new version of the specified license.
createLicenseVersion in interface AWSLicenseManager createLicenseVersionRequest - ValidationException - The provided input is not valid. Try your request again.AccessDeniedException - Access to resource denied.ResourceNotFoundException - The resource cannot be found.RedirectException - This is not the correct Region for the resource. Try again.ConflictException - There was a conflict processing the request. Try your request again.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public CreateTokenResult createToken(CreateTokenRequest request)
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 in interface AWSLicenseManager createTokenRequest - ValidationException - The provided input is not valid. Try your request again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.ResourceNotFoundException - The resource cannot be found.RedirectException - This is not the correct Region for the resource. Try again.public DeleteGrantResult deleteGrant(DeleteGrantRequest request)
Deletes the specified grant.
deleteGrant in interface AWSLicenseManager deleteGrantRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.public DeleteLicenseResult deleteLicense(DeleteLicenseRequest request)
Deletes the specified license.
deleteLicense in interface AWSLicenseManager deleteLicenseRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.RedirectException - This is not the correct Region for the resource. Try again.ConflictException - There was a conflict processing the request. Try your request again.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest request)
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
deleteLicenseConfiguration in interface AWSLicenseManager deleteLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public DeleteLicenseManagerReportGeneratorResult deleteLicenseManagerReportGenerator(DeleteLicenseManagerReportGeneratorRequest request)
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 in interface AWSLicenseManager deleteLicenseManagerReportGeneratorRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.AccessDeniedException - Access to resource denied.ResourceNotFoundException - The resource cannot be found.public DeleteTokenResult deleteToken(DeleteTokenRequest request)
Deletes the specified token. Must be called in the license home Region.
deleteToken in interface AWSLicenseManager deleteTokenRequest - ValidationException - The provided input is not valid. Try your request again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.ResourceNotFoundException - The resource cannot be found.RedirectException - This is not the correct Region for the resource. Try again.public ExtendLicenseConsumptionResult extendLicenseConsumption(ExtendLicenseConsumptionRequest request)
Extends the expiration date for license consumption.
extendLicenseConsumption in interface AWSLicenseManager extendLicenseConsumptionRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.ResourceNotFoundException - The resource cannot be found.public GetAccessTokenResult getAccessToken(GetAccessTokenRequest request)
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
getAccessToken in interface AWSLicenseManager getAccessTokenRequest - ValidationException - The provided input is not valid. Try your request again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public GetGrantResult getGrant(GetGrantRequest request)
Gets detailed information about the specified grant.
getGrant in interface AWSLicenseManager getGrantRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public GetLicenseResult getLicense(GetLicenseRequest request)
Gets detailed information about the specified license.
getLicense in interface AWSLicenseManager getLicenseRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest request)
Gets detailed information about the specified license configuration.
getLicenseConfiguration in interface AWSLicenseManager getLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public GetLicenseConversionTaskResult getLicenseConversionTask(GetLicenseConversionTaskRequest request)
Gets information about the specified license type conversion task.
getLicenseConversionTask in interface AWSLicenseManager getLicenseConversionTaskRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public GetLicenseManagerReportGeneratorResult getLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest request)
Gets information about the specified report generator.
getLicenseManagerReportGenerator in interface AWSLicenseManager getLicenseManagerReportGeneratorRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.AccessDeniedException - Access to resource denied.ResourceNotFoundException - The resource cannot be found.public GetLicenseUsageResult getLicenseUsage(GetLicenseUsageRequest request)
Gets detailed information about the usage of the specified license.
getLicenseUsage in interface AWSLicenseManager getLicenseUsageRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest request)
Gets the License Manager settings for the current Region.
getServiceSettings in interface AWSLicenseManager getServiceSettingsRequest - ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListAssociationsForLicenseConfigurationResult listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest request)
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 in interface AWSLicenseManager listAssociationsForLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.FilterLimitExceededException - The request uses too many filters or too many filter values.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListDistributedGrantsResult listDistributedGrants(ListDistributedGrantsRequest request)
Lists the grants distributed for the specified license.
listDistributedGrants in interface AWSLicenseManager listDistributedGrantsRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListFailuresForLicenseConfigurationOperationsResult listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest request)
Lists the license configuration operations that failed.
listFailuresForLicenseConfigurationOperations in interface AWSLicenseManager listFailuresForLicenseConfigurationOperationsRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest request)
Lists the license configurations for your account.
listLicenseConfigurations in interface AWSLicenseManager listLicenseConfigurationsRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.FilterLimitExceededException - The request uses too many filters or too many filter values.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListLicenseConversionTasksResult listLicenseConversionTasks(ListLicenseConversionTasksRequest request)
Lists the license type conversion tasks for your account.
listLicenseConversionTasks in interface AWSLicenseManager listLicenseConversionTasksRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListLicenseManagerReportGeneratorsResult listLicenseManagerReportGenerators(ListLicenseManagerReportGeneratorsRequest request)
Lists the report generators for your account.
listLicenseManagerReportGenerators in interface AWSLicenseManager listLicenseManagerReportGeneratorsRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.AccessDeniedException - Access to resource denied.ResourceNotFoundException - The resource cannot be found.public ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request)
Describes the license configurations for the specified resource.
listLicenseSpecificationsForResource in interface AWSLicenseManager listLicenseSpecificationsForResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListLicenseVersionsResult listLicenseVersions(ListLicenseVersionsRequest request)
Lists all versions of the specified license.
listLicenseVersions in interface AWSLicenseManager listLicenseVersionsRequest - InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public ListLicensesResult listLicenses(ListLicensesRequest request)
Lists the licenses for your account.
listLicenses in interface AWSLicenseManager listLicensesRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public ListReceivedGrantsResult listReceivedGrants(ListReceivedGrantsRequest request)
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.
listReceivedGrants in interface AWSLicenseManager listReceivedGrantsRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListReceivedGrantsForOrganizationResult listReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest request)
Lists the grants received for all accounts in the organization.
listReceivedGrantsForOrganization in interface AWSLicenseManager listReceivedGrantsForOrganizationRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListReceivedLicensesResult listReceivedLicenses(ListReceivedLicensesRequest request)
Lists received licenses.
listReceivedLicenses in interface AWSLicenseManager listReceivedLicensesRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListReceivedLicensesForOrganizationResult listReceivedLicensesForOrganization(ListReceivedLicensesForOrganizationRequest request)
Lists the licenses received for all accounts in the organization.
listReceivedLicensesForOrganization in interface AWSLicenseManager listReceivedLicensesForOrganizationRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListResourceInventoryResult listResourceInventory(ListResourceInventoryRequest request)
Lists resources managed using Systems Manager inventory.
listResourceInventory in interface AWSLicenseManager listResourceInventoryRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.FilterLimitExceededException - The request uses too many filters or too many filter values.FailedDependencyException - A dependency required to run the API is missing.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified license configuration.
listTagsForResource in interface AWSLicenseManager listTagsForResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ListTokensResult listTokens(ListTokensRequest request)
Lists your tokens.
listTokens in interface AWSLicenseManager listTokensRequest - ValidationException - The provided input is not valid. Try your request again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.public ListUsageForLicenseConfigurationResult listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest request)
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 in interface AWSLicenseManager listUsageForLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.FilterLimitExceededException - The request uses too many filters or too many filter values.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public RejectGrantResult rejectGrant(RejectGrantRequest request)
Rejects the specified grant.
rejectGrant in interface AWSLicenseManager rejectGrantRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException - Your resource limits have been exceeded.ServerInternalException - The server experienced an internal error. Try again.public TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified license configuration.
tagResource in interface AWSLicenseManager tagResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified license configuration.
untagResource in interface AWSLicenseManager untagResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public UpdateLicenseConfigurationResult updateLicenseConfiguration(UpdateLicenseConfigurationRequest request)
Modifies the attributes of an existing license configuration.
updateLicenseConfiguration in interface AWSLicenseManager updateLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException - Your resource limits have been exceeded.public UpdateLicenseManagerReportGeneratorResult updateLicenseManagerReportGenerator(UpdateLicenseManagerReportGeneratorRequest request)
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
updateLicenseManagerReportGenerator in interface AWSLicenseManager updateLicenseManagerReportGeneratorRequest - ValidationException - The provided input is not valid. Try your request again.InvalidParameterValueException - One or more parameter values are not valid.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.ResourceNotFoundException - The resource cannot be found.ResourceLimitExceededException - Your resource limits have been exceeded.public UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest request)
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 in interface AWSLicenseManager updateLicenseSpecificationsForResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.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.
LicenseUsageException - You do not have enough licenses available to support a new resource launch.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public UpdateServiceSettingsResult updateServiceSettings(UpdateServiceSettingsRequest request)
Updates License Manager settings for the current Region.
updateServiceSettings in interface AWSLicenseManager updateServiceSettingsRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy
associated with this account.AccessDeniedException - Access to resource denied.RateLimitExceededException - Too many requests have been submitted. Try again after a brief wait.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata in interface AWSLicenseManager request - The originally executed requestpublic void shutdown()
AmazonWebServiceClient shutdown in interface AWSLicenseManager shutdown in class AmazonWebServiceClient