@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerAsyncClient extends AWSLicenseManagerClient implements AWSLicenseManagerAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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_METRIC
ENDPOINT_PREFIX
builder, createLicenseConfiguration, deleteLicenseConfiguration, getCachedResponseMetadata, getLicenseConfiguration, getServiceSettings, listAssociationsForLicenseConfiguration, listLicenseConfigurations, listLicenseSpecificationsForResource, listResourceInventory, listTagsForResource, listUsageForLicenseConfiguration, tagResource, untagResource, updateLicenseConfiguration, updateLicenseSpecificationsForResource, updateServiceSettings
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createLicenseConfiguration, deleteLicenseConfiguration, getCachedResponseMetadata, getLicenseConfiguration, getServiceSettings, listAssociationsForLicenseConfiguration, listLicenseConfigurations, listLicenseSpecificationsForResource, listResourceInventory, listTagsForResource, listUsageForLicenseConfiguration, tagResource, untagResource, updateLicenseConfiguration, updateLicenseSpecificationsForResource, updateServiceSettings
public static AWSLicenseManagerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateLicenseConfigurationResult> createLicenseConfigurationAsync(CreateLicenseConfigurationRequest request)
AWSLicenseManagerAsync
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.
createLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<CreateLicenseConfigurationResult> createLicenseConfigurationAsync(CreateLicenseConfigurationRequest request, AsyncHandler<CreateLicenseConfigurationRequest,CreateLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
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.
createLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLicenseConfigurationResult> deleteLicenseConfigurationAsync(DeleteLicenseConfigurationRequest request)
AWSLicenseManagerAsync
Deletes an existing license configuration. This action fails if the configuration is in use.
deleteLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<DeleteLicenseConfigurationResult> deleteLicenseConfigurationAsync(DeleteLicenseConfigurationRequest request, AsyncHandler<DeleteLicenseConfigurationRequest,DeleteLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
Deletes an existing license configuration. This action fails if the configuration is in use.
deleteLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLicenseConfigurationResult> getLicenseConfigurationAsync(GetLicenseConfigurationRequest request)
AWSLicenseManagerAsync
Returns a detailed description of a license configuration.
getLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<GetLicenseConfigurationResult> getLicenseConfigurationAsync(GetLicenseConfigurationRequest request, AsyncHandler<GetLicenseConfigurationRequest,GetLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
Returns a detailed description of a license configuration.
getLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request)
AWSLicenseManagerAsync
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
getServiceSettingsAsync
in interface AWSLicenseManagerAsync
public Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request, AsyncHandler<GetServiceSettingsRequest,GetServiceSettingsResult> asyncHandler)
AWSLicenseManagerAsync
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
getServiceSettingsAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAssociationsForLicenseConfigurationResult> listAssociationsForLicenseConfigurationAsync(ListAssociationsForLicenseConfigurationRequest request)
AWSLicenseManagerAsync
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.
listAssociationsForLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<ListAssociationsForLicenseConfigurationResult> listAssociationsForLicenseConfigurationAsync(ListAssociationsForLicenseConfigurationRequest request, AsyncHandler<ListAssociationsForLicenseConfigurationRequest,ListAssociationsForLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
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.
listAssociationsForLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLicenseConfigurationsResult> listLicenseConfigurationsAsync(ListLicenseConfigurationsRequest request)
AWSLicenseManagerAsync
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
listLicenseConfigurationsAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseConfigurationsResult> listLicenseConfigurationsAsync(ListLicenseConfigurationsRequest request, AsyncHandler<ListLicenseConfigurationsRequest,ListLicenseConfigurationsResult> asyncHandler)
AWSLicenseManagerAsync
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
listLicenseConfigurationsAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListLicenseSpecificationsForResourceResult> listLicenseSpecificationsForResourceAsync(ListLicenseSpecificationsForResourceRequest request)
AWSLicenseManagerAsync
Returns the license configuration for a resource.
listLicenseSpecificationsForResourceAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseSpecificationsForResourceResult> listLicenseSpecificationsForResourceAsync(ListLicenseSpecificationsForResourceRequest request, AsyncHandler<ListLicenseSpecificationsForResourceRequest,ListLicenseSpecificationsForResourceResult> asyncHandler)
AWSLicenseManagerAsync
Returns the license configuration for a resource.
listLicenseSpecificationsForResourceAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResourceInventoryResult> listResourceInventoryAsync(ListResourceInventoryRequest request)
AWSLicenseManagerAsync
Returns a detailed list of resources.
listResourceInventoryAsync
in interface AWSLicenseManagerAsync
public Future<ListResourceInventoryResult> listResourceInventoryAsync(ListResourceInventoryRequest request, AsyncHandler<ListResourceInventoryRequest,ListResourceInventoryResult> asyncHandler)
AWSLicenseManagerAsync
Returns a detailed list of resources.
listResourceInventoryAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSLicenseManagerAsync
Lists tags attached to a resource.
listTagsForResourceAsync
in interface AWSLicenseManagerAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSLicenseManagerAsync
Lists tags attached to a resource.
listTagsForResourceAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListUsageForLicenseConfigurationResult> listUsageForLicenseConfigurationAsync(ListUsageForLicenseConfigurationRequest request)
AWSLicenseManagerAsync
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.
listUsageForLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<ListUsageForLicenseConfigurationResult> listUsageForLicenseConfigurationAsync(ListUsageForLicenseConfigurationRequest request, AsyncHandler<ListUsageForLicenseConfigurationRequest,ListUsageForLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
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.
listUsageForLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSLicenseManagerAsync
Attach one of more tags to any resource.
tagResourceAsync
in interface AWSLicenseManagerAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSLicenseManagerAsync
Attach one of more tags to any resource.
tagResourceAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSLicenseManagerAsync
Remove tags from a resource.
untagResourceAsync
in interface AWSLicenseManagerAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSLicenseManagerAsync
Remove tags from a resource.
untagResourceAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLicenseConfigurationResult> updateLicenseConfigurationAsync(UpdateLicenseConfigurationRequest request)
AWSLicenseManagerAsync
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.
updateLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<UpdateLicenseConfigurationResult> updateLicenseConfigurationAsync(UpdateLicenseConfigurationRequest request, AsyncHandler<UpdateLicenseConfigurationRequest,UpdateLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
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.
updateLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLicenseSpecificationsForResourceResult> updateLicenseSpecificationsForResourceAsync(UpdateLicenseSpecificationsForResourceRequest request)
AWSLicenseManagerAsync
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
.
updateLicenseSpecificationsForResourceAsync
in interface AWSLicenseManagerAsync
public Future<UpdateLicenseSpecificationsForResourceResult> updateLicenseSpecificationsForResourceAsync(UpdateLicenseSpecificationsForResourceRequest request, AsyncHandler<UpdateLicenseSpecificationsForResourceRequest,UpdateLicenseSpecificationsForResourceResult> asyncHandler)
AWSLicenseManagerAsync
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
.
updateLicenseSpecificationsForResourceAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServiceSettingsResult> updateServiceSettingsAsync(UpdateServiceSettingsRequest request)
AWSLicenseManagerAsync
Updates License Manager service settings.
updateServiceSettingsAsync
in interface AWSLicenseManagerAsync
public Future<UpdateServiceSettingsResult> updateServiceSettingsAsync(UpdateServiceSettingsRequest request, AsyncHandler<UpdateServiceSettingsRequest,UpdateServiceSettingsResult> asyncHandler)
AWSLicenseManagerAsync
Updates License Manager service settings.
updateServiceSettingsAsync
in interface AWSLicenseManagerAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSLicenseManager
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.