/* * 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.gamesparks; import javax.annotation.Generated; import com.amazonaws.services.gamesparks.model.*; /** * Interface for accessing GameSparks 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.gamesparks.AbstractAWSGameSparksAsync} instead. *

*

*

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

* Creates a new game with an empty configuration. After creating your game, you can update the configuration using * UpdateGameConfiguration or ImportGameConfiguration. *

* * @param createGameRequest * @return A Java Future containing the result of the CreateGame operation returned by the service. * @sample AWSGameSparksAsync.CreateGame * @see AWS API * Documentation */ java.util.concurrent.Future createGameAsync(CreateGameRequest createGameRequest); /** *

* Creates a new game with an empty configuration. After creating your game, you can update the configuration using * UpdateGameConfiguration or ImportGameConfiguration. *

* * @param createGameRequest * @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 CreateGame operation returned by the service. * @sample AWSGameSparksAsyncHandler.CreateGame * @see AWS API * Documentation */ java.util.concurrent.Future createGameAsync(CreateGameRequest createGameRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a snapshot of the game configuration. *

* * @param createSnapshotRequest * @return A Java Future containing the result of the CreateSnapshot operation returned by the service. * @sample AWSGameSparksAsync.CreateSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest); /** *

* Creates a snapshot of the game configuration. *

* * @param createSnapshotRequest * @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 CreateSnapshot operation returned by the service. * @sample AWSGameSparksAsyncHandler.CreateSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a new stage for stage-by-stage game development and deployment. *

* * @param createStageRequest * @return A Java Future containing the result of the CreateStage operation returned by the service. * @sample AWSGameSparksAsync.CreateStage * @see AWS API * Documentation */ java.util.concurrent.Future createStageAsync(CreateStageRequest createStageRequest); /** *

* Creates a new stage for stage-by-stage game development and deployment. *

* * @param createStageRequest * @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 CreateStage operation returned by the service. * @sample AWSGameSparksAsyncHandler.CreateStage * @see AWS API * Documentation */ java.util.concurrent.Future createStageAsync(CreateStageRequest createStageRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a game. *

* * @param deleteGameRequest * @return A Java Future containing the result of the DeleteGame operation returned by the service. * @sample AWSGameSparksAsync.DeleteGame * @see AWS API * Documentation */ java.util.concurrent.Future deleteGameAsync(DeleteGameRequest deleteGameRequest); /** *

* Deletes a game. *

* * @param deleteGameRequest * @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 DeleteGame operation returned by the service. * @sample AWSGameSparksAsyncHandler.DeleteGame * @see AWS API * Documentation */ java.util.concurrent.Future deleteGameAsync(DeleteGameRequest deleteGameRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes a stage from a game, along with the associated game runtime. *

* * @param deleteStageRequest * @return A Java Future containing the result of the DeleteStage operation returned by the service. * @sample AWSGameSparksAsync.DeleteStage * @see AWS API * Documentation */ java.util.concurrent.Future deleteStageAsync(DeleteStageRequest deleteStageRequest); /** *

* Deletes a stage from a game, along with the associated game runtime. *

* * @param deleteStageRequest * @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 DeleteStage operation returned by the service. * @sample AWSGameSparksAsyncHandler.DeleteStage * @see AWS API * Documentation */ java.util.concurrent.Future deleteStageAsync(DeleteStageRequest deleteStageRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Disconnects a player from the game runtime. *

*

* If a player has multiple connections, this operation attempts to close all of them. *

* * @param disconnectPlayerRequest * @return A Java Future containing the result of the DisconnectPlayer operation returned by the service. * @sample AWSGameSparksAsync.DisconnectPlayer * @see AWS * API Documentation */ java.util.concurrent.Future disconnectPlayerAsync(DisconnectPlayerRequest disconnectPlayerRequest); /** *

* Disconnects a player from the game runtime. *

*

* If a player has multiple connections, this operation attempts to close all of them. *

* * @param disconnectPlayerRequest * @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 DisconnectPlayer operation returned by the service. * @sample AWSGameSparksAsyncHandler.DisconnectPlayer * @see AWS * API Documentation */ java.util.concurrent.Future disconnectPlayerAsync(DisconnectPlayerRequest disconnectPlayerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Exports a game configuration snapshot. *

* * @param exportSnapshotRequest * @return A Java Future containing the result of the ExportSnapshot operation returned by the service. * @sample AWSGameSparksAsync.ExportSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future exportSnapshotAsync(ExportSnapshotRequest exportSnapshotRequest); /** *

* Exports a game configuration snapshot. *

* * @param exportSnapshotRequest * @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 ExportSnapshot operation returned by the service. * @sample AWSGameSparksAsyncHandler.ExportSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future exportSnapshotAsync(ExportSnapshotRequest exportSnapshotRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets details about a specified extension. *

* * @param getExtensionRequest * @return A Java Future containing the result of the GetExtension operation returned by the service. * @sample AWSGameSparksAsync.GetExtension * @see AWS API * Documentation */ java.util.concurrent.Future getExtensionAsync(GetExtensionRequest getExtensionRequest); /** *

* Gets details about a specified extension. *

* * @param getExtensionRequest * @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 GetExtension operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetExtension * @see AWS API * Documentation */ java.util.concurrent.Future getExtensionAsync(GetExtensionRequest getExtensionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets details about a specified extension version. *

* * @param getExtensionVersionRequest * @return A Java Future containing the result of the GetExtensionVersion operation returned by the service. * @sample AWSGameSparksAsync.GetExtensionVersion * @see AWS * API Documentation */ java.util.concurrent.Future getExtensionVersionAsync(GetExtensionVersionRequest getExtensionVersionRequest); /** *

* Gets details about a specified extension version. *

* * @param getExtensionVersionRequest * @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 GetExtensionVersion operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetExtensionVersion * @see AWS * API Documentation */ java.util.concurrent.Future getExtensionVersionAsync(GetExtensionVersionRequest getExtensionVersionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets details about a game. *

* * @param getGameRequest * @return A Java Future containing the result of the GetGame operation returned by the service. * @sample AWSGameSparksAsync.GetGame * @see AWS API * Documentation */ java.util.concurrent.Future getGameAsync(GetGameRequest getGameRequest); /** *

* Gets details about a game. *

* * @param getGameRequest * @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 GetGame operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetGame * @see AWS API * Documentation */ java.util.concurrent.Future getGameAsync(GetGameRequest getGameRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets the configuration of the game. *

* * @param getGameConfigurationRequest * @return A Java Future containing the result of the GetGameConfiguration operation returned by the service. * @sample AWSGameSparksAsync.GetGameConfiguration * @see AWS API Documentation */ java.util.concurrent.Future getGameConfigurationAsync(GetGameConfigurationRequest getGameConfigurationRequest); /** *

* Gets the configuration of the game. *

* * @param getGameConfigurationRequest * @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 GetGameConfiguration operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetGameConfiguration * @see AWS API Documentation */ java.util.concurrent.Future getGameConfigurationAsync(GetGameConfigurationRequest getGameConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets details about a job that is generating code for a snapshot. *

* * @param getGeneratedCodeJobRequest * @return A Java Future containing the result of the GetGeneratedCodeJob operation returned by the service. * @sample AWSGameSparksAsync.GetGeneratedCodeJob * @see AWS * API Documentation */ java.util.concurrent.Future getGeneratedCodeJobAsync(GetGeneratedCodeJobRequest getGeneratedCodeJobRequest); /** *

* Gets details about a job that is generating code for a snapshot. *

* * @param getGeneratedCodeJobRequest * @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 GetGeneratedCodeJob operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetGeneratedCodeJob * @see AWS * API Documentation */ java.util.concurrent.Future getGeneratedCodeJobAsync(GetGeneratedCodeJobRequest getGeneratedCodeJobRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets the status of a player's connection to the game runtime. *

*

* It's possible for a single player to have multiple connections to the game runtime. If a player is not connected, * this operation returns an empty list. *

* * @param getPlayerConnectionStatusRequest * @return A Java Future containing the result of the GetPlayerConnectionStatus operation returned by the service. * @sample AWSGameSparksAsync.GetPlayerConnectionStatus * @see AWS API Documentation */ java.util.concurrent.Future getPlayerConnectionStatusAsync( GetPlayerConnectionStatusRequest getPlayerConnectionStatusRequest); /** *

* Gets the status of a player's connection to the game runtime. *

*

* It's possible for a single player to have multiple connections to the game runtime. If a player is not connected, * this operation returns an empty list. *

* * @param getPlayerConnectionStatusRequest * @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 GetPlayerConnectionStatus operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetPlayerConnectionStatus * @see AWS API Documentation */ java.util.concurrent.Future getPlayerConnectionStatusAsync( GetPlayerConnectionStatusRequest getPlayerConnectionStatusRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a copy of the game configuration in a snapshot. *

* * @param getSnapshotRequest * @return A Java Future containing the result of the GetSnapshot operation returned by the service. * @sample AWSGameSparksAsync.GetSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future getSnapshotAsync(GetSnapshotRequest getSnapshotRequest); /** *

* Gets a copy of the game configuration in a snapshot. *

* * @param getSnapshotRequest * @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 GetSnapshot operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future getSnapshotAsync(GetSnapshotRequest getSnapshotRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information about a stage. *

* * @param getStageRequest * @return A Java Future containing the result of the GetStage operation returned by the service. * @sample AWSGameSparksAsync.GetStage * @see AWS API * Documentation */ java.util.concurrent.Future getStageAsync(GetStageRequest getStageRequest); /** *

* Gets information about a stage. *

* * @param getStageRequest * @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 GetStage operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetStage * @see AWS API * Documentation */ java.util.concurrent.Future getStageAsync(GetStageRequest getStageRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets information about a stage deployment. *

* * @param getStageDeploymentRequest * @return A Java Future containing the result of the GetStageDeployment operation returned by the service. * @sample AWSGameSparksAsync.GetStageDeployment * @see AWS * API Documentation */ java.util.concurrent.Future getStageDeploymentAsync(GetStageDeploymentRequest getStageDeploymentRequest); /** *

* Gets information about a stage deployment. *

* * @param getStageDeploymentRequest * @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 GetStageDeployment operation returned by the service. * @sample AWSGameSparksAsyncHandler.GetStageDeployment * @see AWS * API Documentation */ java.util.concurrent.Future getStageDeploymentAsync(GetStageDeploymentRequest getStageDeploymentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Imports a game configuration. *

*

* This operation replaces the current configuration of the game with the provided input. This is not a reversible * operation. If you want to preserve the previous configuration, use CreateSnapshot to make a new * snapshot before importing. *

* * @param importGameConfigurationRequest * @return A Java Future containing the result of the ImportGameConfiguration operation returned by the service. * @sample AWSGameSparksAsync.ImportGameConfiguration * @see AWS API Documentation */ java.util.concurrent.Future importGameConfigurationAsync(ImportGameConfigurationRequest importGameConfigurationRequest); /** *

* Imports a game configuration. *

*

* This operation replaces the current configuration of the game with the provided input. This is not a reversible * operation. If you want to preserve the previous configuration, use CreateSnapshot to make a new * snapshot before importing. *

* * @param importGameConfigurationRequest * @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 ImportGameConfiguration operation returned by the service. * @sample AWSGameSparksAsyncHandler.ImportGameConfiguration * @see AWS API Documentation */ java.util.concurrent.Future importGameConfigurationAsync(ImportGameConfigurationRequest importGameConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of available versions for the extension. *

*

* Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation * shows the versions that are currently available. *

* * @param listExtensionVersionsRequest * @return A Java Future containing the result of the ListExtensionVersions operation returned by the service. * @sample AWSGameSparksAsync.ListExtensionVersions * @see AWS API Documentation */ java.util.concurrent.Future listExtensionVersionsAsync(ListExtensionVersionsRequest listExtensionVersionsRequest); /** *

* Gets a paginated list of available versions for the extension. *

*

* Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation * shows the versions that are currently available. *

* * @param listExtensionVersionsRequest * @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 ListExtensionVersions operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListExtensionVersions * @see AWS API Documentation */ java.util.concurrent.Future listExtensionVersionsAsync(ListExtensionVersionsRequest listExtensionVersionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of available extensions. *

*

* Extensions provide features that games can use from scripts. *

* * @param listExtensionsRequest * @return A Java Future containing the result of the ListExtensions operation returned by the service. * @sample AWSGameSparksAsync.ListExtensions * @see AWS API * Documentation */ java.util.concurrent.Future listExtensionsAsync(ListExtensionsRequest listExtensionsRequest); /** *

* Gets a paginated list of available extensions. *

*

* Extensions provide features that games can use from scripts. *

* * @param listExtensionsRequest * @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 ListExtensions operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListExtensions * @see AWS API * Documentation */ java.util.concurrent.Future listExtensionsAsync(ListExtensionsRequest listExtensionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of games. *

* * @param listGamesRequest * @return A Java Future containing the result of the ListGames operation returned by the service. * @sample AWSGameSparksAsync.ListGames * @see AWS API * Documentation */ java.util.concurrent.Future listGamesAsync(ListGamesRequest listGamesRequest); /** *

* Gets a paginated list of games. *

* * @param listGamesRequest * @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 ListGames operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListGames * @see AWS API * Documentation */ java.util.concurrent.Future listGamesAsync(ListGamesRequest listGamesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of code generation jobs for a snapshot. *

* * @param listGeneratedCodeJobsRequest * @return A Java Future containing the result of the ListGeneratedCodeJobs operation returned by the service. * @sample AWSGameSparksAsync.ListGeneratedCodeJobs * @see AWS API Documentation */ java.util.concurrent.Future listGeneratedCodeJobsAsync(ListGeneratedCodeJobsRequest listGeneratedCodeJobsRequest); /** *

* Gets a paginated list of code generation jobs for a snapshot. *

* * @param listGeneratedCodeJobsRequest * @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 ListGeneratedCodeJobs operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListGeneratedCodeJobs * @see AWS API Documentation */ java.util.concurrent.Future listGeneratedCodeJobsAsync(ListGeneratedCodeJobsRequest listGeneratedCodeJobsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of snapshot summaries from the game. *

* * @param listSnapshotsRequest * @return A Java Future containing the result of the ListSnapshots operation returned by the service. * @sample AWSGameSparksAsync.ListSnapshots * @see AWS API * Documentation */ java.util.concurrent.Future listSnapshotsAsync(ListSnapshotsRequest listSnapshotsRequest); /** *

* Gets a paginated list of snapshot summaries from the game. *

* * @param listSnapshotsRequest * @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 ListSnapshots operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListSnapshots * @see AWS API * Documentation */ java.util.concurrent.Future listSnapshotsAsync(ListSnapshotsRequest listSnapshotsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of stage deployment summaries from the game. *

* * @param listStageDeploymentsRequest * @return A Java Future containing the result of the ListStageDeployments operation returned by the service. * @sample AWSGameSparksAsync.ListStageDeployments * @see AWS API Documentation */ java.util.concurrent.Future listStageDeploymentsAsync(ListStageDeploymentsRequest listStageDeploymentsRequest); /** *

* Gets a paginated list of stage deployment summaries from the game. *

* * @param listStageDeploymentsRequest * @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 ListStageDeployments operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListStageDeployments * @see AWS API Documentation */ java.util.concurrent.Future listStageDeploymentsAsync(ListStageDeploymentsRequest listStageDeploymentsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Gets a paginated list of stage summaries from the game. *

* * @param listStagesRequest * @return A Java Future containing the result of the ListStages operation returned by the service. * @sample AWSGameSparksAsync.ListStages * @see AWS API * Documentation */ java.util.concurrent.Future listStagesAsync(ListStagesRequest listStagesRequest); /** *

* Gets a paginated list of stage summaries from the game. *

* * @param listStagesRequest * @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 ListStages operation returned by the service. * @sample AWSGameSparksAsyncHandler.ListStages * @see AWS API * Documentation */ java.util.concurrent.Future listStagesAsync(ListStagesRequest listStagesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags associated with a GameSparks resource. *

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

* Lists the tags associated with a GameSparks resource. *

* * @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 AWSGameSparksAsyncHandler.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Starts an asynchronous process that generates client code for system-defined and custom messages. The resulting * code is collected as a .zip file and uploaded to a pre-signed Amazon S3 URL. *

* * @param startGeneratedCodeJobRequest * @return A Java Future containing the result of the StartGeneratedCodeJob operation returned by the service. * @sample AWSGameSparksAsync.StartGeneratedCodeJob * @see AWS API Documentation */ java.util.concurrent.Future startGeneratedCodeJobAsync(StartGeneratedCodeJobRequest startGeneratedCodeJobRequest); /** *

* Starts an asynchronous process that generates client code for system-defined and custom messages. The resulting * code is collected as a .zip file and uploaded to a pre-signed Amazon S3 URL. *

* * @param startGeneratedCodeJobRequest * @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 StartGeneratedCodeJob operation returned by the service. * @sample AWSGameSparksAsyncHandler.StartGeneratedCodeJob * @see AWS API Documentation */ java.util.concurrent.Future startGeneratedCodeJobAsync(StartGeneratedCodeJobRequest startGeneratedCodeJobRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deploys a snapshot to the stage and creates a new game runtime. *

*

* After you call this operation, you can check the deployment status by using GetStageDeployment. *

*

* If there are any players connected to the previous game runtime, then both runtimes persist. Existing connections * to the previous runtime are maintained. When players disconnect and reconnect, they connect to the new runtime. * After there are no connections to the previous game runtime, it is deleted. *

* * @param startStageDeploymentRequest * @return A Java Future containing the result of the StartStageDeployment operation returned by the service. * @sample AWSGameSparksAsync.StartStageDeployment * @see AWS API Documentation */ java.util.concurrent.Future startStageDeploymentAsync(StartStageDeploymentRequest startStageDeploymentRequest); /** *

* Deploys a snapshot to the stage and creates a new game runtime. *

*

* After you call this operation, you can check the deployment status by using GetStageDeployment. *

*

* If there are any players connected to the previous game runtime, then both runtimes persist. Existing connections * to the previous runtime are maintained. When players disconnect and reconnect, they connect to the new runtime. * After there are no connections to the previous game runtime, it is deleted. *

* * @param startStageDeploymentRequest * @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 StartStageDeployment operation returned by the service. * @sample AWSGameSparksAsyncHandler.StartStageDeployment * @see AWS API Documentation */ java.util.concurrent.Future startStageDeploymentAsync(StartStageDeploymentRequest startStageDeploymentRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds tags to a GameSparks resource. *

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

* Adds tags to a GameSparks resource. *

* * @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 AWSGameSparksAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes tags from a GameSparks resource. *

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

* Removes tags from a GameSparks resource. *

* * @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 AWSGameSparksAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates details of the game. *

* * @param updateGameRequest * @return A Java Future containing the result of the UpdateGame operation returned by the service. * @sample AWSGameSparksAsync.UpdateGame * @see AWS API * Documentation */ java.util.concurrent.Future updateGameAsync(UpdateGameRequest updateGameRequest); /** *

* Updates details of the game. *

* * @param updateGameRequest * @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 UpdateGame operation returned by the service. * @sample AWSGameSparksAsyncHandler.UpdateGame * @see AWS API * Documentation */ java.util.concurrent.Future updateGameAsync(UpdateGameRequest updateGameRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates one or more sections of the game configuration. *

* * @param updateGameConfigurationRequest * @return A Java Future containing the result of the UpdateGameConfiguration operation returned by the service. * @sample AWSGameSparksAsync.UpdateGameConfiguration * @see AWS API Documentation */ java.util.concurrent.Future updateGameConfigurationAsync(UpdateGameConfigurationRequest updateGameConfigurationRequest); /** *

* Updates one or more sections of the game configuration. *

* * @param updateGameConfigurationRequest * @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 UpdateGameConfiguration operation returned by the service. * @sample AWSGameSparksAsyncHandler.UpdateGameConfiguration * @see AWS API Documentation */ java.util.concurrent.Future updateGameConfigurationAsync(UpdateGameConfigurationRequest updateGameConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the metadata of a GameSparks snapshot. *

* * @param updateSnapshotRequest * @return A Java Future containing the result of the UpdateSnapshot operation returned by the service. * @sample AWSGameSparksAsync.UpdateSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future updateSnapshotAsync(UpdateSnapshotRequest updateSnapshotRequest); /** *

* Updates the metadata of a GameSparks snapshot. *

* * @param updateSnapshotRequest * @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 UpdateSnapshot operation returned by the service. * @sample AWSGameSparksAsyncHandler.UpdateSnapshot * @see AWS API * Documentation */ java.util.concurrent.Future updateSnapshotAsync(UpdateSnapshotRequest updateSnapshotRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the metadata of a stage. *

* * @param updateStageRequest * @return A Java Future containing the result of the UpdateStage operation returned by the service. * @sample AWSGameSparksAsync.UpdateStage * @see AWS API * Documentation */ java.util.concurrent.Future updateStageAsync(UpdateStageRequest updateStageRequest); /** *

* Updates the metadata of a stage. *

* * @param updateStageRequest * @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 UpdateStage operation returned by the service. * @sample AWSGameSparksAsyncHandler.UpdateStage * @see AWS API * Documentation */ java.util.concurrent.Future updateStageAsync(UpdateStageRequest updateStageRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }