@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSLicenseManagerUserSubscriptionsAsyncClient extends AWSLicenseManagerUserSubscriptionsClient implements AWSLicenseManagerUserSubscriptionsAsync
AsyncHandler
can be
used to receive notification when an asynchronous operation completes.
With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateUser, builder, deregisterIdentityProvider, disassociateUser, getCachedResponseMetadata, listIdentityProviders, listInstances, listProductSubscriptions, listUserAssociations, registerIdentityProvider, startProductSubscription, stopProductSubscription
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
associateUser, deregisterIdentityProvider, disassociateUser, getCachedResponseMetadata, listIdentityProviders, listInstances, listProductSubscriptions, listUserAssociations, registerIdentityProvider, startProductSubscription, stopProductSubscription
public static AWSLicenseManagerUserSubscriptionsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateUserResult> associateUserAsync(AssociateUserRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Associates the user to an EC2 instance to utilize user-based subscriptions.
associateUserAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<AssociateUserResult> associateUserAsync(AssociateUserRequest request, AsyncHandler<AssociateUserRequest,AssociateUserResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Associates the user to an EC2 instance to utilize user-based subscriptions.
associateUserAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<DeregisterIdentityProviderResult> deregisterIdentityProviderAsync(DeregisterIdentityProviderRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Deregisters the identity provider from providing user-based subscriptions.
deregisterIdentityProviderAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<DeregisterIdentityProviderResult> deregisterIdentityProviderAsync(DeregisterIdentityProviderRequest request, AsyncHandler<DeregisterIdentityProviderRequest,DeregisterIdentityProviderResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Deregisters the identity provider from providing user-based subscriptions.
deregisterIdentityProviderAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<DisassociateUserResult> disassociateUserAsync(DisassociateUserRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Disassociates the user from an EC2 instance providing user-based subscriptions.
disassociateUserAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<DisassociateUserResult> disassociateUserAsync(DisassociateUserRequest request, AsyncHandler<DisassociateUserRequest,DisassociateUserResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Disassociates the user from an EC2 instance providing user-based subscriptions.
disassociateUserAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<ListIdentityProvidersResult> listIdentityProvidersAsync(ListIdentityProvidersRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Lists the identity providers for user-based subscriptions.
listIdentityProvidersAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<ListIdentityProvidersResult> listIdentityProvidersAsync(ListIdentityProvidersRequest request, AsyncHandler<ListIdentityProvidersRequest,ListIdentityProvidersResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Lists the identity providers for user-based subscriptions.
listIdentityProvidersAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<ListInstancesResult> listInstancesAsync(ListInstancesRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Lists the EC2 instances providing user-based subscriptions.
listInstancesAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<ListInstancesResult> listInstancesAsync(ListInstancesRequest request, AsyncHandler<ListInstancesRequest,ListInstancesResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Lists the EC2 instances providing user-based subscriptions.
listInstancesAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<ListProductSubscriptionsResult> listProductSubscriptionsAsync(ListProductSubscriptionsRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Lists the user-based subscription products available from an identity provider.
listProductSubscriptionsAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<ListProductSubscriptionsResult> listProductSubscriptionsAsync(ListProductSubscriptionsRequest request, AsyncHandler<ListProductSubscriptionsRequest,ListProductSubscriptionsResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Lists the user-based subscription products available from an identity provider.
listProductSubscriptionsAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<ListUserAssociationsResult> listUserAssociationsAsync(ListUserAssociationsRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Lists user associations for an identity provider.
listUserAssociationsAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<ListUserAssociationsResult> listUserAssociationsAsync(ListUserAssociationsRequest request, AsyncHandler<ListUserAssociationsRequest,ListUserAssociationsResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Lists user associations for an identity provider.
listUserAssociationsAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<RegisterIdentityProviderResult> registerIdentityProviderAsync(RegisterIdentityProviderRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Registers an identity provider for user-based subscriptions.
registerIdentityProviderAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<RegisterIdentityProviderResult> registerIdentityProviderAsync(RegisterIdentityProviderRequest request, AsyncHandler<RegisterIdentityProviderRequest,RegisterIdentityProviderResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Registers an identity provider for user-based subscriptions.
registerIdentityProviderAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<StartProductSubscriptionResult> startProductSubscriptionAsync(StartProductSubscriptionRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Starts a product subscription for a user with the specified identity provider.
startProductSubscriptionAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<StartProductSubscriptionResult> startProductSubscriptionAsync(StartProductSubscriptionRequest request, AsyncHandler<StartProductSubscriptionRequest,StartProductSubscriptionResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Starts a product subscription for a user with the specified identity provider.
startProductSubscriptionAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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<StopProductSubscriptionResult> stopProductSubscriptionAsync(StopProductSubscriptionRequest request)
AWSLicenseManagerUserSubscriptionsAsync
Stops a product subscription for a user with the specified identity provider.
stopProductSubscriptionAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
public Future<StopProductSubscriptionResult> stopProductSubscriptionAsync(StopProductSubscriptionRequest request, AsyncHandler<StopProductSubscriptionRequest,StopProductSubscriptionResult> asyncHandler)
AWSLicenseManagerUserSubscriptionsAsync
Stops a product subscription for a user with the specified identity provider.
stopProductSubscriptionAsync
in interface AWSLicenseManagerUserSubscriptionsAsync
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 AWSLicenseManagerUserSubscriptions
shutdown
in class AWSLicenseManagerUserSubscriptionsClient