/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the gamesparks-2021-08-17.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.GameSparks.Model;
namespace Amazon.GameSparks
{
///
/// Interface for accessing GameSparks
///
///
///
public partial interface IAmazonGameSparks : IAmazonService, IDisposable
{
///
/// Paginators for the service
///
IGameSparksPaginatorFactory Paginators { get; }
#region CreateGame
///
/// Creates a new game with an empty configuration. After creating your game, you can
/// update the configuration using UpdateGameConfiguration
or ImportGameConfiguration
.
///
/// Container for the necessary parameters to execute the CreateGame service method.
///
/// The response from the CreateGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The request would result in exceeding service quota.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for CreateGame Operation
CreateGameResponse CreateGame(CreateGameRequest request);
///
/// Creates a new game with an empty configuration. After creating your game, you can
/// update the configuration using UpdateGameConfiguration
or ImportGameConfiguration
.
///
/// Container for the necessary parameters to execute the CreateGame service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The request would result in exceeding service quota.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for CreateGame Operation
Task CreateGameAsync(CreateGameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSnapshot
///
/// Creates a snapshot of the game configuration.
///
/// Container for the necessary parameters to execute the CreateSnapshot service method.
///
/// The response from the CreateSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for CreateSnapshot Operation
CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request);
///
/// Creates a snapshot of the game configuration.
///
/// Container for the necessary parameters to execute the CreateSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for CreateSnapshot Operation
Task CreateSnapshotAsync(CreateSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateStage
///
/// Creates a new stage for stage-by-stage game development and deployment.
///
/// Container for the necessary parameters to execute the CreateStage service method.
///
/// The response from the CreateStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for CreateStage Operation
CreateStageResponse CreateStage(CreateStageRequest request);
///
/// Creates a new stage for stage-by-stage game development and deployment.
///
/// Container for the necessary parameters to execute the CreateStage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for CreateStage Operation
Task CreateStageAsync(CreateStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteGame
///
/// Deletes a game.
///
/// Container for the necessary parameters to execute the DeleteGame service method.
///
/// The response from the DeleteGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for DeleteGame Operation
DeleteGameResponse DeleteGame(DeleteGameRequest request);
///
/// Deletes a game.
///
/// Container for the necessary parameters to execute the DeleteGame service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for DeleteGame Operation
Task DeleteGameAsync(DeleteGameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteStage
///
/// Deletes a stage from a game, along with the associated game runtime.
///
/// Container for the necessary parameters to execute the DeleteStage service method.
///
/// The response from the DeleteStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for DeleteStage Operation
DeleteStageResponse DeleteStage(DeleteStageRequest request);
///
/// Deletes a stage from a game, along with the associated game runtime.
///
/// Container for the necessary parameters to execute the DeleteStage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for DeleteStage Operation
Task DeleteStageAsync(DeleteStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisconnectPlayer
///
/// Disconnects a player from the game runtime.
///
///
///
/// If a player has multiple connections, this operation attempts to close all of them.
///
///
///
/// Container for the necessary parameters to execute the DisconnectPlayer service method.
///
/// The response from the DisconnectPlayer service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for DisconnectPlayer Operation
DisconnectPlayerResponse DisconnectPlayer(DisconnectPlayerRequest request);
///
/// Disconnects a player from the game runtime.
///
///
///
/// If a player has multiple connections, this operation attempts to close all of them.
///
///
///
/// Container for the necessary parameters to execute the DisconnectPlayer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisconnectPlayer service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for DisconnectPlayer Operation
Task DisconnectPlayerAsync(DisconnectPlayerRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ExportSnapshot
///
/// Exports a game configuration snapshot.
///
/// Container for the necessary parameters to execute the ExportSnapshot service method.
///
/// The response from the ExportSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ExportSnapshot Operation
ExportSnapshotResponse ExportSnapshot(ExportSnapshotRequest request);
///
/// Exports a game configuration snapshot.
///
/// Container for the necessary parameters to execute the ExportSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ExportSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ExportSnapshot Operation
Task ExportSnapshotAsync(ExportSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExtension
///
/// Gets details about a specified extension.
///
/// Container for the necessary parameters to execute the GetExtension service method.
///
/// The response from the GetExtension service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetExtension Operation
GetExtensionResponse GetExtension(GetExtensionRequest request);
///
/// Gets details about a specified extension.
///
/// Container for the necessary parameters to execute the GetExtension service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetExtension service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetExtension Operation
Task GetExtensionAsync(GetExtensionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExtensionVersion
///
/// Gets details about a specified extension version.
///
/// Container for the necessary parameters to execute the GetExtensionVersion service method.
///
/// The response from the GetExtensionVersion service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetExtensionVersion Operation
GetExtensionVersionResponse GetExtensionVersion(GetExtensionVersionRequest request);
///
/// Gets details about a specified extension version.
///
/// Container for the necessary parameters to execute the GetExtensionVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetExtensionVersion service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetExtensionVersion Operation
Task GetExtensionVersionAsync(GetExtensionVersionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGame
///
/// Gets details about a game.
///
/// Container for the necessary parameters to execute the GetGame service method.
///
/// The response from the GetGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetGame Operation
GetGameResponse GetGame(GetGameRequest request);
///
/// Gets details about a game.
///
/// Container for the necessary parameters to execute the GetGame service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetGame Operation
Task GetGameAsync(GetGameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGameConfiguration
///
/// Gets the configuration of the game.
///
/// Container for the necessary parameters to execute the GetGameConfiguration service method.
///
/// The response from the GetGameConfiguration service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetGameConfiguration Operation
GetGameConfigurationResponse GetGameConfiguration(GetGameConfigurationRequest request);
///
/// Gets the configuration of the game.
///
/// Container for the necessary parameters to execute the GetGameConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetGameConfiguration service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetGameConfiguration Operation
Task GetGameConfigurationAsync(GetGameConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetGeneratedCodeJob
///
/// Gets details about a job that is generating code for a snapshot.
///
/// Container for the necessary parameters to execute the GetGeneratedCodeJob service method.
///
/// The response from the GetGeneratedCodeJob service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetGeneratedCodeJob Operation
GetGeneratedCodeJobResponse GetGeneratedCodeJob(GetGeneratedCodeJobRequest request);
///
/// Gets details about a job that is generating code for a snapshot.
///
/// Container for the necessary parameters to execute the GetGeneratedCodeJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetGeneratedCodeJob service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetGeneratedCodeJob Operation
Task GetGeneratedCodeJobAsync(GetGeneratedCodeJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetPlayerConnectionStatus
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetPlayerConnectionStatus service method.
///
/// The response from the GetPlayerConnectionStatus service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetPlayerConnectionStatus Operation
GetPlayerConnectionStatusResponse GetPlayerConnectionStatus(GetPlayerConnectionStatusRequest request);
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetPlayerConnectionStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPlayerConnectionStatus service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetPlayerConnectionStatus Operation
Task GetPlayerConnectionStatusAsync(GetPlayerConnectionStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSnapshot
///
/// Gets a copy of the game configuration in a snapshot.
///
/// Container for the necessary parameters to execute the GetSnapshot service method.
///
/// The response from the GetSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetSnapshot Operation
GetSnapshotResponse GetSnapshot(GetSnapshotRequest request);
///
/// Gets a copy of the game configuration in a snapshot.
///
/// Container for the necessary parameters to execute the GetSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetSnapshot Operation
Task GetSnapshotAsync(GetSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStage
///
/// Gets information about a stage.
///
/// Container for the necessary parameters to execute the GetStage service method.
///
/// The response from the GetStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetStage Operation
GetStageResponse GetStage(GetStageRequest request);
///
/// Gets information about a stage.
///
/// Container for the necessary parameters to execute the GetStage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetStage Operation
Task GetStageAsync(GetStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStageDeployment
///
/// Gets information about a stage deployment.
///
/// Container for the necessary parameters to execute the GetStageDeployment service method.
///
/// The response from the GetStageDeployment service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetStageDeployment Operation
GetStageDeploymentResponse GetStageDeployment(GetStageDeploymentRequest request);
///
/// Gets information about a stage deployment.
///
/// Container for the necessary parameters to execute the GetStageDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetStageDeployment service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for GetStageDeployment Operation
Task GetStageDeploymentAsync(GetStageDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportGameConfiguration
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ImportGameConfiguration service method.
///
/// The response from the ImportGameConfiguration service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request would result in exceeding service quota.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ImportGameConfiguration Operation
ImportGameConfigurationResponse ImportGameConfiguration(ImportGameConfigurationRequest request);
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ImportGameConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ImportGameConfiguration service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request would result in exceeding service quota.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ImportGameConfiguration Operation
Task ImportGameConfigurationAsync(ImportGameConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListExtensions
///
/// Gets a paginated list of available extensions.
///
///
///
/// Extensions provide features that games can use from scripts.
///
///
/// Container for the necessary parameters to execute the ListExtensions service method.
///
/// The response from the ListExtensions service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListExtensions Operation
ListExtensionsResponse ListExtensions(ListExtensionsRequest request);
///
/// Gets a paginated list of available extensions.
///
///
///
/// Extensions provide features that games can use from scripts.
///
///
/// Container for the necessary parameters to execute the ListExtensions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExtensions service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListExtensions Operation
Task ListExtensionsAsync(ListExtensionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListExtensionVersions
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the ListExtensionVersions service method.
///
/// The response from the ListExtensionVersions service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListExtensionVersions Operation
ListExtensionVersionsResponse ListExtensionVersions(ListExtensionVersionsRequest request);
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the ListExtensionVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListExtensionVersions service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListExtensionVersions Operation
Task ListExtensionVersionsAsync(ListExtensionVersionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListGames
///
/// Gets a paginated list of games.
///
/// Container for the necessary parameters to execute the ListGames service method.
///
/// The response from the ListGames service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListGames Operation
ListGamesResponse ListGames(ListGamesRequest request);
///
/// Gets a paginated list of games.
///
/// Container for the necessary parameters to execute the ListGames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListGames service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListGames Operation
Task ListGamesAsync(ListGamesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListGeneratedCodeJobs
///
/// Gets a paginated list of code generation jobs for a snapshot.
///
/// Container for the necessary parameters to execute the ListGeneratedCodeJobs service method.
///
/// The response from the ListGeneratedCodeJobs service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListGeneratedCodeJobs Operation
ListGeneratedCodeJobsResponse ListGeneratedCodeJobs(ListGeneratedCodeJobsRequest request);
///
/// Gets a paginated list of code generation jobs for a snapshot.
///
/// Container for the necessary parameters to execute the ListGeneratedCodeJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListGeneratedCodeJobs service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListGeneratedCodeJobs Operation
Task ListGeneratedCodeJobsAsync(ListGeneratedCodeJobsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSnapshots
///
/// Gets a paginated list of snapshot summaries from the game.
///
/// Container for the necessary parameters to execute the ListSnapshots service method.
///
/// The response from the ListSnapshots service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListSnapshots Operation
ListSnapshotsResponse ListSnapshots(ListSnapshotsRequest request);
///
/// Gets a paginated list of snapshot summaries from the game.
///
/// Container for the necessary parameters to execute the ListSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSnapshots service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListSnapshots Operation
Task ListSnapshotsAsync(ListSnapshotsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListStageDeployments
///
/// Gets a paginated list of stage deployment summaries from the game.
///
/// Container for the necessary parameters to execute the ListStageDeployments service method.
///
/// The response from the ListStageDeployments service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListStageDeployments Operation
ListStageDeploymentsResponse ListStageDeployments(ListStageDeploymentsRequest request);
///
/// Gets a paginated list of stage deployment summaries from the game.
///
/// Container for the necessary parameters to execute the ListStageDeployments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListStageDeployments service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListStageDeployments Operation
Task ListStageDeploymentsAsync(ListStageDeploymentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListStages
///
/// Gets a paginated list of stage summaries from the game.
///
/// Container for the necessary parameters to execute the ListStages service method.
///
/// The response from the ListStages service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListStages Operation
ListStagesResponse ListStages(ListStagesRequest request);
///
/// Gets a paginated list of stage summaries from the game.
///
/// Container for the necessary parameters to execute the ListStages service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListStages service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListStages Operation
Task ListStagesAsync(ListStagesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists the tags associated with a GameSparks resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by GameSparks.
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListTagsForResource Operation
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// Lists the tags associated with a GameSparks resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by GameSparks.
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartGeneratedCodeJob
///
/// 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.
///
/// Container for the necessary parameters to execute the StartGeneratedCodeJob service method.
///
/// The response from the StartGeneratedCodeJob service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for StartGeneratedCodeJob Operation
StartGeneratedCodeJobResponse StartGeneratedCodeJob(StartGeneratedCodeJobRequest request);
///
/// 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.
///
/// Container for the necessary parameters to execute the StartGeneratedCodeJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartGeneratedCodeJob service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for StartGeneratedCodeJob Operation
Task StartGeneratedCodeJobAsync(StartGeneratedCodeJobRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartStageDeployment
///
/// 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.
///
///
/// Container for the necessary parameters to execute the StartStageDeployment service method.
///
/// The response from the StartStageDeployment service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for StartStageDeployment Operation
StartStageDeploymentResponse StartStageDeployment(StartStageDeploymentRequest request);
///
/// 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.
///
///
/// Container for the necessary parameters to execute the StartStageDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartStageDeployment service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource already exists, or another operation is in progress.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for StartStageDeployment Operation
Task StartStageDeploymentAsync(StartStageDeploymentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds tags to a GameSparks resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by GameSparks.
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for TagResource Operation
TagResourceResponse TagResource(TagResourceRequest request);
///
/// Adds tags to a GameSparks resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by GameSparks.
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes tags from a GameSparks resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by GameSparks.
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UntagResource Operation
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// Removes tags from a GameSparks resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by GameSparks.
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateGame
///
/// Updates details of the game.
///
/// Container for the necessary parameters to execute the UpdateGame service method.
///
/// The response from the UpdateGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateGame Operation
UpdateGameResponse UpdateGame(UpdateGameRequest request);
///
/// Updates details of the game.
///
/// Container for the necessary parameters to execute the UpdateGame service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateGame service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateGame Operation
Task UpdateGameAsync(UpdateGameRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateGameConfiguration
///
/// Updates one or more sections of the game configuration.
///
/// Container for the necessary parameters to execute the UpdateGameConfiguration service method.
///
/// The response from the UpdateGameConfiguration service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request would result in exceeding service quota.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateGameConfiguration Operation
UpdateGameConfigurationResponse UpdateGameConfiguration(UpdateGameConfigurationRequest request);
///
/// Updates one or more sections of the game configuration.
///
/// Container for the necessary parameters to execute the UpdateGameConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateGameConfiguration service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request would result in exceeding service quota.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateGameConfiguration Operation
Task UpdateGameConfigurationAsync(UpdateGameConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateSnapshot
///
/// Updates the metadata of a GameSparks snapshot.
///
/// Container for the necessary parameters to execute the UpdateSnapshot service method.
///
/// The response from the UpdateSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateSnapshot Operation
UpdateSnapshotResponse UpdateSnapshot(UpdateSnapshotRequest request);
///
/// Updates the metadata of a GameSparks snapshot.
///
/// Container for the necessary parameters to execute the UpdateSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSnapshot service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateSnapshot Operation
Task UpdateSnapshotAsync(UpdateSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateStage
///
/// Updates the metadata of a stage.
///
/// Container for the necessary parameters to execute the UpdateStage service method.
///
/// The response from the UpdateStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateStage Operation
UpdateStageResponse UpdateStage(UpdateStageRequest request);
///
/// Updates the metadata of a stage.
///
/// Container for the necessary parameters to execute the UpdateStage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateStage service method, as returned by GameSparks.
///
/// You do not have sufficient access to perform this action.
///
///
/// The service encountered an internal error.
///
///
/// The resource specified in the request does not exist.
///
///
/// The request throughput limit was exceeded.
///
///
/// One of the parameters in the request is invalid.
///
/// REST API Reference for UpdateStage Operation
Task UpdateStageAsync(UpdateStageRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}