@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerLinuxSubscriptionsAsyncClient extends AWSLicenseManagerLinuxSubscriptionsClient implements AWSLicenseManagerLinuxSubscriptionsAsync
AsyncHandler
can be
used to receive notification when an asynchronous operation completes.
With License Manager, you can discover and track your commercial Linux subscriptions on running Amazon EC2 instances.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, getCachedResponseMetadata, getServiceSettings, listLinuxSubscriptionInstances, listLinuxSubscriptions, 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
getCachedResponseMetadata, getServiceSettings, listLinuxSubscriptionInstances, listLinuxSubscriptions, updateServiceSettings
public static AWSLicenseManagerLinuxSubscriptionsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request)
AWSLicenseManagerLinuxSubscriptionsAsync
Lists the Linux subscriptions service settings.
getServiceSettingsAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
public Future<GetServiceSettingsResult> getServiceSettingsAsync(GetServiceSettingsRequest request, AsyncHandler<GetServiceSettingsRequest,GetServiceSettingsResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsync
Lists the Linux subscriptions service settings.
getServiceSettingsAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
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<ListLinuxSubscriptionInstancesResult> listLinuxSubscriptionInstancesAsync(ListLinuxSubscriptionInstancesRequest request)
AWSLicenseManagerLinuxSubscriptionsAsync
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
listLinuxSubscriptionInstancesAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
request
- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.public Future<ListLinuxSubscriptionInstancesResult> listLinuxSubscriptionInstancesAsync(ListLinuxSubscriptionInstancesRequest request, AsyncHandler<ListLinuxSubscriptionInstancesRequest,ListLinuxSubscriptionInstancesResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsync
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
listLinuxSubscriptionInstancesAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
request
- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.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<ListLinuxSubscriptionsResult> listLinuxSubscriptionsAsync(ListLinuxSubscriptionsRequest request)
AWSLicenseManagerLinuxSubscriptionsAsync
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
listLinuxSubscriptionsAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
request
- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.public Future<ListLinuxSubscriptionsResult> listLinuxSubscriptionsAsync(ListLinuxSubscriptionsRequest request, AsyncHandler<ListLinuxSubscriptionsRequest,ListLinuxSubscriptionsResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsync
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
listLinuxSubscriptionsAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
request
- NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request
increases.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)
AWSLicenseManagerLinuxSubscriptionsAsync
Updates the service settings for Linux subscriptions.
updateServiceSettingsAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
public Future<UpdateServiceSettingsResult> updateServiceSettingsAsync(UpdateServiceSettingsRequest request, AsyncHandler<UpdateServiceSettingsRequest,UpdateServiceSettingsResult> asyncHandler)
AWSLicenseManagerLinuxSubscriptionsAsync
Updates the service settings for Linux subscriptions.
updateServiceSettingsAsync
in interface AWSLicenseManagerLinuxSubscriptionsAsync
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 AWSLicenseManagerLinuxSubscriptions
shutdown
in class AWSLicenseManagerLinuxSubscriptionsClient