From 19000bf4b678fbc6057dd824182fb37241bb6ace Mon Sep 17 00:00:00 2001 From: Siddharth Srivastava <48153483+siddsriv@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:08:39 -0400 Subject: [PATCH] Deprecate Service: Gamesparks (#4509) --- .../bugfix-Gamesparks-c981c893.json | 5 + apis/gamesparks-2021-08-17.examples.json | 5 - apis/gamesparks-2021-08-17.min.json | 1376 -------- apis/gamesparks-2021-08-17.normal.json | 2968 ----------------- apis/gamesparks-2021-08-17.paginators.json | 46 - apis/metadata.json | 3 - clients/all.d.ts | 1 - clients/all.js | 3 +- clients/gamesparks.d.ts | 1344 -------- clients/gamesparks.js | 18 - lib/config_service_placeholders.d.ts | 2 - 11 files changed, 6 insertions(+), 5765 deletions(-) create mode 100644 .changes/next-release/bugfix-Gamesparks-c981c893.json delete mode 100644 apis/gamesparks-2021-08-17.examples.json delete mode 100644 apis/gamesparks-2021-08-17.min.json delete mode 100644 apis/gamesparks-2021-08-17.normal.json delete mode 100644 apis/gamesparks-2021-08-17.paginators.json delete mode 100644 clients/gamesparks.d.ts delete mode 100644 clients/gamesparks.js diff --git a/.changes/next-release/bugfix-Gamesparks-c981c893.json b/.changes/next-release/bugfix-Gamesparks-c981c893.json new file mode 100644 index 0000000000..064b4fbabc --- /dev/null +++ b/.changes/next-release/bugfix-Gamesparks-c981c893.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "Gamesparks", + "description": "Deprecate Gamesparks" +} \ No newline at end of file diff --git a/apis/gamesparks-2021-08-17.examples.json b/apis/gamesparks-2021-08-17.examples.json deleted file mode 100644 index 0ea7e3b0bb..0000000000 --- a/apis/gamesparks-2021-08-17.examples.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/apis/gamesparks-2021-08-17.min.json b/apis/gamesparks-2021-08-17.min.json deleted file mode 100644 index 43026fae2b..0000000000 --- a/apis/gamesparks-2021-08-17.min.json +++ /dev/null @@ -1,1376 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2021-08-17", - "endpointPrefix": "gamesparks", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceFullName": "GameSparks", - "serviceId": "GameSparks", - "signatureVersion": "v4", - "signingName": "gamesparks", - "uid": "gamesparks-2021-08-17" - }, - "operations": { - "CreateGame": { - "http": { - "requestUri": "/game", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "ClientToken": {}, - "Description": {}, - "GameName": {}, - "Tags": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "Game": { - "shape": "S9" - } - } - }, - "idempotent": true - }, - "CreateSnapshot": { - "http": { - "requestUri": "/game/{GameName}/snapshot", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "Description": {}, - "GameName": { - "location": "uri", - "locationName": "GameName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sh" - } - } - } - }, - "CreateStage": { - "http": { - "requestUri": "/game/{GameName}/stage", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "Role", - "StageName" - ], - "members": { - "ClientToken": {}, - "Description": {}, - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "Role": {}, - "StageName": {}, - "Tags": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stage": { - "shape": "St" - } - } - }, - "idempotent": true - }, - "DeleteGame": { - "http": { - "method": "DELETE", - "requestUri": "/game/{GameName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "DeleteStage": { - "http": { - "method": "DELETE", - "requestUri": "/game/{GameName}/stage/{StageName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "DisconnectPlayer": { - "http": { - "requestUri": "/runtime/game/{GameName}/stage/{StageName}/player/{PlayerId}/disconnect", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "PlayerId", - "StageName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "PlayerId": { - "location": "uri", - "locationName": "PlayerId" - }, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "DisconnectFailures": { - "shape": "S14" - }, - "DisconnectSuccesses": { - "shape": "S14" - } - } - }, - "idempotent": true - }, - "ExportSnapshot": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/export", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "SnapshotId": { - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "output": { - "type": "structure", - "members": { - "S3Url": {} - } - } - }, - "GetExtension": { - "http": { - "method": "GET", - "requestUri": "/extension/{Namespace}/{Name}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "Namespace" - ], - "members": { - "Name": { - "location": "uri", - "locationName": "Name" - }, - "Namespace": { - "location": "uri", - "locationName": "Namespace" - } - } - }, - "output": { - "type": "structure", - "members": { - "Extension": { - "shape": "S1d" - } - } - } - }, - "GetExtensionVersion": { - "http": { - "method": "GET", - "requestUri": "/extension/{Namespace}/{Name}/version/{ExtensionVersion}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ExtensionVersion", - "Name", - "Namespace" - ], - "members": { - "ExtensionVersion": { - "location": "uri", - "locationName": "ExtensionVersion" - }, - "Name": { - "location": "uri", - "locationName": "Name" - }, - "Namespace": { - "location": "uri", - "locationName": "Namespace" - } - } - }, - "output": { - "type": "structure", - "members": { - "ExtensionVersion": { - "shape": "S1i" - } - } - } - }, - "GetGame": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Game": { - "shape": "S9" - } - } - } - }, - "GetGameConfiguration": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "Sections": { - "shape": "S1n", - "location": "querystring", - "locationName": "Sections" - } - } - }, - "output": { - "type": "structure", - "members": { - "GameConfiguration": { - "shape": "S1p" - } - } - } - }, - "GetGeneratedCodeJob": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-job/{JobId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "JobId", - "SnapshotId" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "JobId": { - "location": "uri", - "locationName": "JobId" - }, - "SnapshotId": { - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "output": { - "type": "structure", - "members": { - "GeneratedCodeJob": { - "shape": "S1t" - } - } - } - }, - "GetPlayerConnectionStatus": { - "http": { - "method": "GET", - "requestUri": "/runtime/game/{GameName}/stage/{StageName}/player/{PlayerId}/connection", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "PlayerId", - "StageName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "PlayerId": { - "location": "uri", - "locationName": "PlayerId" - }, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Connections": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Created": { - "shape": "Sb" - }, - "Id": {} - } - } - } - } - } - }, - "GetSnapshot": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "Sections": { - "shape": "S1n", - "location": "querystring", - "locationName": "Sections" - }, - "SnapshotId": { - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sh" - } - } - } - }, - "GetStage": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage/{StageName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stage": { - "shape": "St" - } - } - } - }, - "GetStageDeployment": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage/{StageName}/deployment", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "DeploymentId": { - "location": "querystring", - "locationName": "DeploymentId" - }, - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "StageDeployment": { - "shape": "S27" - } - } - } - }, - "ImportGameConfiguration": { - "http": { - "method": "PUT", - "requestUri": "/game/{GameName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "ImportSource" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "ImportSource": { - "type": "structure", - "required": [ - "File" - ], - "members": { - "File": { - "type": "blob" - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "GameConfiguration": { - "shape": "S1p" - } - } - }, - "idempotent": true - }, - "ListExtensionVersions": { - "http": { - "method": "GET", - "requestUri": "/extension/{Namespace}/{Name}/version", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "Name", - "Namespace" - ], - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "Name": { - "location": "uri", - "locationName": "Name" - }, - "Namespace": { - "location": "uri", - "locationName": "Namespace" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "ExtensionVersions": { - "type": "list", - "member": { - "shape": "S1i" - } - }, - "NextToken": {} - } - } - }, - "ListExtensions": { - "http": { - "method": "GET", - "requestUri": "/extension", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Extensions": { - "type": "list", - "member": { - "shape": "S1d" - } - }, - "NextToken": {} - } - } - }, - "ListGames": { - "http": { - "method": "GET", - "requestUri": "/game", - "responseCode": 200 - }, - "input": { - "type": "structure", - "members": { - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "Games": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Description": {}, - "Name": {}, - "State": {}, - "Tags": { - "shape": "S5" - } - } - } - }, - "NextToken": {} - } - } - }, - "ListGeneratedCodeJobs": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-jobs", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - }, - "SnapshotId": { - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "output": { - "type": "structure", - "members": { - "GeneratedCodeJobs": { - "type": "list", - "member": { - "shape": "S1t" - } - }, - "NextToken": {} - } - } - }, - "ListSnapshots": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Snapshots": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Created": { - "shape": "Sb" - }, - "Description": {}, - "Id": {}, - "LastUpdated": { - "shape": "Sb" - } - } - } - } - } - } - }, - "ListStageDeployments": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage/{StageName}/deployments", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - }, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "StageDeployments": { - "type": "list", - "member": { - "type": "structure", - "members": { - "DeploymentAction": {}, - "DeploymentId": {}, - "DeploymentResult": { - "shape": "S29" - }, - "DeploymentState": {}, - "LastUpdated": { - "shape": "Sb" - }, - "SnapshotId": {} - } - } - } - } - } - }, - "ListStages": { - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "location": "querystring", - "locationName": "MaxResults", - "type": "integer" - }, - "NextToken": { - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "output": { - "type": "structure", - "members": { - "NextToken": {}, - "Stages": { - "type": "list", - "member": { - "type": "structure", - "members": { - "Description": {}, - "GameKey": {}, - "Name": {}, - "State": {}, - "Tags": { - "shape": "S5" - } - } - } - } - } - } - }, - "ListTagsForResource": { - "http": { - "method": "GET", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": { - "location": "uri", - "locationName": "ResourceArn" - } - } - }, - "output": { - "type": "structure", - "members": { - "tags": { - "shape": "S5" - } - } - } - }, - "StartGeneratedCodeJob": { - "http": { - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-job", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "Generator", - "SnapshotId" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "Generator": { - "type": "structure", - "members": { - "GameSdkVersion": {}, - "Language": {}, - "TargetPlatform": {} - } - }, - "SnapshotId": { - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "output": { - "type": "structure", - "members": { - "GeneratedCodeJobId": {} - } - } - }, - "StartStageDeployment": { - "http": { - "requestUri": "/game/{GameName}/stage/{StageName}/deployment", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId", - "StageName" - ], - "members": { - "ClientToken": {}, - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "SnapshotId": {}, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "StageDeployment": { - "shape": "S27" - } - } - }, - "idempotent": true - }, - "TagResource": { - "http": { - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "tags" - ], - "members": { - "ResourceArn": { - "location": "uri", - "locationName": "ResourceArn" - }, - "tags": { - "shape": "S5" - } - } - }, - "output": { - "type": "structure", - "members": {} - } - }, - "UntagResource": { - "http": { - "method": "DELETE", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "ResourceArn", - "tagKeys" - ], - "members": { - "ResourceArn": { - "location": "uri", - "locationName": "ResourceArn" - }, - "tagKeys": { - "location": "querystring", - "locationName": "tagKeys", - "type": "list", - "member": {} - } - } - }, - "output": { - "type": "structure", - "members": {} - }, - "idempotent": true - }, - "UpdateGame": { - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "Description": {}, - "GameName": { - "location": "uri", - "locationName": "GameName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Game": { - "shape": "S9" - } - } - }, - "idempotent": true - }, - "UpdateGameConfiguration": { - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}/configuration", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "Modifications" - ], - "members": { - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "Modifications": { - "type": "list", - "member": { - "type": "structure", - "required": [ - "Operation", - "Path", - "Section" - ], - "members": { - "Operation": {}, - "Path": {}, - "Section": {}, - "Value": { - "shape": "Sm" - } - } - } - } - } - }, - "output": { - "type": "structure", - "members": { - "GameConfiguration": { - "shape": "S1p" - } - } - }, - "idempotent": true - }, - "UpdateSnapshot": { - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "Description": {}, - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "SnapshotId": { - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "output": { - "type": "structure", - "members": { - "Snapshot": { - "shape": "Sh" - } - } - }, - "idempotent": true - }, - "UpdateStage": { - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}/stage/{StageName}", - "responseCode": 200 - }, - "input": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "Description": {}, - "GameName": { - "location": "uri", - "locationName": "GameName" - }, - "Role": {}, - "StageName": { - "location": "uri", - "locationName": "StageName" - } - } - }, - "output": { - "type": "structure", - "members": { - "Stage": { - "shape": "St" - } - } - }, - "idempotent": true - } - }, - "shapes": { - "S5": { - "type": "map", - "key": {}, - "value": {} - }, - "S9": { - "type": "structure", - "members": { - "Arn": {}, - "Created": { - "shape": "Sb" - }, - "Description": {}, - "EnableTerminationProtection": { - "type": "boolean" - }, - "LastUpdated": { - "shape": "Sb" - }, - "Name": {}, - "State": {}, - "Tags": { - "shape": "S5" - } - } - }, - "Sb": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "Sh": { - "type": "structure", - "members": { - "Created": { - "shape": "Sb" - }, - "Description": {}, - "Id": {}, - "LastUpdated": { - "shape": "Sb" - }, - "Sections": { - "shape": "Sj" - } - } - }, - "Sj": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Sm" - }, - "Name": {}, - "Size": { - "type": "integer" - } - } - } - }, - "Sm": { - "type": "structure", - "members": {}, - "document": true - }, - "St": { - "type": "structure", - "members": { - "Arn": {}, - "Created": { - "shape": "Sb" - }, - "Description": {}, - "GameKey": {}, - "LastUpdated": { - "shape": "Sb" - }, - "LogGroup": {}, - "Name": {}, - "Role": {}, - "State": {}, - "Tags": { - "shape": "S5" - } - } - }, - "S14": { - "type": "list", - "member": {} - }, - "S1d": { - "type": "structure", - "members": { - "Description": {}, - "Name": {}, - "Namespace": {} - } - }, - "S1i": { - "type": "structure", - "members": { - "Name": {}, - "Namespace": {}, - "Schema": {}, - "Version": {} - } - }, - "S1n": { - "type": "list", - "member": {} - }, - "S1p": { - "type": "structure", - "members": { - "Created": { - "shape": "Sb" - }, - "LastUpdated": { - "shape": "Sb" - }, - "Sections": { - "shape": "Sj" - } - } - }, - "S1t": { - "type": "structure", - "members": { - "Description": {}, - "ExpirationTime": { - "shape": "Sb" - }, - "GeneratedCodeJobId": {}, - "S3Url": {}, - "Status": {} - } - }, - "S27": { - "type": "structure", - "members": { - "Created": { - "shape": "Sb" - }, - "DeploymentAction": {}, - "DeploymentId": {}, - "DeploymentResult": { - "shape": "S29" - }, - "DeploymentState": {}, - "LastUpdated": { - "shape": "Sb" - }, - "SnapshotId": {} - } - }, - "S29": { - "type": "structure", - "members": { - "Message": {}, - "ResultCode": {} - } - } - } -} \ No newline at end of file diff --git a/apis/gamesparks-2021-08-17.normal.json b/apis/gamesparks-2021-08-17.normal.json deleted file mode 100644 index 026ff1d77b..0000000000 --- a/apis/gamesparks-2021-08-17.normal.json +++ /dev/null @@ -1,2968 +0,0 @@ -{ - "version": "2.0", - "metadata": { - "apiVersion": "2021-08-17", - "endpointPrefix": "gamesparks", - "jsonVersion": "1.1", - "protocol": "rest-json", - "serviceFullName": "GameSparks", - "serviceId": "GameSparks", - "signatureVersion": "v4", - "signingName": "gamesparks", - "uid": "gamesparks-2021-08-17" - }, - "operations": { - "CreateGame": { - "name": "CreateGame", - "http": { - "method": "POST", - "requestUri": "/game", - "responseCode": 200 - }, - "input": { - "shape": "CreateGameRequest" - }, - "output": { - "shape": "CreateGameResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "InternalServerException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

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

", - "idempotent": true - }, - "CreateSnapshot": { - "name": "CreateSnapshot", - "http": { - "method": "POST", - "requestUri": "/game/{GameName}/snapshot", - "responseCode": 200 - }, - "input": { - "shape": "CreateSnapshotRequest" - }, - "output": { - "shape": "CreateSnapshotResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Creates a snapshot of the game configuration.

" - }, - "CreateStage": { - "name": "CreateStage", - "http": { - "method": "POST", - "requestUri": "/game/{GameName}/stage", - "responseCode": 200 - }, - "input": { - "shape": "CreateStageRequest" - }, - "output": { - "shape": "CreateStageResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

", - "idempotent": true - }, - "DeleteGame": { - "name": "DeleteGame", - "http": { - "method": "DELETE", - "requestUri": "/game/{GameName}", - "responseCode": 200 - }, - "input": { - "shape": "DeleteGameRequest" - }, - "output": { - "shape": "DeleteGameResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Deletes a game.

", - "idempotent": true - }, - "DeleteStage": { - "name": "DeleteStage", - "http": { - "method": "DELETE", - "requestUri": "/game/{GameName}/stage/{StageName}", - "responseCode": 200 - }, - "input": { - "shape": "DeleteStageRequest" - }, - "output": { - "shape": "DeleteStageResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

", - "idempotent": true - }, - "DisconnectPlayer": { - "name": "DisconnectPlayer", - "http": { - "method": "POST", - "requestUri": "/runtime/game/{GameName}/stage/{StageName}/player/{PlayerId}/disconnect", - "responseCode": 200 - }, - "input": { - "shape": "DisconnectPlayerRequest" - }, - "output": { - "shape": "DisconnectPlayerResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Disconnects a player from the game runtime.

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

", - "idempotent": true - }, - "ExportSnapshot": { - "name": "ExportSnapshot", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/export", - "responseCode": 200 - }, - "input": { - "shape": "ExportSnapshotRequest" - }, - "output": { - "shape": "ExportSnapshotResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Exports a game configuration snapshot.

" - }, - "GetExtension": { - "name": "GetExtension", - "http": { - "method": "GET", - "requestUri": "/extension/{Namespace}/{Name}", - "responseCode": 200 - }, - "input": { - "shape": "GetExtensionRequest" - }, - "output": { - "shape": "GetExtensionResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets details about a specified extension.

" - }, - "GetExtensionVersion": { - "name": "GetExtensionVersion", - "http": { - "method": "GET", - "requestUri": "/extension/{Namespace}/{Name}/version/{ExtensionVersion}", - "responseCode": 200 - }, - "input": { - "shape": "GetExtensionVersionRequest" - }, - "output": { - "shape": "GetExtensionVersionResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets details about a specified extension version.

" - }, - "GetGame": { - "name": "GetGame", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}", - "responseCode": 200 - }, - "input": { - "shape": "GetGameRequest" - }, - "output": { - "shape": "GetGameResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets details about a game.

" - }, - "GetGameConfiguration": { - "name": "GetGameConfiguration", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/configuration", - "responseCode": 200 - }, - "input": { - "shape": "GetGameConfigurationRequest" - }, - "output": { - "shape": "GetGameConfigurationResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets the configuration of the game.

" - }, - "GetGeneratedCodeJob": { - "name": "GetGeneratedCodeJob", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-job/{JobId}", - "responseCode": 200 - }, - "input": { - "shape": "GetGeneratedCodeJobRequest" - }, - "output": { - "shape": "GetGeneratedCodeJobResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

" - }, - "GetPlayerConnectionStatus": { - "name": "GetPlayerConnectionStatus", - "http": { - "method": "GET", - "requestUri": "/runtime/game/{GameName}/stage/{StageName}/player/{PlayerId}/connection", - "responseCode": 200 - }, - "input": { - "shape": "GetPlayerConnectionStatusRequest" - }, - "output": { - "shape": "GetPlayerConnectionStatusResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

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

" - }, - "GetSnapshot": { - "name": "GetSnapshot", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}", - "responseCode": 200 - }, - "input": { - "shape": "GetSnapshotRequest" - }, - "output": { - "shape": "GetSnapshotResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets a copy of the game configuration in a snapshot.

" - }, - "GetStage": { - "name": "GetStage", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage/{StageName}", - "responseCode": 200 - }, - "input": { - "shape": "GetStageRequest" - }, - "output": { - "shape": "GetStageResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets information about a stage.

" - }, - "GetStageDeployment": { - "name": "GetStageDeployment", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage/{StageName}/deployment", - "responseCode": 200 - }, - "input": { - "shape": "GetStageDeploymentRequest" - }, - "output": { - "shape": "GetStageDeploymentResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets information about a stage deployment.

" - }, - "ImportGameConfiguration": { - "name": "ImportGameConfiguration", - "http": { - "method": "PUT", - "requestUri": "/game/{GameName}/configuration", - "responseCode": 200 - }, - "input": { - "shape": "ImportGameConfigurationRequest" - }, - "output": { - "shape": "ImportGameConfigurationResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

Imports a game configuration.

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

", - "idempotent": true - }, - "ListExtensionVersions": { - "name": "ListExtensionVersions", - "http": { - "method": "GET", - "requestUri": "/extension/{Namespace}/{Name}/version", - "responseCode": 200 - }, - "input": { - "shape": "ListExtensionVersionsRequest" - }, - "output": { - "shape": "ListExtensionVersionsResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets a paginated list of available versions for the extension.

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

" - }, - "ListExtensions": { - "name": "ListExtensions", - "http": { - "method": "GET", - "requestUri": "/extension", - "responseCode": 200 - }, - "input": { - "shape": "ListExtensionsRequest" - }, - "output": { - "shape": "ListExtensionsResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets a paginated list of available extensions.

Extensions provide features that games can use from scripts.

" - }, - "ListGames": { - "name": "ListGames", - "http": { - "method": "GET", - "requestUri": "/game", - "responseCode": 200 - }, - "input": { - "shape": "ListGamesRequest" - }, - "output": { - "shape": "ListGamesResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets a paginated list of games.

" - }, - "ListGeneratedCodeJobs": { - "name": "ListGeneratedCodeJobs", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-jobs", - "responseCode": 200 - }, - "input": { - "shape": "ListGeneratedCodeJobsRequest" - }, - "output": { - "shape": "ListGeneratedCodeJobsResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

" - }, - "ListSnapshots": { - "name": "ListSnapshots", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/snapshot", - "responseCode": 200 - }, - "input": { - "shape": "ListSnapshotsRequest" - }, - "output": { - "shape": "ListSnapshotsResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets a paginated list of snapshot summaries from the game.

" - }, - "ListStageDeployments": { - "name": "ListStageDeployments", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage/{StageName}/deployments", - "responseCode": 200 - }, - "input": { - "shape": "ListStageDeploymentsRequest" - }, - "output": { - "shape": "ListStageDeploymentsResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

" - }, - "ListStages": { - "name": "ListStages", - "http": { - "method": "GET", - "requestUri": "/game/{GameName}/stage", - "responseCode": 200 - }, - "input": { - "shape": "ListStagesRequest" - }, - "output": { - "shape": "ListStagesResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Gets a paginated list of stage summaries from the game.

" - }, - "ListTagsForResource": { - "name": "ListTagsForResource", - "http": { - "method": "GET", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "shape": "ListTagsForResourceRequest" - }, - "output": { - "shape": "ListTagsForResourceResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Lists the tags associated with a GameSparks resource.

" - }, - "StartGeneratedCodeJob": { - "name": "StartGeneratedCodeJob", - "http": { - "method": "POST", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}/generated-sdk-code-job", - "responseCode": 200 - }, - "input": { - "shape": "StartGeneratedCodeJobRequest" - }, - "output": { - "shape": "StartGeneratedCodeJobResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

" - }, - "StartStageDeployment": { - "name": "StartStageDeployment", - "http": { - "method": "POST", - "requestUri": "/game/{GameName}/stage/{StageName}/deployment", - "responseCode": 200 - }, - "input": { - "shape": "StartStageDeploymentRequest" - }, - "output": { - "shape": "StartStageDeploymentResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ConflictException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

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

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

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

", - "idempotent": true - }, - "TagResource": { - "name": "TagResource", - "http": { - "method": "POST", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "shape": "TagResourceRequest" - }, - "output": { - "shape": "TagResourceResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Adds tags to a GameSparks resource.

" - }, - "UntagResource": { - "name": "UntagResource", - "http": { - "method": "DELETE", - "requestUri": "/tags/{ResourceArn}", - "responseCode": 200 - }, - "input": { - "shape": "UntagResourceRequest" - }, - "output": { - "shape": "UntagResourceResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Removes tags from a GameSparks resource.

", - "idempotent": true - }, - "UpdateGame": { - "name": "UpdateGame", - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}", - "responseCode": 200 - }, - "input": { - "shape": "UpdateGameRequest" - }, - "output": { - "shape": "UpdateGameResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Updates details of the game.

", - "idempotent": true - }, - "UpdateGameConfiguration": { - "name": "UpdateGameConfiguration", - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}/configuration", - "responseCode": 200 - }, - "input": { - "shape": "UpdateGameConfigurationRequest" - }, - "output": { - "shape": "UpdateGameConfigurationResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - }, - { - "shape": "ServiceQuotaExceededException" - } - ], - "documentation": "

Updates one or more sections of the game configuration.

", - "idempotent": true - }, - "UpdateSnapshot": { - "name": "UpdateSnapshot", - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}/snapshot/{SnapshotId}", - "responseCode": 200 - }, - "input": { - "shape": "UpdateSnapshotRequest" - }, - "output": { - "shape": "UpdateSnapshotResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Updates the metadata of a GameSparks snapshot.

", - "idempotent": true - }, - "UpdateStage": { - "name": "UpdateStage", - "http": { - "method": "PATCH", - "requestUri": "/game/{GameName}/stage/{StageName}", - "responseCode": 200 - }, - "input": { - "shape": "UpdateStageRequest" - }, - "output": { - "shape": "UpdateStageResult" - }, - "errors": [ - { - "shape": "ValidationException" - }, - { - "shape": "AccessDeniedException" - }, - { - "shape": "ThrottlingException" - }, - { - "shape": "ResourceNotFoundException" - }, - { - "shape": "InternalServerException" - } - ], - "documentation": "

Updates the metadata of a stage.

", - "idempotent": true - } - }, - "shapes": { - "ARN": { - "type": "string", - "max": 2048, - "min": 20, - "pattern": "^[A-Za-z0-9:_/-]+$" - }, - "ByteSize": { - "type": "integer", - "min": 0 - }, - "ClientToken": { - "type": "string", - "max": 126, - "min": 33 - }, - "Connection": { - "type": "structure", - "members": { - "Created": { - "shape": "DateTime", - "documentation": "

The date and time when the connection was created.

" - }, - "Id": { - "shape": "ConnectionId", - "documentation": "

The identifier used to indicate a specific WebSocket connection.

" - } - }, - "documentation": "

Details about a WebSocket connection.

" - }, - "ConnectionId": { - "type": "string", - "max": 36, - "min": 1 - }, - "ConnectionIdList": { - "type": "list", - "member": { - "shape": "ConnectionId" - } - }, - "ConnectionList": { - "type": "list", - "member": { - "shape": "Connection" - } - }, - "CreateGameRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "ClientToken": { - "shape": "ClientToken", - "documentation": "

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

" - }, - "Description": { - "shape": "GameDescription", - "documentation": "

The description of the game.

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

" - }, - "Tags": { - "shape": "TagMap", - "documentation": "

The list of tags to apply to the game.

" - } - } - }, - "CreateGameResult": { - "type": "structure", - "members": { - "Game": { - "shape": "GameDetails", - "documentation": "

Details about the game that was created.

" - } - } - }, - "CreateSnapshotRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "Description": { - "shape": "SnapshotDescription", - "documentation": "

The description of the snapshot.

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - } - } - }, - "CreateSnapshotResult": { - "type": "structure", - "members": { - "Snapshot": { - "shape": "SnapshotDetails", - "documentation": "

Properties that provide details of the created snapshot.

" - } - } - }, - "CreateStageRequest": { - "type": "structure", - "required": [ - "GameName", - "Role", - "StageName" - ], - "members": { - "ClientToken": { - "shape": "ClientToken", - "documentation": "

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

" - }, - "Description": { - "shape": "StageDescription", - "documentation": "

The description of the stage.

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "Role": { - "shape": "RoleARN", - "documentation": "

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

" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

" - }, - "Tags": { - "shape": "TagMap", - "documentation": "

The list of tags to apply to the stage.

" - } - } - }, - "CreateStageResult": { - "type": "structure", - "members": { - "Stage": { - "shape": "StageDetails", - "documentation": "

Properties that describe the stage.

" - } - } - }, - "DateTime": { - "type": "timestamp", - "timestampFormat": "iso8601" - }, - "DeleteGameRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game to delete.

", - "location": "uri", - "locationName": "GameName" - } - } - }, - "DeleteGameResult": { - "type": "structure", - "members": {} - }, - "DeleteStageRequest": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage to delete.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "DeleteStageResult": { - "type": "structure", - "members": {} - }, - "DeploymentAction": { - "type": "string", - "enum": [ - "DEPLOY", - "UNDEPLOY" - ] - }, - "DeploymentId": { - "type": "string", - "max": 128, - "min": 1, - "pattern": "^\\S(.*\\S)?$" - }, - "DeploymentResult": { - "type": "structure", - "members": { - "Message": { - "shape": "Message", - "documentation": "

Details about the deployment result.

" - }, - "ResultCode": { - "shape": "ResultCode", - "documentation": "

The type of deployment result.

" - } - }, - "documentation": "

The result of the deployment.

" - }, - "DeploymentState": { - "type": "string", - "enum": [ - "PENDING", - "IN_PROGRESS", - "COMPLETED", - "FAILED" - ] - }, - "DisconnectPlayerRequest": { - "type": "structure", - "required": [ - "GameName", - "PlayerId", - "StageName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "PlayerId": { - "shape": "PlayerId", - "documentation": "

The unique identifier representing a player.

", - "location": "uri", - "locationName": "PlayerId" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "DisconnectPlayerResult": { - "type": "structure", - "members": { - "DisconnectFailures": { - "shape": "ConnectionIdList", - "documentation": "

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

" - }, - "DisconnectSuccesses": { - "shape": "ConnectionIdList", - "documentation": "

The list of the connection ids that were disconnected.

" - } - } - }, - "Document": { - "type": "structure", - "members": {}, - "documentation": "

", - "document": true - }, - "ExportSnapshotRequest": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot to export.

", - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "ExportSnapshotResult": { - "type": "structure", - "members": { - "S3Url": { - "shape": "S3PresignedUrl", - "documentation": "

The presigned URL for the snapshot data.

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

" - } - } - }, - "ExtensionDescription": { - "type": "string", - "max": 250, - "min": 0, - "pattern": "^\\S(.*\\S)?$|^$" - }, - "ExtensionDetails": { - "type": "structure", - "members": { - "Description": { - "shape": "ExtensionDescription", - "documentation": "

The description of the extension.

" - }, - "Name": { - "shape": "ExtensionName", - "documentation": "

The name of the extension.

" - }, - "Namespace": { - "shape": "ExtensionNamespace", - "documentation": "

The namespace (qualifier) of the extension.

" - } - }, - "documentation": "

Details about the extension.

" - }, - "ExtensionDetailsList": { - "type": "list", - "member": { - "shape": "ExtensionDetails" - } - }, - "ExtensionName": { - "type": "string", - "max": 36, - "min": 1, - "pattern": "^[a-zA-Z0-9_-]+$" - }, - "ExtensionNamespace": { - "type": "string", - "max": 36, - "min": 1, - "pattern": "^[a-zA-Z0-9_-]+$" - }, - "ExtensionVersion": { - "type": "string", - "max": 20, - "min": 0 - }, - "ExtensionVersionDetails": { - "type": "structure", - "members": { - "Name": { - "shape": "ExtensionName", - "documentation": "

The name of the extension.

" - }, - "Namespace": { - "shape": "ExtensionNamespace", - "documentation": "

The namespace (qualifier) of the extension.

" - }, - "Schema": { - "shape": "ExtensionVersionSchema", - "documentation": "

The model that defines the interface for this extension version.

" - }, - "Version": { - "shape": "ExtensionVersion", - "documentation": "

The version of the extension.

" - } - }, - "documentation": "

Details about the extension version.

" - }, - "ExtensionVersionDetailsList": { - "type": "list", - "member": { - "shape": "ExtensionVersionDetails" - } - }, - "ExtensionVersionSchema": { - "type": "string", - "max": 2048, - "min": 0 - }, - "GameConfigurationDetails": { - "type": "structure", - "members": { - "Created": { - "shape": "DateTime", - "documentation": "

The date when the game was created.

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

The date when the game was last modified.

" - }, - "Sections": { - "shape": "Sections", - "documentation": "

Configuration data, organized by section name.

" - } - }, - "documentation": "

Details about the game configuration.

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

" - }, - "GameDescription": { - "type": "string", - "max": 250, - "min": 0, - "pattern": "^\\S(.*\\S)?$|^$" - }, - "GameDetails": { - "type": "structure", - "members": { - "Arn": { - "shape": "ARN", - "documentation": "

The Amazon Resource Name (ARN) of this game.

" - }, - "Created": { - "shape": "DateTime", - "documentation": "

The date when the game was created.

" - }, - "Description": { - "shape": "GameDescription", - "documentation": "

The description of the game.

" - }, - "EnableTerminationProtection": { - "shape": "GameTerminationProtection", - "documentation": "

Determines if the game can be deleted.

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

The date when the game was last modified.

" - }, - "Name": { - "shape": "GameName", - "documentation": "

The name of the game.

" - }, - "State": { - "shape": "GameState", - "documentation": "

The state of the game.

" - }, - "Tags": { - "shape": "TagMap", - "documentation": "

The tags associated with the game.

" - } - }, - "documentation": "

Details about a game.

" - }, - "GameKey": { - "type": "string", - "max": 44, - "min": 1 - }, - "GameName": { - "type": "string", - "max": 36, - "min": 1, - "pattern": "^[a-zA-Z0-9_-]+$" - }, - "GameSdkVersion": { - "type": "string", - "max": 10, - "min": 5, - "pattern": "^((\\d|[1-9]\\d*)\\.(\\d|[0-9]\\d*)\\.(\\d|[0-9]\\d*)|LATEST)$" - }, - "GameState": { - "type": "string", - "enum": [ - "ACTIVE", - "DELETING" - ] - }, - "GameSummary": { - "type": "structure", - "members": { - "Description": { - "shape": "GameDescription", - "documentation": "

The description of the game.

" - }, - "Name": { - "shape": "GameName", - "documentation": "

The name of the game.

" - }, - "State": { - "shape": "GameState", - "documentation": "

The state of the game.

" - }, - "Tags": { - "shape": "TagMap", - "documentation": "

The tags associated with the game.

" - } - }, - "documentation": "

The summary of the properties of a game.

" - }, - "GameSummaryList": { - "type": "list", - "member": { - "shape": "GameSummary" - } - }, - "GameTerminationProtection": { - "type": "boolean" - }, - "GeneratedCodeJobDescription": { - "type": "string", - "max": 250, - "min": 0, - "pattern": "^\\S(.*\\S)?$|^$" - }, - "GeneratedCodeJobDetails": { - "type": "structure", - "members": { - "Description": { - "shape": "GeneratedCodeJobDescription", - "documentation": "

The description of the generated code job.

" - }, - "ExpirationTime": { - "shape": "DateTime", - "documentation": "

The expiration date and time for the download URL.

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

" - }, - "GeneratedCodeJobId": { - "shape": "GeneratedCodeJobId", - "documentation": "

The identifier for the generated code job.

" - }, - "S3Url": { - "shape": "S3PresignedUrl", - "documentation": "

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

" - }, - "Status": { - "shape": "GeneratedCodeJobState", - "documentation": "

The status of the generated code job

" - } - }, - "documentation": "

Details about a generated code job.

" - }, - "GeneratedCodeJobDetailsList": { - "type": "list", - "member": { - "shape": "GeneratedCodeJobDetails" - } - }, - "GeneratedCodeJobId": { - "type": "string", - "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - }, - "GeneratedCodeJobState": { - "type": "string", - "enum": [ - "IN_PROGRESS", - "COMPLETED", - "FAILED", - "PENDING" - ] - }, - "Generator": { - "type": "structure", - "members": { - "GameSdkVersion": { - "shape": "GameSdkVersion", - "documentation": "

The target version of the GameSparks Game SDK.

" - }, - "Language": { - "shape": "Language", - "documentation": "

The programming language for the generated code.

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

" - }, - "TargetPlatform": { - "shape": "TargetPlatform", - "documentation": "

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

" - } - }, - "documentation": "

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

" - }, - "GetExtensionRequest": { - "type": "structure", - "required": [ - "Name", - "Namespace" - ], - "members": { - "Name": { - "shape": "ExtensionName", - "documentation": "

The name of the extension.

", - "location": "uri", - "locationName": "Name" - }, - "Namespace": { - "shape": "ExtensionNamespace", - "documentation": "

The namespace (qualifier) of the extension.

", - "location": "uri", - "locationName": "Namespace" - } - } - }, - "GetExtensionResult": { - "type": "structure", - "members": { - "Extension": { - "shape": "ExtensionDetails", - "documentation": "

Details about the extension.

" - } - } - }, - "GetExtensionVersionRequest": { - "type": "structure", - "required": [ - "ExtensionVersion", - "Name", - "Namespace" - ], - "members": { - "ExtensionVersion": { - "shape": "ExtensionVersion", - "documentation": "

The version of the extension.

", - "location": "uri", - "locationName": "ExtensionVersion" - }, - "Name": { - "shape": "ExtensionName", - "documentation": "

The name of the extension.

", - "location": "uri", - "locationName": "Name" - }, - "Namespace": { - "shape": "ExtensionNamespace", - "documentation": "

The namespace (qualifier) of the extension.

", - "location": "uri", - "locationName": "Namespace" - } - } - }, - "GetExtensionVersionResult": { - "type": "structure", - "members": { - "ExtensionVersion": { - "shape": "ExtensionVersionDetails", - "documentation": "

The version of the extension.

" - } - } - }, - "GetGameConfigurationRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "Sections": { - "shape": "SectionList", - "documentation": "

The list of sections to return.

", - "location": "querystring", - "locationName": "Sections" - } - } - }, - "GetGameConfigurationResult": { - "type": "structure", - "members": { - "GameConfiguration": { - "shape": "GameConfigurationDetails", - "documentation": "

Details about the game configuration.

" - } - } - }, - "GetGameRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - } - } - }, - "GetGameResult": { - "type": "structure", - "members": { - "Game": { - "shape": "GameDetails", - "documentation": "

The details of the game.

" - } - } - }, - "GetGeneratedCodeJobRequest": { - "type": "structure", - "required": [ - "GameName", - "JobId", - "SnapshotId" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "JobId": { - "shape": "GeneratedCodeJobId", - "documentation": "

The identifier of the code generation job.

", - "location": "uri", - "locationName": "JobId" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot for the code generation job.

", - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "GetGeneratedCodeJobResult": { - "type": "structure", - "members": { - "GeneratedCodeJob": { - "shape": "GeneratedCodeJobDetails", - "documentation": "

Details about the generated code job.

" - } - } - }, - "GetPlayerConnectionStatusRequest": { - "type": "structure", - "required": [ - "GameName", - "PlayerId", - "StageName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "PlayerId": { - "shape": "PlayerId", - "documentation": "

The unique identifier representing a player.

", - "location": "uri", - "locationName": "PlayerId" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "GetPlayerConnectionStatusResult": { - "type": "structure", - "members": { - "Connections": { - "shape": "ConnectionList", - "documentation": "

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

" - } - } - }, - "GetSnapshotRequest": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "Sections": { - "shape": "SectionList", - "documentation": "

The list of game configuration sections to be described.

", - "location": "querystring", - "locationName": "Sections" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot.

", - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "GetSnapshotResult": { - "type": "structure", - "members": { - "Snapshot": { - "shape": "SnapshotDetails", - "documentation": "

Properties that provide details of the snapshot.

" - } - } - }, - "GetStageDeploymentRequest": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "DeploymentId": { - "shape": "DeploymentId", - "documentation": "

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

", - "location": "querystring", - "locationName": "DeploymentId" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "GetStageDeploymentResult": { - "type": "structure", - "members": { - "StageDeployment": { - "shape": "StageDeploymentDetails", - "documentation": "

Properties that provide details of the stage deployment.

" - } - } - }, - "GetStageRequest": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "GetStageResult": { - "type": "structure", - "members": { - "Stage": { - "shape": "StageDetails", - "documentation": "

Properties that provide details of the stage.

" - } - } - }, - "ImportGameConfigurationRequest": { - "type": "structure", - "required": [ - "GameName", - "ImportSource" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "ImportSource": { - "shape": "ImportGameConfigurationSource", - "documentation": "

The source used to import configuration sections.

" - } - } - }, - "ImportGameConfigurationResult": { - "type": "structure", - "members": { - "GameConfiguration": { - "shape": "GameConfigurationDetails", - "documentation": "

Details about the game configuration.

" - } - } - }, - "ImportGameConfigurationSource": { - "type": "structure", - "required": [ - "File" - ], - "members": { - "File": { - "shape": "RawGameConfigurationData", - "documentation": "

The JSON string containing the configuration sections.

" - } - }, - "documentation": "

The source used to import configuration sections.

" - }, - "Language": { - "type": "string", - "max": 16, - "min": 1, - "pattern": "^[a-zA-Z_]+$" - }, - "ListExtensionVersionsRequest": { - "type": "structure", - "required": [ - "Name", - "Namespace" - ], - "members": { - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "Name": { - "shape": "ExtensionName", - "documentation": "

The name of the extension.

", - "location": "uri", - "locationName": "Name" - }, - "Namespace": { - "shape": "ExtensionNamespace", - "documentation": "

The namespace (qualifier) of the extension.

", - "location": "uri", - "locationName": "Namespace" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "ListExtensionVersionsResult": { - "type": "structure", - "members": { - "ExtensionVersions": { - "shape": "ExtensionVersionDetailsList", - "documentation": "

The list of extension versions.

" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - } - } - }, - "ListExtensionsRequest": { - "type": "structure", - "members": { - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "ListExtensionsResult": { - "type": "structure", - "members": { - "Extensions": { - "shape": "ExtensionDetailsList", - "documentation": "

The list of extensions.

" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - } - } - }, - "ListGamesRequest": { - "type": "structure", - "members": { - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "ListGamesResult": { - "type": "structure", - "members": { - "Games": { - "shape": "GameSummaryList", - "documentation": "

The list of games.

" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - } - } - }, - "ListGeneratedCodeJobsRequest": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot.

", - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "ListGeneratedCodeJobsResult": { - "type": "structure", - "members": { - "GeneratedCodeJobs": { - "shape": "GeneratedCodeJobDetailsList", - "documentation": "

The list of generated code jobs.

" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - } - } - }, - "ListSnapshotsRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "ListSnapshotsResult": { - "type": "structure", - "members": { - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - }, - "Snapshots": { - "shape": "SnapshotSummaryList", - "documentation": "

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

" - } - } - }, - "ListStageDeploymentsRequest": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "ListStageDeploymentsResult": { - "type": "structure", - "members": { - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - }, - "StageDeployments": { - "shape": "StageDeploymentList", - "documentation": "

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

" - } - } - }, - "ListStagesRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "MaxResults": { - "shape": "MaxResults", - "documentation": "

The maximum number of results to return.

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

", - "location": "querystring", - "locationName": "MaxResults" - }, - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

", - "location": "querystring", - "locationName": "NextToken" - } - } - }, - "ListStagesResult": { - "type": "structure", - "members": { - "NextToken": { - "shape": "NextToken", - "documentation": "

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

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

" - }, - "Stages": { - "shape": "StageSummaryList", - "documentation": "

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

" - } - } - }, - "ListTagsForResourceRequest": { - "type": "structure", - "required": [ - "ResourceArn" - ], - "members": { - "ResourceArn": { - "shape": "ResourceArn", - "documentation": "

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

", - "location": "uri", - "locationName": "ResourceArn" - } - } - }, - "ListTagsForResourceResult": { - "type": "structure", - "members": { - "tags": { - "shape": "TagMap", - "documentation": "

The tags associated with the resource.

" - } - } - }, - "LogGroupName": { - "type": "string", - "max": 512, - "min": 1 - }, - "MaxResults": { - "type": "integer", - "box": true, - "max": 100, - "min": 1 - }, - "Message": { - "type": "string" - }, - "NextToken": { - "type": "string", - "max": 1024, - "min": 1, - "pattern": "^\\S(.*\\S)?$" - }, - "Operation": { - "type": "string", - "enum": [ - "ADD", - "REMOVE", - "REPLACE" - ] - }, - "Path": { - "type": "string", - "max": 500, - "min": 1, - "pattern": "^\\/.*[^\\/]$" - }, - "PlayerId": { - "type": "string", - "max": 44, - "min": 1, - "pattern": "^[a-zA-Z0-9_-]+$" - }, - "RawGameConfigurationData": { - "type": "blob", - "max": 1024000, - "min": 10 - }, - "ResourceArn": { - "type": "string", - "max": 2048, - "min": 20, - "pattern": "^arn:aws:gamesparks:" - }, - "ResultCode": { - "type": "string", - "enum": [ - "SUCCESS", - "INVALID_ROLE_FAILURE", - "UNSPECIFIED_FAILURE" - ] - }, - "RoleARN": { - "type": "string", - "max": 2048, - "min": 20, - "pattern": "^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/.+$" - }, - "S3PresignedUrl": { - "type": "string", - "max": 2048, - "min": 10, - "pattern": "^https:\\/\\/(.*)\\.s3(.*)\\.amazonaws\\.com\\/(.*)$" - }, - "Section": { - "type": "structure", - "members": { - "Attributes": { - "shape": "Document", - "documentation": "

The content of a configuration section.

" - }, - "Name": { - "shape": "SectionName", - "documentation": "

The name of the section.

" - }, - "Size": { - "shape": "ByteSize", - "documentation": "

The size, in bytes, of the section contents.

" - } - }, - "documentation": "

The configuration section.

" - }, - "SectionList": { - "type": "list", - "member": { - "shape": "SectionName" - }, - "max": 100, - "min": 1 - }, - "SectionModification": { - "type": "structure", - "required": [ - "Operation", - "Path", - "Section" - ], - "members": { - "Operation": { - "shape": "Operation", - "documentation": "

The operation to be performed on a configuration section.

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

" - }, - "Path": { - "shape": "Path", - "documentation": "

The path within the section content to be modified.

" - }, - "Section": { - "shape": "SectionName", - "documentation": "

The name of the section to be modified.

" - }, - "Value": { - "shape": "Document", - "documentation": "

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

This field should be omitted for delete operations.

" - } - }, - "documentation": "

A single modification to the configuration section.

" - }, - "SectionModificationList": { - "type": "list", - "member": { - "shape": "SectionModification" - }, - "max": 100, - "min": 1 - }, - "SectionName": { - "type": "string", - "max": 36, - "min": 1, - "pattern": "^[a-zA-Z0-9.]+$" - }, - "Sections": { - "type": "map", - "key": { - "shape": "SectionName" - }, - "value": { - "shape": "Section" - } - }, - "SnapshotDescription": { - "type": "string", - "max": 250, - "min": 0, - "pattern": "^\\S(.*\\S)?$|^$" - }, - "SnapshotDetails": { - "type": "structure", - "members": { - "Created": { - "shape": "DateTime", - "documentation": "

The timestamp of when the snapshot was created.

" - }, - "Description": { - "shape": "SnapshotDescription", - "documentation": "

The description of the snapshot.

" - }, - "Id": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot.

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

The timestamp of when the snapshot was last updated.

" - }, - "Sections": { - "shape": "Sections", - "documentation": "

The sections in the snapshot.

" - } - }, - "documentation": "

Properties that provide details of a snapshot.

" - }, - "SnapshotId": { - "type": "string", - "max": 36, - "min": 33, - "pattern": "^Snapshot_\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3,6}Z$" - }, - "SnapshotSummary": { - "type": "structure", - "members": { - "Created": { - "shape": "DateTime", - "documentation": "

The timestamp of when the snapshot was created.

" - }, - "Description": { - "shape": "SnapshotDescription", - "documentation": "

The description of the snapshot.

" - }, - "Id": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot.

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

Then timestamp of when the snapshot was last updated.

" - } - }, - "documentation": "

The summary of the properties of a snapshot.

" - }, - "SnapshotSummaryList": { - "type": "list", - "member": { - "shape": "SnapshotSummary" - } - }, - "StageDeploymentDetails": { - "type": "structure", - "members": { - "Created": { - "shape": "DateTime", - "documentation": "

The timestamp of when the stage deployment was created.

" - }, - "DeploymentAction": { - "shape": "DeploymentAction", - "documentation": "

The type of action of the stage deployment.

" - }, - "DeploymentId": { - "shape": "DeploymentId", - "documentation": "

The identifier of the deployment.

" - }, - "DeploymentResult": { - "shape": "DeploymentResult", - "documentation": "

The result of the deployment.

" - }, - "DeploymentState": { - "shape": "DeploymentState", - "documentation": "

The state of the deployment.

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

The timestamp of when the deployment was last updated.

" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot associated with the stage deployment.

" - } - }, - "documentation": "

Properties that provide details of a stage deployment.

" - }, - "StageDeploymentList": { - "type": "list", - "member": { - "shape": "StageDeploymentSummary" - } - }, - "StageDeploymentSummary": { - "type": "structure", - "members": { - "DeploymentAction": { - "shape": "DeploymentAction", - "documentation": "

The type of action of the deployment.

" - }, - "DeploymentId": { - "shape": "DeploymentId", - "documentation": "

The identifier of the deployment.

" - }, - "DeploymentResult": { - "shape": "DeploymentResult", - "documentation": "

The result of the deployment.

" - }, - "DeploymentState": { - "shape": "DeploymentState", - "documentation": "

The state of the deployment.

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

The timestamp of when the deployment was last updated.

" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot associated with the stage deployment.

" - } - }, - "documentation": "

The summary of the properties of a stage deployment.

" - }, - "StageDescription": { - "type": "string", - "max": 250, - "min": 0, - "pattern": "^\\S(.*\\S)?$|^$" - }, - "StageDetails": { - "type": "structure", - "members": { - "Arn": { - "shape": "ARN", - "documentation": "

The Amazon Resource Name (ARN) of the stage.

" - }, - "Created": { - "shape": "DateTime", - "documentation": "

The timestamp of when the stage was created.

" - }, - "Description": { - "shape": "StageDescription", - "documentation": "

The description of the stage.

" - }, - "GameKey": { - "shape": "GameKey", - "documentation": "

The game key associated with the stage.

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

" - }, - "LastUpdated": { - "shape": "DateTime", - "documentation": "

The timestamp of when the stage was last updated.

" - }, - "LogGroup": { - "shape": "LogGroupName", - "documentation": "

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

" - }, - "Name": { - "shape": "StageName", - "documentation": "

The name of the stage.

" - }, - "Role": { - "shape": "RoleARN", - "documentation": "

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

" - }, - "State": { - "shape": "StageState", - "documentation": "

The state of the stage.

" - }, - "Tags": { - "shape": "TagMap", - "documentation": "

The tags associated with the stage.

" - } - }, - "documentation": "

Properties that provide details of a stage.

" - }, - "StageName": { - "type": "string", - "max": 36, - "min": 1, - "pattern": "^[a-zA-Z0-9_-]+$" - }, - "StageState": { - "type": "string", - "enum": [ - "ACTIVE", - "DELETING" - ] - }, - "StageSummary": { - "type": "structure", - "members": { - "Description": { - "shape": "StageDescription", - "documentation": "

The description of the stage.

" - }, - "GameKey": { - "shape": "GameKey", - "documentation": "

The game key associated with the stage.

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

" - }, - "Name": { - "shape": "StageName", - "documentation": "

The name of the stage.

" - }, - "State": { - "shape": "StageState", - "documentation": "

The state of the stage.

" - }, - "Tags": { - "shape": "TagMap", - "documentation": "

The tags associated with the stage.

" - } - }, - "documentation": "

The summary of the properties of a stage.

" - }, - "StageSummaryList": { - "type": "list", - "member": { - "shape": "StageSummary" - } - }, - "StartGeneratedCodeJobRequest": { - "type": "structure", - "required": [ - "GameName", - "Generator", - "SnapshotId" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "Generator": { - "shape": "Generator", - "documentation": "

Properties of the generator to use for the job.

" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot for which to generate code.

", - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "StartGeneratedCodeJobResult": { - "type": "structure", - "members": { - "GeneratedCodeJobId": { - "shape": "GeneratedCodeJobId", - "documentation": "

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

" - } - } - }, - "StartStageDeploymentRequest": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId", - "StageName" - ], - "members": { - "ClientToken": { - "shape": "ClientToken", - "documentation": "

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

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot to deploy.

" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage to deploy the snapshot onto.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "StartStageDeploymentResult": { - "type": "structure", - "members": { - "StageDeployment": { - "shape": "StageDeploymentDetails", - "documentation": "

Properties that describe the stage deployment.

" - } - } - }, - "TagKey": { - "type": "string", - "max": 128, - "min": 1, - "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" - }, - "TagKeyList": { - "type": "list", - "member": { - "shape": "TagKey" - }, - "max": 50, - "min": 1 - }, - "TagMap": { - "type": "map", - "key": { - "shape": "TagKey" - }, - "value": { - "shape": "TagValue" - }, - "max": 50, - "min": 1 - }, - "TagResourceRequest": { - "type": "structure", - "required": [ - "ResourceArn", - "tags" - ], - "members": { - "ResourceArn": { - "shape": "ResourceArn", - "documentation": "

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

", - "location": "uri", - "locationName": "ResourceArn" - }, - "tags": { - "shape": "TagMap", - "documentation": "

The tags to add to the resource.

" - } - } - }, - "TagResourceResult": { - "type": "structure", - "members": {} - }, - "TagValue": { - "type": "string", - "max": 256, - "min": 0, - "pattern": "^[\\s\\w+-=\\.:/@]*$" - }, - "TargetPlatform": { - "type": "string", - "max": 16, - "min": 1, - "pattern": "^[a-zA-Z]+$" - }, - "UntagResourceRequest": { - "type": "structure", - "required": [ - "ResourceArn", - "tagKeys" - ], - "members": { - "ResourceArn": { - "shape": "ResourceArn", - "documentation": "

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

", - "location": "uri", - "locationName": "ResourceArn" - }, - "tagKeys": { - "shape": "TagKeyList", - "documentation": "

The keys of the tags to remove.

", - "location": "querystring", - "locationName": "tagKeys" - } - } - }, - "UntagResourceResult": { - "type": "structure", - "members": {} - }, - "UpdateGameConfigurationRequest": { - "type": "structure", - "required": [ - "GameName", - "Modifications" - ], - "members": { - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "Modifications": { - "shape": "SectionModificationList", - "documentation": "

The list of modifications to make.

" - } - } - }, - "UpdateGameConfigurationResult": { - "type": "structure", - "members": { - "GameConfiguration": { - "shape": "GameConfigurationDetails", - "documentation": "

Details about the game configuration.

" - } - } - }, - "UpdateGameRequest": { - "type": "structure", - "required": [ - "GameName" - ], - "members": { - "Description": { - "shape": "GameDescription", - "documentation": "

The description of the game.

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - } - } - }, - "UpdateGameResult": { - "type": "structure", - "members": { - "Game": { - "shape": "GameDetails", - "documentation": "

The details of the game.

" - } - } - }, - "UpdateSnapshotRequest": { - "type": "structure", - "required": [ - "GameName", - "SnapshotId" - ], - "members": { - "Description": { - "shape": "SnapshotDescription", - "documentation": "

The description of the snapshot.

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "SnapshotId": { - "shape": "SnapshotId", - "documentation": "

The identifier of the snapshot.

", - "location": "uri", - "locationName": "SnapshotId" - } - } - }, - "UpdateSnapshotResult": { - "type": "structure", - "members": { - "Snapshot": { - "shape": "SnapshotDetails", - "documentation": "

Properties that provide details of the updated snapshot.

" - } - } - }, - "UpdateStageRequest": { - "type": "structure", - "required": [ - "GameName", - "StageName" - ], - "members": { - "Description": { - "shape": "StageDescription", - "documentation": "

The description of the stage.

" - }, - "GameName": { - "shape": "GameName", - "documentation": "

The name of the game.

", - "location": "uri", - "locationName": "GameName" - }, - "Role": { - "shape": "RoleARN", - "documentation": "

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

" - }, - "StageName": { - "shape": "StageName", - "documentation": "

The name of the stage.

", - "location": "uri", - "locationName": "StageName" - } - } - }, - "UpdateStageResult": { - "type": "structure", - "members": { - "Stage": { - "shape": "StageDetails", - "documentation": "

Properties that provide details of the updated stage.

" - } - } - } - }, - "documentation": "

" -} \ No newline at end of file diff --git a/apis/gamesparks-2021-08-17.paginators.json b/apis/gamesparks-2021-08-17.paginators.json deleted file mode 100644 index 755ad2baa0..0000000000 --- a/apis/gamesparks-2021-08-17.paginators.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "pagination": { - "ListExtensionVersions": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "ExtensionVersions" - }, - "ListExtensions": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Extensions" - }, - "ListGames": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Games" - }, - "ListGeneratedCodeJobs": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "GeneratedCodeJobs" - }, - "ListSnapshots": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Snapshots" - }, - "ListStageDeployments": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "StageDeployments" - }, - "ListStages": { - "input_token": "NextToken", - "output_token": "NextToken", - "limit_key": "MaxResults", - "result_key": "Stages" - } - } -} diff --git a/apis/metadata.json b/apis/metadata.json index 6e903e553a..3a5407d482 100644 --- a/apis/metadata.json +++ b/apis/metadata.json @@ -1148,9 +1148,6 @@ "billingconductor": { "name": "Billingconductor" }, - "gamesparks": { - "name": "GameSparks" - }, "pinpointsmsvoicev2": { "prefix": "pinpoint-sms-voice-v2", "name": "PinpointSMSVoiceV2" diff --git a/clients/all.d.ts b/clients/all.d.ts index 08d3867f29..5dc6076db9 100644 --- a/clients/all.d.ts +++ b/clients/all.d.ts @@ -300,7 +300,6 @@ export import WorkSpacesWeb = require('./workspacesweb'); export import AmplifyUIBuilder = require('./amplifyuibuilder'); export import Keyspaces = require('./keyspaces'); export import Billingconductor = require('./billingconductor'); -export import GameSparks = require('./gamesparks'); export import PinpointSMSVoiceV2 = require('./pinpointsmsvoicev2'); export import Ivschat = require('./ivschat'); export import ChimeSDKMediaPipelines = require('./chimesdkmediapipelines'); diff --git a/clients/all.js b/clients/all.js index 2c781317a7..3dbece0ca3 100644 --- a/clients/all.js +++ b/clients/all.js @@ -302,7 +302,6 @@ module.exports = { AmplifyUIBuilder: require('./amplifyuibuilder'), Keyspaces: require('./keyspaces'), Billingconductor: require('./billingconductor'), - GameSparks: require('./gamesparks'), PinpointSMSVoiceV2: require('./pinpointsmsvoicev2'), Ivschat: require('./ivschat'), ChimeSDKMediaPipelines: require('./chimesdkmediapipelines'), @@ -359,4 +358,4 @@ module.exports = { Bedrock: require('./bedrock'), BedrockRuntime: require('./bedrockruntime'), DataZone: require('./datazone') -}; \ No newline at end of file +}; diff --git a/clients/gamesparks.d.ts b/clients/gamesparks.d.ts deleted file mode 100644 index 16fd888233..0000000000 --- a/clients/gamesparks.d.ts +++ /dev/null @@ -1,1344 +0,0 @@ -import {Request} from '../lib/request'; -import {Response} from '../lib/response'; -import {AWSError} from '../lib/error'; -import {Service} from '../lib/service'; -import {ServiceConfigurationOptions} from '../lib/service'; -import {ConfigBase as Config} from '../lib/config-base'; -interface Blob {} -declare class GameSparks extends Service { - /** - * Constructs a service object. This object has one method for each API operation. - */ - constructor(options?: GameSparks.Types.ClientConfiguration) - config: Config & GameSparks.Types.ClientConfiguration; - /** - * Creates a new game with an empty configuration. After creating your game, you can update the configuration using UpdateGameConfiguration or ImportGameConfiguration. - */ - createGame(params: GameSparks.Types.CreateGameRequest, callback?: (err: AWSError, data: GameSparks.Types.CreateGameResult) => void): Request; - /** - * Creates a new game with an empty configuration. After creating your game, you can update the configuration using UpdateGameConfiguration or ImportGameConfiguration. - */ - createGame(callback?: (err: AWSError, data: GameSparks.Types.CreateGameResult) => void): Request; - /** - * Creates a snapshot of the game configuration. - */ - createSnapshot(params: GameSparks.Types.CreateSnapshotRequest, callback?: (err: AWSError, data: GameSparks.Types.CreateSnapshotResult) => void): Request; - /** - * Creates a snapshot of the game configuration. - */ - createSnapshot(callback?: (err: AWSError, data: GameSparks.Types.CreateSnapshotResult) => void): Request; - /** - * Creates a new stage for stage-by-stage game development and deployment. - */ - createStage(params: GameSparks.Types.CreateStageRequest, callback?: (err: AWSError, data: GameSparks.Types.CreateStageResult) => void): Request; - /** - * Creates a new stage for stage-by-stage game development and deployment. - */ - createStage(callback?: (err: AWSError, data: GameSparks.Types.CreateStageResult) => void): Request; - /** - * Deletes a game. - */ - deleteGame(params: GameSparks.Types.DeleteGameRequest, callback?: (err: AWSError, data: GameSparks.Types.DeleteGameResult) => void): Request; - /** - * Deletes a game. - */ - deleteGame(callback?: (err: AWSError, data: GameSparks.Types.DeleteGameResult) => void): Request; - /** - * Deletes a stage from a game, along with the associated game runtime. - */ - deleteStage(params: GameSparks.Types.DeleteStageRequest, callback?: (err: AWSError, data: GameSparks.Types.DeleteStageResult) => void): Request; - /** - * Deletes a stage from a game, along with the associated game runtime. - */ - deleteStage(callback?: (err: AWSError, data: GameSparks.Types.DeleteStageResult) => void): Request; - /** - * Disconnects a player from the game runtime. If a player has multiple connections, this operation attempts to close all of them. - */ - disconnectPlayer(params: GameSparks.Types.DisconnectPlayerRequest, callback?: (err: AWSError, data: GameSparks.Types.DisconnectPlayerResult) => void): Request; - /** - * Disconnects a player from the game runtime. If a player has multiple connections, this operation attempts to close all of them. - */ - disconnectPlayer(callback?: (err: AWSError, data: GameSparks.Types.DisconnectPlayerResult) => void): Request; - /** - * Exports a game configuration snapshot. - */ - exportSnapshot(params: GameSparks.Types.ExportSnapshotRequest, callback?: (err: AWSError, data: GameSparks.Types.ExportSnapshotResult) => void): Request; - /** - * Exports a game configuration snapshot. - */ - exportSnapshot(callback?: (err: AWSError, data: GameSparks.Types.ExportSnapshotResult) => void): Request; - /** - * Gets details about a specified extension. - */ - getExtension(params: GameSparks.Types.GetExtensionRequest, callback?: (err: AWSError, data: GameSparks.Types.GetExtensionResult) => void): Request; - /** - * Gets details about a specified extension. - */ - getExtension(callback?: (err: AWSError, data: GameSparks.Types.GetExtensionResult) => void): Request; - /** - * Gets details about a specified extension version. - */ - getExtensionVersion(params: GameSparks.Types.GetExtensionVersionRequest, callback?: (err: AWSError, data: GameSparks.Types.GetExtensionVersionResult) => void): Request; - /** - * Gets details about a specified extension version. - */ - getExtensionVersion(callback?: (err: AWSError, data: GameSparks.Types.GetExtensionVersionResult) => void): Request; - /** - * Gets details about a game. - */ - getGame(params: GameSparks.Types.GetGameRequest, callback?: (err: AWSError, data: GameSparks.Types.GetGameResult) => void): Request; - /** - * Gets details about a game. - */ - getGame(callback?: (err: AWSError, data: GameSparks.Types.GetGameResult) => void): Request; - /** - * Gets the configuration of the game. - */ - getGameConfiguration(params: GameSparks.Types.GetGameConfigurationRequest, callback?: (err: AWSError, data: GameSparks.Types.GetGameConfigurationResult) => void): Request; - /** - * Gets the configuration of the game. - */ - getGameConfiguration(callback?: (err: AWSError, data: GameSparks.Types.GetGameConfigurationResult) => void): Request; - /** - * Gets details about a job that is generating code for a snapshot. - */ - getGeneratedCodeJob(params: GameSparks.Types.GetGeneratedCodeJobRequest, callback?: (err: AWSError, data: GameSparks.Types.GetGeneratedCodeJobResult) => void): Request; - /** - * Gets details about a job that is generating code for a snapshot. - */ - getGeneratedCodeJob(callback?: (err: AWSError, data: GameSparks.Types.GetGeneratedCodeJobResult) => void): Request; - /** - * Gets the status of a player's connection to the game runtime. It's possible for a single player to have multiple connections to the game runtime. If a player is not connected, this operation returns an empty list. - */ - getPlayerConnectionStatus(params: GameSparks.Types.GetPlayerConnectionStatusRequest, callback?: (err: AWSError, data: GameSparks.Types.GetPlayerConnectionStatusResult) => void): Request; - /** - * Gets the status of a player's connection to the game runtime. It's possible for a single player to have multiple connections to the game runtime. If a player is not connected, this operation returns an empty list. - */ - getPlayerConnectionStatus(callback?: (err: AWSError, data: GameSparks.Types.GetPlayerConnectionStatusResult) => void): Request; - /** - * Gets a copy of the game configuration in a snapshot. - */ - getSnapshot(params: GameSparks.Types.GetSnapshotRequest, callback?: (err: AWSError, data: GameSparks.Types.GetSnapshotResult) => void): Request; - /** - * Gets a copy of the game configuration in a snapshot. - */ - getSnapshot(callback?: (err: AWSError, data: GameSparks.Types.GetSnapshotResult) => void): Request; - /** - * Gets information about a stage. - */ - getStage(params: GameSparks.Types.GetStageRequest, callback?: (err: AWSError, data: GameSparks.Types.GetStageResult) => void): Request; - /** - * Gets information about a stage. - */ - getStage(callback?: (err: AWSError, data: GameSparks.Types.GetStageResult) => void): Request; - /** - * Gets information about a stage deployment. - */ - getStageDeployment(params: GameSparks.Types.GetStageDeploymentRequest, callback?: (err: AWSError, data: GameSparks.Types.GetStageDeploymentResult) => void): Request; - /** - * Gets information about a stage deployment. - */ - getStageDeployment(callback?: (err: AWSError, data: GameSparks.Types.GetStageDeploymentResult) => void): Request; - /** - * Imports a game configuration. This operation replaces the current configuration of the game with the provided input. This is not a reversible operation. If you want to preserve the previous configuration, use CreateSnapshot to make a new snapshot before importing. - */ - importGameConfiguration(params: GameSparks.Types.ImportGameConfigurationRequest, callback?: (err: AWSError, data: GameSparks.Types.ImportGameConfigurationResult) => void): Request; - /** - * Imports a game configuration. This operation replaces the current configuration of the game with the provided input. This is not a reversible operation. If you want to preserve the previous configuration, use CreateSnapshot to make a new snapshot before importing. - */ - importGameConfiguration(callback?: (err: AWSError, data: GameSparks.Types.ImportGameConfigurationResult) => void): Request; - /** - * Gets a paginated list of available versions for the extension. Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation shows the versions that are currently available. - */ - listExtensionVersions(params: GameSparks.Types.ListExtensionVersionsRequest, callback?: (err: AWSError, data: GameSparks.Types.ListExtensionVersionsResult) => void): Request; - /** - * Gets a paginated list of available versions for the extension. Each time an API change is made to an extension, the version is incremented. The list retrieved by this operation shows the versions that are currently available. - */ - listExtensionVersions(callback?: (err: AWSError, data: GameSparks.Types.ListExtensionVersionsResult) => void): Request; - /** - * Gets a paginated list of available extensions. Extensions provide features that games can use from scripts. - */ - listExtensions(params: GameSparks.Types.ListExtensionsRequest, callback?: (err: AWSError, data: GameSparks.Types.ListExtensionsResult) => void): Request; - /** - * Gets a paginated list of available extensions. Extensions provide features that games can use from scripts. - */ - listExtensions(callback?: (err: AWSError, data: GameSparks.Types.ListExtensionsResult) => void): Request; - /** - * Gets a paginated list of games. - */ - listGames(params: GameSparks.Types.ListGamesRequest, callback?: (err: AWSError, data: GameSparks.Types.ListGamesResult) => void): Request; - /** - * Gets a paginated list of games. - */ - listGames(callback?: (err: AWSError, data: GameSparks.Types.ListGamesResult) => void): Request; - /** - * Gets a paginated list of code generation jobs for a snapshot. - */ - listGeneratedCodeJobs(params: GameSparks.Types.ListGeneratedCodeJobsRequest, callback?: (err: AWSError, data: GameSparks.Types.ListGeneratedCodeJobsResult) => void): Request; - /** - * Gets a paginated list of code generation jobs for a snapshot. - */ - listGeneratedCodeJobs(callback?: (err: AWSError, data: GameSparks.Types.ListGeneratedCodeJobsResult) => void): Request; - /** - * Gets a paginated list of snapshot summaries from the game. - */ - listSnapshots(params: GameSparks.Types.ListSnapshotsRequest, callback?: (err: AWSError, data: GameSparks.Types.ListSnapshotsResult) => void): Request; - /** - * Gets a paginated list of snapshot summaries from the game. - */ - listSnapshots(callback?: (err: AWSError, data: GameSparks.Types.ListSnapshotsResult) => void): Request; - /** - * Gets a paginated list of stage deployment summaries from the game. - */ - listStageDeployments(params: GameSparks.Types.ListStageDeploymentsRequest, callback?: (err: AWSError, data: GameSparks.Types.ListStageDeploymentsResult) => void): Request; - /** - * Gets a paginated list of stage deployment summaries from the game. - */ - listStageDeployments(callback?: (err: AWSError, data: GameSparks.Types.ListStageDeploymentsResult) => void): Request; - /** - * Gets a paginated list of stage summaries from the game. - */ - listStages(params: GameSparks.Types.ListStagesRequest, callback?: (err: AWSError, data: GameSparks.Types.ListStagesResult) => void): Request; - /** - * Gets a paginated list of stage summaries from the game. - */ - listStages(callback?: (err: AWSError, data: GameSparks.Types.ListStagesResult) => void): Request; - /** - * Lists the tags associated with a GameSparks resource. - */ - listTagsForResource(params: GameSparks.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: GameSparks.Types.ListTagsForResourceResult) => void): Request; - /** - * Lists the tags associated with a GameSparks resource. - */ - listTagsForResource(callback?: (err: AWSError, data: GameSparks.Types.ListTagsForResourceResult) => void): Request; - /** - * Starts an asynchronous process that generates client code for system-defined and custom messages. The resulting code is collected as a .zip file and uploaded to a pre-signed Amazon S3 URL. - */ - startGeneratedCodeJob(params: GameSparks.Types.StartGeneratedCodeJobRequest, callback?: (err: AWSError, data: GameSparks.Types.StartGeneratedCodeJobResult) => void): Request; - /** - * Starts an asynchronous process that generates client code for system-defined and custom messages. The resulting code is collected as a .zip file and uploaded to a pre-signed Amazon S3 URL. - */ - startGeneratedCodeJob(callback?: (err: AWSError, data: GameSparks.Types.StartGeneratedCodeJobResult) => void): Request; - /** - * Deploys a snapshot to the stage and creates a new game runtime. After you call this operation, you can check the deployment status by using GetStageDeployment. If there are any players connected to the previous game runtime, then both runtimes persist. Existing connections to the previous runtime are maintained. When players disconnect and reconnect, they connect to the new runtime. After there are no connections to the previous game runtime, it is deleted. - */ - startStageDeployment(params: GameSparks.Types.StartStageDeploymentRequest, callback?: (err: AWSError, data: GameSparks.Types.StartStageDeploymentResult) => void): Request; - /** - * Deploys a snapshot to the stage and creates a new game runtime. After you call this operation, you can check the deployment status by using GetStageDeployment. If there are any players connected to the previous game runtime, then both runtimes persist. Existing connections to the previous runtime are maintained. When players disconnect and reconnect, they connect to the new runtime. After there are no connections to the previous game runtime, it is deleted. - */ - startStageDeployment(callback?: (err: AWSError, data: GameSparks.Types.StartStageDeploymentResult) => void): Request; - /** - * Adds tags to a GameSparks resource. - */ - tagResource(params: GameSparks.Types.TagResourceRequest, callback?: (err: AWSError, data: GameSparks.Types.TagResourceResult) => void): Request; - /** - * Adds tags to a GameSparks resource. - */ - tagResource(callback?: (err: AWSError, data: GameSparks.Types.TagResourceResult) => void): Request; - /** - * Removes tags from a GameSparks resource. - */ - untagResource(params: GameSparks.Types.UntagResourceRequest, callback?: (err: AWSError, data: GameSparks.Types.UntagResourceResult) => void): Request; - /** - * Removes tags from a GameSparks resource. - */ - untagResource(callback?: (err: AWSError, data: GameSparks.Types.UntagResourceResult) => void): Request; - /** - * Updates details of the game. - */ - updateGame(params: GameSparks.Types.UpdateGameRequest, callback?: (err: AWSError, data: GameSparks.Types.UpdateGameResult) => void): Request; - /** - * Updates details of the game. - */ - updateGame(callback?: (err: AWSError, data: GameSparks.Types.UpdateGameResult) => void): Request; - /** - * Updates one or more sections of the game configuration. - */ - updateGameConfiguration(params: GameSparks.Types.UpdateGameConfigurationRequest, callback?: (err: AWSError, data: GameSparks.Types.UpdateGameConfigurationResult) => void): Request; - /** - * Updates one or more sections of the game configuration. - */ - updateGameConfiguration(callback?: (err: AWSError, data: GameSparks.Types.UpdateGameConfigurationResult) => void): Request; - /** - * Updates the metadata of a GameSparks snapshot. - */ - updateSnapshot(params: GameSparks.Types.UpdateSnapshotRequest, callback?: (err: AWSError, data: GameSparks.Types.UpdateSnapshotResult) => void): Request; - /** - * Updates the metadata of a GameSparks snapshot. - */ - updateSnapshot(callback?: (err: AWSError, data: GameSparks.Types.UpdateSnapshotResult) => void): Request; - /** - * Updates the metadata of a stage. - */ - updateStage(params: GameSparks.Types.UpdateStageRequest, callback?: (err: AWSError, data: GameSparks.Types.UpdateStageResult) => void): Request; - /** - * Updates the metadata of a stage. - */ - updateStage(callback?: (err: AWSError, data: GameSparks.Types.UpdateStageResult) => void): Request; -} -declare namespace GameSparks { - export type ARN = string; - export type ByteSize = number; - export type ClientToken = string; - export interface Connection { - /** - * The date and time when the connection was created. - */ - Created?: DateTime; - /** - * The identifier used to indicate a specific WebSocket connection. - */ - Id?: ConnectionId; - } - export type ConnectionId = string; - export type ConnectionIdList = ConnectionId[]; - export type ConnectionList = Connection[]; - export interface CreateGameRequest { - /** - * A client-defined token. With an active client token in the request, this action is idempotent. - */ - ClientToken?: ClientToken; - /** - * The description of the game. - */ - Description?: GameDescription; - /** - * The name of the game. - */ - GameName: GameName; - /** - * The list of tags to apply to the game. - */ - Tags?: TagMap; - } - export interface CreateGameResult { - /** - * Details about the game that was created. - */ - Game?: GameDetails; - } - export interface CreateSnapshotRequest { - /** - * The description of the snapshot. - */ - Description?: SnapshotDescription; - /** - * The name of the game. - */ - GameName: GameName; - } - export interface CreateSnapshotResult { - /** - * Properties that provide details of the created snapshot. - */ - Snapshot?: SnapshotDetails; - } - export interface CreateStageRequest { - /** - * A client-defined token. With an active client token in the request, this action is idempotent. - */ - ClientToken?: ClientToken; - /** - * The description of the stage. - */ - Description?: StageDescription; - /** - * The name of the game. - */ - GameName: GameName; - /** - * The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created. - */ - Role: RoleARN; - /** - * The name of the stage. - */ - StageName: StageName; - /** - * The list of tags to apply to the stage. - */ - Tags?: TagMap; - } - export interface CreateStageResult { - /** - * Properties that describe the stage. - */ - Stage?: StageDetails; - } - export type DateTime = Date; - export interface DeleteGameRequest { - /** - * The name of the game to delete. - */ - GameName: GameName; - } - export interface DeleteGameResult { - } - export interface DeleteStageRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The name of the stage to delete. - */ - StageName: StageName; - } - export interface DeleteStageResult { - } - export type DeploymentAction = "DEPLOY"|"UNDEPLOY"|string; - export type DeploymentId = string; - export interface DeploymentResult { - /** - * Details about the deployment result. - */ - Message?: Message; - /** - * The type of deployment result. - */ - ResultCode?: ResultCode; - } - export type DeploymentState = "PENDING"|"IN_PROGRESS"|"COMPLETED"|"FAILED"|string; - export interface DisconnectPlayerRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The unique identifier representing a player. - */ - PlayerId: PlayerId; - /** - * The name of the stage. - */ - StageName: StageName; - } - export interface DisconnectPlayerResult { - /** - * The list of the connection ids that could not be disconnected. - */ - DisconnectFailures?: ConnectionIdList; - /** - * The list of the connection ids that were disconnected. - */ - DisconnectSuccesses?: ConnectionIdList; - } - export interface Document { - } - export interface ExportSnapshotRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The identifier of the snapshot to export. - */ - SnapshotId: SnapshotId; - } - export interface ExportSnapshotResult { - /** - * The presigned URL for the snapshot data. This URL will be available for 10 minutes, and can be used to download the snapshot content. If the URL expires, a new one can be requested using the same operation. - */ - S3Url?: S3PresignedUrl; - } - export type ExtensionDescription = string; - export interface ExtensionDetails { - /** - * The description of the extension. - */ - Description?: ExtensionDescription; - /** - * The name of the extension. - */ - Name?: ExtensionName; - /** - * The namespace (qualifier) of the extension. - */ - Namespace?: ExtensionNamespace; - } - export type ExtensionDetailsList = ExtensionDetails[]; - export type ExtensionName = string; - export type ExtensionNamespace = string; - export type ExtensionVersion = string; - export interface ExtensionVersionDetails { - /** - * The name of the extension. - */ - Name?: ExtensionName; - /** - * The namespace (qualifier) of the extension. - */ - Namespace?: ExtensionNamespace; - /** - * The model that defines the interface for this extension version. - */ - Schema?: ExtensionVersionSchema; - /** - * The version of the extension. - */ - Version?: ExtensionVersion; - } - export type ExtensionVersionDetailsList = ExtensionVersionDetails[]; - export type ExtensionVersionSchema = string; - export interface GameConfigurationDetails { - /** - * The date when the game was created. - */ - Created?: DateTime; - /** - * The date when the game was last modified. - */ - LastUpdated?: DateTime; - /** - * Configuration data, organized by section name. - */ - Sections?: Sections; - } - export type GameDescription = string; - export interface GameDetails { - /** - * The Amazon Resource Name (ARN) of this game. - */ - Arn?: ARN; - /** - * The date when the game was created. - */ - Created?: DateTime; - /** - * The description of the game. - */ - Description?: GameDescription; - /** - * Determines if the game can be deleted. - */ - EnableTerminationProtection?: GameTerminationProtection; - /** - * The date when the game was last modified. - */ - LastUpdated?: DateTime; - /** - * The name of the game. - */ - Name?: GameName; - /** - * The state of the game. - */ - State?: GameState; - /** - * The tags associated with the game. - */ - Tags?: TagMap; - } - export type GameKey = string; - export type GameName = string; - export type GameSdkVersion = string; - export type GameState = "ACTIVE"|"DELETING"|string; - export interface GameSummary { - /** - * The description of the game. - */ - Description?: GameDescription; - /** - * The name of the game. - */ - Name?: GameName; - /** - * The state of the game. - */ - State?: GameState; - /** - * The tags associated with the game. - */ - Tags?: TagMap; - } - export type GameSummaryList = GameSummary[]; - export type GameTerminationProtection = boolean; - export type GeneratedCodeJobDescription = string; - export interface GeneratedCodeJobDetails { - /** - * The description of the generated code job. - */ - Description?: GeneratedCodeJobDescription; - /** - * The expiration date and time for the download URL. The download URL us guaranteed to be available until at least this time. - */ - ExpirationTime?: DateTime; - /** - * The identifier for the generated code job. - */ - GeneratedCodeJobId?: GeneratedCodeJobId; - /** - * A presigned URL that can be used to download the generated code. - */ - S3Url?: S3PresignedUrl; - /** - * The status of the generated code job - */ - Status?: GeneratedCodeJobState; - } - export type GeneratedCodeJobDetailsList = GeneratedCodeJobDetails[]; - export type GeneratedCodeJobId = string; - export type GeneratedCodeJobState = "IN_PROGRESS"|"COMPLETED"|"FAILED"|"PENDING"|string; - export interface Generator { - /** - * The target version of the GameSparks Game SDK. - */ - GameSdkVersion?: GameSdkVersion; - /** - * The programming language for the generated code. Not all languages are supported for each platform. For cases where multiple languages are supported, this parameter specifies the language to be used. If this value is omitted, the default language for the target platform will be used. - */ - Language?: Language; - /** - * The platform that will be used to run the generated code. - */ - TargetPlatform?: TargetPlatform; - } - export interface GetExtensionRequest { - /** - * The name of the extension. - */ - Name: ExtensionName; - /** - * The namespace (qualifier) of the extension. - */ - Namespace: ExtensionNamespace; - } - export interface GetExtensionResult { - /** - * Details about the extension. - */ - Extension?: ExtensionDetails; - } - export interface GetExtensionVersionRequest { - /** - * The version of the extension. - */ - ExtensionVersion: ExtensionVersion; - /** - * The name of the extension. - */ - Name: ExtensionName; - /** - * The namespace (qualifier) of the extension. - */ - Namespace: ExtensionNamespace; - } - export interface GetExtensionVersionResult { - /** - * The version of the extension. - */ - ExtensionVersion?: ExtensionVersionDetails; - } - export interface GetGameConfigurationRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The list of sections to return. - */ - Sections?: SectionList; - } - export interface GetGameConfigurationResult { - /** - * Details about the game configuration. - */ - GameConfiguration?: GameConfigurationDetails; - } - export interface GetGameRequest { - /** - * The name of the game. - */ - GameName: GameName; - } - export interface GetGameResult { - /** - * The details of the game. - */ - Game?: GameDetails; - } - export interface GetGeneratedCodeJobRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The identifier of the code generation job. - */ - JobId: GeneratedCodeJobId; - /** - * The identifier of the snapshot for the code generation job. - */ - SnapshotId: SnapshotId; - } - export interface GetGeneratedCodeJobResult { - /** - * Details about the generated code job. - */ - GeneratedCodeJob?: GeneratedCodeJobDetails; - } - export interface GetPlayerConnectionStatusRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The unique identifier representing a player. - */ - PlayerId: PlayerId; - /** - * The name of the stage. - */ - StageName: StageName; - } - export interface GetPlayerConnectionStatusResult { - /** - * The list of connection ids, one for each connection in use by the player. - */ - Connections?: ConnectionList; - } - export interface GetSnapshotRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The list of game configuration sections to be described. - */ - Sections?: SectionList; - /** - * The identifier of the snapshot. - */ - SnapshotId: SnapshotId; - } - export interface GetSnapshotResult { - /** - * Properties that provide details of the snapshot. - */ - Snapshot?: SnapshotDetails; - } - export interface GetStageDeploymentRequest { - /** - * The identifier of the stage deployment. StartStageDeployment returns the identifier that you use here. - */ - DeploymentId?: DeploymentId; - /** - * The name of the game. - */ - GameName: GameName; - /** - * The name of the stage. - */ - StageName: StageName; - } - export interface GetStageDeploymentResult { - /** - * Properties that provide details of the stage deployment. - */ - StageDeployment?: StageDeploymentDetails; - } - export interface GetStageRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The name of the stage. - */ - StageName: StageName; - } - export interface GetStageResult { - /** - * Properties that provide details of the stage. - */ - Stage?: StageDetails; - } - export interface ImportGameConfigurationRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The source used to import configuration sections. - */ - ImportSource: ImportGameConfigurationSource; - } - export interface ImportGameConfigurationResult { - /** - * Details about the game configuration. - */ - GameConfiguration?: GameConfigurationDetails; - } - export interface ImportGameConfigurationSource { - /** - * The JSON string containing the configuration sections. - */ - File: RawGameConfigurationData; - } - export type Language = string; - export interface ListExtensionVersionsRequest { - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The name of the extension. - */ - Name: ExtensionName; - /** - * The namespace (qualifier) of the extension. - */ - Namespace: ExtensionNamespace; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - } - export interface ListExtensionVersionsResult { - /** - * The list of extension versions. - */ - ExtensionVersions?: ExtensionVersionDetailsList; - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - } - export interface ListExtensionsRequest { - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - } - export interface ListExtensionsResult { - /** - * The list of extensions. - */ - Extensions?: ExtensionDetailsList; - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - } - export interface ListGamesRequest { - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - } - export interface ListGamesResult { - /** - * The list of games. - */ - Games?: GameSummaryList; - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - } - export interface ListGeneratedCodeJobsRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - /** - * The identifier of the snapshot. - */ - SnapshotId: SnapshotId; - } - export interface ListGeneratedCodeJobsResult { - /** - * The list of generated code jobs. - */ - GeneratedCodeJobs?: GeneratedCodeJobDetailsList; - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - } - export interface ListSnapshotsRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - } - export interface ListSnapshotsResult { - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - /** - * A list of snapshot summaries. You can use the returned snapshot IDs in the UpdateSnapshot and GetSnapshot operations. - */ - Snapshots?: SnapshotSummaryList; - } - export interface ListStageDeploymentsRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - /** - * The name of the stage. - */ - StageName: StageName; - } - export interface ListStageDeploymentsResult { - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - /** - * A list of stage deployment summaries. You can use the deployment IDs in the UpdateStageDeployment and GetStageDeployment actions. - */ - StageDeployments?: StageDeploymentList; - } - export interface ListStagesRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages. - */ - MaxResults?: MaxResults; - /** - * The token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value. - */ - NextToken?: NextToken; - } - export interface ListStagesResult { - /** - * The token that indicates the start of the next sequential page of results. Use this value when making the next call to this operation to continue where the last one finished. - */ - NextToken?: NextToken; - /** - * A list of stage summaries. You can use the stage names in the UpdateStage and GetStage actions. - */ - Stages?: StageSummaryList; - } - export interface ListTagsForResourceRequest { - /** - * The Amazon Resource Name (ARN) of the GameSparks resource. - */ - ResourceArn: ResourceArn; - } - export interface ListTagsForResourceResult { - /** - * The tags associated with the resource. - */ - tags?: TagMap; - } - export type LogGroupName = string; - export type MaxResults = number; - export type Message = string; - export type NextToken = string; - export type Operation = "ADD"|"REMOVE"|"REPLACE"|string; - export type Path = string; - export type PlayerId = string; - export type RawGameConfigurationData = Buffer|Uint8Array|Blob|string; - export type ResourceArn = string; - export type ResultCode = "SUCCESS"|"INVALID_ROLE_FAILURE"|"UNSPECIFIED_FAILURE"|string; - export type RoleARN = string; - export type S3PresignedUrl = string; - export interface Section { - /** - * The content of a configuration section. - */ - Attributes?: Document; - /** - * The name of the section. - */ - Name?: SectionName; - /** - * The size, in bytes, of the section contents. - */ - Size?: ByteSize; - } - export type SectionList = SectionName[]; - export interface SectionModification { - /** - * The operation to be performed on a configuration section. Content can be added, deleted, or replaced within a section. - */ - Operation: Operation; - /** - * The path within the section content to be modified. - */ - Path: Path; - /** - * The name of the section to be modified. - */ - Section: SectionName; - /** - * For add and replace operations, this is the value that will be used. This field should be omitted for delete operations. - */ - Value?: Document; - } - export type SectionModificationList = SectionModification[]; - export type SectionName = string; - export type Sections = {[key: string]: Section}; - export type SnapshotDescription = string; - export interface SnapshotDetails { - /** - * The timestamp of when the snapshot was created. - */ - Created?: DateTime; - /** - * The description of the snapshot. - */ - Description?: SnapshotDescription; - /** - * The identifier of the snapshot. - */ - Id?: SnapshotId; - /** - * The timestamp of when the snapshot was last updated. - */ - LastUpdated?: DateTime; - /** - * The sections in the snapshot. - */ - Sections?: Sections; - } - export type SnapshotId = string; - export interface SnapshotSummary { - /** - * The timestamp of when the snapshot was created. - */ - Created?: DateTime; - /** - * The description of the snapshot. - */ - Description?: SnapshotDescription; - /** - * The identifier of the snapshot. - */ - Id?: SnapshotId; - /** - * Then timestamp of when the snapshot was last updated. - */ - LastUpdated?: DateTime; - } - export type SnapshotSummaryList = SnapshotSummary[]; - export interface StageDeploymentDetails { - /** - * The timestamp of when the stage deployment was created. - */ - Created?: DateTime; - /** - * The type of action of the stage deployment. - */ - DeploymentAction?: DeploymentAction; - /** - * The identifier of the deployment. - */ - DeploymentId?: DeploymentId; - /** - * The result of the deployment. - */ - DeploymentResult?: DeploymentResult; - /** - * The state of the deployment. - */ - DeploymentState?: DeploymentState; - /** - * The timestamp of when the deployment was last updated. - */ - LastUpdated?: DateTime; - /** - * The identifier of the snapshot associated with the stage deployment. - */ - SnapshotId?: SnapshotId; - } - export type StageDeploymentList = StageDeploymentSummary[]; - export interface StageDeploymentSummary { - /** - * The type of action of the deployment. - */ - DeploymentAction?: DeploymentAction; - /** - * The identifier of the deployment. - */ - DeploymentId?: DeploymentId; - /** - * The result of the deployment. - */ - DeploymentResult?: DeploymentResult; - /** - * The state of the deployment. - */ - DeploymentState?: DeploymentState; - /** - * The timestamp of when the deployment was last updated. - */ - LastUpdated?: DateTime; - /** - * The identifier of the snapshot associated with the stage deployment. - */ - SnapshotId?: SnapshotId; - } - export type StageDescription = string; - export interface StageDetails { - /** - * The Amazon Resource Name (ARN) of the stage. - */ - Arn?: ARN; - /** - * The timestamp of when the stage was created. - */ - Created?: DateTime; - /** - * The description of the stage. - */ - Description?: StageDescription; - /** - * The game key associated with the stage. The game key is a unique identifier that the game client uses to connect to the GameSparks backend. - */ - GameKey?: GameKey; - /** - * The timestamp of when the stage was last updated. - */ - LastUpdated?: DateTime; - /** - * The Amazon CloudWatch log group for game runtimes deployed to the stage. - */ - LogGroup?: LogGroupName; - /** - * The name of the stage. - */ - Name?: StageName; - /** - * The Amazon Resource Name (ARN) of the role used to run the game runtimes deployed to the stage. - */ - Role?: RoleARN; - /** - * The state of the stage. - */ - State?: StageState; - /** - * The tags associated with the stage. - */ - Tags?: TagMap; - } - export type StageName = string; - export type StageState = "ACTIVE"|"DELETING"|string; - export interface StageSummary { - /** - * The description of the stage. - */ - Description?: StageDescription; - /** - * The game key associated with the stage. The game key is a unique identifier that the game client uses to connect to the GameSparks backend. - */ - GameKey?: GameKey; - /** - * The name of the stage. - */ - Name?: StageName; - /** - * The state of the stage. - */ - State?: StageState; - /** - * The tags associated with the stage. - */ - Tags?: TagMap; - } - export type StageSummaryList = StageSummary[]; - export interface StartGeneratedCodeJobRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * Properties of the generator to use for the job. - */ - Generator: Generator; - /** - * The identifier of the snapshot for which to generate code. - */ - SnapshotId: SnapshotId; - } - export interface StartGeneratedCodeJobResult { - /** - * The identifier of the code generation job. You can use this identifier in the GetGeneratedCodeJob operation. - */ - GeneratedCodeJobId?: GeneratedCodeJobId; - } - export interface StartStageDeploymentRequest { - /** - * A client-defined token. With an active client token in the request, this action is idempotent. - */ - ClientToken?: ClientToken; - /** - * The name of the game. - */ - GameName: GameName; - /** - * The identifier of the snapshot to deploy. - */ - SnapshotId: SnapshotId; - /** - * The name of the stage to deploy the snapshot onto. - */ - StageName: StageName; - } - export interface StartStageDeploymentResult { - /** - * Properties that describe the stage deployment. - */ - StageDeployment?: StageDeploymentDetails; - } - export type TagKey = string; - export type TagKeyList = TagKey[]; - export type TagMap = {[key: string]: TagValue}; - export interface TagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource to add the tags to. - */ - ResourceArn: ResourceArn; - /** - * The tags to add to the resource. - */ - tags: TagMap; - } - export interface TagResourceResult { - } - export type TagValue = string; - export type TargetPlatform = string; - export interface UntagResourceRequest { - /** - * The Amazon Resource Name (ARN) of the resource to remove the tags from. - */ - ResourceArn: ResourceArn; - /** - * The keys of the tags to remove. - */ - tagKeys: TagKeyList; - } - export interface UntagResourceResult { - } - export interface UpdateGameConfigurationRequest { - /** - * The name of the game. - */ - GameName: GameName; - /** - * The list of modifications to make. - */ - Modifications: SectionModificationList; - } - export interface UpdateGameConfigurationResult { - /** - * Details about the game configuration. - */ - GameConfiguration?: GameConfigurationDetails; - } - export interface UpdateGameRequest { - /** - * The description of the game. - */ - Description?: GameDescription; - /** - * The name of the game. - */ - GameName: GameName; - } - export interface UpdateGameResult { - /** - * The details of the game. - */ - Game?: GameDetails; - } - export interface UpdateSnapshotRequest { - /** - * The description of the snapshot. - */ - Description?: SnapshotDescription; - /** - * The name of the game. - */ - GameName: GameName; - /** - * The identifier of the snapshot. - */ - SnapshotId: SnapshotId; - } - export interface UpdateSnapshotResult { - /** - * Properties that provide details of the updated snapshot. - */ - Snapshot?: SnapshotDetails; - } - export interface UpdateStageRequest { - /** - * The description of the stage. - */ - Description?: StageDescription; - /** - * The name of the game. - */ - GameName: GameName; - /** - * The Amazon Resource Name (ARN) of the role to use for the game snapshots deployed to this stage. - */ - Role?: RoleARN; - /** - * The name of the stage. - */ - StageName: StageName; - } - export interface UpdateStageResult { - /** - * Properties that provide details of the updated stage. - */ - Stage?: StageDetails; - } - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - export type apiVersion = "2021-08-17"|"latest"|string; - export interface ClientApiVersions { - /** - * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. - */ - apiVersion?: apiVersion; - } - export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions; - /** - * Contains interfaces for use with the GameSparks client. - */ - export import Types = GameSparks; -} -export = GameSparks; diff --git a/clients/gamesparks.js b/clients/gamesparks.js deleted file mode 100644 index e8d7c42d23..0000000000 --- a/clients/gamesparks.js +++ /dev/null @@ -1,18 +0,0 @@ -require('../lib/node_loader'); -var AWS = require('../lib/core'); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['gamesparks'] = {}; -AWS.GameSparks = Service.defineService('gamesparks', ['2021-08-17']); -Object.defineProperty(apiLoader.services['gamesparks'], '2021-08-17', { - get: function get() { - var model = require('../apis/gamesparks-2021-08-17.min.json'); - model.paginators = require('../apis/gamesparks-2021-08-17.paginators.json').pagination; - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GameSparks; diff --git a/lib/config_service_placeholders.d.ts b/lib/config_service_placeholders.d.ts index 2454d38c31..ffe70c7d42 100644 --- a/lib/config_service_placeholders.d.ts +++ b/lib/config_service_placeholders.d.ts @@ -302,7 +302,6 @@ export abstract class ConfigurationServicePlaceholders { amplifyuibuilder?: AWS.AmplifyUIBuilder.Types.ClientConfiguration; keyspaces?: AWS.Keyspaces.Types.ClientConfiguration; billingconductor?: AWS.Billingconductor.Types.ClientConfiguration; - gamesparks?: AWS.GameSparks.Types.ClientConfiguration; pinpointsmsvoicev2?: AWS.PinpointSMSVoiceV2.Types.ClientConfiguration; ivschat?: AWS.Ivschat.Types.ClientConfiguration; chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.ClientConfiguration; @@ -663,7 +662,6 @@ export interface ConfigurationServiceApiVersions { amplifyuibuilder?: AWS.AmplifyUIBuilder.Types.apiVersion; keyspaces?: AWS.Keyspaces.Types.apiVersion; billingconductor?: AWS.Billingconductor.Types.apiVersion; - gamesparks?: AWS.GameSparks.Types.apiVersion; pinpointsmsvoicev2?: AWS.PinpointSMSVoiceV2.Types.apiVersion; ivschat?: AWS.Ivschat.Types.apiVersion; chimesdkmediapipelines?: AWS.ChimeSDKMediaPipelines.Types.apiVersion;