@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.
License Manager makes it easier to manage licenses from software vendors across multiple Amazon Web Services accounts and on-premises servers.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
acceptGrant, builder, checkInLicense, checkoutBorrowLicense, checkoutLicense, createGrant, createGrantVersion, createLicense, createLicenseConfiguration, createLicenseConversionTaskForResource, createLicenseManagerReportGenerator, createLicenseVersion, createToken, deleteGrant, deleteLicense, deleteLicenseConfiguration, deleteLicenseManagerReportGenerator, deleteToken, extendLicenseConsumption, getAccessToken, getCachedResponseMetadata, getGrant, getLicense, getLicenseConfiguration, getLicenseConversionTask, getLicenseManagerReportGenerator, getLicenseUsage, getServiceSettings, listAssociationsForLicenseConfiguration, listDistributedGrants, listFailuresForLicenseConfigurationOperations, listLicenseConfigurations, listLicenseConversionTasks, listLicenseManagerReportGenerators, listLicenses, listLicenseSpecificationsForResource, listLicenseVersions, listReceivedGrants, listReceivedGrantsForOrganization, listReceivedLicenses, listReceivedLicensesForOrganization, listResourceInventory, listTagsForResource, listTokens, listUsageForLicenseConfiguration, rejectGrant, tagResource, untagResource, updateLicenseConfiguration, updateLicenseManagerReportGenerator, 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
acceptGrant, checkInLicense, checkoutBorrowLicense, checkoutLicense, createGrant, createGrantVersion, createLicense, createLicenseConfiguration, createLicenseConversionTaskForResource, createLicenseManagerReportGenerator, createLicenseVersion, createToken, deleteGrant, deleteLicense, deleteLicenseConfiguration, deleteLicenseManagerReportGenerator, deleteToken, extendLicenseConsumption, getAccessToken, getCachedResponseMetadata, getGrant, getLicense, getLicenseConfiguration, getLicenseConversionTask, getLicenseManagerReportGenerator, getLicenseUsage, getServiceSettings, listAssociationsForLicenseConfiguration, listDistributedGrants, listFailuresForLicenseConfigurationOperations, listLicenseConfigurations, listLicenseConversionTasks, listLicenseManagerReportGenerators, listLicenses, listLicenseSpecificationsForResource, listLicenseVersions, listReceivedGrants, listReceivedGrantsForOrganization, listReceivedLicenses, listReceivedLicensesForOrganization, listResourceInventory, listTagsForResource, listTokens, listUsageForLicenseConfiguration, rejectGrant, tagResource, untagResource, updateLicenseConfiguration, updateLicenseManagerReportGenerator, updateLicenseSpecificationsForResource, updateServiceSettings
public static AWSLicenseManagerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AcceptGrantResult> acceptGrantAsync(AcceptGrantRequest request)
AWSLicenseManagerAsync
Accepts the specified grant.
acceptGrantAsync
in interface AWSLicenseManagerAsync
public Future<AcceptGrantResult> acceptGrantAsync(AcceptGrantRequest request, AsyncHandler<AcceptGrantRequest,AcceptGrantResult> asyncHandler)
AWSLicenseManagerAsync
Accepts the specified grant.
acceptGrantAsync
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<CheckInLicenseResult> checkInLicenseAsync(CheckInLicenseRequest request)
AWSLicenseManagerAsync
Checks in the specified license. Check in a license when it is no longer in use.
checkInLicenseAsync
in interface AWSLicenseManagerAsync
public Future<CheckInLicenseResult> checkInLicenseAsync(CheckInLicenseRequest request, AsyncHandler<CheckInLicenseRequest,CheckInLicenseResult> asyncHandler)
AWSLicenseManagerAsync
Checks in the specified license. Check in a license when it is no longer in use.
checkInLicenseAsync
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<CheckoutBorrowLicenseResult> checkoutBorrowLicenseAsync(CheckoutBorrowLicenseRequest request)
AWSLicenseManagerAsync
Checks out the specified license for offline use.
checkoutBorrowLicenseAsync
in interface AWSLicenseManagerAsync
public Future<CheckoutBorrowLicenseResult> checkoutBorrowLicenseAsync(CheckoutBorrowLicenseRequest request, AsyncHandler<CheckoutBorrowLicenseRequest,CheckoutBorrowLicenseResult> asyncHandler)
AWSLicenseManagerAsync
Checks out the specified license for offline use.
checkoutBorrowLicenseAsync
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<CheckoutLicenseResult> checkoutLicenseAsync(CheckoutLicenseRequest request)
AWSLicenseManagerAsync
Checks out the specified license.
If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.
checkoutLicenseAsync
in interface AWSLicenseManagerAsync
public Future<CheckoutLicenseResult> checkoutLicenseAsync(CheckoutLicenseRequest request, AsyncHandler<CheckoutLicenseRequest,CheckoutLicenseResult> asyncHandler)
AWSLicenseManagerAsync
Checks out the specified license.
If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.
checkoutLicenseAsync
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<CreateGrantResult> createGrantAsync(CreateGrantRequest request)
AWSLicenseManagerAsync
Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.
createGrantAsync
in interface AWSLicenseManagerAsync
public Future<CreateGrantResult> createGrantAsync(CreateGrantRequest request, AsyncHandler<CreateGrantRequest,CreateGrantResult> asyncHandler)
AWSLicenseManagerAsync
Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.
createGrantAsync
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<CreateGrantVersionResult> createGrantVersionAsync(CreateGrantVersionRequest request)
AWSLicenseManagerAsync
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
createGrantVersionAsync
in interface AWSLicenseManagerAsync
public Future<CreateGrantVersionResult> createGrantVersionAsync(CreateGrantVersionRequest request, AsyncHandler<CreateGrantVersionRequest,CreateGrantVersionResult> asyncHandler)
AWSLicenseManagerAsync
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
createGrantVersionAsync
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<CreateLicenseResult> createLicenseAsync(CreateLicenseRequest request)
AWSLicenseManagerAsync
Creates a license.
createLicenseAsync
in interface AWSLicenseManagerAsync
public Future<CreateLicenseResult> createLicenseAsync(CreateLicenseRequest request, AsyncHandler<CreateLicenseRequest,CreateLicenseResult> asyncHandler)
AWSLicenseManagerAsync
Creates a license.
createLicenseAsync
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<CreateLicenseConfigurationResult> createLicenseConfigurationAsync(CreateLicenseConfigurationRequest request)
AWSLicenseManagerAsync
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.
createLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<CreateLicenseConfigurationResult> createLicenseConfigurationAsync(CreateLicenseConfigurationRequest request, AsyncHandler<CreateLicenseConfigurationRequest,CreateLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
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.
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<CreateLicenseConversionTaskForResourceResult> createLicenseConversionTaskForResourceAsync(CreateLicenseConversionTaskForResourceRequest request)
AWSLicenseManagerAsync
Creates a new license conversion task.
createLicenseConversionTaskForResourceAsync
in interface AWSLicenseManagerAsync
public Future<CreateLicenseConversionTaskForResourceResult> createLicenseConversionTaskForResourceAsync(CreateLicenseConversionTaskForResourceRequest request, AsyncHandler<CreateLicenseConversionTaskForResourceRequest,CreateLicenseConversionTaskForResourceResult> asyncHandler)
AWSLicenseManagerAsync
Creates a new license conversion task.
createLicenseConversionTaskForResourceAsync
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<CreateLicenseManagerReportGeneratorResult> createLicenseManagerReportGeneratorAsync(CreateLicenseManagerReportGeneratorRequest request)
AWSLicenseManagerAsync
Creates a report generator.
createLicenseManagerReportGeneratorAsync
in interface AWSLicenseManagerAsync
public Future<CreateLicenseManagerReportGeneratorResult> createLicenseManagerReportGeneratorAsync(CreateLicenseManagerReportGeneratorRequest request, AsyncHandler<CreateLicenseManagerReportGeneratorRequest,CreateLicenseManagerReportGeneratorResult> asyncHandler)
AWSLicenseManagerAsync
Creates a report generator.
createLicenseManagerReportGeneratorAsync
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<CreateLicenseVersionResult> createLicenseVersionAsync(CreateLicenseVersionRequest request)
AWSLicenseManagerAsync
Creates a new version of the specified license.
createLicenseVersionAsync
in interface AWSLicenseManagerAsync
public Future<CreateLicenseVersionResult> createLicenseVersionAsync(CreateLicenseVersionRequest request, AsyncHandler<CreateLicenseVersionRequest,CreateLicenseVersionResult> asyncHandler)
AWSLicenseManagerAsync
Creates a new version of the specified license.
createLicenseVersionAsync
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<CreateTokenResult> createTokenAsync(CreateTokenRequest request)
AWSLicenseManagerAsync
Creates a long-lived token.
A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.
createTokenAsync
in interface AWSLicenseManagerAsync
public Future<CreateTokenResult> createTokenAsync(CreateTokenRequest request, AsyncHandler<CreateTokenRequest,CreateTokenResult> asyncHandler)
AWSLicenseManagerAsync
Creates a long-lived token.
A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.
createTokenAsync
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<DeleteGrantResult> deleteGrantAsync(DeleteGrantRequest request)
AWSLicenseManagerAsync
Deletes the specified grant.
deleteGrantAsync
in interface AWSLicenseManagerAsync
public Future<DeleteGrantResult> deleteGrantAsync(DeleteGrantRequest request, AsyncHandler<DeleteGrantRequest,DeleteGrantResult> asyncHandler)
AWSLicenseManagerAsync
Deletes the specified grant.
deleteGrantAsync
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<DeleteLicenseResult> deleteLicenseAsync(DeleteLicenseRequest request)
AWSLicenseManagerAsync
Deletes the specified license.
deleteLicenseAsync
in interface AWSLicenseManagerAsync
public Future<DeleteLicenseResult> deleteLicenseAsync(DeleteLicenseRequest request, AsyncHandler<DeleteLicenseRequest,DeleteLicenseResult> asyncHandler)
AWSLicenseManagerAsync
Deletes the specified license.
deleteLicenseAsync
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 the specified license configuration.
You cannot delete a license configuration that is in use.
deleteLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<DeleteLicenseConfigurationResult> deleteLicenseConfigurationAsync(DeleteLicenseConfigurationRequest request, AsyncHandler<DeleteLicenseConfigurationRequest,DeleteLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
Deletes the specified license configuration.
You cannot delete a license configuration that 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<DeleteLicenseManagerReportGeneratorResult> deleteLicenseManagerReportGeneratorAsync(DeleteLicenseManagerReportGeneratorRequest request)
AWSLicenseManagerAsync
Deletes the specified report generator.
This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.
deleteLicenseManagerReportGeneratorAsync
in interface AWSLicenseManagerAsync
public Future<DeleteLicenseManagerReportGeneratorResult> deleteLicenseManagerReportGeneratorAsync(DeleteLicenseManagerReportGeneratorRequest request, AsyncHandler<DeleteLicenseManagerReportGeneratorRequest,DeleteLicenseManagerReportGeneratorResult> asyncHandler)
AWSLicenseManagerAsync
Deletes the specified report generator.
This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.
deleteLicenseManagerReportGeneratorAsync
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<DeleteTokenResult> deleteTokenAsync(DeleteTokenRequest request)
AWSLicenseManagerAsync
Deletes the specified token. Must be called in the license home Region.
deleteTokenAsync
in interface AWSLicenseManagerAsync
public Future<DeleteTokenResult> deleteTokenAsync(DeleteTokenRequest request, AsyncHandler<DeleteTokenRequest,DeleteTokenResult> asyncHandler)
AWSLicenseManagerAsync
Deletes the specified token. Must be called in the license home Region.
deleteTokenAsync
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<ExtendLicenseConsumptionResult> extendLicenseConsumptionAsync(ExtendLicenseConsumptionRequest request)
AWSLicenseManagerAsync
Extends the expiration date for license consumption.
extendLicenseConsumptionAsync
in interface AWSLicenseManagerAsync
public Future<ExtendLicenseConsumptionResult> extendLicenseConsumptionAsync(ExtendLicenseConsumptionRequest request, AsyncHandler<ExtendLicenseConsumptionRequest,ExtendLicenseConsumptionResult> asyncHandler)
AWSLicenseManagerAsync
Extends the expiration date for license consumption.
extendLicenseConsumptionAsync
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<GetAccessTokenResult> getAccessTokenAsync(GetAccessTokenRequest request)
AWSLicenseManagerAsync
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
getAccessTokenAsync
in interface AWSLicenseManagerAsync
public Future<GetAccessTokenResult> getAccessTokenAsync(GetAccessTokenRequest request, AsyncHandler<GetAccessTokenRequest,GetAccessTokenResult> asyncHandler)
AWSLicenseManagerAsync
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
getAccessTokenAsync
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<GetGrantResult> getGrantAsync(GetGrantRequest request)
AWSLicenseManagerAsync
Gets detailed information about the specified grant.
getGrantAsync
in interface AWSLicenseManagerAsync
public Future<GetGrantResult> getGrantAsync(GetGrantRequest request, AsyncHandler<GetGrantRequest,GetGrantResult> asyncHandler)
AWSLicenseManagerAsync
Gets detailed information about the specified grant.
getGrantAsync
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<GetLicenseResult> getLicenseAsync(GetLicenseRequest request)
AWSLicenseManagerAsync
Gets detailed information about the specified license.
getLicenseAsync
in interface AWSLicenseManagerAsync
public Future<GetLicenseResult> getLicenseAsync(GetLicenseRequest request, AsyncHandler<GetLicenseRequest,GetLicenseResult> asyncHandler)
AWSLicenseManagerAsync
Gets detailed information about the specified license.
getLicenseAsync
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
Gets detailed information about the specified license configuration.
getLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<GetLicenseConfigurationResult> getLicenseConfigurationAsync(GetLicenseConfigurationRequest request, AsyncHandler<GetLicenseConfigurationRequest,GetLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
Gets detailed information about the specified 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<GetLicenseConversionTaskResult> getLicenseConversionTaskAsync(GetLicenseConversionTaskRequest request)
AWSLicenseManagerAsync
Gets information about the specified license type conversion task.
getLicenseConversionTaskAsync
in interface AWSLicenseManagerAsync
public Future<GetLicenseConversionTaskResult> getLicenseConversionTaskAsync(GetLicenseConversionTaskRequest request, AsyncHandler<GetLicenseConversionTaskRequest,GetLicenseConversionTaskResult> asyncHandler)
AWSLicenseManagerAsync
Gets information about the specified license type conversion task.
getLicenseConversionTaskAsync
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<GetLicenseManagerReportGeneratorResult> getLicenseManagerReportGeneratorAsync(GetLicenseManagerReportGeneratorRequest request)
AWSLicenseManagerAsync
Gets information about the specified report generator.
getLicenseManagerReportGeneratorAsync
in interface AWSLicenseManagerAsync
public Future<GetLicenseManagerReportGeneratorResult> getLicenseManagerReportGeneratorAsync(GetLicenseManagerReportGeneratorRequest request, AsyncHandler<GetLicenseManagerReportGeneratorRequest,GetLicenseManagerReportGeneratorResult> asyncHandler)
AWSLicenseManagerAsync
Gets information about the specified report generator.
getLicenseManagerReportGeneratorAsync
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<GetLicenseUsageResult> getLicenseUsageAsync(GetLicenseUsageRequest request)
AWSLicenseManagerAsync
Gets detailed information about the usage of the specified license.
getLicenseUsageAsync
in interface AWSLicenseManagerAsync
public Future<GetLicenseUsageResult> getLicenseUsageAsync(GetLicenseUsageRequest request, AsyncHandler<GetLicenseUsageRequest,GetLicenseUsageResult> asyncHandler)
AWSLicenseManagerAsync
Gets detailed information about the usage of the specified license.
getLicenseUsageAsync
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 the License Manager settings for the current Region.
getServiceSettingsAsync
in interface AWSLicenseManagerAsync
public Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request, AsyncHandler<GetServiceSettingsRequest,GetServiceSettingsResult> asyncHandler)
AWSLicenseManagerAsync
Gets the License Manager settings for the current Region.
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 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).
listAssociationsForLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<ListAssociationsForLicenseConfigurationResult> listAssociationsForLicenseConfigurationAsync(ListAssociationsForLicenseConfigurationRequest request, AsyncHandler<ListAssociationsForLicenseConfigurationRequest,ListAssociationsForLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
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).
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<ListDistributedGrantsResult> listDistributedGrantsAsync(ListDistributedGrantsRequest request)
AWSLicenseManagerAsync
Lists the grants distributed for the specified license.
listDistributedGrantsAsync
in interface AWSLicenseManagerAsync
public Future<ListDistributedGrantsResult> listDistributedGrantsAsync(ListDistributedGrantsRequest request, AsyncHandler<ListDistributedGrantsRequest,ListDistributedGrantsResult> asyncHandler)
AWSLicenseManagerAsync
Lists the grants distributed for the specified license.
listDistributedGrantsAsync
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<ListFailuresForLicenseConfigurationOperationsResult> listFailuresForLicenseConfigurationOperationsAsync(ListFailuresForLicenseConfigurationOperationsRequest request)
AWSLicenseManagerAsync
Lists the license configuration operations that failed.
listFailuresForLicenseConfigurationOperationsAsync
in interface AWSLicenseManagerAsync
public Future<ListFailuresForLicenseConfigurationOperationsResult> listFailuresForLicenseConfigurationOperationsAsync(ListFailuresForLicenseConfigurationOperationsRequest request, AsyncHandler<ListFailuresForLicenseConfigurationOperationsRequest,ListFailuresForLicenseConfigurationOperationsResult> asyncHandler)
AWSLicenseManagerAsync
Lists the license configuration operations that failed.
listFailuresForLicenseConfigurationOperationsAsync
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 the license configurations for your account.
listLicenseConfigurationsAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseConfigurationsResult> listLicenseConfigurationsAsync(ListLicenseConfigurationsRequest request, AsyncHandler<ListLicenseConfigurationsRequest,ListLicenseConfigurationsResult> asyncHandler)
AWSLicenseManagerAsync
Lists the license configurations for your account.
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<ListLicenseConversionTasksResult> listLicenseConversionTasksAsync(ListLicenseConversionTasksRequest request)
AWSLicenseManagerAsync
Lists the license type conversion tasks for your account.
listLicenseConversionTasksAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseConversionTasksResult> listLicenseConversionTasksAsync(ListLicenseConversionTasksRequest request, AsyncHandler<ListLicenseConversionTasksRequest,ListLicenseConversionTasksResult> asyncHandler)
AWSLicenseManagerAsync
Lists the license type conversion tasks for your account.
listLicenseConversionTasksAsync
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<ListLicenseManagerReportGeneratorsResult> listLicenseManagerReportGeneratorsAsync(ListLicenseManagerReportGeneratorsRequest request)
AWSLicenseManagerAsync
Lists the report generators for your account.
listLicenseManagerReportGeneratorsAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseManagerReportGeneratorsResult> listLicenseManagerReportGeneratorsAsync(ListLicenseManagerReportGeneratorsRequest request, AsyncHandler<ListLicenseManagerReportGeneratorsRequest,ListLicenseManagerReportGeneratorsResult> asyncHandler)
AWSLicenseManagerAsync
Lists the report generators for your account.
listLicenseManagerReportGeneratorsAsync
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
Describes the license configurations for the specified resource.
listLicenseSpecificationsForResourceAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseSpecificationsForResourceResult> listLicenseSpecificationsForResourceAsync(ListLicenseSpecificationsForResourceRequest request, AsyncHandler<ListLicenseSpecificationsForResourceRequest,ListLicenseSpecificationsForResourceResult> asyncHandler)
AWSLicenseManagerAsync
Describes the license configurations for the specified 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<ListLicenseVersionsResult> listLicenseVersionsAsync(ListLicenseVersionsRequest request)
AWSLicenseManagerAsync
Lists all versions of the specified license.
listLicenseVersionsAsync
in interface AWSLicenseManagerAsync
public Future<ListLicenseVersionsResult> listLicenseVersionsAsync(ListLicenseVersionsRequest request, AsyncHandler<ListLicenseVersionsRequest,ListLicenseVersionsResult> asyncHandler)
AWSLicenseManagerAsync
Lists all versions of the specified license.
listLicenseVersionsAsync
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<ListLicensesResult> listLicensesAsync(ListLicensesRequest request)
AWSLicenseManagerAsync
Lists the licenses for your account.
listLicensesAsync
in interface AWSLicenseManagerAsync
public Future<ListLicensesResult> listLicensesAsync(ListLicensesRequest request, AsyncHandler<ListLicensesRequest,ListLicensesResult> asyncHandler)
AWSLicenseManagerAsync
Lists the licenses for your account.
listLicensesAsync
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<ListReceivedGrantsResult> listReceivedGrantsAsync(ListReceivedGrantsRequest request)
AWSLicenseManagerAsync
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
listReceivedGrantsAsync
in interface AWSLicenseManagerAsync
public Future<ListReceivedGrantsResult> listReceivedGrantsAsync(ListReceivedGrantsRequest request, AsyncHandler<ListReceivedGrantsRequest,ListReceivedGrantsResult> asyncHandler)
AWSLicenseManagerAsync
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
listReceivedGrantsAsync
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<ListReceivedGrantsForOrganizationResult> listReceivedGrantsForOrganizationAsync(ListReceivedGrantsForOrganizationRequest request)
AWSLicenseManagerAsync
Lists the grants received for all accounts in the organization.
listReceivedGrantsForOrganizationAsync
in interface AWSLicenseManagerAsync
public Future<ListReceivedGrantsForOrganizationResult> listReceivedGrantsForOrganizationAsync(ListReceivedGrantsForOrganizationRequest request, AsyncHandler<ListReceivedGrantsForOrganizationRequest,ListReceivedGrantsForOrganizationResult> asyncHandler)
AWSLicenseManagerAsync
Lists the grants received for all accounts in the organization.
listReceivedGrantsForOrganizationAsync
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<ListReceivedLicensesResult> listReceivedLicensesAsync(ListReceivedLicensesRequest request)
AWSLicenseManagerAsync
Lists received licenses.
listReceivedLicensesAsync
in interface AWSLicenseManagerAsync
public Future<ListReceivedLicensesResult> listReceivedLicensesAsync(ListReceivedLicensesRequest request, AsyncHandler<ListReceivedLicensesRequest,ListReceivedLicensesResult> asyncHandler)
AWSLicenseManagerAsync
Lists received licenses.
listReceivedLicensesAsync
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<ListReceivedLicensesForOrganizationResult> listReceivedLicensesForOrganizationAsync(ListReceivedLicensesForOrganizationRequest request)
AWSLicenseManagerAsync
Lists the licenses received for all accounts in the organization.
listReceivedLicensesForOrganizationAsync
in interface AWSLicenseManagerAsync
public Future<ListReceivedLicensesForOrganizationResult> listReceivedLicensesForOrganizationAsync(ListReceivedLicensesForOrganizationRequest request, AsyncHandler<ListReceivedLicensesForOrganizationRequest,ListReceivedLicensesForOrganizationResult> asyncHandler)
AWSLicenseManagerAsync
Lists the licenses received for all accounts in the organization.
listReceivedLicensesForOrganizationAsync
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
Lists resources managed using Systems Manager inventory.
listResourceInventoryAsync
in interface AWSLicenseManagerAsync
public Future<ListResourceInventoryResult> listResourceInventoryAsync(ListResourceInventoryRequest request, AsyncHandler<ListResourceInventoryRequest,ListResourceInventoryResult> asyncHandler)
AWSLicenseManagerAsync
Lists resources managed using Systems Manager inventory.
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 the tags for the specified license configuration.
listTagsForResourceAsync
in interface AWSLicenseManagerAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSLicenseManagerAsync
Lists the tags for the specified license configuration.
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<ListTokensResult> listTokensAsync(ListTokensRequest request)
AWSLicenseManagerAsync
Lists your tokens.
listTokensAsync
in interface AWSLicenseManagerAsync
public Future<ListTokensResult> listTokensAsync(ListTokensRequest request, AsyncHandler<ListTokensRequest,ListTokensResult> asyncHandler)
AWSLicenseManagerAsync
Lists your tokens.
listTokensAsync
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<RejectGrantResult> rejectGrantAsync(RejectGrantRequest request)
AWSLicenseManagerAsync
Rejects the specified grant.
rejectGrantAsync
in interface AWSLicenseManagerAsync
public Future<RejectGrantResult> rejectGrantAsync(RejectGrantRequest request, AsyncHandler<RejectGrantRequest,RejectGrantResult> asyncHandler)
AWSLicenseManagerAsync
Rejects the specified grant.
rejectGrantAsync
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
Adds the specified tags to the specified license configuration.
tagResourceAsync
in interface AWSLicenseManagerAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSLicenseManagerAsync
Adds the specified tags to the specified license configuration.
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
Removes the specified tags from the specified license configuration.
untagResourceAsync
in interface AWSLicenseManagerAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSLicenseManagerAsync
Removes the specified tags from the specified license configuration.
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.
updateLicenseConfigurationAsync
in interface AWSLicenseManagerAsync
public Future<UpdateLicenseConfigurationResult> updateLicenseConfigurationAsync(UpdateLicenseConfigurationRequest request, AsyncHandler<UpdateLicenseConfigurationRequest,UpdateLicenseConfigurationResult> asyncHandler)
AWSLicenseManagerAsync
Modifies the attributes of an existing license configuration.
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<UpdateLicenseManagerReportGeneratorResult> updateLicenseManagerReportGeneratorAsync(UpdateLicenseManagerReportGeneratorRequest request)
AWSLicenseManagerAsync
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
updateLicenseManagerReportGeneratorAsync
in interface AWSLicenseManagerAsync
public Future<UpdateLicenseManagerReportGeneratorResult> updateLicenseManagerReportGeneratorAsync(UpdateLicenseManagerReportGeneratorRequest request, AsyncHandler<UpdateLicenseManagerReportGeneratorRequest,UpdateLicenseManagerReportGeneratorResult> asyncHandler)
AWSLicenseManagerAsync
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
updateLicenseManagerReportGeneratorAsync
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 the specified license configurations for the specified Amazon Web Services resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.
updateLicenseSpecificationsForResourceAsync
in interface AWSLicenseManagerAsync
public Future<UpdateLicenseSpecificationsForResourceResult> updateLicenseSpecificationsForResourceAsync(UpdateLicenseSpecificationsForResourceRequest request, AsyncHandler<UpdateLicenseSpecificationsForResourceRequest,UpdateLicenseSpecificationsForResourceResult> asyncHandler)
AWSLicenseManagerAsync
Adds or removes the specified license configurations for the specified Amazon Web Services resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.
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 settings for the current Region.
updateServiceSettingsAsync
in interface AWSLicenseManagerAsync
public Future<UpdateServiceSettingsResult> updateServiceSettingsAsync(UpdateServiceSettingsRequest request, AsyncHandler<UpdateServiceSettingsRequest,UpdateServiceSettingsResult> asyncHandler)
AWSLicenseManagerAsync
Updates License Manager settings for the current Region.
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 AWSLicenseManagerClient