/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.licensemanagerusersubscriptions; import javax.annotation.Generated; import com.amazonaws.services.licensemanagerusersubscriptions.model.*; /** * Interface for accessing AWS License Manager User Subscriptions asynchronously. Each asynchronous method will return a * Java Future object representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be * used to receive notification when an asynchronous operation completes. *

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.licensemanagerusersubscriptions.AbstractAWSLicenseManagerUserSubscriptionsAsync} * instead. *

*

*

* With License Manager, you can create user-based subscriptions to utilize licensed software with a per user * subscription fee on Amazon EC2 instances. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSLicenseManagerUserSubscriptionsAsync extends AWSLicenseManagerUserSubscriptions { /** *

* Associates the user to an EC2 instance to utilize user-based subscriptions. *

* *

* Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing * periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more * information, see Viewing your * monthly charges in the Amazon Web Services Billing User Guide. *

*
* * @param associateUserRequest * @return A Java Future containing the result of the AssociateUser operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.AssociateUser * @see AWS API Documentation */ java.util.concurrent.Future associateUserAsync(AssociateUserRequest associateUserRequest); /** *

* Associates the user to an EC2 instance to utilize user-based subscriptions. *

* *

* Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing * periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more * information, see Viewing your * monthly charges in the Amazon Web Services Billing User Guide. *

*
* * @param associateUserRequest * @param 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. * @return A Java Future containing the result of the AssociateUser operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.AssociateUser * @see AWS API Documentation */ java.util.concurrent.Future associateUserAsync(AssociateUserRequest associateUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deregisters the identity provider from providing user-based subscriptions. *

* * @param deregisterIdentityProviderRequest * @return A Java Future containing the result of the DeregisterIdentityProvider operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.DeregisterIdentityProvider * @see AWS API Documentation */ java.util.concurrent.Future deregisterIdentityProviderAsync( DeregisterIdentityProviderRequest deregisterIdentityProviderRequest); /** *

* Deregisters the identity provider from providing user-based subscriptions. *

* * @param deregisterIdentityProviderRequest * @param 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. * @return A Java Future containing the result of the DeregisterIdentityProvider operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.DeregisterIdentityProvider * @see AWS API Documentation */ java.util.concurrent.Future deregisterIdentityProviderAsync( DeregisterIdentityProviderRequest deregisterIdentityProviderRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Disassociates the user from an EC2 instance providing user-based subscriptions. *

* * @param disassociateUserRequest * @return A Java Future containing the result of the DisassociateUser operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.DisassociateUser * @see AWS API Documentation */ java.util.concurrent.Future disassociateUserAsync(DisassociateUserRequest disassociateUserRequest); /** *

* Disassociates the user from an EC2 instance providing user-based subscriptions. *

* * @param disassociateUserRequest * @param 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. * @return A Java Future containing the result of the DisassociateUser operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.DisassociateUser * @see AWS API Documentation */ java.util.concurrent.Future disassociateUserAsync(DisassociateUserRequest disassociateUserRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the identity providers for user-based subscriptions. *

* * @param listIdentityProvidersRequest * @return A Java Future containing the result of the ListIdentityProviders operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.ListIdentityProviders * @see AWS API Documentation */ java.util.concurrent.Future listIdentityProvidersAsync(ListIdentityProvidersRequest listIdentityProvidersRequest); /** *

* Lists the identity providers for user-based subscriptions. *

* * @param listIdentityProvidersRequest * @param 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. * @return A Java Future containing the result of the ListIdentityProviders operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.ListIdentityProviders * @see AWS API Documentation */ java.util.concurrent.Future listIdentityProvidersAsync(ListIdentityProvidersRequest listIdentityProvidersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the EC2 instances providing user-based subscriptions. *

* * @param listInstancesRequest * @return A Java Future containing the result of the ListInstances operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.ListInstances * @see AWS API Documentation */ java.util.concurrent.Future listInstancesAsync(ListInstancesRequest listInstancesRequest); /** *

* Lists the EC2 instances providing user-based subscriptions. *

* * @param listInstancesRequest * @param 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. * @return A Java Future containing the result of the ListInstances operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.ListInstances * @see AWS API Documentation */ java.util.concurrent.Future listInstancesAsync(ListInstancesRequest listInstancesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the user-based subscription products available from an identity provider. *

* * @param listProductSubscriptionsRequest * @return A Java Future containing the result of the ListProductSubscriptions operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.ListProductSubscriptions * @see AWS API Documentation */ java.util.concurrent.Future listProductSubscriptionsAsync(ListProductSubscriptionsRequest listProductSubscriptionsRequest); /** *

* Lists the user-based subscription products available from an identity provider. *

* * @param listProductSubscriptionsRequest * @param 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. * @return A Java Future containing the result of the ListProductSubscriptions operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.ListProductSubscriptions * @see AWS API Documentation */ java.util.concurrent.Future listProductSubscriptionsAsync(ListProductSubscriptionsRequest listProductSubscriptionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists user associations for an identity provider. *

* * @param listUserAssociationsRequest * @return A Java Future containing the result of the ListUserAssociations operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.ListUserAssociations * @see AWS API Documentation */ java.util.concurrent.Future listUserAssociationsAsync(ListUserAssociationsRequest listUserAssociationsRequest); /** *

* Lists user associations for an identity provider. *

* * @param listUserAssociationsRequest * @param 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. * @return A Java Future containing the result of the ListUserAssociations operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.ListUserAssociations * @see AWS API Documentation */ java.util.concurrent.Future listUserAssociationsAsync(ListUserAssociationsRequest listUserAssociationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Registers an identity provider for user-based subscriptions. *

* * @param registerIdentityProviderRequest * @return A Java Future containing the result of the RegisterIdentityProvider operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.RegisterIdentityProvider * @see AWS API Documentation */ java.util.concurrent.Future registerIdentityProviderAsync(RegisterIdentityProviderRequest registerIdentityProviderRequest); /** *

* Registers an identity provider for user-based subscriptions. *

* * @param registerIdentityProviderRequest * @param 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. * @return A Java Future containing the result of the RegisterIdentityProvider operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.RegisterIdentityProvider * @see AWS API Documentation */ java.util.concurrent.Future registerIdentityProviderAsync(RegisterIdentityProviderRequest registerIdentityProviderRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Starts a product subscription for a user with the specified identity provider. *

* *

* Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing * periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more * information, see Viewing your * monthly charges in the Amazon Web Services Billing User Guide. *

*
* * @param startProductSubscriptionRequest * @return A Java Future containing the result of the StartProductSubscription operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.StartProductSubscription * @see AWS API Documentation */ java.util.concurrent.Future startProductSubscriptionAsync(StartProductSubscriptionRequest startProductSubscriptionRequest); /** *

* Starts a product subscription for a user with the specified identity provider. *

* *

* Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing * periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more * information, see Viewing your * monthly charges in the Amazon Web Services Billing User Guide. *

*
* * @param startProductSubscriptionRequest * @param 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. * @return A Java Future containing the result of the StartProductSubscription operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.StartProductSubscription * @see AWS API Documentation */ java.util.concurrent.Future startProductSubscriptionAsync(StartProductSubscriptionRequest startProductSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Stops a product subscription for a user with the specified identity provider. *

* * @param stopProductSubscriptionRequest * @return A Java Future containing the result of the StopProductSubscription operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsync.StopProductSubscription * @see AWS API Documentation */ java.util.concurrent.Future stopProductSubscriptionAsync(StopProductSubscriptionRequest stopProductSubscriptionRequest); /** *

* Stops a product subscription for a user with the specified identity provider. *

* * @param stopProductSubscriptionRequest * @param 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. * @return A Java Future containing the result of the StopProductSubscription operation returned by the service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.StopProductSubscription * @see AWS API Documentation */ java.util.concurrent.Future stopProductSubscriptionAsync(StopProductSubscriptionRequest stopProductSubscriptionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates additional product configuration settings for the registered identity provider. *

* * @param updateIdentityProviderSettingsRequest * @return A Java Future containing the result of the UpdateIdentityProviderSettings operation returned by the * service. * @sample AWSLicenseManagerUserSubscriptionsAsync.UpdateIdentityProviderSettings * @see AWS API Documentation */ java.util.concurrent.Future updateIdentityProviderSettingsAsync( UpdateIdentityProviderSettingsRequest updateIdentityProviderSettingsRequest); /** *

* Updates additional product configuration settings for the registered identity provider. *

* * @param updateIdentityProviderSettingsRequest * @param 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. * @return A Java Future containing the result of the UpdateIdentityProviderSettings operation returned by the * service. * @sample AWSLicenseManagerUserSubscriptionsAsyncHandler.UpdateIdentityProviderSettings * @see AWS API Documentation */ java.util.concurrent.Future updateIdentityProviderSettingsAsync( UpdateIdentityProviderSettingsRequest updateIdentityProviderSettingsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }