From 873b309b59d9624138811795e27597fc9af319a5 Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Thu, 19 Oct 2023 11:46:04 -0400 Subject: [PATCH] Remove GameSparks service model --- .../d5a31b0b-069c-4d6e-9d2a-30a7fb261dbb.json | 5 + codegen/sdk/aws-models/gamesparks.json | 4460 ----------------- 2 files changed, 5 insertions(+), 4460 deletions(-) create mode 100644 .changes/d5a31b0b-069c-4d6e-9d2a-30a7fb261dbb.json delete mode 100644 codegen/sdk/aws-models/gamesparks.json diff --git a/.changes/d5a31b0b-069c-4d6e-9d2a-30a7fb261dbb.json b/.changes/d5a31b0b-069c-4d6e-9d2a-30a7fb261dbb.json new file mode 100644 index 000000000000..74afde3accf1 --- /dev/null +++ b/.changes/d5a31b0b-069c-4d6e-9d2a-30a7fb261dbb.json @@ -0,0 +1,5 @@ +{ + "id": "d5a31b0b-069c-4d6e-9d2a-30a7fb261dbb", + "type": "misc", + "description": "Remove GameSparks service model" +} \ No newline at end of file diff --git a/codegen/sdk/aws-models/gamesparks.json b/codegen/sdk/aws-models/gamesparks.json deleted file mode 100644 index 11f7ba159f5f..000000000000 --- a/codegen/sdk/aws-models/gamesparks.json +++ /dev/null @@ -1,4460 +0,0 @@ -{ - "smithy": "2.0", - "shapes": { - "com.amazonaws.gamesparks#ARN": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 20, - "max": 2048 - }, - "smithy.api#pattern": "^[A-Za-z0-9:_/-]+$" - } - }, - "com.amazonaws.gamesparks#AccessDeniedException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.gamesparks#ByteSize": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0 - } - } - }, - "com.amazonaws.gamesparks#ClientToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 33, - "max": 126 - } - } - }, - "com.amazonaws.gamesparks#ConflictException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The resource already exists, or another operation is in progress.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.gamesparks#Connection": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.gamesparks#ConnectionId", - "traits": { - "smithy.api#documentation": "

The identifier used to indicate a specific WebSocket connection.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The date and time when the connection was created.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a WebSocket connection.

" - } - }, - "com.amazonaws.gamesparks#ConnectionId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 36 - } - } - }, - "com.amazonaws.gamesparks#ConnectionIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#ConnectionId" - } - }, - "com.amazonaws.gamesparks#ConnectionList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#Connection" - } - }, - "com.amazonaws.gamesparks#CreateGame": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#CreateGameRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#CreateGameResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#ConflictException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "POST", - "uri": "/game", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#CreateGameRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#GameDescription", - "traits": { - "smithy.api#documentation": "

The description of the game.

" - } - }, - "ClientToken": { - "target": "com.amazonaws.gamesparks#ClientToken", - "traits": { - "smithy.api#documentation": "

\n A client-defined token.\n With an active client token in the request, this action is idempotent.\n

" - } - }, - "Tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The list of tags to apply to the game.

" - } - } - } - }, - "com.amazonaws.gamesparks#CreateGameResult": { - "type": "structure", - "members": { - "Game": { - "target": "com.amazonaws.gamesparks#GameDetails", - "traits": { - "smithy.api#documentation": "

Details about the game that was created.

" - } - } - } - }, - "com.amazonaws.gamesparks#CreateSnapshot": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#CreateSnapshotRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#CreateSnapshotResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#ConflictException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a snapshot of the game configuration.

", - "smithy.api#http": { - "method": "POST", - "uri": "/game/{GameName}/snapshot", - "code": 200 - } - } - }, - "com.amazonaws.gamesparks#CreateSnapshotRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#SnapshotDescription", - "traits": { - "smithy.api#documentation": "

The description of the snapshot.

" - } - } - } - }, - "com.amazonaws.gamesparks#CreateSnapshotResult": { - "type": "structure", - "members": { - "Snapshot": { - "target": "com.amazonaws.gamesparks#SnapshotDetails", - "traits": { - "smithy.api#documentation": "

Properties that provide details of the created snapshot.

" - } - } - } - }, - "com.amazonaws.gamesparks#CreateStage": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#CreateStageRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#CreateStageResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#ConflictException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "POST", - "uri": "/game/{GameName}/stage", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#CreateStageRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#required": {} - } - }, - "Role": { - "target": "com.amazonaws.gamesparks#RoleARN", - "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the role to run the game with.\n This role can be a game-defined role or the default role that GameSparks created.\n

", - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#StageDescription", - "traits": { - "smithy.api#documentation": "

The description of the stage.

" - } - }, - "ClientToken": { - "target": "com.amazonaws.gamesparks#ClientToken", - "traits": { - "smithy.api#documentation": "

\n A client-defined token.\n With an active client token in the request, this action is idempotent.\n

" - } - }, - "Tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The list of tags to apply to the stage.

" - } - } - } - }, - "com.amazonaws.gamesparks#CreateStageResult": { - "type": "structure", - "members": { - "Stage": { - "target": "com.amazonaws.gamesparks#StageDetails", - "traits": { - "smithy.api#documentation": "

Properties that describe the stage.

" - } - } - } - }, - "com.amazonaws.gamesparks#DateTime": { - "type": "timestamp", - "traits": { - "smithy.api#timestampFormat": "date-time" - } - }, - "com.amazonaws.gamesparks#DeleteGame": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#DeleteGameRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#DeleteGameResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#ConflictException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes a game.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/game/{GameName}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#DeleteGameRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#DeleteGameResult": { - "type": "structure", - "members": {} - }, - "com.amazonaws.gamesparks#DeleteStage": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#DeleteStageRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#DeleteStageResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#ConflictException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/game/{GameName}/stage/{StageName}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#DeleteStageRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#DeleteStageResult": { - "type": "structure", - "members": {} - }, - "com.amazonaws.gamesparks#DeploymentAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEPLOY", - "name": "DEPLOY" - }, - { - "value": "UNDEPLOY", - "name": "UNDEPLOY" - } - ] - } - }, - "com.amazonaws.gamesparks#DeploymentId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$" - } - }, - "com.amazonaws.gamesparks#DeploymentResult": { - "type": "structure", - "members": { - "ResultCode": { - "target": "com.amazonaws.gamesparks#ResultCode", - "traits": { - "smithy.api#documentation": "

The type of deployment result.

" - } - }, - "Message": { - "target": "com.amazonaws.gamesparks#Message", - "traits": { - "smithy.api#documentation": "

Details about the deployment result.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The result of the deployment.

" - } - }, - "com.amazonaws.gamesparks#DeploymentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] - } - }, - "com.amazonaws.gamesparks#DisconnectPlayer": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#DisconnectPlayerRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#DisconnectPlayerResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Disconnects a player from the game runtime.

\n

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

", - "smithy.api#http": { - "method": "POST", - "uri": "/runtime/game/{GameName}/stage/{StageName}/player/{PlayerId}/disconnect", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#DisconnectPlayerRequest": { - "type": "structure", - "members": { - "PlayerId": { - "target": "com.amazonaws.gamesparks#PlayerId", - "traits": { - "smithy.api#documentation": "

The unique identifier representing a player.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#DisconnectPlayerResult": { - "type": "structure", - "members": { - "DisconnectSuccesses": { - "target": "com.amazonaws.gamesparks#ConnectionIdList", - "traits": { - "smithy.api#documentation": "

The list of the connection ids that were disconnected.

" - } - }, - "DisconnectFailures": { - "target": "com.amazonaws.gamesparks#ConnectionIdList", - "traits": { - "smithy.api#documentation": "

The list of the connection ids that could not be disconnected.

" - } - } - } - }, - "com.amazonaws.gamesparks#Document": { - "type": "document", - "traits": { - "smithy.api#documentation": "

" - } - }, - "com.amazonaws.gamesparks#ExceptionMessage": { - "type": "string" - }, - "com.amazonaws.gamesparks#ExportSnapshot": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ExportSnapshotRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ExportSnapshotResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Exports a game configuration snapshot.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/snapshot/{SnapshotId}/export", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ExportSnapshotRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot to export.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#ExportSnapshotResult": { - "type": "structure", - "members": { - "S3Url": { - "target": "com.amazonaws.gamesparks#S3PresignedUrl", - "traits": { - "smithy.api#documentation": "

The presigned URL for the snapshot data.

\n

\n This URL will be available for 10 minutes, and can be used to download the snapshot content.\n If the URL expires, a new one can be requested using the same operation.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ExtensionDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 250 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$|^$" - } - }, - "com.amazonaws.gamesparks#ExtensionDetails": { - "type": "structure", - "members": { - "Namespace": { - "target": "com.amazonaws.gamesparks#ExtensionNamespace", - "traits": { - "smithy.api#documentation": "

The namespace (qualifier) of the extension.

" - } - }, - "Name": { - "target": "com.amazonaws.gamesparks#ExtensionName", - "traits": { - "smithy.api#documentation": "

The name of the extension.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#ExtensionDescription", - "traits": { - "smithy.api#documentation": "

The description of the extension.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the extension.

" - } - }, - "com.amazonaws.gamesparks#ExtensionDetailsList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#ExtensionDetails" - } - }, - "com.amazonaws.gamesparks#ExtensionName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 36 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" - } - }, - "com.amazonaws.gamesparks#ExtensionNamespace": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 36 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" - } - }, - "com.amazonaws.gamesparks#ExtensionVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.gamesparks#ExtensionVersionDetails": { - "type": "structure", - "members": { - "Namespace": { - "target": "com.amazonaws.gamesparks#ExtensionNamespace", - "traits": { - "smithy.api#documentation": "

The namespace (qualifier) of the extension.

" - } - }, - "Name": { - "target": "com.amazonaws.gamesparks#ExtensionName", - "traits": { - "smithy.api#documentation": "

The name of the extension.

" - } - }, - "Schema": { - "target": "com.amazonaws.gamesparks#ExtensionVersionSchema", - "traits": { - "smithy.api#documentation": "

The model that defines the interface for this extension version.

" - } - }, - "Version": { - "target": "com.amazonaws.gamesparks#ExtensionVersion", - "traits": { - "smithy.api#documentation": "

The version of the extension.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the extension version.

" - } - }, - "com.amazonaws.gamesparks#ExtensionVersionDetailsList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#ExtensionVersionDetails" - } - }, - "com.amazonaws.gamesparks#ExtensionVersionSchema": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 2048 - } - } - }, - "com.amazonaws.gamesparks#GameConfigurationDetails": { - "type": "structure", - "members": { - "Sections": { - "target": "com.amazonaws.gamesparks#Sections", - "traits": { - "smithy.api#documentation": "

Configuration data, organized by section name.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The date when the game was created.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The date when the game was last modified.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the game configuration.

\n

\n The game configuration is organized into named sections, where the schema of each section\n is defined by an extension. The schema for these sections can be retrieved using\n the GetExtensionVersion operation.\n

" - } - }, - "com.amazonaws.gamesparks#GameDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 250 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$|^$" - } - }, - "com.amazonaws.gamesparks#GameDetails": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

" - } - }, - "Arn": { - "target": "com.amazonaws.gamesparks#ARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of this game.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#GameDescription", - "traits": { - "smithy.api#documentation": "

The description of the game.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The date when the game was created.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The date when the game was last modified.

" - } - }, - "State": { - "target": "com.amazonaws.gamesparks#GameState", - "traits": { - "smithy.api#documentation": "

The state of the game.

" - } - }, - "EnableTerminationProtection": { - "target": "com.amazonaws.gamesparks#GameTerminationProtection", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

Determines if the game can be deleted.

" - } - }, - "Tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The tags associated with the game.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a game.

" - } - }, - "com.amazonaws.gamesparks#GameKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 44 - } - } - }, - "com.amazonaws.gamesparks#GameName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 36 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" - } - }, - "com.amazonaws.gamesparks#GameSdkVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 5, - "max": 10 - }, - "smithy.api#pattern": "^((\\d|[1-9]\\d*)\\.(\\d|[0-9]\\d*)\\.(\\d|[0-9]\\d*)|LATEST)$" - } - }, - "com.amazonaws.gamesparks#GameSparks": { - "type": "service", - "version": "2021-08-17", - "operations": [ - { - "target": "com.amazonaws.gamesparks#CreateGame" - }, - { - "target": "com.amazonaws.gamesparks#CreateSnapshot" - }, - { - "target": "com.amazonaws.gamesparks#CreateStage" - }, - { - "target": "com.amazonaws.gamesparks#DeleteGame" - }, - { - "target": "com.amazonaws.gamesparks#DeleteStage" - }, - { - "target": "com.amazonaws.gamesparks#DisconnectPlayer" - }, - { - "target": "com.amazonaws.gamesparks#ExportSnapshot" - }, - { - "target": "com.amazonaws.gamesparks#GetExtension" - }, - { - "target": "com.amazonaws.gamesparks#GetExtensionVersion" - }, - { - "target": "com.amazonaws.gamesparks#GetGame" - }, - { - "target": "com.amazonaws.gamesparks#GetGameConfiguration" - }, - { - "target": "com.amazonaws.gamesparks#GetGeneratedCodeJob" - }, - { - "target": "com.amazonaws.gamesparks#GetPlayerConnectionStatus" - }, - { - "target": "com.amazonaws.gamesparks#GetSnapshot" - }, - { - "target": "com.amazonaws.gamesparks#GetStage" - }, - { - "target": "com.amazonaws.gamesparks#GetStageDeployment" - }, - { - "target": "com.amazonaws.gamesparks#ImportGameConfiguration" - }, - { - "target": "com.amazonaws.gamesparks#ListExtensions" - }, - { - "target": "com.amazonaws.gamesparks#ListExtensionVersions" - }, - { - "target": "com.amazonaws.gamesparks#ListGames" - }, - { - "target": "com.amazonaws.gamesparks#ListGeneratedCodeJobs" - }, - { - "target": "com.amazonaws.gamesparks#ListSnapshots" - }, - { - "target": "com.amazonaws.gamesparks#ListStageDeployments" - }, - { - "target": "com.amazonaws.gamesparks#ListStages" - }, - { - "target": "com.amazonaws.gamesparks#ListTagsForResource" - }, - { - "target": "com.amazonaws.gamesparks#StartGeneratedCodeJob" - }, - { - "target": "com.amazonaws.gamesparks#StartStageDeployment" - }, - { - "target": "com.amazonaws.gamesparks#TagResource" - }, - { - "target": "com.amazonaws.gamesparks#UntagResource" - }, - { - "target": "com.amazonaws.gamesparks#UpdateGame" - }, - { - "target": "com.amazonaws.gamesparks#UpdateGameConfiguration" - }, - { - "target": "com.amazonaws.gamesparks#UpdateSnapshot" - }, - { - "target": "com.amazonaws.gamesparks#UpdateStage" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "GameSparks" - }, - "aws.auth#sigv4": { - "name": "gamesparks" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

", - "smithy.api#title": "GameSparks", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://gamesparks-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://gamesparks-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://gamesparks.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "endpoint": { - "url": "https://gamesparks.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://gamesparks.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.gamesparks#GameState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" - } - ] - } - }, - "com.amazonaws.gamesparks#GameSummary": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#GameDescription", - "traits": { - "smithy.api#documentation": "

The description of the game.

" - } - }, - "State": { - "target": "com.amazonaws.gamesparks#GameState", - "traits": { - "smithy.api#documentation": "

The state of the game.

" - } - }, - "Tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The tags associated with the game.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the properties of a game.

" - } - }, - "com.amazonaws.gamesparks#GameSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#GameSummary" - } - }, - "com.amazonaws.gamesparks#GameTerminationProtection": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } - }, - "com.amazonaws.gamesparks#GeneratedCodeJobDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 250 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$|^$" - } - }, - "com.amazonaws.gamesparks#GeneratedCodeJobDetails": { - "type": "structure", - "members": { - "S3Url": { - "target": "com.amazonaws.gamesparks#S3PresignedUrl", - "traits": { - "smithy.api#documentation": "

A presigned URL that can be used to download the generated code.

" - } - }, - "Status": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobState", - "traits": { - "smithy.api#documentation": "

The status of the generated code job

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobDescription", - "traits": { - "smithy.api#documentation": "

The description of the generated code job.

" - } - }, - "ExpirationTime": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The expiration date and time for the download URL.

\n

\n The download URL us guaranteed to be available until at least this time.\n

" - } - }, - "GeneratedCodeJobId": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobId", - "traits": { - "smithy.api#documentation": "

The identifier for the generated code job.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a generated code job.

" - } - }, - "com.amazonaws.gamesparks#GeneratedCodeJobDetailsList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobDetails" - } - }, - "com.amazonaws.gamesparks#GeneratedCodeJobId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - } - }, - "com.amazonaws.gamesparks#GeneratedCodeJobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "PENDING", - "name": "PENDING" - } - ] - } - }, - "com.amazonaws.gamesparks#Generator": { - "type": "structure", - "members": { - "TargetPlatform": { - "target": "com.amazonaws.gamesparks#TargetPlatform", - "traits": { - "smithy.api#documentation": "

The platform that will be used to run the generated code.

" - } - }, - "Language": { - "target": "com.amazonaws.gamesparks#Language", - "traits": { - "smithy.api#documentation": "

The programming language for the generated code.

\n

\n Not all languages are supported for each platform. For cases where multiple languages are supported,\n this parameter specifies the language to be used. If this value is omitted, the default language\n for the target platform will be used.\n

" - } - }, - "GameSdkVersion": { - "target": "com.amazonaws.gamesparks#GameSdkVersion", - "traits": { - "smithy.api#documentation": "

The target version of the GameSparks Game SDK.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Properties that specify the code generator for a generated code job.

" - } - }, - "com.amazonaws.gamesparks#GetExtension": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetExtensionRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetExtensionResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets details about a specified extension.

", - "smithy.api#http": { - "method": "GET", - "uri": "/extension/{Namespace}/{Name}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetExtensionRequest": { - "type": "structure", - "members": { - "Namespace": { - "target": "com.amazonaws.gamesparks#ExtensionNamespace", - "traits": { - "smithy.api#documentation": "

The namespace (qualifier) of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.gamesparks#ExtensionName", - "traits": { - "smithy.api#documentation": "

The name of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#GetExtensionResult": { - "type": "structure", - "members": { - "Extension": { - "target": "com.amazonaws.gamesparks#ExtensionDetails", - "traits": { - "smithy.api#documentation": "

Details about the extension.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetExtensionVersion": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetExtensionVersionRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetExtensionVersionResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets details about a specified extension version.

", - "smithy.api#http": { - "method": "GET", - "uri": "/extension/{Namespace}/{Name}/version/{ExtensionVersion}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetExtensionVersionRequest": { - "type": "structure", - "members": { - "Namespace": { - "target": "com.amazonaws.gamesparks#ExtensionNamespace", - "traits": { - "smithy.api#documentation": "

The namespace (qualifier) of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.gamesparks#ExtensionName", - "traits": { - "smithy.api#documentation": "

The name of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ExtensionVersion": { - "target": "com.amazonaws.gamesparks#ExtensionVersion", - "traits": { - "smithy.api#documentation": "

The version of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#GetExtensionVersionResult": { - "type": "structure", - "members": { - "ExtensionVersion": { - "target": "com.amazonaws.gamesparks#ExtensionVersionDetails", - "traits": { - "smithy.api#documentation": "

The version of the extension.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetGame": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetGameRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetGameResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets details about a game.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetGameConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetGameConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetGameConfigurationResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets the configuration of the game.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/configuration", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetGameConfigurationRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Sections": { - "target": "com.amazonaws.gamesparks#SectionList", - "traits": { - "smithy.api#documentation": "

The list of sections to return.

", - "smithy.api#httpQuery": "Sections" - } - } - } - }, - "com.amazonaws.gamesparks#GetGameConfigurationResult": { - "type": "structure", - "members": { - "GameConfiguration": { - "target": "com.amazonaws.gamesparks#GameConfigurationDetails", - "traits": { - "smithy.api#documentation": "

Details about the game configuration.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetGameRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#GetGameResult": { - "type": "structure", - "members": { - "Game": { - "target": "com.amazonaws.gamesparks#GameDetails", - "traits": { - "smithy.api#documentation": "

The details of the game.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetGeneratedCodeJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetGeneratedCodeJobRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetGeneratedCodeJobResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-job/{JobId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetGeneratedCodeJobRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot for the code generation job.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "JobId": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobId", - "traits": { - "smithy.api#documentation": "

The identifier of the code generation job.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#GetGeneratedCodeJobResult": { - "type": "structure", - "members": { - "GeneratedCodeJob": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobDetails", - "traits": { - "smithy.api#documentation": "

Details about the generated code job.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetPlayerConnectionStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetPlayerConnectionStatusRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetPlayerConnectionStatusResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

\n

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

", - "smithy.api#http": { - "method": "GET", - "uri": "/runtime/game/{GameName}/stage/{StageName}/player/{PlayerId}/connection", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetPlayerConnectionStatusRequest": { - "type": "structure", - "members": { - "PlayerId": { - "target": "com.amazonaws.gamesparks#PlayerId", - "traits": { - "smithy.api#documentation": "

The unique identifier representing a player.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#GetPlayerConnectionStatusResult": { - "type": "structure", - "members": { - "Connections": { - "target": "com.amazonaws.gamesparks#ConnectionList", - "traits": { - "smithy.api#documentation": "

The list of connection ids, one for each connection in use by the player.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetSnapshot": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetSnapshotRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetSnapshotResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a copy of the game configuration in a snapshot.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/snapshot/{SnapshotId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetSnapshotRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Sections": { - "target": "com.amazonaws.gamesparks#SectionList", - "traits": { - "smithy.api#documentation": "

The list of game configuration sections to be described.

", - "smithy.api#httpQuery": "Sections" - } - } - } - }, - "com.amazonaws.gamesparks#GetSnapshotResult": { - "type": "structure", - "members": { - "Snapshot": { - "target": "com.amazonaws.gamesparks#SnapshotDetails", - "traits": { - "smithy.api#documentation": "

Properties that provide details of the snapshot.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetStage": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetStageRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetStageResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets information about a stage.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/stage/{StageName}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetStageDeployment": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#GetStageDeploymentRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#GetStageDeploymentResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets information about a stage deployment.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/stage/{StageName}/deployment", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#GetStageDeploymentRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "DeploymentId": { - "target": "com.amazonaws.gamesparks#DeploymentId", - "traits": { - "smithy.api#documentation": "

\n The identifier of the stage deployment.\n StartStageDeployment returns the identifier that you use here.\n

", - "smithy.api#httpQuery": "DeploymentId" - } - } - } - }, - "com.amazonaws.gamesparks#GetStageDeploymentResult": { - "type": "structure", - "members": { - "StageDeployment": { - "target": "com.amazonaws.gamesparks#StageDeploymentDetails", - "traits": { - "smithy.api#documentation": "

Properties that provide details of the stage deployment.

" - } - } - } - }, - "com.amazonaws.gamesparks#GetStageRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#GetStageResult": { - "type": "structure", - "members": { - "Stage": { - "target": "com.amazonaws.gamesparks#StageDetails", - "traits": { - "smithy.api#documentation": "

Properties that provide details of the stage.

" - } - } - } - }, - "com.amazonaws.gamesparks#ImportGameConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ImportGameConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ImportGameConfigurationResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Imports a game configuration.

\n

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

", - "smithy.api#http": { - "method": "PUT", - "uri": "/game/{GameName}/configuration", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#ImportGameConfigurationRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ImportSource": { - "target": "com.amazonaws.gamesparks#ImportGameConfigurationSource", - "traits": { - "smithy.api#documentation": "

The source used to import configuration sections.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#ImportGameConfigurationResult": { - "type": "structure", - "members": { - "GameConfiguration": { - "target": "com.amazonaws.gamesparks#GameConfigurationDetails", - "traits": { - "smithy.api#documentation": "

Details about the game configuration.

" - } - } - } - }, - "com.amazonaws.gamesparks#ImportGameConfigurationSource": { - "type": "structure", - "members": { - "File": { - "target": "com.amazonaws.gamesparks#RawGameConfigurationData", - "traits": { - "smithy.api#documentation": "

The JSON string containing the configuration sections.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The source used to import configuration sections.

" - } - }, - "com.amazonaws.gamesparks#InternalServerException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The service encountered an internal error.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.gamesparks#Language": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 16 - }, - "smithy.api#pattern": "^[a-zA-Z_]+$" - } - }, - "com.amazonaws.gamesparks#ListExtensionVersions": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListExtensionVersionsRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListExtensionVersionsResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a paginated list of available versions for the extension.

\n

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

", - "smithy.api#http": { - "method": "GET", - "uri": "/extension/{Namespace}/{Name}/version", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "ExtensionVersions", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListExtensionVersionsRequest": { - "type": "structure", - "members": { - "Namespace": { - "target": "com.amazonaws.gamesparks#ExtensionNamespace", - "traits": { - "smithy.api#documentation": "

The namespace (qualifier) of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Name": { - "target": "com.amazonaws.gamesparks#ExtensionName", - "traits": { - "smithy.api#documentation": "

The name of the extension.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - }, - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - } - } - }, - "com.amazonaws.gamesparks#ListExtensionVersionsResult": { - "type": "structure", - "members": { - "ExtensionVersions": { - "target": "com.amazonaws.gamesparks#ExtensionVersionDetailsList", - "traits": { - "smithy.api#documentation": "

The list of extension versions.

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListExtensions": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListExtensionsRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListExtensionsResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a paginated list of available extensions.

\n

\n Extensions provide features that games can use from scripts.\n

", - "smithy.api#http": { - "method": "GET", - "uri": "/extension", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "Extensions", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListExtensionsRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - } - } - }, - "com.amazonaws.gamesparks#ListExtensionsResult": { - "type": "structure", - "members": { - "Extensions": { - "target": "com.amazonaws.gamesparks#ExtensionDetailsList", - "traits": { - "smithy.api#documentation": "

The list of extensions.

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListGames": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListGamesRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListGamesResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a paginated list of games.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "Games", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListGamesRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - } - } - }, - "com.amazonaws.gamesparks#ListGamesResult": { - "type": "structure", - "members": { - "Games": { - "target": "com.amazonaws.gamesparks#GameSummaryList", - "traits": { - "smithy.api#documentation": "

The list of games.

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListGeneratedCodeJobs": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListGeneratedCodeJobsRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListGeneratedCodeJobsResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-jobs", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "GeneratedCodeJobs", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListGeneratedCodeJobsRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - } - } - }, - "com.amazonaws.gamesparks#ListGeneratedCodeJobsResult": { - "type": "structure", - "members": { - "GeneratedCodeJobs": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobDetailsList", - "traits": { - "smithy.api#documentation": "

The list of generated code jobs.

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListSnapshots": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListSnapshotsRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListSnapshotsResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a paginated list of snapshot summaries from the game.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/snapshot", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "Snapshots", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListSnapshotsRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - } - } - }, - "com.amazonaws.gamesparks#ListSnapshotsResult": { - "type": "structure", - "members": { - "Snapshots": { - "target": "com.amazonaws.gamesparks#SnapshotSummaryList", - "traits": { - "smithy.api#documentation": "

\n A list of snapshot summaries.\n You can use the returned snapshot IDs in the UpdateSnapshot and GetSnapshot operations.\n

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListStageDeployments": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListStageDeploymentsRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListStageDeploymentsResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/stage/{StageName}/deployments", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "StageDeployments", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListStageDeploymentsRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - }, - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - } - } - }, - "com.amazonaws.gamesparks#ListStageDeploymentsResult": { - "type": "structure", - "members": { - "StageDeployments": { - "target": "com.amazonaws.gamesparks#StageDeploymentList", - "traits": { - "smithy.api#documentation": "

\n A list of stage deployment summaries.\n You can use the deployment IDs in the UpdateStageDeployment and GetStageDeployment actions.\n

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListStages": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListStagesRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListStagesResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a paginated list of stage summaries from the game.

", - "smithy.api#http": { - "method": "GET", - "uri": "/game/{GameName}/stage", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "items": "Stages", - "pageSize": "MaxResults" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListStagesRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.gamesparks#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

\n

\n Use this parameter with NextToken to get results as a set of sequential pages.\n

", - "smithy.api#httpQuery": "MaxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use the token that is returned with a previous call to this operation.\n To start at the beginning of the result set, do not specify a value.\n

", - "smithy.api#httpQuery": "NextToken" - } - } - } - }, - "com.amazonaws.gamesparks#ListStagesResult": { - "type": "structure", - "members": { - "Stages": { - "target": "com.amazonaws.gamesparks#StageSummaryList", - "traits": { - "smithy.api#documentation": "

\n A list of stage summaries.\n You can use the stage names in the UpdateStage and GetStage actions.\n

" - } - }, - "NextToken": { - "target": "com.amazonaws.gamesparks#NextToken", - "traits": { - "smithy.api#documentation": "

The token that indicates the start of the next sequential page of results.

\n

\n Use this value when making the next call to this operation to continue where the last one finished.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#ListTagsForResourceResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the tags associated with a GameSparks resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{ResourceArn}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.gamesparks#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.gamesparks#ResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the GameSparks resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#ListTagsForResourceResult": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The tags associated with the resource.

" - } - } - } - }, - "com.amazonaws.gamesparks#LogGroupName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 512 - } - } - }, - "com.amazonaws.gamesparks#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.gamesparks#Message": { - "type": "string" - }, - "com.amazonaws.gamesparks#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$" - } - }, - "com.amazonaws.gamesparks#Operation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADD", - "name": "ADD" - }, - { - "value": "REMOVE", - "name": "REMOVE" - }, - { - "value": "REPLACE", - "name": "REPLACE" - } - ] - } - }, - "com.amazonaws.gamesparks#Path": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 500 - }, - "smithy.api#pattern": "^\\/.*[^\\/]$" - } - }, - "com.amazonaws.gamesparks#PlayerId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 44 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" - } - }, - "com.amazonaws.gamesparks#RawGameConfigurationData": { - "type": "blob", - "traits": { - "smithy.api#length": { - "min": 10, - "max": 1024000 - } - } - }, - "com.amazonaws.gamesparks#ResourceArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 20, - "max": 2048 - }, - "smithy.api#pattern": "^arn:aws:gamesparks:" - } - }, - "com.amazonaws.gamesparks#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The resource specified in the request does not exist.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.gamesparks#ResultCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "INVALID_ROLE_FAILURE", - "name": "INVALID_ROLE_FAILURE" - }, - { - "value": "UNSPECIFIED_FAILURE", - "name": "UNSPECIFIED_FAILURE" - } - ] - } - }, - "com.amazonaws.gamesparks#RoleARN": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 20, - "max": 2048 - }, - "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/.+$" - } - }, - "com.amazonaws.gamesparks#S3PresignedUrl": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 10, - "max": 2048 - }, - "smithy.api#pattern": "^https:\\/\\/(.*)\\.s3(.*)\\.amazonaws\\.com\\/(.*)$" - } - }, - "com.amazonaws.gamesparks#Section": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.gamesparks#SectionName", - "traits": { - "smithy.api#documentation": "

The name of the section.

" - } - }, - "Size": { - "target": "com.amazonaws.gamesparks#ByteSize", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The size, in bytes, of the section contents.

" - } - }, - "Attributes": { - "target": "com.amazonaws.gamesparks#Document", - "traits": { - "smithy.api#documentation": "

The content of a configuration section.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration section.

" - } - }, - "com.amazonaws.gamesparks#SectionList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#SectionName" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.gamesparks#SectionModification": { - "type": "structure", - "members": { - "Section": { - "target": "com.amazonaws.gamesparks#SectionName", - "traits": { - "smithy.api#documentation": "

The name of the section to be modified.

", - "smithy.api#required": {} - } - }, - "Path": { - "target": "com.amazonaws.gamesparks#Path", - "traits": { - "smithy.api#documentation": "

The path within the section content to be modified.

", - "smithy.api#required": {} - } - }, - "Operation": { - "target": "com.amazonaws.gamesparks#Operation", - "traits": { - "smithy.api#documentation": "

The operation to be performed on a configuration section.

\n

\n Content can be added, deleted, or replaced within a section.\n

", - "smithy.api#required": {} - } - }, - "Value": { - "target": "com.amazonaws.gamesparks#Document", - "traits": { - "smithy.api#documentation": "

For add and replace operations, this is the value that will be used.

\n

\n This field should be omitted for delete operations.\n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A single modification to the configuration section.

" - } - }, - "com.amazonaws.gamesparks#SectionModificationList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#SectionModification" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.gamesparks#SectionName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 36 - }, - "smithy.api#pattern": "^[a-zA-Z0-9.]+$" - } - }, - "com.amazonaws.gamesparks#Sections": { - "type": "map", - "key": { - "target": "com.amazonaws.gamesparks#SectionName" - }, - "value": { - "target": "com.amazonaws.gamesparks#Section" - } - }, - "com.amazonaws.gamesparks#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request would result in exceeding service quota.

", - "smithy.api#error": "client", - "smithy.api#httpError": 402 - } - }, - "com.amazonaws.gamesparks#SnapshotDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 250 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$|^$" - } - }, - "com.amazonaws.gamesparks#SnapshotDetails": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#SnapshotDescription", - "traits": { - "smithy.api#documentation": "

The description of the snapshot.

" - } - }, - "Sections": { - "target": "com.amazonaws.gamesparks#Sections", - "traits": { - "smithy.api#documentation": "

The sections in the snapshot.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the snapshot was created.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the snapshot was last updated.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Properties that provide details of a snapshot.

" - } - }, - "com.amazonaws.gamesparks#SnapshotId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 33, - "max": 36 - }, - "smithy.api#pattern": "^Snapshot_\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3,6}Z$" - } - }, - "com.amazonaws.gamesparks#SnapshotSummary": { - "type": "structure", - "members": { - "Id": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#SnapshotDescription", - "traits": { - "smithy.api#documentation": "

The description of the snapshot.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the snapshot was created.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

Then timestamp of when the snapshot was last updated.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the properties of a snapshot.

" - } - }, - "com.amazonaws.gamesparks#SnapshotSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#SnapshotSummary" - } - }, - "com.amazonaws.gamesparks#StageDeploymentDetails": { - "type": "structure", - "members": { - "DeploymentId": { - "target": "com.amazonaws.gamesparks#DeploymentId", - "traits": { - "smithy.api#documentation": "

The identifier of the deployment.

" - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot associated with the stage deployment.

" - } - }, - "DeploymentAction": { - "target": "com.amazonaws.gamesparks#DeploymentAction", - "traits": { - "smithy.api#documentation": "

The type of action of the stage deployment.

" - } - }, - "DeploymentState": { - "target": "com.amazonaws.gamesparks#DeploymentState", - "traits": { - "smithy.api#documentation": "

The state of the deployment.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the stage deployment was created.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the deployment was last updated.

" - } - }, - "DeploymentResult": { - "target": "com.amazonaws.gamesparks#DeploymentResult", - "traits": { - "smithy.api#documentation": "

The result of the deployment.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Properties that provide details of a stage deployment.

" - } - }, - "com.amazonaws.gamesparks#StageDeploymentList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#StageDeploymentSummary" - } - }, - "com.amazonaws.gamesparks#StageDeploymentSummary": { - "type": "structure", - "members": { - "DeploymentId": { - "target": "com.amazonaws.gamesparks#DeploymentId", - "traits": { - "smithy.api#documentation": "

The identifier of the deployment.

" - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot associated with the stage deployment.

" - } - }, - "DeploymentAction": { - "target": "com.amazonaws.gamesparks#DeploymentAction", - "traits": { - "smithy.api#documentation": "

The type of action of the deployment.

" - } - }, - "DeploymentState": { - "target": "com.amazonaws.gamesparks#DeploymentState", - "traits": { - "smithy.api#documentation": "

The state of the deployment.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the deployment was last updated.

" - } - }, - "DeploymentResult": { - "target": "com.amazonaws.gamesparks#DeploymentResult", - "traits": { - "smithy.api#documentation": "

The result of the deployment.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the properties of a stage deployment.

" - } - }, - "com.amazonaws.gamesparks#StageDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 250 - }, - "smithy.api#pattern": "^\\S(.*\\S)?$|^$" - } - }, - "com.amazonaws.gamesparks#StageDetails": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

" - } - }, - "GameKey": { - "target": "com.amazonaws.gamesparks#GameKey", - "traits": { - "smithy.api#documentation": "

The game key associated with the stage.

\n

\n The game key is a unique identifier that the game client uses to connect to the GameSparks backend.\n

" - } - }, - "Arn": { - "target": "com.amazonaws.gamesparks#ARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the stage.

" - } - }, - "Role": { - "target": "com.amazonaws.gamesparks#RoleARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role used to run the game runtimes deployed to the stage.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#StageDescription", - "traits": { - "smithy.api#documentation": "

The description of the stage.

" - } - }, - "Created": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the stage was created.

" - } - }, - "LastUpdated": { - "target": "com.amazonaws.gamesparks#DateTime", - "traits": { - "smithy.api#documentation": "

The timestamp of when the stage was last updated.

" - } - }, - "State": { - "target": "com.amazonaws.gamesparks#StageState", - "traits": { - "smithy.api#documentation": "

The state of the stage.

" - } - }, - "Tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The tags associated with the stage.

" - } - }, - "LogGroup": { - "target": "com.amazonaws.gamesparks#LogGroupName", - "traits": { - "smithy.api#documentation": "

The Amazon CloudWatch log group for game runtimes deployed to the stage.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Properties that provide details of a stage.

" - } - }, - "com.amazonaws.gamesparks#StageName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 36 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" - } - }, - "com.amazonaws.gamesparks#StageState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" - } - ] - } - }, - "com.amazonaws.gamesparks#StageSummary": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

" - } - }, - "GameKey": { - "target": "com.amazonaws.gamesparks#GameKey", - "traits": { - "smithy.api#documentation": "

The game key associated with the stage.

\n

\n The game key is a unique identifier that the game client uses to connect to the GameSparks backend.\n

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#StageDescription", - "traits": { - "smithy.api#documentation": "

The description of the stage.

" - } - }, - "State": { - "target": "com.amazonaws.gamesparks#StageState", - "traits": { - "smithy.api#documentation": "

The state of the stage.

" - } - }, - "Tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The tags associated with the stage.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The summary of the properties of a stage.

" - } - }, - "com.amazonaws.gamesparks#StageSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#StageSummary" - } - }, - "com.amazonaws.gamesparks#StartGeneratedCodeJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#StartGeneratedCodeJobRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#StartGeneratedCodeJobResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#http": { - "method": "POST", - "uri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-job", - "code": 200 - } - } - }, - "com.amazonaws.gamesparks#StartGeneratedCodeJobRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot for which to generate code.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Generator": { - "target": "com.amazonaws.gamesparks#Generator", - "traits": { - "smithy.api#documentation": "

Properties of the generator to use for the job.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#StartGeneratedCodeJobResult": { - "type": "structure", - "members": { - "GeneratedCodeJobId": { - "target": "com.amazonaws.gamesparks#GeneratedCodeJobId", - "traits": { - "smithy.api#documentation": "

\n The identifier of the code generation job.\n You can use this identifier in the GetGeneratedCodeJob operation.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#StartStageDeployment": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#StartStageDeploymentRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#StartStageDeploymentResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#ConflictException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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

\n

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

\n

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

", - "smithy.api#http": { - "method": "POST", - "uri": "/game/{GameName}/stage/{StageName}/deployment", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#StartStageDeploymentRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage to deploy the snapshot onto.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot to deploy.

", - "smithy.api#required": {} - } - }, - "ClientToken": { - "target": "com.amazonaws.gamesparks#ClientToken", - "traits": { - "smithy.api#documentation": "

\n A client-defined token.\n With an active client token in the request, this action is idempotent.\n

" - } - } - } - }, - "com.amazonaws.gamesparks#StartStageDeploymentResult": { - "type": "structure", - "members": { - "StageDeployment": { - "target": "com.amazonaws.gamesparks#StageDeploymentDetails", - "traits": { - "smithy.api#documentation": "

Properties that describe the stage deployment.

" - } - } - } - }, - "com.amazonaws.gamesparks#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" - } - }, - "com.amazonaws.gamesparks#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.gamesparks#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.gamesparks#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.gamesparks#TagKey" - }, - "value": { - "target": "com.amazonaws.gamesparks#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.gamesparks#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#TagResourceResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds tags to a GameSparks resource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.gamesparks#TagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.gamesparks#ResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to add the tags to.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.gamesparks#TagMap", - "traits": { - "smithy.api#documentation": "

The tags to add to the resource.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#TagResourceResult": { - "type": "structure", - "members": {} - }, - "com.amazonaws.gamesparks#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^[\\s\\w+-=\\.:/@]*$" - } - }, - "com.amazonaws.gamesparks#TargetPlatform": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 16 - }, - "smithy.api#pattern": "^[a-zA-Z]+$" - } - }, - "com.amazonaws.gamesparks#ThrottlingException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request throughput limit was exceeded.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.gamesparks#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#UntagResourceResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes tags from a GameSparks resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{ResourceArn}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#UntagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.gamesparks#ResourceArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to remove the tags from.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.gamesparks#TagKeyList", - "traits": { - "smithy.api#documentation": "

The keys of the tags to remove.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#UntagResourceResult": { - "type": "structure", - "members": {} - }, - "com.amazonaws.gamesparks#UpdateGame": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#UpdateGameRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#UpdateGameResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates details of the game.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/game/{GameName}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#UpdateGameConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#UpdateGameConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#UpdateGameConfigurationResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates one or more sections of the game configuration.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/game/{GameName}/configuration", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#UpdateGameConfigurationRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Modifications": { - "target": "com.amazonaws.gamesparks#SectionModificationList", - "traits": { - "smithy.api#documentation": "

The list of modifications to make.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.gamesparks#UpdateGameConfigurationResult": { - "type": "structure", - "members": { - "GameConfiguration": { - "target": "com.amazonaws.gamesparks#GameConfigurationDetails", - "traits": { - "smithy.api#documentation": "

Details about the game configuration.

" - } - } - } - }, - "com.amazonaws.gamesparks#UpdateGameRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#GameDescription", - "traits": { - "smithy.api#documentation": "

The description of the game.

" - } - } - } - }, - "com.amazonaws.gamesparks#UpdateGameResult": { - "type": "structure", - "members": { - "Game": { - "target": "com.amazonaws.gamesparks#GameDetails", - "traits": { - "smithy.api#documentation": "

The details of the game.

" - } - } - } - }, - "com.amazonaws.gamesparks#UpdateSnapshot": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#UpdateSnapshotRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#UpdateSnapshotResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the metadata of a GameSparks snapshot.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/game/{GameName}/snapshot/{SnapshotId}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#UpdateSnapshotRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "SnapshotId": { - "target": "com.amazonaws.gamesparks#SnapshotId", - "traits": { - "smithy.api#documentation": "

The identifier of the snapshot.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#SnapshotDescription", - "traits": { - "smithy.api#documentation": "

The description of the snapshot.

" - } - } - } - }, - "com.amazonaws.gamesparks#UpdateSnapshotResult": { - "type": "structure", - "members": { - "Snapshot": { - "target": "com.amazonaws.gamesparks#SnapshotDetails", - "traits": { - "smithy.api#documentation": "

Properties that provide details of the updated snapshot.

" - } - } - } - }, - "com.amazonaws.gamesparks#UpdateStage": { - "type": "operation", - "input": { - "target": "com.amazonaws.gamesparks#UpdateStageRequest" - }, - "output": { - "target": "com.amazonaws.gamesparks#UpdateStageResult" - }, - "errors": [ - { - "target": "com.amazonaws.gamesparks#AccessDeniedException" - }, - { - "target": "com.amazonaws.gamesparks#InternalServerException" - }, - { - "target": "com.amazonaws.gamesparks#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.gamesparks#ThrottlingException" - }, - { - "target": "com.amazonaws.gamesparks#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the metadata of a stage.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/game/{GameName}/stage/{StageName}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.gamesparks#UpdateStageRequest": { - "type": "structure", - "members": { - "GameName": { - "target": "com.amazonaws.gamesparks#GameName", - "traits": { - "smithy.api#documentation": "

The name of the game.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StageName": { - "target": "com.amazonaws.gamesparks#StageName", - "traits": { - "smithy.api#documentation": "

The name of the stage.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Role": { - "target": "com.amazonaws.gamesparks#RoleARN", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role to use for the game snapshots deployed to this stage.

" - } - }, - "Description": { - "target": "com.amazonaws.gamesparks#StageDescription", - "traits": { - "smithy.api#documentation": "

The description of the stage.

" - } - } - } - }, - "com.amazonaws.gamesparks#UpdateStageResult": { - "type": "structure", - "members": { - "Stage": { - "target": "com.amazonaws.gamesparks#StageDetails", - "traits": { - "smithy.api#documentation": "

Properties that provide details of the updated stage.

" - } - } - } - }, - "com.amazonaws.gamesparks#ValidationException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.gamesparks#ExceptionMessage" - } - }, - "traits": { - "smithy.api#documentation": "

One of the parameters in the request is invalid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - } - } -} \ No newline at end of file