@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSLicenseManager
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSLicenseManager
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateLicenseConfigurationResult |
createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)
Creates a new license configuration object.
|
DeleteLicenseConfigurationResult |
deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)
Deletes an existing license configuration.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetLicenseConfigurationResult |
getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)
Returns a detailed description of a license configuration.
|
GetServiceSettingsResult |
getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)
Gets License Manager settings for a region.
|
ListAssociationsForLicenseConfigurationResult |
listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)
Lists the resource associations for a license configuration.
|
ListLicenseConfigurationsResult |
listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest)
Lists license configuration objects for an account, each containing the name, description, license type, and
other license terms modeled from a license agreement.
|
ListLicenseSpecificationsForResourceResult |
listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)
Returns the license configuration for a resource.
|
ListResourceInventoryResult |
listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)
Returns a detailed list of resources.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists tags attached to a resource.
|
ListUsageForLicenseConfigurationResult |
listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest)
Lists all license usage records for a license configuration, displaying license consumption details by resource
at a selected point in time.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Attach one of more tags to any resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
|
UpdateLicenseConfigurationResult |
updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)
Modifies the attributes of an existing license configuration object.
|
UpdateLicenseSpecificationsForResourceResult |
updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)
Adds or removes license configurations for a specified AWS resource.
|
UpdateServiceSettingsResult |
updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)
Updates License Manager service settings.
|
static final String ENDPOINT_PREFIX
CreateLicenseConfigurationResult createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)
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.
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 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.DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)
Deletes an existing license configuration. This action fails if the configuration is in use.
deleteLicenseConfigurationRequest
- 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.GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)
Returns a detailed description of a license configuration.
getLicenseConfigurationRequest
- 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.GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
getServiceSettingsRequest
- 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.ListAssociationsForLicenseConfigurationResult listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)
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.
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 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.ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest)
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
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 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.ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)
Returns the license configuration for a resource.
listLicenseSpecificationsForResourceRequest
- 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.ListResourceInventoryResult listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)
Returns a detailed list of resources.
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 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.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists tags attached to a resource.
listTagsForResourceRequest
- 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.ListUsageForLicenseConfigurationResult listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest)
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.
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 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.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Attach one of more tags to any resource.
tagResourceRequest
- 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.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
untagResourceRequest
- 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.UpdateLicenseConfigurationResult updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)
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.
updateLicenseConfigurationRequest
- 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.UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)
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
.
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 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.UpdateServiceSettingsResult updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)
Updates License Manager service settings.
updateServiceSettingsRequest
- 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.void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.