@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSLicenseManager extends Object implements AWSLicenseManager
AWSLicenseManager
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
public CreateLicenseConfigurationResult createLicenseConfiguration(CreateLicenseConfigurationRequest request)
AWSLicenseManager
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 AWSLicenseManager
public DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest request)
AWSLicenseManager
Deletes an existing license configuration. This action fails if the configuration is in use.
deleteLicenseConfiguration
in interface AWSLicenseManager
public GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest request)
AWSLicenseManager
Returns a detailed description of a license configuration.
getLicenseConfiguration
in interface AWSLicenseManager
public GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest request)
AWSLicenseManager
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
getServiceSettings
in interface AWSLicenseManager
public ListAssociationsForLicenseConfigurationResult listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest request)
AWSLicenseManager
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 AWSLicenseManager
public ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest request)
AWSLicenseManager
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 AWSLicenseManager
public ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request)
AWSLicenseManager
Returns the license configuration for a resource.
listLicenseSpecificationsForResource
in interface AWSLicenseManager
public ListResourceInventoryResult listResourceInventory(ListResourceInventoryRequest request)
AWSLicenseManager
Returns a detailed list of resources.
listResourceInventory
in interface AWSLicenseManager
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSLicenseManager
Lists tags attached to a resource.
listTagsForResource
in interface AWSLicenseManager
public ListUsageForLicenseConfigurationResult listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest request)
AWSLicenseManager
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
public TagResourceResult tagResource(TagResourceRequest request)
AWSLicenseManager
Attach one of more tags to any resource.
tagResource
in interface AWSLicenseManager
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSLicenseManager
Remove tags from a resource.
untagResource
in interface AWSLicenseManager
public UpdateLicenseConfigurationResult updateLicenseConfiguration(UpdateLicenseConfigurationRequest request)
AWSLicenseManager
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 AWSLicenseManager
public UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest request)
AWSLicenseManager
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 AWSLicenseManager
public UpdateServiceSettingsResult updateServiceSettings(UpdateServiceSettingsRequest request)
AWSLicenseManager
Updates License Manager service settings.
updateServiceSettings
in interface AWSLicenseManager
public void shutdown()
AWSLicenseManager
shutdown
in interface AWSLicenseManager
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSLicenseManager
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.
getCachedResponseMetadata
in interface AWSLicenseManager
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.