/* * 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.iotroborunner; import javax.annotation.Generated; import com.amazonaws.services.iotroborunner.model.*; /** * Interface for accessing AWS IoT RoboRunner 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.iotroborunner.AbstractAWSIoTRoboRunnerAsync} instead. *

*

*

* An example service, deployed with the Octane Service creator, which will echo the string *

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

* Grants permission to create a destination *

* * @param createDestinationRequest * @return A Java Future containing the result of the CreateDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsync.CreateDestination * @see AWS API Documentation */ java.util.concurrent.Future createDestinationAsync(CreateDestinationRequest createDestinationRequest); /** *

* Grants permission to create a destination *

* * @param createDestinationRequest * @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 CreateDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.CreateDestination * @see AWS API Documentation */ java.util.concurrent.Future createDestinationAsync(CreateDestinationRequest createDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to create a site *

* * @param createSiteRequest * @return A Java Future containing the result of the CreateSite operation returned by the service. * @sample AWSIoTRoboRunnerAsync.CreateSite * @see AWS API * Documentation */ java.util.concurrent.Future createSiteAsync(CreateSiteRequest createSiteRequest); /** *

* Grants permission to create a site *

* * @param createSiteRequest * @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 CreateSite operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.CreateSite * @see AWS API * Documentation */ java.util.concurrent.Future createSiteAsync(CreateSiteRequest createSiteRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to create a worker *

* * @param createWorkerRequest * @return A Java Future containing the result of the CreateWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsync.CreateWorker * @see AWS * API Documentation */ java.util.concurrent.Future createWorkerAsync(CreateWorkerRequest createWorkerRequest); /** *

* Grants permission to create a worker *

* * @param createWorkerRequest * @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 CreateWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.CreateWorker * @see AWS * API Documentation */ java.util.concurrent.Future createWorkerAsync(CreateWorkerRequest createWorkerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to create a worker fleet *

* * @param createWorkerFleetRequest * @return A Java Future containing the result of the CreateWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsync.CreateWorkerFleet * @see AWS API Documentation */ java.util.concurrent.Future createWorkerFleetAsync(CreateWorkerFleetRequest createWorkerFleetRequest); /** *

* Grants permission to create a worker fleet *

* * @param createWorkerFleetRequest * @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 CreateWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.CreateWorkerFleet * @see AWS API Documentation */ java.util.concurrent.Future createWorkerFleetAsync(CreateWorkerFleetRequest createWorkerFleetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to delete a destination *

* * @param deleteDestinationRequest * @return A Java Future containing the result of the DeleteDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsync.DeleteDestination * @see AWS API Documentation */ java.util.concurrent.Future deleteDestinationAsync(DeleteDestinationRequest deleteDestinationRequest); /** *

* Grants permission to delete a destination *

* * @param deleteDestinationRequest * @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 DeleteDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.DeleteDestination * @see AWS API Documentation */ java.util.concurrent.Future deleteDestinationAsync(DeleteDestinationRequest deleteDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to delete a site *

* * @param deleteSiteRequest * @return A Java Future containing the result of the DeleteSite operation returned by the service. * @sample AWSIoTRoboRunnerAsync.DeleteSite * @see AWS API * Documentation */ java.util.concurrent.Future deleteSiteAsync(DeleteSiteRequest deleteSiteRequest); /** *

* Grants permission to delete a site *

* * @param deleteSiteRequest * @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 DeleteSite operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.DeleteSite * @see AWS API * Documentation */ java.util.concurrent.Future deleteSiteAsync(DeleteSiteRequest deleteSiteRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to delete a worker *

* * @param deleteWorkerRequest * @return A Java Future containing the result of the DeleteWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsync.DeleteWorker * @see AWS * API Documentation */ java.util.concurrent.Future deleteWorkerAsync(DeleteWorkerRequest deleteWorkerRequest); /** *

* Grants permission to delete a worker *

* * @param deleteWorkerRequest * @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 DeleteWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.DeleteWorker * @see AWS * API Documentation */ java.util.concurrent.Future deleteWorkerAsync(DeleteWorkerRequest deleteWorkerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to delete a worker fleet *

* * @param deleteWorkerFleetRequest * @return A Java Future containing the result of the DeleteWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsync.DeleteWorkerFleet * @see AWS API Documentation */ java.util.concurrent.Future deleteWorkerFleetAsync(DeleteWorkerFleetRequest deleteWorkerFleetRequest); /** *

* Grants permission to delete a worker fleet *

* * @param deleteWorkerFleetRequest * @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 DeleteWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.DeleteWorkerFleet * @see AWS API Documentation */ java.util.concurrent.Future deleteWorkerFleetAsync(DeleteWorkerFleetRequest deleteWorkerFleetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to get a destination *

* * @param getDestinationRequest * @return A Java Future containing the result of the GetDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsync.GetDestination * @see AWS * API Documentation */ java.util.concurrent.Future getDestinationAsync(GetDestinationRequest getDestinationRequest); /** *

* Grants permission to get a destination *

* * @param getDestinationRequest * @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 GetDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.GetDestination * @see AWS * API Documentation */ java.util.concurrent.Future getDestinationAsync(GetDestinationRequest getDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to get a site *

* * @param getSiteRequest * @return A Java Future containing the result of the GetSite operation returned by the service. * @sample AWSIoTRoboRunnerAsync.GetSite * @see AWS API * Documentation */ java.util.concurrent.Future getSiteAsync(GetSiteRequest getSiteRequest); /** *

* Grants permission to get a site *

* * @param getSiteRequest * @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 GetSite operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.GetSite * @see AWS API * Documentation */ java.util.concurrent.Future getSiteAsync(GetSiteRequest getSiteRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to get a worker *

* * @param getWorkerRequest * @return A Java Future containing the result of the GetWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsync.GetWorker * @see AWS API * Documentation */ java.util.concurrent.Future getWorkerAsync(GetWorkerRequest getWorkerRequest); /** *

* Grants permission to get a worker *

* * @param getWorkerRequest * @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 GetWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.GetWorker * @see AWS API * Documentation */ java.util.concurrent.Future getWorkerAsync(GetWorkerRequest getWorkerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to get a worker fleet *

* * @param getWorkerFleetRequest * @return A Java Future containing the result of the GetWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsync.GetWorkerFleet * @see AWS * API Documentation */ java.util.concurrent.Future getWorkerFleetAsync(GetWorkerFleetRequest getWorkerFleetRequest); /** *

* Grants permission to get a worker fleet *

* * @param getWorkerFleetRequest * @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 GetWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.GetWorkerFleet * @see AWS * API Documentation */ java.util.concurrent.Future getWorkerFleetAsync(GetWorkerFleetRequest getWorkerFleetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to list destinations *

* * @param listDestinationsRequest * @return A Java Future containing the result of the ListDestinations operation returned by the service. * @sample AWSIoTRoboRunnerAsync.ListDestinations * @see AWS API Documentation */ java.util.concurrent.Future listDestinationsAsync(ListDestinationsRequest listDestinationsRequest); /** *

* Grants permission to list destinations *

* * @param listDestinationsRequest * @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 ListDestinations operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.ListDestinations * @see AWS API Documentation */ java.util.concurrent.Future listDestinationsAsync(ListDestinationsRequest listDestinationsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to list sites *

* * @param listSitesRequest * @return A Java Future containing the result of the ListSites operation returned by the service. * @sample AWSIoTRoboRunnerAsync.ListSites * @see AWS API * Documentation */ java.util.concurrent.Future listSitesAsync(ListSitesRequest listSitesRequest); /** *

* Grants permission to list sites *

* * @param listSitesRequest * @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 ListSites operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.ListSites * @see AWS API * Documentation */ java.util.concurrent.Future listSitesAsync(ListSitesRequest listSitesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to list worker fleets *

* * @param listWorkerFleetsRequest * @return A Java Future containing the result of the ListWorkerFleets operation returned by the service. * @sample AWSIoTRoboRunnerAsync.ListWorkerFleets * @see AWS API Documentation */ java.util.concurrent.Future listWorkerFleetsAsync(ListWorkerFleetsRequest listWorkerFleetsRequest); /** *

* Grants permission to list worker fleets *

* * @param listWorkerFleetsRequest * @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 ListWorkerFleets operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.ListWorkerFleets * @see AWS API Documentation */ java.util.concurrent.Future listWorkerFleetsAsync(ListWorkerFleetsRequest listWorkerFleetsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to list workers *

* * @param listWorkersRequest * @return A Java Future containing the result of the ListWorkers operation returned by the service. * @sample AWSIoTRoboRunnerAsync.ListWorkers * @see AWS API * Documentation */ java.util.concurrent.Future listWorkersAsync(ListWorkersRequest listWorkersRequest); /** *

* Grants permission to list workers *

* * @param listWorkersRequest * @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 ListWorkers operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.ListWorkers * @see AWS API * Documentation */ java.util.concurrent.Future listWorkersAsync(ListWorkersRequest listWorkersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to update a destination *

* * @param updateDestinationRequest * @return A Java Future containing the result of the UpdateDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsync.UpdateDestination * @see AWS API Documentation */ java.util.concurrent.Future updateDestinationAsync(UpdateDestinationRequest updateDestinationRequest); /** *

* Grants permission to update a destination *

* * @param updateDestinationRequest * @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 UpdateDestination operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.UpdateDestination * @see AWS API Documentation */ java.util.concurrent.Future updateDestinationAsync(UpdateDestinationRequest updateDestinationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to update a site *

* * @param updateSiteRequest * @return A Java Future containing the result of the UpdateSite operation returned by the service. * @sample AWSIoTRoboRunnerAsync.UpdateSite * @see AWS API * Documentation */ java.util.concurrent.Future updateSiteAsync(UpdateSiteRequest updateSiteRequest); /** *

* Grants permission to update a site *

* * @param updateSiteRequest * @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 UpdateSite operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.UpdateSite * @see AWS API * Documentation */ java.util.concurrent.Future updateSiteAsync(UpdateSiteRequest updateSiteRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to update a worker *

* * @param updateWorkerRequest * @return A Java Future containing the result of the UpdateWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsync.UpdateWorker * @see AWS * API Documentation */ java.util.concurrent.Future updateWorkerAsync(UpdateWorkerRequest updateWorkerRequest); /** *

* Grants permission to update a worker *

* * @param updateWorkerRequest * @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 UpdateWorker operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.UpdateWorker * @see AWS * API Documentation */ java.util.concurrent.Future updateWorkerAsync(UpdateWorkerRequest updateWorkerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Grants permission to update a worker fleet *

* * @param updateWorkerFleetRequest * @return A Java Future containing the result of the UpdateWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsync.UpdateWorkerFleet * @see AWS API Documentation */ java.util.concurrent.Future updateWorkerFleetAsync(UpdateWorkerFleetRequest updateWorkerFleetRequest); /** *

* Grants permission to update a worker fleet *

* * @param updateWorkerFleetRequest * @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 UpdateWorkerFleet operation returned by the service. * @sample AWSIoTRoboRunnerAsyncHandler.UpdateWorkerFleet * @see AWS API Documentation */ java.util.concurrent.Future updateWorkerFleetAsync(UpdateWorkerFleetRequest updateWorkerFleetRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }