@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 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
public DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest request)
AWSLicenseManager
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
deleteLicenseConfiguration
in interface AWSLicenseManager
public GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest request)
AWSLicenseManager
Gets detailed information about the specified license configuration.
getLicenseConfiguration
in interface AWSLicenseManager
public GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest request)
AWSLicenseManager
Gets the License Manager settings for the current Region.
getServiceSettings
in interface AWSLicenseManager
public ListAssociationsForLicenseConfigurationResult listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest request)
AWSLicenseManager
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
public ListFailuresForLicenseConfigurationOperationsResult listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest request)
AWSLicenseManager
Lists the license configuration operations that failed.
listFailuresForLicenseConfigurationOperations
in interface AWSLicenseManager
public ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest request)
AWSLicenseManager
Lists the license configurations for your account.
listLicenseConfigurations
in interface AWSLicenseManager
public ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request)
AWSLicenseManager
Describes the license configurations for the specified resource.
listLicenseSpecificationsForResource
in interface AWSLicenseManager
public ListResourceInventoryResult listResourceInventory(ListResourceInventoryRequest request)
AWSLicenseManager
Lists resources managed using Systems Manager inventory.
listResourceInventory
in interface AWSLicenseManager
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSLicenseManager
Lists the tags for the specified license configuration.
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
Adds the specified tags to the specified license configuration.
tagResource
in interface AWSLicenseManager
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSLicenseManager
Removes the specified tags from the specified license configuration.
untagResource
in interface AWSLicenseManager
public UpdateLicenseConfigurationResult updateLicenseConfiguration(UpdateLicenseConfigurationRequest request)
AWSLicenseManager
Modifies the attributes of an existing license configuration.
updateLicenseConfiguration
in interface AWSLicenseManager
public UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest request)
AWSLicenseManager
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 AWSLicenseManager
public UpdateServiceSettingsResult updateServiceSettings(UpdateServiceSettingsRequest request)
AWSLicenseManager
Updates License Manager settings for the current Region.
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.