@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerClient extends AmazonWebServiceClient implements AWSLicenseManager
AWS License Manager makes it easier to manage licenses from software vendors across multiple AWS accounts and on-premises servers.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AWSLicenseManagerClientBuilder builder()
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), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.
createLicenseConfiguration in interface AWSLicenseManagercreateLicenseConfigurationRequest - 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 AWS 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 AWSLicenseManagerdeleteLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest request)
Gets detailed information about the specified license configuration.
getLicenseConfiguration in interface AWSLicenseManagergetLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest request)
Gets the License Manager settings for the current Region.
getServiceSettings in interface AWSLicenseManagergetServiceSettingsRequest - ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 AWSLicenseManagerlistAssociationsForLicenseConfigurationRequest - 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 AWS 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 AWSLicenseManagerlistFailuresForLicenseConfigurationOperationsRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 AWSLicenseManagerlistLicenseConfigurationsRequest - 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 AWS 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 ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request)
Describes the license configurations for the specified resource.
listLicenseSpecificationsForResource in interface AWSLicenseManagerlistLicenseSpecificationsForResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 AWSLicenseManagerlistResourceInventoryRequest - 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 AWS 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 AWSLicenseManagerlistTagsForResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 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 AWSLicenseManagerlistUsageForLicenseConfigurationRequest - 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 AWS 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 TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified license configuration.
tagResource in interface AWSLicenseManagertagResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 AWSLicenseManageruntagResourceRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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.
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), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.
updateLicenseConfiguration in interface AWSLicenseManagerupdateLicenseConfigurationRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest request)
Adds or removes the specified license configurations for the specified AWS resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and AWS CloudFormation templates, as they send license configurations to the operation that creates the resource.
updateLicenseSpecificationsForResource in interface AWSLicenseManagerupdateLicenseSpecificationsForResourceRequest - 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 AWS 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 AWSLicenseManagerupdateServiceSettingsRequest - InvalidParameterValueException - One or more parameter values are not valid.ServerInternalException - The server experienced an internal error. Try again.AuthorizationException - The AWS 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 AWSLicenseManagerrequest - The originally executed requestCopyright © 2019. All rights reserved.