/* * 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.iotfleethub; import javax.annotation.Generated; import com.amazonaws.services.iotfleethub.model.*; /** * Interface for accessing AWS IoT Fleet Hub 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.iotfleethub.AbstractAWSIoTFleetHubAsync} instead. *

*

*

* With Fleet Hub for AWS IoT Device Management you can build stand-alone web applications for monitoring the health of * your device fleets. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

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

* Creates a Fleet Hub for AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param createApplicationRequest * @return A Java Future containing the result of the CreateApplication operation returned by the service. * @sample AWSIoTFleetHubAsync.CreateApplication * @see AWS * API Documentation */ java.util.concurrent.Future createApplicationAsync(CreateApplicationRequest createApplicationRequest); /** *

* Creates a Fleet Hub for AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param createApplicationRequest * @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 CreateApplication operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.CreateApplication * @see AWS * API Documentation */ java.util.concurrent.Future createApplicationAsync(CreateApplicationRequest createApplicationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a Fleet Hub for AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param deleteApplicationRequest * @return A Java Future containing the result of the DeleteApplication operation returned by the service. * @sample AWSIoTFleetHubAsync.DeleteApplication * @see AWS * API Documentation */ java.util.concurrent.Future deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest); /** *

* Deletes a Fleet Hub for AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param deleteApplicationRequest * @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 DeleteApplication operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.DeleteApplication * @see AWS * API Documentation */ java.util.concurrent.Future deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information about a Fleet Hub for AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param describeApplicationRequest * @return A Java Future containing the result of the DescribeApplication operation returned by the service. * @sample AWSIoTFleetHubAsync.DescribeApplication * @see AWS API Documentation */ java.util.concurrent.Future describeApplicationAsync(DescribeApplicationRequest describeApplicationRequest); /** *

* Gets information about a Fleet Hub for AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param describeApplicationRequest * @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 DescribeApplication operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.DescribeApplication * @see AWS API Documentation */ java.util.concurrent.Future describeApplicationAsync(DescribeApplicationRequest describeApplicationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a list of Fleet Hub for AWS IoT Device Management web applications for the current account. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param listApplicationsRequest * @return A Java Future containing the result of the ListApplications operation returned by the service. * @sample AWSIoTFleetHubAsync.ListApplications * @see AWS * API Documentation */ java.util.concurrent.Future listApplicationsAsync(ListApplicationsRequest listApplicationsRequest); /** *

* Gets a list of Fleet Hub for AWS IoT Device Management web applications for the current account. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param listApplicationsRequest * @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 ListApplications operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.ListApplications * @see AWS * API Documentation */ java.util.concurrent.Future listApplicationsAsync(ListApplicationsRequest listApplicationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags for the specified resource. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSIoTFleetHubAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags for the specified resource. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param listTagsForResourceRequest * @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 ListTagsForResource operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSIoTFleetHubAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param tagResourceRequest * @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 TagResource operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes the specified tags (metadata) from the resource. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSIoTFleetHubAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes the specified tags (metadata) from the resource. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param untagResourceRequest * @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 UntagResource operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates information about a Fleet Hub for a AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param updateApplicationRequest * @return A Java Future containing the result of the UpdateApplication operation returned by the service. * @sample AWSIoTFleetHubAsync.UpdateApplication * @see AWS * API Documentation */ java.util.concurrent.Future updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest); /** *

* Updates information about a Fleet Hub for a AWS IoT Device Management web application. *

* *

* Fleet Hub for AWS IoT Device Management is in public preview and is subject to change. *

*
* * @param updateApplicationRequest * @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 UpdateApplication operation returned by the service. * @sample AWSIoTFleetHubAsyncHandler.UpdateApplication * @see AWS * API Documentation */ java.util.concurrent.Future updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }