@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerClient extends AmazonWebServiceClient implements AWSLicenseManager
This is the AWS License Manager API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types for License Manager. The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.
Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownpublic static AWSLicenseManagerClientBuilder builder()
public CreateLicenseConfigurationResult createLicenseConfiguration(CreateLicenseConfigurationRequest request)
Creates a new license configuration object. 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), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), 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 an existing license configuration. This action fails if the configuration 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)
Returns a detailed description of a 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 License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
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 a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.
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 ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest request)
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
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)
Returns the license configuration for a 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)
Returns a detailed list of resources.
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 tags attached to a resource.
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)
Attach one of more tags to any resource.
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)
Remove tags from a resource.
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 object. 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 (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), 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 license configurations for a specified AWS resource. This operation currently supports updating
the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are
not managed from this operation as those resources send the license configurations directly to a resource
creation operation, such as RunInstances.
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 service settings.
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.