@aws-sdk/client-gamelift 3.927.0 → 3.928.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3736 -4924
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/GameLiftClient.js +2 -0
- package/dist-es/commands/AcceptMatchCommand.js +3 -10
- package/dist-es/commands/ClaimGameServerCommand.js +3 -9
- package/dist-es/commands/CreateAliasCommand.js +3 -9
- package/dist-es/commands/CreateBuildCommand.js +3 -10
- package/dist-es/commands/CreateContainerFleetCommand.js +3 -10
- package/dist-es/commands/CreateContainerGroupDefinitionCommand.js +3 -10
- package/dist-es/commands/CreateFleetCommand.js +3 -10
- package/dist-es/commands/CreateFleetLocationsCommand.js +3 -9
- package/dist-es/commands/CreateGameServerGroupCommand.js +3 -9
- package/dist-es/commands/CreateGameSessionCommand.js +3 -10
- package/dist-es/commands/CreateGameSessionQueueCommand.js +3 -9
- package/dist-es/commands/CreateLocationCommand.js +3 -9
- package/dist-es/commands/CreateMatchmakingConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateMatchmakingRuleSetCommand.js +3 -9
- package/dist-es/commands/CreatePlayerSessionCommand.js +3 -10
- package/dist-es/commands/CreatePlayerSessionsCommand.js +3 -10
- package/dist-es/commands/CreateScriptCommand.js +3 -9
- package/dist-es/commands/CreateVpcPeeringAuthorizationCommand.js +3 -9
- package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteAliasCommand.js +3 -9
- package/dist-es/commands/DeleteBuildCommand.js +3 -9
- package/dist-es/commands/DeleteContainerFleetCommand.js +3 -9
- package/dist-es/commands/DeleteContainerGroupDefinitionCommand.js +3 -9
- package/dist-es/commands/DeleteFleetCommand.js +3 -9
- package/dist-es/commands/DeleteFleetLocationsCommand.js +3 -9
- package/dist-es/commands/DeleteGameServerGroupCommand.js +3 -9
- package/dist-es/commands/DeleteGameSessionQueueCommand.js +3 -9
- package/dist-es/commands/DeleteLocationCommand.js +3 -9
- package/dist-es/commands/DeleteMatchmakingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteMatchmakingRuleSetCommand.js +3 -9
- package/dist-es/commands/DeleteScalingPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteScriptCommand.js +3 -9
- package/dist-es/commands/DeleteVpcPeeringAuthorizationCommand.js +3 -9
- package/dist-es/commands/DeleteVpcPeeringConnectionCommand.js +3 -9
- package/dist-es/commands/DeregisterComputeCommand.js +3 -9
- package/dist-es/commands/DeregisterGameServerCommand.js +3 -9
- package/dist-es/commands/DescribeAliasCommand.js +3 -9
- package/dist-es/commands/DescribeBuildCommand.js +3 -9
- package/dist-es/commands/DescribeComputeCommand.js +3 -10
- package/dist-es/commands/DescribeContainerFleetCommand.js +3 -10
- package/dist-es/commands/DescribeContainerGroupDefinitionCommand.js +3 -10
- package/dist-es/commands/DescribeEC2InstanceLimitsCommand.js +3 -9
- package/dist-es/commands/DescribeFleetAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeFleetCapacityCommand.js +3 -9
- package/dist-es/commands/DescribeFleetDeploymentCommand.js +3 -9
- package/dist-es/commands/DescribeFleetEventsCommand.js +3 -9
- package/dist-es/commands/DescribeFleetLocationAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeFleetLocationCapacityCommand.js +3 -9
- package/dist-es/commands/DescribeFleetLocationUtilizationCommand.js +3 -9
- package/dist-es/commands/DescribeFleetPortSettingsCommand.js +3 -10
- package/dist-es/commands/DescribeFleetUtilizationCommand.js +3 -9
- package/dist-es/commands/DescribeGameServerCommand.js +3 -9
- package/dist-es/commands/DescribeGameServerGroupCommand.js +3 -9
- package/dist-es/commands/DescribeGameServerInstancesCommand.js +3 -9
- package/dist-es/commands/DescribeGameSessionDetailsCommand.js +3 -10
- package/dist-es/commands/DescribeGameSessionPlacementCommand.js +3 -10
- package/dist-es/commands/DescribeGameSessionQueuesCommand.js +3 -9
- package/dist-es/commands/DescribeGameSessionsCommand.js +3 -10
- package/dist-es/commands/DescribeInstancesCommand.js +3 -10
- package/dist-es/commands/DescribeMatchmakingCommand.js +3 -10
- package/dist-es/commands/DescribeMatchmakingConfigurationsCommand.js +3 -9
- package/dist-es/commands/DescribeMatchmakingRuleSetsCommand.js +3 -9
- package/dist-es/commands/DescribePlayerSessionsCommand.js +3 -10
- package/dist-es/commands/DescribeRuntimeConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeScalingPoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeScriptCommand.js +3 -9
- package/dist-es/commands/DescribeVpcPeeringAuthorizationsCommand.js +3 -9
- package/dist-es/commands/DescribeVpcPeeringConnectionsCommand.js +3 -9
- package/dist-es/commands/GetComputeAccessCommand.js +3 -10
- package/dist-es/commands/GetComputeAuthTokenCommand.js +3 -9
- package/dist-es/commands/GetGameSessionLogUrlCommand.js +3 -9
- package/dist-es/commands/GetInstanceAccessCommand.js +3 -10
- package/dist-es/commands/ListAliasesCommand.js +3 -9
- package/dist-es/commands/ListBuildsCommand.js +3 -9
- package/dist-es/commands/ListComputeCommand.js +3 -10
- package/dist-es/commands/ListContainerFleetsCommand.js +3 -10
- package/dist-es/commands/ListContainerGroupDefinitionVersionsCommand.js +3 -10
- package/dist-es/commands/ListContainerGroupDefinitionsCommand.js +3 -10
- package/dist-es/commands/ListFleetDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListFleetsCommand.js +3 -9
- package/dist-es/commands/ListGameServerGroupsCommand.js +3 -9
- package/dist-es/commands/ListGameServersCommand.js +3 -9
- package/dist-es/commands/ListLocationsCommand.js +3 -9
- package/dist-es/commands/ListScriptsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutScalingPolicyCommand.js +3 -9
- package/dist-es/commands/RegisterComputeCommand.js +3 -10
- package/dist-es/commands/RegisterGameServerCommand.js +3 -9
- package/dist-es/commands/RequestUploadCredentialsCommand.js +3 -10
- package/dist-es/commands/ResolveAliasCommand.js +3 -9
- package/dist-es/commands/ResumeGameServerGroupCommand.js +3 -9
- package/dist-es/commands/SearchGameSessionsCommand.js +3 -10
- package/dist-es/commands/StartFleetActionsCommand.js +3 -9
- package/dist-es/commands/StartGameSessionPlacementCommand.js +3 -10
- package/dist-es/commands/StartMatchBackfillCommand.js +3 -10
- package/dist-es/commands/StartMatchmakingCommand.js +3 -10
- package/dist-es/commands/StopFleetActionsCommand.js +3 -9
- package/dist-es/commands/StopGameSessionPlacementCommand.js +3 -10
- package/dist-es/commands/StopMatchmakingCommand.js +3 -9
- package/dist-es/commands/SuspendGameServerGroupCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TerminateGameSessionCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAliasCommand.js +3 -9
- package/dist-es/commands/UpdateBuildCommand.js +3 -9
- package/dist-es/commands/UpdateContainerFleetCommand.js +3 -10
- package/dist-es/commands/UpdateContainerGroupDefinitionCommand.js +3 -10
- package/dist-es/commands/UpdateFleetAttributesCommand.js +3 -9
- package/dist-es/commands/UpdateFleetCapacityCommand.js +3 -9
- package/dist-es/commands/UpdateFleetPortSettingsCommand.js +3 -10
- package/dist-es/commands/UpdateGameServerCommand.js +3 -9
- package/dist-es/commands/UpdateGameServerGroupCommand.js +3 -9
- package/dist-es/commands/UpdateGameSessionCommand.js +3 -10
- package/dist-es/commands/UpdateGameSessionQueueCommand.js +3 -9
- package/dist-es/commands/UpdateMatchmakingConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateRuntimeConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateScriptCommand.js +3 -9
- package/dist-es/commands/ValidateMatchmakingRuleSetCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -252
- package/dist-es/models/models_1.js +0 -110
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +3463 -0
- package/dist-types/GameLiftClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -204
- package/dist-types/models/models_1.d.ts +0 -88
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +537 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -143
- package/dist-types/ts3.4/models/models_1.d.ts +0 -66
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +544 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -3610
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -1064
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1421
|
@@ -1,3610 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { GameLiftServiceException as __BaseException } from "../models/GameLiftServiceException";
|
|
5
|
-
import { ConflictException, FleetCapacityExceededException, GameSessionFullException, IdempotentParameterMismatchException, InternalServiceException, InvalidFleetStatusException, InvalidGameSessionStatusException, InvalidRequestException, LimitExceededException, NotFoundException, NotReadyException, OutOfCapacityException, TaggingFailedException, TerminalRoutingStrategyException, UnauthorizedException, UnsupportedRegionException, } from "../models/models_0";
|
|
6
|
-
export const se_AcceptMatchCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("AcceptMatch");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_ClaimGameServerCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("ClaimGameServer");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_CreateAliasCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("CreateAlias");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_CreateBuildCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("CreateBuild");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateContainerFleetCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("CreateContainerFleet");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateContainerGroupDefinitionCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("CreateContainerGroupDefinition");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(se_CreateContainerGroupDefinitionInput(input, context));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_CreateFleetCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("CreateFleet");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_CreateFleetLocationsCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("CreateFleetLocations");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_CreateGameServerGroupCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("CreateGameServerGroup");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(se_CreateGameServerGroupInput(input, context));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_CreateGameSessionCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("CreateGameSession");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(_json(input));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_CreateGameSessionQueueCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("CreateGameSessionQueue");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_CreateLocationCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("CreateLocation");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_CreateMatchmakingConfigurationCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("CreateMatchmakingConfiguration");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(_json(input));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_CreateMatchmakingRuleSetCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("CreateMatchmakingRuleSet");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(_json(input));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_CreatePlayerSessionCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("CreatePlayerSession");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_CreatePlayerSessionsCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("CreatePlayerSessions");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_CreateScriptCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("CreateScript");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(se_CreateScriptInput(input, context));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_CreateVpcPeeringAuthorizationCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("CreateVpcPeeringAuthorization");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_CreateVpcPeeringConnectionCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("CreateVpcPeeringConnection");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
|
-
};
|
|
120
|
-
export const se_DeleteAliasCommand = async (input, context) => {
|
|
121
|
-
const headers = sharedHeaders("DeleteAlias");
|
|
122
|
-
let body;
|
|
123
|
-
body = JSON.stringify(_json(input));
|
|
124
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
-
};
|
|
126
|
-
export const se_DeleteBuildCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("DeleteBuild");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_DeleteContainerFleetCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("DeleteContainerFleet");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(_json(input));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_DeleteContainerGroupDefinitionCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("DeleteContainerGroupDefinition");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_DeleteFleetCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("DeleteFleet");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_DeleteFleetLocationsCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("DeleteFleetLocations");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_DeleteGameServerGroupCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("DeleteGameServerGroup");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_DeleteGameSessionQueueCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("DeleteGameSessionQueue");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_DeleteLocationCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("DeleteLocation");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_DeleteMatchmakingConfigurationCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("DeleteMatchmakingConfiguration");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_DeleteMatchmakingRuleSetCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("DeleteMatchmakingRuleSet");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_DeleteScalingPolicyCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("DeleteScalingPolicy");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_DeleteScriptCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("DeleteScript");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_DeleteVpcPeeringAuthorizationCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("DeleteVpcPeeringAuthorization");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_DeleteVpcPeeringConnectionCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("DeleteVpcPeeringConnection");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(_json(input));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_DeregisterComputeCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("DeregisterCompute");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(_json(input));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_DeregisterGameServerCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("DeregisterGameServer");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(_json(input));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_DescribeAliasCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("DescribeAlias");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const se_DescribeBuildCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("DescribeBuild");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(_json(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
export const se_DescribeComputeCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("DescribeCompute");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(_json(input));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
|
-
};
|
|
240
|
-
export const se_DescribeContainerFleetCommand = async (input, context) => {
|
|
241
|
-
const headers = sharedHeaders("DescribeContainerFleet");
|
|
242
|
-
let body;
|
|
243
|
-
body = JSON.stringify(_json(input));
|
|
244
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
-
};
|
|
246
|
-
export const se_DescribeContainerGroupDefinitionCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("DescribeContainerGroupDefinition");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(_json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
export const se_DescribeEC2InstanceLimitsCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("DescribeEC2InstanceLimits");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(_json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
export const se_DescribeFleetAttributesCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("DescribeFleetAttributes");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(_json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
export const se_DescribeFleetCapacityCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("DescribeFleetCapacity");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(_json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
export const se_DescribeFleetDeploymentCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("DescribeFleetDeployment");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(_json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
export const se_DescribeFleetEventsCommand = async (input, context) => {
|
|
277
|
-
const headers = sharedHeaders("DescribeFleetEvents");
|
|
278
|
-
let body;
|
|
279
|
-
body = JSON.stringify(se_DescribeFleetEventsInput(input, context));
|
|
280
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
|
-
};
|
|
282
|
-
export const se_DescribeFleetLocationAttributesCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("DescribeFleetLocationAttributes");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify(_json(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
export const se_DescribeFleetLocationCapacityCommand = async (input, context) => {
|
|
289
|
-
const headers = sharedHeaders("DescribeFleetLocationCapacity");
|
|
290
|
-
let body;
|
|
291
|
-
body = JSON.stringify(_json(input));
|
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
|
-
};
|
|
294
|
-
export const se_DescribeFleetLocationUtilizationCommand = async (input, context) => {
|
|
295
|
-
const headers = sharedHeaders("DescribeFleetLocationUtilization");
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(_json(input));
|
|
298
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
-
};
|
|
300
|
-
export const se_DescribeFleetPortSettingsCommand = async (input, context) => {
|
|
301
|
-
const headers = sharedHeaders("DescribeFleetPortSettings");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(_json(input));
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
export const se_DescribeFleetUtilizationCommand = async (input, context) => {
|
|
307
|
-
const headers = sharedHeaders("DescribeFleetUtilization");
|
|
308
|
-
let body;
|
|
309
|
-
body = JSON.stringify(_json(input));
|
|
310
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
-
};
|
|
312
|
-
export const se_DescribeGameServerCommand = async (input, context) => {
|
|
313
|
-
const headers = sharedHeaders("DescribeGameServer");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(_json(input));
|
|
316
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
|
-
};
|
|
318
|
-
export const se_DescribeGameServerGroupCommand = async (input, context) => {
|
|
319
|
-
const headers = sharedHeaders("DescribeGameServerGroup");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(_json(input));
|
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
|
-
};
|
|
324
|
-
export const se_DescribeGameServerInstancesCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("DescribeGameServerInstances");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify(_json(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
export const se_DescribeGameSessionDetailsCommand = async (input, context) => {
|
|
331
|
-
const headers = sharedHeaders("DescribeGameSessionDetails");
|
|
332
|
-
let body;
|
|
333
|
-
body = JSON.stringify(_json(input));
|
|
334
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
-
};
|
|
336
|
-
export const se_DescribeGameSessionPlacementCommand = async (input, context) => {
|
|
337
|
-
const headers = sharedHeaders("DescribeGameSessionPlacement");
|
|
338
|
-
let body;
|
|
339
|
-
body = JSON.stringify(_json(input));
|
|
340
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
-
};
|
|
342
|
-
export const se_DescribeGameSessionQueuesCommand = async (input, context) => {
|
|
343
|
-
const headers = sharedHeaders("DescribeGameSessionQueues");
|
|
344
|
-
let body;
|
|
345
|
-
body = JSON.stringify(_json(input));
|
|
346
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
-
};
|
|
348
|
-
export const se_DescribeGameSessionsCommand = async (input, context) => {
|
|
349
|
-
const headers = sharedHeaders("DescribeGameSessions");
|
|
350
|
-
let body;
|
|
351
|
-
body = JSON.stringify(_json(input));
|
|
352
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
|
-
};
|
|
354
|
-
export const se_DescribeInstancesCommand = async (input, context) => {
|
|
355
|
-
const headers = sharedHeaders("DescribeInstances");
|
|
356
|
-
let body;
|
|
357
|
-
body = JSON.stringify(_json(input));
|
|
358
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
|
-
};
|
|
360
|
-
export const se_DescribeMatchmakingCommand = async (input, context) => {
|
|
361
|
-
const headers = sharedHeaders("DescribeMatchmaking");
|
|
362
|
-
let body;
|
|
363
|
-
body = JSON.stringify(_json(input));
|
|
364
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
|
-
};
|
|
366
|
-
export const se_DescribeMatchmakingConfigurationsCommand = async (input, context) => {
|
|
367
|
-
const headers = sharedHeaders("DescribeMatchmakingConfigurations");
|
|
368
|
-
let body;
|
|
369
|
-
body = JSON.stringify(_json(input));
|
|
370
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
371
|
-
};
|
|
372
|
-
export const se_DescribeMatchmakingRuleSetsCommand = async (input, context) => {
|
|
373
|
-
const headers = sharedHeaders("DescribeMatchmakingRuleSets");
|
|
374
|
-
let body;
|
|
375
|
-
body = JSON.stringify(_json(input));
|
|
376
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
377
|
-
};
|
|
378
|
-
export const se_DescribePlayerSessionsCommand = async (input, context) => {
|
|
379
|
-
const headers = sharedHeaders("DescribePlayerSessions");
|
|
380
|
-
let body;
|
|
381
|
-
body = JSON.stringify(_json(input));
|
|
382
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
|
-
};
|
|
384
|
-
export const se_DescribeRuntimeConfigurationCommand = async (input, context) => {
|
|
385
|
-
const headers = sharedHeaders("DescribeRuntimeConfiguration");
|
|
386
|
-
let body;
|
|
387
|
-
body = JSON.stringify(_json(input));
|
|
388
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
|
-
};
|
|
390
|
-
export const se_DescribeScalingPoliciesCommand = async (input, context) => {
|
|
391
|
-
const headers = sharedHeaders("DescribeScalingPolicies");
|
|
392
|
-
let body;
|
|
393
|
-
body = JSON.stringify(_json(input));
|
|
394
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
395
|
-
};
|
|
396
|
-
export const se_DescribeScriptCommand = async (input, context) => {
|
|
397
|
-
const headers = sharedHeaders("DescribeScript");
|
|
398
|
-
let body;
|
|
399
|
-
body = JSON.stringify(_json(input));
|
|
400
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
|
-
};
|
|
402
|
-
export const se_DescribeVpcPeeringAuthorizationsCommand = async (input, context) => {
|
|
403
|
-
const headers = sharedHeaders("DescribeVpcPeeringAuthorizations");
|
|
404
|
-
let body;
|
|
405
|
-
body = JSON.stringify(_json(input));
|
|
406
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
|
-
};
|
|
408
|
-
export const se_DescribeVpcPeeringConnectionsCommand = async (input, context) => {
|
|
409
|
-
const headers = sharedHeaders("DescribeVpcPeeringConnections");
|
|
410
|
-
let body;
|
|
411
|
-
body = JSON.stringify(_json(input));
|
|
412
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
413
|
-
};
|
|
414
|
-
export const se_GetComputeAccessCommand = async (input, context) => {
|
|
415
|
-
const headers = sharedHeaders("GetComputeAccess");
|
|
416
|
-
let body;
|
|
417
|
-
body = JSON.stringify(_json(input));
|
|
418
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
|
-
};
|
|
420
|
-
export const se_GetComputeAuthTokenCommand = async (input, context) => {
|
|
421
|
-
const headers = sharedHeaders("GetComputeAuthToken");
|
|
422
|
-
let body;
|
|
423
|
-
body = JSON.stringify(_json(input));
|
|
424
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
|
-
};
|
|
426
|
-
export const se_GetGameSessionLogUrlCommand = async (input, context) => {
|
|
427
|
-
const headers = sharedHeaders("GetGameSessionLogUrl");
|
|
428
|
-
let body;
|
|
429
|
-
body = JSON.stringify(_json(input));
|
|
430
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
|
-
};
|
|
432
|
-
export const se_GetInstanceAccessCommand = async (input, context) => {
|
|
433
|
-
const headers = sharedHeaders("GetInstanceAccess");
|
|
434
|
-
let body;
|
|
435
|
-
body = JSON.stringify(_json(input));
|
|
436
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
|
-
};
|
|
438
|
-
export const se_ListAliasesCommand = async (input, context) => {
|
|
439
|
-
const headers = sharedHeaders("ListAliases");
|
|
440
|
-
let body;
|
|
441
|
-
body = JSON.stringify(_json(input));
|
|
442
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
443
|
-
};
|
|
444
|
-
export const se_ListBuildsCommand = async (input, context) => {
|
|
445
|
-
const headers = sharedHeaders("ListBuilds");
|
|
446
|
-
let body;
|
|
447
|
-
body = JSON.stringify(_json(input));
|
|
448
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
|
-
};
|
|
450
|
-
export const se_ListComputeCommand = async (input, context) => {
|
|
451
|
-
const headers = sharedHeaders("ListCompute");
|
|
452
|
-
let body;
|
|
453
|
-
body = JSON.stringify(_json(input));
|
|
454
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
455
|
-
};
|
|
456
|
-
export const se_ListContainerFleetsCommand = async (input, context) => {
|
|
457
|
-
const headers = sharedHeaders("ListContainerFleets");
|
|
458
|
-
let body;
|
|
459
|
-
body = JSON.stringify(_json(input));
|
|
460
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
461
|
-
};
|
|
462
|
-
export const se_ListContainerGroupDefinitionsCommand = async (input, context) => {
|
|
463
|
-
const headers = sharedHeaders("ListContainerGroupDefinitions");
|
|
464
|
-
let body;
|
|
465
|
-
body = JSON.stringify(_json(input));
|
|
466
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
467
|
-
};
|
|
468
|
-
export const se_ListContainerGroupDefinitionVersionsCommand = async (input, context) => {
|
|
469
|
-
const headers = sharedHeaders("ListContainerGroupDefinitionVersions");
|
|
470
|
-
let body;
|
|
471
|
-
body = JSON.stringify(_json(input));
|
|
472
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
|
-
};
|
|
474
|
-
export const se_ListFleetDeploymentsCommand = async (input, context) => {
|
|
475
|
-
const headers = sharedHeaders("ListFleetDeployments");
|
|
476
|
-
let body;
|
|
477
|
-
body = JSON.stringify(_json(input));
|
|
478
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
479
|
-
};
|
|
480
|
-
export const se_ListFleetsCommand = async (input, context) => {
|
|
481
|
-
const headers = sharedHeaders("ListFleets");
|
|
482
|
-
let body;
|
|
483
|
-
body = JSON.stringify(_json(input));
|
|
484
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
|
-
};
|
|
486
|
-
export const se_ListGameServerGroupsCommand = async (input, context) => {
|
|
487
|
-
const headers = sharedHeaders("ListGameServerGroups");
|
|
488
|
-
let body;
|
|
489
|
-
body = JSON.stringify(_json(input));
|
|
490
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
491
|
-
};
|
|
492
|
-
export const se_ListGameServersCommand = async (input, context) => {
|
|
493
|
-
const headers = sharedHeaders("ListGameServers");
|
|
494
|
-
let body;
|
|
495
|
-
body = JSON.stringify(_json(input));
|
|
496
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
|
-
};
|
|
498
|
-
export const se_ListLocationsCommand = async (input, context) => {
|
|
499
|
-
const headers = sharedHeaders("ListLocations");
|
|
500
|
-
let body;
|
|
501
|
-
body = JSON.stringify(_json(input));
|
|
502
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
503
|
-
};
|
|
504
|
-
export const se_ListScriptsCommand = async (input, context) => {
|
|
505
|
-
const headers = sharedHeaders("ListScripts");
|
|
506
|
-
let body;
|
|
507
|
-
body = JSON.stringify(_json(input));
|
|
508
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
|
-
};
|
|
510
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
511
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
512
|
-
let body;
|
|
513
|
-
body = JSON.stringify(_json(input));
|
|
514
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
515
|
-
};
|
|
516
|
-
export const se_PutScalingPolicyCommand = async (input, context) => {
|
|
517
|
-
const headers = sharedHeaders("PutScalingPolicy");
|
|
518
|
-
let body;
|
|
519
|
-
body = JSON.stringify(se_PutScalingPolicyInput(input, context));
|
|
520
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
521
|
-
};
|
|
522
|
-
export const se_RegisterComputeCommand = async (input, context) => {
|
|
523
|
-
const headers = sharedHeaders("RegisterCompute");
|
|
524
|
-
let body;
|
|
525
|
-
body = JSON.stringify(_json(input));
|
|
526
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
527
|
-
};
|
|
528
|
-
export const se_RegisterGameServerCommand = async (input, context) => {
|
|
529
|
-
const headers = sharedHeaders("RegisterGameServer");
|
|
530
|
-
let body;
|
|
531
|
-
body = JSON.stringify(_json(input));
|
|
532
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
533
|
-
};
|
|
534
|
-
export const se_RequestUploadCredentialsCommand = async (input, context) => {
|
|
535
|
-
const headers = sharedHeaders("RequestUploadCredentials");
|
|
536
|
-
let body;
|
|
537
|
-
body = JSON.stringify(_json(input));
|
|
538
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
539
|
-
};
|
|
540
|
-
export const se_ResolveAliasCommand = async (input, context) => {
|
|
541
|
-
const headers = sharedHeaders("ResolveAlias");
|
|
542
|
-
let body;
|
|
543
|
-
body = JSON.stringify(_json(input));
|
|
544
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
|
-
};
|
|
546
|
-
export const se_ResumeGameServerGroupCommand = async (input, context) => {
|
|
547
|
-
const headers = sharedHeaders("ResumeGameServerGroup");
|
|
548
|
-
let body;
|
|
549
|
-
body = JSON.stringify(_json(input));
|
|
550
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
551
|
-
};
|
|
552
|
-
export const se_SearchGameSessionsCommand = async (input, context) => {
|
|
553
|
-
const headers = sharedHeaders("SearchGameSessions");
|
|
554
|
-
let body;
|
|
555
|
-
body = JSON.stringify(_json(input));
|
|
556
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
557
|
-
};
|
|
558
|
-
export const se_StartFleetActionsCommand = async (input, context) => {
|
|
559
|
-
const headers = sharedHeaders("StartFleetActions");
|
|
560
|
-
let body;
|
|
561
|
-
body = JSON.stringify(_json(input));
|
|
562
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
563
|
-
};
|
|
564
|
-
export const se_StartGameSessionPlacementCommand = async (input, context) => {
|
|
565
|
-
const headers = sharedHeaders("StartGameSessionPlacement");
|
|
566
|
-
let body;
|
|
567
|
-
body = JSON.stringify(se_StartGameSessionPlacementInput(input, context));
|
|
568
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
|
-
};
|
|
570
|
-
export const se_StartMatchBackfillCommand = async (input, context) => {
|
|
571
|
-
const headers = sharedHeaders("StartMatchBackfill");
|
|
572
|
-
let body;
|
|
573
|
-
body = JSON.stringify(se_StartMatchBackfillInput(input, context));
|
|
574
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
575
|
-
};
|
|
576
|
-
export const se_StartMatchmakingCommand = async (input, context) => {
|
|
577
|
-
const headers = sharedHeaders("StartMatchmaking");
|
|
578
|
-
let body;
|
|
579
|
-
body = JSON.stringify(se_StartMatchmakingInput(input, context));
|
|
580
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
581
|
-
};
|
|
582
|
-
export const se_StopFleetActionsCommand = async (input, context) => {
|
|
583
|
-
const headers = sharedHeaders("StopFleetActions");
|
|
584
|
-
let body;
|
|
585
|
-
body = JSON.stringify(_json(input));
|
|
586
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
587
|
-
};
|
|
588
|
-
export const se_StopGameSessionPlacementCommand = async (input, context) => {
|
|
589
|
-
const headers = sharedHeaders("StopGameSessionPlacement");
|
|
590
|
-
let body;
|
|
591
|
-
body = JSON.stringify(_json(input));
|
|
592
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
593
|
-
};
|
|
594
|
-
export const se_StopMatchmakingCommand = async (input, context) => {
|
|
595
|
-
const headers = sharedHeaders("StopMatchmaking");
|
|
596
|
-
let body;
|
|
597
|
-
body = JSON.stringify(_json(input));
|
|
598
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
599
|
-
};
|
|
600
|
-
export const se_SuspendGameServerGroupCommand = async (input, context) => {
|
|
601
|
-
const headers = sharedHeaders("SuspendGameServerGroup");
|
|
602
|
-
let body;
|
|
603
|
-
body = JSON.stringify(_json(input));
|
|
604
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
605
|
-
};
|
|
606
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
607
|
-
const headers = sharedHeaders("TagResource");
|
|
608
|
-
let body;
|
|
609
|
-
body = JSON.stringify(_json(input));
|
|
610
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
611
|
-
};
|
|
612
|
-
export const se_TerminateGameSessionCommand = async (input, context) => {
|
|
613
|
-
const headers = sharedHeaders("TerminateGameSession");
|
|
614
|
-
let body;
|
|
615
|
-
body = JSON.stringify(_json(input));
|
|
616
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
617
|
-
};
|
|
618
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
619
|
-
const headers = sharedHeaders("UntagResource");
|
|
620
|
-
let body;
|
|
621
|
-
body = JSON.stringify(_json(input));
|
|
622
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
623
|
-
};
|
|
624
|
-
export const se_UpdateAliasCommand = async (input, context) => {
|
|
625
|
-
const headers = sharedHeaders("UpdateAlias");
|
|
626
|
-
let body;
|
|
627
|
-
body = JSON.stringify(_json(input));
|
|
628
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
|
-
};
|
|
630
|
-
export const se_UpdateBuildCommand = async (input, context) => {
|
|
631
|
-
const headers = sharedHeaders("UpdateBuild");
|
|
632
|
-
let body;
|
|
633
|
-
body = JSON.stringify(_json(input));
|
|
634
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
635
|
-
};
|
|
636
|
-
export const se_UpdateContainerFleetCommand = async (input, context) => {
|
|
637
|
-
const headers = sharedHeaders("UpdateContainerFleet");
|
|
638
|
-
let body;
|
|
639
|
-
body = JSON.stringify(_json(input));
|
|
640
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
641
|
-
};
|
|
642
|
-
export const se_UpdateContainerGroupDefinitionCommand = async (input, context) => {
|
|
643
|
-
const headers = sharedHeaders("UpdateContainerGroupDefinition");
|
|
644
|
-
let body;
|
|
645
|
-
body = JSON.stringify(se_UpdateContainerGroupDefinitionInput(input, context));
|
|
646
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
647
|
-
};
|
|
648
|
-
export const se_UpdateFleetAttributesCommand = async (input, context) => {
|
|
649
|
-
const headers = sharedHeaders("UpdateFleetAttributes");
|
|
650
|
-
let body;
|
|
651
|
-
body = JSON.stringify(_json(input));
|
|
652
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
653
|
-
};
|
|
654
|
-
export const se_UpdateFleetCapacityCommand = async (input, context) => {
|
|
655
|
-
const headers = sharedHeaders("UpdateFleetCapacity");
|
|
656
|
-
let body;
|
|
657
|
-
body = JSON.stringify(_json(input));
|
|
658
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
659
|
-
};
|
|
660
|
-
export const se_UpdateFleetPortSettingsCommand = async (input, context) => {
|
|
661
|
-
const headers = sharedHeaders("UpdateFleetPortSettings");
|
|
662
|
-
let body;
|
|
663
|
-
body = JSON.stringify(_json(input));
|
|
664
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
665
|
-
};
|
|
666
|
-
export const se_UpdateGameServerCommand = async (input, context) => {
|
|
667
|
-
const headers = sharedHeaders("UpdateGameServer");
|
|
668
|
-
let body;
|
|
669
|
-
body = JSON.stringify(_json(input));
|
|
670
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
671
|
-
};
|
|
672
|
-
export const se_UpdateGameServerGroupCommand = async (input, context) => {
|
|
673
|
-
const headers = sharedHeaders("UpdateGameServerGroup");
|
|
674
|
-
let body;
|
|
675
|
-
body = JSON.stringify(_json(input));
|
|
676
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
677
|
-
};
|
|
678
|
-
export const se_UpdateGameSessionCommand = async (input, context) => {
|
|
679
|
-
const headers = sharedHeaders("UpdateGameSession");
|
|
680
|
-
let body;
|
|
681
|
-
body = JSON.stringify(_json(input));
|
|
682
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
683
|
-
};
|
|
684
|
-
export const se_UpdateGameSessionQueueCommand = async (input, context) => {
|
|
685
|
-
const headers = sharedHeaders("UpdateGameSessionQueue");
|
|
686
|
-
let body;
|
|
687
|
-
body = JSON.stringify(_json(input));
|
|
688
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
689
|
-
};
|
|
690
|
-
export const se_UpdateMatchmakingConfigurationCommand = async (input, context) => {
|
|
691
|
-
const headers = sharedHeaders("UpdateMatchmakingConfiguration");
|
|
692
|
-
let body;
|
|
693
|
-
body = JSON.stringify(_json(input));
|
|
694
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
695
|
-
};
|
|
696
|
-
export const se_UpdateRuntimeConfigurationCommand = async (input, context) => {
|
|
697
|
-
const headers = sharedHeaders("UpdateRuntimeConfiguration");
|
|
698
|
-
let body;
|
|
699
|
-
body = JSON.stringify(_json(input));
|
|
700
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
701
|
-
};
|
|
702
|
-
export const se_UpdateScriptCommand = async (input, context) => {
|
|
703
|
-
const headers = sharedHeaders("UpdateScript");
|
|
704
|
-
let body;
|
|
705
|
-
body = JSON.stringify(se_UpdateScriptInput(input, context));
|
|
706
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
707
|
-
};
|
|
708
|
-
export const se_ValidateMatchmakingRuleSetCommand = async (input, context) => {
|
|
709
|
-
const headers = sharedHeaders("ValidateMatchmakingRuleSet");
|
|
710
|
-
let body;
|
|
711
|
-
body = JSON.stringify(_json(input));
|
|
712
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
713
|
-
};
|
|
714
|
-
export const de_AcceptMatchCommand = async (output, context) => {
|
|
715
|
-
if (output.statusCode >= 300) {
|
|
716
|
-
return de_CommandError(output, context);
|
|
717
|
-
}
|
|
718
|
-
const data = await parseBody(output.body, context);
|
|
719
|
-
let contents = {};
|
|
720
|
-
contents = _json(data);
|
|
721
|
-
const response = {
|
|
722
|
-
$metadata: deserializeMetadata(output),
|
|
723
|
-
...contents,
|
|
724
|
-
};
|
|
725
|
-
return response;
|
|
726
|
-
};
|
|
727
|
-
export const de_ClaimGameServerCommand = async (output, context) => {
|
|
728
|
-
if (output.statusCode >= 300) {
|
|
729
|
-
return de_CommandError(output, context);
|
|
730
|
-
}
|
|
731
|
-
const data = await parseBody(output.body, context);
|
|
732
|
-
let contents = {};
|
|
733
|
-
contents = de_ClaimGameServerOutput(data, context);
|
|
734
|
-
const response = {
|
|
735
|
-
$metadata: deserializeMetadata(output),
|
|
736
|
-
...contents,
|
|
737
|
-
};
|
|
738
|
-
return response;
|
|
739
|
-
};
|
|
740
|
-
export const de_CreateAliasCommand = async (output, context) => {
|
|
741
|
-
if (output.statusCode >= 300) {
|
|
742
|
-
return de_CommandError(output, context);
|
|
743
|
-
}
|
|
744
|
-
const data = await parseBody(output.body, context);
|
|
745
|
-
let contents = {};
|
|
746
|
-
contents = de_CreateAliasOutput(data, context);
|
|
747
|
-
const response = {
|
|
748
|
-
$metadata: deserializeMetadata(output),
|
|
749
|
-
...contents,
|
|
750
|
-
};
|
|
751
|
-
return response;
|
|
752
|
-
};
|
|
753
|
-
export const de_CreateBuildCommand = async (output, context) => {
|
|
754
|
-
if (output.statusCode >= 300) {
|
|
755
|
-
return de_CommandError(output, context);
|
|
756
|
-
}
|
|
757
|
-
const data = await parseBody(output.body, context);
|
|
758
|
-
let contents = {};
|
|
759
|
-
contents = de_CreateBuildOutput(data, context);
|
|
760
|
-
const response = {
|
|
761
|
-
$metadata: deserializeMetadata(output),
|
|
762
|
-
...contents,
|
|
763
|
-
};
|
|
764
|
-
return response;
|
|
765
|
-
};
|
|
766
|
-
export const de_CreateContainerFleetCommand = async (output, context) => {
|
|
767
|
-
if (output.statusCode >= 300) {
|
|
768
|
-
return de_CommandError(output, context);
|
|
769
|
-
}
|
|
770
|
-
const data = await parseBody(output.body, context);
|
|
771
|
-
let contents = {};
|
|
772
|
-
contents = de_CreateContainerFleetOutput(data, context);
|
|
773
|
-
const response = {
|
|
774
|
-
$metadata: deserializeMetadata(output),
|
|
775
|
-
...contents,
|
|
776
|
-
};
|
|
777
|
-
return response;
|
|
778
|
-
};
|
|
779
|
-
export const de_CreateContainerGroupDefinitionCommand = async (output, context) => {
|
|
780
|
-
if (output.statusCode >= 300) {
|
|
781
|
-
return de_CommandError(output, context);
|
|
782
|
-
}
|
|
783
|
-
const data = await parseBody(output.body, context);
|
|
784
|
-
let contents = {};
|
|
785
|
-
contents = de_CreateContainerGroupDefinitionOutput(data, context);
|
|
786
|
-
const response = {
|
|
787
|
-
$metadata: deserializeMetadata(output),
|
|
788
|
-
...contents,
|
|
789
|
-
};
|
|
790
|
-
return response;
|
|
791
|
-
};
|
|
792
|
-
export const de_CreateFleetCommand = async (output, context) => {
|
|
793
|
-
if (output.statusCode >= 300) {
|
|
794
|
-
return de_CommandError(output, context);
|
|
795
|
-
}
|
|
796
|
-
const data = await parseBody(output.body, context);
|
|
797
|
-
let contents = {};
|
|
798
|
-
contents = de_CreateFleetOutput(data, context);
|
|
799
|
-
const response = {
|
|
800
|
-
$metadata: deserializeMetadata(output),
|
|
801
|
-
...contents,
|
|
802
|
-
};
|
|
803
|
-
return response;
|
|
804
|
-
};
|
|
805
|
-
export const de_CreateFleetLocationsCommand = async (output, context) => {
|
|
806
|
-
if (output.statusCode >= 300) {
|
|
807
|
-
return de_CommandError(output, context);
|
|
808
|
-
}
|
|
809
|
-
const data = await parseBody(output.body, context);
|
|
810
|
-
let contents = {};
|
|
811
|
-
contents = _json(data);
|
|
812
|
-
const response = {
|
|
813
|
-
$metadata: deserializeMetadata(output),
|
|
814
|
-
...contents,
|
|
815
|
-
};
|
|
816
|
-
return response;
|
|
817
|
-
};
|
|
818
|
-
export const de_CreateGameServerGroupCommand = async (output, context) => {
|
|
819
|
-
if (output.statusCode >= 300) {
|
|
820
|
-
return de_CommandError(output, context);
|
|
821
|
-
}
|
|
822
|
-
const data = await parseBody(output.body, context);
|
|
823
|
-
let contents = {};
|
|
824
|
-
contents = de_CreateGameServerGroupOutput(data, context);
|
|
825
|
-
const response = {
|
|
826
|
-
$metadata: deserializeMetadata(output),
|
|
827
|
-
...contents,
|
|
828
|
-
};
|
|
829
|
-
return response;
|
|
830
|
-
};
|
|
831
|
-
export const de_CreateGameSessionCommand = async (output, context) => {
|
|
832
|
-
if (output.statusCode >= 300) {
|
|
833
|
-
return de_CommandError(output, context);
|
|
834
|
-
}
|
|
835
|
-
const data = await parseBody(output.body, context);
|
|
836
|
-
let contents = {};
|
|
837
|
-
contents = de_CreateGameSessionOutput(data, context);
|
|
838
|
-
const response = {
|
|
839
|
-
$metadata: deserializeMetadata(output),
|
|
840
|
-
...contents,
|
|
841
|
-
};
|
|
842
|
-
return response;
|
|
843
|
-
};
|
|
844
|
-
export const de_CreateGameSessionQueueCommand = async (output, context) => {
|
|
845
|
-
if (output.statusCode >= 300) {
|
|
846
|
-
return de_CommandError(output, context);
|
|
847
|
-
}
|
|
848
|
-
const data = await parseBody(output.body, context);
|
|
849
|
-
let contents = {};
|
|
850
|
-
contents = _json(data);
|
|
851
|
-
const response = {
|
|
852
|
-
$metadata: deserializeMetadata(output),
|
|
853
|
-
...contents,
|
|
854
|
-
};
|
|
855
|
-
return response;
|
|
856
|
-
};
|
|
857
|
-
export const de_CreateLocationCommand = async (output, context) => {
|
|
858
|
-
if (output.statusCode >= 300) {
|
|
859
|
-
return de_CommandError(output, context);
|
|
860
|
-
}
|
|
861
|
-
const data = await parseBody(output.body, context);
|
|
862
|
-
let contents = {};
|
|
863
|
-
contents = _json(data);
|
|
864
|
-
const response = {
|
|
865
|
-
$metadata: deserializeMetadata(output),
|
|
866
|
-
...contents,
|
|
867
|
-
};
|
|
868
|
-
return response;
|
|
869
|
-
};
|
|
870
|
-
export const de_CreateMatchmakingConfigurationCommand = async (output, context) => {
|
|
871
|
-
if (output.statusCode >= 300) {
|
|
872
|
-
return de_CommandError(output, context);
|
|
873
|
-
}
|
|
874
|
-
const data = await parseBody(output.body, context);
|
|
875
|
-
let contents = {};
|
|
876
|
-
contents = de_CreateMatchmakingConfigurationOutput(data, context);
|
|
877
|
-
const response = {
|
|
878
|
-
$metadata: deserializeMetadata(output),
|
|
879
|
-
...contents,
|
|
880
|
-
};
|
|
881
|
-
return response;
|
|
882
|
-
};
|
|
883
|
-
export const de_CreateMatchmakingRuleSetCommand = async (output, context) => {
|
|
884
|
-
if (output.statusCode >= 300) {
|
|
885
|
-
return de_CommandError(output, context);
|
|
886
|
-
}
|
|
887
|
-
const data = await parseBody(output.body, context);
|
|
888
|
-
let contents = {};
|
|
889
|
-
contents = de_CreateMatchmakingRuleSetOutput(data, context);
|
|
890
|
-
const response = {
|
|
891
|
-
$metadata: deserializeMetadata(output),
|
|
892
|
-
...contents,
|
|
893
|
-
};
|
|
894
|
-
return response;
|
|
895
|
-
};
|
|
896
|
-
export const de_CreatePlayerSessionCommand = async (output, context) => {
|
|
897
|
-
if (output.statusCode >= 300) {
|
|
898
|
-
return de_CommandError(output, context);
|
|
899
|
-
}
|
|
900
|
-
const data = await parseBody(output.body, context);
|
|
901
|
-
let contents = {};
|
|
902
|
-
contents = de_CreatePlayerSessionOutput(data, context);
|
|
903
|
-
const response = {
|
|
904
|
-
$metadata: deserializeMetadata(output),
|
|
905
|
-
...contents,
|
|
906
|
-
};
|
|
907
|
-
return response;
|
|
908
|
-
};
|
|
909
|
-
export const de_CreatePlayerSessionsCommand = async (output, context) => {
|
|
910
|
-
if (output.statusCode >= 300) {
|
|
911
|
-
return de_CommandError(output, context);
|
|
912
|
-
}
|
|
913
|
-
const data = await parseBody(output.body, context);
|
|
914
|
-
let contents = {};
|
|
915
|
-
contents = de_CreatePlayerSessionsOutput(data, context);
|
|
916
|
-
const response = {
|
|
917
|
-
$metadata: deserializeMetadata(output),
|
|
918
|
-
...contents,
|
|
919
|
-
};
|
|
920
|
-
return response;
|
|
921
|
-
};
|
|
922
|
-
export const de_CreateScriptCommand = async (output, context) => {
|
|
923
|
-
if (output.statusCode >= 300) {
|
|
924
|
-
return de_CommandError(output, context);
|
|
925
|
-
}
|
|
926
|
-
const data = await parseBody(output.body, context);
|
|
927
|
-
let contents = {};
|
|
928
|
-
contents = de_CreateScriptOutput(data, context);
|
|
929
|
-
const response = {
|
|
930
|
-
$metadata: deserializeMetadata(output),
|
|
931
|
-
...contents,
|
|
932
|
-
};
|
|
933
|
-
return response;
|
|
934
|
-
};
|
|
935
|
-
export const de_CreateVpcPeeringAuthorizationCommand = async (output, context) => {
|
|
936
|
-
if (output.statusCode >= 300) {
|
|
937
|
-
return de_CommandError(output, context);
|
|
938
|
-
}
|
|
939
|
-
const data = await parseBody(output.body, context);
|
|
940
|
-
let contents = {};
|
|
941
|
-
contents = de_CreateVpcPeeringAuthorizationOutput(data, context);
|
|
942
|
-
const response = {
|
|
943
|
-
$metadata: deserializeMetadata(output),
|
|
944
|
-
...contents,
|
|
945
|
-
};
|
|
946
|
-
return response;
|
|
947
|
-
};
|
|
948
|
-
export const de_CreateVpcPeeringConnectionCommand = async (output, context) => {
|
|
949
|
-
if (output.statusCode >= 300) {
|
|
950
|
-
return de_CommandError(output, context);
|
|
951
|
-
}
|
|
952
|
-
const data = await parseBody(output.body, context);
|
|
953
|
-
let contents = {};
|
|
954
|
-
contents = _json(data);
|
|
955
|
-
const response = {
|
|
956
|
-
$metadata: deserializeMetadata(output),
|
|
957
|
-
...contents,
|
|
958
|
-
};
|
|
959
|
-
return response;
|
|
960
|
-
};
|
|
961
|
-
export const de_DeleteAliasCommand = async (output, context) => {
|
|
962
|
-
if (output.statusCode >= 300) {
|
|
963
|
-
return de_CommandError(output, context);
|
|
964
|
-
}
|
|
965
|
-
await collectBody(output.body, context);
|
|
966
|
-
const response = {
|
|
967
|
-
$metadata: deserializeMetadata(output),
|
|
968
|
-
};
|
|
969
|
-
return response;
|
|
970
|
-
};
|
|
971
|
-
export const de_DeleteBuildCommand = async (output, context) => {
|
|
972
|
-
if (output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
await collectBody(output.body, context);
|
|
976
|
-
const response = {
|
|
977
|
-
$metadata: deserializeMetadata(output),
|
|
978
|
-
};
|
|
979
|
-
return response;
|
|
980
|
-
};
|
|
981
|
-
export const de_DeleteContainerFleetCommand = async (output, context) => {
|
|
982
|
-
if (output.statusCode >= 300) {
|
|
983
|
-
return de_CommandError(output, context);
|
|
984
|
-
}
|
|
985
|
-
const data = await parseBody(output.body, context);
|
|
986
|
-
let contents = {};
|
|
987
|
-
contents = _json(data);
|
|
988
|
-
const response = {
|
|
989
|
-
$metadata: deserializeMetadata(output),
|
|
990
|
-
...contents,
|
|
991
|
-
};
|
|
992
|
-
return response;
|
|
993
|
-
};
|
|
994
|
-
export const de_DeleteContainerGroupDefinitionCommand = async (output, context) => {
|
|
995
|
-
if (output.statusCode >= 300) {
|
|
996
|
-
return de_CommandError(output, context);
|
|
997
|
-
}
|
|
998
|
-
const data = await parseBody(output.body, context);
|
|
999
|
-
let contents = {};
|
|
1000
|
-
contents = _json(data);
|
|
1001
|
-
const response = {
|
|
1002
|
-
$metadata: deserializeMetadata(output),
|
|
1003
|
-
...contents,
|
|
1004
|
-
};
|
|
1005
|
-
return response;
|
|
1006
|
-
};
|
|
1007
|
-
export const de_DeleteFleetCommand = async (output, context) => {
|
|
1008
|
-
if (output.statusCode >= 300) {
|
|
1009
|
-
return de_CommandError(output, context);
|
|
1010
|
-
}
|
|
1011
|
-
await collectBody(output.body, context);
|
|
1012
|
-
const response = {
|
|
1013
|
-
$metadata: deserializeMetadata(output),
|
|
1014
|
-
};
|
|
1015
|
-
return response;
|
|
1016
|
-
};
|
|
1017
|
-
export const de_DeleteFleetLocationsCommand = async (output, context) => {
|
|
1018
|
-
if (output.statusCode >= 300) {
|
|
1019
|
-
return de_CommandError(output, context);
|
|
1020
|
-
}
|
|
1021
|
-
const data = await parseBody(output.body, context);
|
|
1022
|
-
let contents = {};
|
|
1023
|
-
contents = _json(data);
|
|
1024
|
-
const response = {
|
|
1025
|
-
$metadata: deserializeMetadata(output),
|
|
1026
|
-
...contents,
|
|
1027
|
-
};
|
|
1028
|
-
return response;
|
|
1029
|
-
};
|
|
1030
|
-
export const de_DeleteGameServerGroupCommand = async (output, context) => {
|
|
1031
|
-
if (output.statusCode >= 300) {
|
|
1032
|
-
return de_CommandError(output, context);
|
|
1033
|
-
}
|
|
1034
|
-
const data = await parseBody(output.body, context);
|
|
1035
|
-
let contents = {};
|
|
1036
|
-
contents = de_DeleteGameServerGroupOutput(data, context);
|
|
1037
|
-
const response = {
|
|
1038
|
-
$metadata: deserializeMetadata(output),
|
|
1039
|
-
...contents,
|
|
1040
|
-
};
|
|
1041
|
-
return response;
|
|
1042
|
-
};
|
|
1043
|
-
export const de_DeleteGameSessionQueueCommand = async (output, context) => {
|
|
1044
|
-
if (output.statusCode >= 300) {
|
|
1045
|
-
return de_CommandError(output, context);
|
|
1046
|
-
}
|
|
1047
|
-
const data = await parseBody(output.body, context);
|
|
1048
|
-
let contents = {};
|
|
1049
|
-
contents = _json(data);
|
|
1050
|
-
const response = {
|
|
1051
|
-
$metadata: deserializeMetadata(output),
|
|
1052
|
-
...contents,
|
|
1053
|
-
};
|
|
1054
|
-
return response;
|
|
1055
|
-
};
|
|
1056
|
-
export const de_DeleteLocationCommand = async (output, context) => {
|
|
1057
|
-
if (output.statusCode >= 300) {
|
|
1058
|
-
return de_CommandError(output, context);
|
|
1059
|
-
}
|
|
1060
|
-
const data = await parseBody(output.body, context);
|
|
1061
|
-
let contents = {};
|
|
1062
|
-
contents = _json(data);
|
|
1063
|
-
const response = {
|
|
1064
|
-
$metadata: deserializeMetadata(output),
|
|
1065
|
-
...contents,
|
|
1066
|
-
};
|
|
1067
|
-
return response;
|
|
1068
|
-
};
|
|
1069
|
-
export const de_DeleteMatchmakingConfigurationCommand = async (output, context) => {
|
|
1070
|
-
if (output.statusCode >= 300) {
|
|
1071
|
-
return de_CommandError(output, context);
|
|
1072
|
-
}
|
|
1073
|
-
const data = await parseBody(output.body, context);
|
|
1074
|
-
let contents = {};
|
|
1075
|
-
contents = _json(data);
|
|
1076
|
-
const response = {
|
|
1077
|
-
$metadata: deserializeMetadata(output),
|
|
1078
|
-
...contents,
|
|
1079
|
-
};
|
|
1080
|
-
return response;
|
|
1081
|
-
};
|
|
1082
|
-
export const de_DeleteMatchmakingRuleSetCommand = async (output, context) => {
|
|
1083
|
-
if (output.statusCode >= 300) {
|
|
1084
|
-
return de_CommandError(output, context);
|
|
1085
|
-
}
|
|
1086
|
-
const data = await parseBody(output.body, context);
|
|
1087
|
-
let contents = {};
|
|
1088
|
-
contents = _json(data);
|
|
1089
|
-
const response = {
|
|
1090
|
-
$metadata: deserializeMetadata(output),
|
|
1091
|
-
...contents,
|
|
1092
|
-
};
|
|
1093
|
-
return response;
|
|
1094
|
-
};
|
|
1095
|
-
export const de_DeleteScalingPolicyCommand = async (output, context) => {
|
|
1096
|
-
if (output.statusCode >= 300) {
|
|
1097
|
-
return de_CommandError(output, context);
|
|
1098
|
-
}
|
|
1099
|
-
await collectBody(output.body, context);
|
|
1100
|
-
const response = {
|
|
1101
|
-
$metadata: deserializeMetadata(output),
|
|
1102
|
-
};
|
|
1103
|
-
return response;
|
|
1104
|
-
};
|
|
1105
|
-
export const de_DeleteScriptCommand = async (output, context) => {
|
|
1106
|
-
if (output.statusCode >= 300) {
|
|
1107
|
-
return de_CommandError(output, context);
|
|
1108
|
-
}
|
|
1109
|
-
await collectBody(output.body, context);
|
|
1110
|
-
const response = {
|
|
1111
|
-
$metadata: deserializeMetadata(output),
|
|
1112
|
-
};
|
|
1113
|
-
return response;
|
|
1114
|
-
};
|
|
1115
|
-
export const de_DeleteVpcPeeringAuthorizationCommand = async (output, context) => {
|
|
1116
|
-
if (output.statusCode >= 300) {
|
|
1117
|
-
return de_CommandError(output, context);
|
|
1118
|
-
}
|
|
1119
|
-
const data = await parseBody(output.body, context);
|
|
1120
|
-
let contents = {};
|
|
1121
|
-
contents = _json(data);
|
|
1122
|
-
const response = {
|
|
1123
|
-
$metadata: deserializeMetadata(output),
|
|
1124
|
-
...contents,
|
|
1125
|
-
};
|
|
1126
|
-
return response;
|
|
1127
|
-
};
|
|
1128
|
-
export const de_DeleteVpcPeeringConnectionCommand = async (output, context) => {
|
|
1129
|
-
if (output.statusCode >= 300) {
|
|
1130
|
-
return de_CommandError(output, context);
|
|
1131
|
-
}
|
|
1132
|
-
const data = await parseBody(output.body, context);
|
|
1133
|
-
let contents = {};
|
|
1134
|
-
contents = _json(data);
|
|
1135
|
-
const response = {
|
|
1136
|
-
$metadata: deserializeMetadata(output),
|
|
1137
|
-
...contents,
|
|
1138
|
-
};
|
|
1139
|
-
return response;
|
|
1140
|
-
};
|
|
1141
|
-
export const de_DeregisterComputeCommand = async (output, context) => {
|
|
1142
|
-
if (output.statusCode >= 300) {
|
|
1143
|
-
return de_CommandError(output, context);
|
|
1144
|
-
}
|
|
1145
|
-
const data = await parseBody(output.body, context);
|
|
1146
|
-
let contents = {};
|
|
1147
|
-
contents = _json(data);
|
|
1148
|
-
const response = {
|
|
1149
|
-
$metadata: deserializeMetadata(output),
|
|
1150
|
-
...contents,
|
|
1151
|
-
};
|
|
1152
|
-
return response;
|
|
1153
|
-
};
|
|
1154
|
-
export const de_DeregisterGameServerCommand = async (output, context) => {
|
|
1155
|
-
if (output.statusCode >= 300) {
|
|
1156
|
-
return de_CommandError(output, context);
|
|
1157
|
-
}
|
|
1158
|
-
await collectBody(output.body, context);
|
|
1159
|
-
const response = {
|
|
1160
|
-
$metadata: deserializeMetadata(output),
|
|
1161
|
-
};
|
|
1162
|
-
return response;
|
|
1163
|
-
};
|
|
1164
|
-
export const de_DescribeAliasCommand = async (output, context) => {
|
|
1165
|
-
if (output.statusCode >= 300) {
|
|
1166
|
-
return de_CommandError(output, context);
|
|
1167
|
-
}
|
|
1168
|
-
const data = await parseBody(output.body, context);
|
|
1169
|
-
let contents = {};
|
|
1170
|
-
contents = de_DescribeAliasOutput(data, context);
|
|
1171
|
-
const response = {
|
|
1172
|
-
$metadata: deserializeMetadata(output),
|
|
1173
|
-
...contents,
|
|
1174
|
-
};
|
|
1175
|
-
return response;
|
|
1176
|
-
};
|
|
1177
|
-
export const de_DescribeBuildCommand = async (output, context) => {
|
|
1178
|
-
if (output.statusCode >= 300) {
|
|
1179
|
-
return de_CommandError(output, context);
|
|
1180
|
-
}
|
|
1181
|
-
const data = await parseBody(output.body, context);
|
|
1182
|
-
let contents = {};
|
|
1183
|
-
contents = de_DescribeBuildOutput(data, context);
|
|
1184
|
-
const response = {
|
|
1185
|
-
$metadata: deserializeMetadata(output),
|
|
1186
|
-
...contents,
|
|
1187
|
-
};
|
|
1188
|
-
return response;
|
|
1189
|
-
};
|
|
1190
|
-
export const de_DescribeComputeCommand = async (output, context) => {
|
|
1191
|
-
if (output.statusCode >= 300) {
|
|
1192
|
-
return de_CommandError(output, context);
|
|
1193
|
-
}
|
|
1194
|
-
const data = await parseBody(output.body, context);
|
|
1195
|
-
let contents = {};
|
|
1196
|
-
contents = de_DescribeComputeOutput(data, context);
|
|
1197
|
-
const response = {
|
|
1198
|
-
$metadata: deserializeMetadata(output),
|
|
1199
|
-
...contents,
|
|
1200
|
-
};
|
|
1201
|
-
return response;
|
|
1202
|
-
};
|
|
1203
|
-
export const de_DescribeContainerFleetCommand = async (output, context) => {
|
|
1204
|
-
if (output.statusCode >= 300) {
|
|
1205
|
-
return de_CommandError(output, context);
|
|
1206
|
-
}
|
|
1207
|
-
const data = await parseBody(output.body, context);
|
|
1208
|
-
let contents = {};
|
|
1209
|
-
contents = de_DescribeContainerFleetOutput(data, context);
|
|
1210
|
-
const response = {
|
|
1211
|
-
$metadata: deserializeMetadata(output),
|
|
1212
|
-
...contents,
|
|
1213
|
-
};
|
|
1214
|
-
return response;
|
|
1215
|
-
};
|
|
1216
|
-
export const de_DescribeContainerGroupDefinitionCommand = async (output, context) => {
|
|
1217
|
-
if (output.statusCode >= 300) {
|
|
1218
|
-
return de_CommandError(output, context);
|
|
1219
|
-
}
|
|
1220
|
-
const data = await parseBody(output.body, context);
|
|
1221
|
-
let contents = {};
|
|
1222
|
-
contents = de_DescribeContainerGroupDefinitionOutput(data, context);
|
|
1223
|
-
const response = {
|
|
1224
|
-
$metadata: deserializeMetadata(output),
|
|
1225
|
-
...contents,
|
|
1226
|
-
};
|
|
1227
|
-
return response;
|
|
1228
|
-
};
|
|
1229
|
-
export const de_DescribeEC2InstanceLimitsCommand = async (output, context) => {
|
|
1230
|
-
if (output.statusCode >= 300) {
|
|
1231
|
-
return de_CommandError(output, context);
|
|
1232
|
-
}
|
|
1233
|
-
const data = await parseBody(output.body, context);
|
|
1234
|
-
let contents = {};
|
|
1235
|
-
contents = _json(data);
|
|
1236
|
-
const response = {
|
|
1237
|
-
$metadata: deserializeMetadata(output),
|
|
1238
|
-
...contents,
|
|
1239
|
-
};
|
|
1240
|
-
return response;
|
|
1241
|
-
};
|
|
1242
|
-
export const de_DescribeFleetAttributesCommand = async (output, context) => {
|
|
1243
|
-
if (output.statusCode >= 300) {
|
|
1244
|
-
return de_CommandError(output, context);
|
|
1245
|
-
}
|
|
1246
|
-
const data = await parseBody(output.body, context);
|
|
1247
|
-
let contents = {};
|
|
1248
|
-
contents = de_DescribeFleetAttributesOutput(data, context);
|
|
1249
|
-
const response = {
|
|
1250
|
-
$metadata: deserializeMetadata(output),
|
|
1251
|
-
...contents,
|
|
1252
|
-
};
|
|
1253
|
-
return response;
|
|
1254
|
-
};
|
|
1255
|
-
export const de_DescribeFleetCapacityCommand = async (output, context) => {
|
|
1256
|
-
if (output.statusCode >= 300) {
|
|
1257
|
-
return de_CommandError(output, context);
|
|
1258
|
-
}
|
|
1259
|
-
const data = await parseBody(output.body, context);
|
|
1260
|
-
let contents = {};
|
|
1261
|
-
contents = _json(data);
|
|
1262
|
-
const response = {
|
|
1263
|
-
$metadata: deserializeMetadata(output),
|
|
1264
|
-
...contents,
|
|
1265
|
-
};
|
|
1266
|
-
return response;
|
|
1267
|
-
};
|
|
1268
|
-
export const de_DescribeFleetDeploymentCommand = async (output, context) => {
|
|
1269
|
-
if (output.statusCode >= 300) {
|
|
1270
|
-
return de_CommandError(output, context);
|
|
1271
|
-
}
|
|
1272
|
-
const data = await parseBody(output.body, context);
|
|
1273
|
-
let contents = {};
|
|
1274
|
-
contents = de_DescribeFleetDeploymentOutput(data, context);
|
|
1275
|
-
const response = {
|
|
1276
|
-
$metadata: deserializeMetadata(output),
|
|
1277
|
-
...contents,
|
|
1278
|
-
};
|
|
1279
|
-
return response;
|
|
1280
|
-
};
|
|
1281
|
-
export const de_DescribeFleetEventsCommand = async (output, context) => {
|
|
1282
|
-
if (output.statusCode >= 300) {
|
|
1283
|
-
return de_CommandError(output, context);
|
|
1284
|
-
}
|
|
1285
|
-
const data = await parseBody(output.body, context);
|
|
1286
|
-
let contents = {};
|
|
1287
|
-
contents = de_DescribeFleetEventsOutput(data, context);
|
|
1288
|
-
const response = {
|
|
1289
|
-
$metadata: deserializeMetadata(output),
|
|
1290
|
-
...contents,
|
|
1291
|
-
};
|
|
1292
|
-
return response;
|
|
1293
|
-
};
|
|
1294
|
-
export const de_DescribeFleetLocationAttributesCommand = async (output, context) => {
|
|
1295
|
-
if (output.statusCode >= 300) {
|
|
1296
|
-
return de_CommandError(output, context);
|
|
1297
|
-
}
|
|
1298
|
-
const data = await parseBody(output.body, context);
|
|
1299
|
-
let contents = {};
|
|
1300
|
-
contents = _json(data);
|
|
1301
|
-
const response = {
|
|
1302
|
-
$metadata: deserializeMetadata(output),
|
|
1303
|
-
...contents,
|
|
1304
|
-
};
|
|
1305
|
-
return response;
|
|
1306
|
-
};
|
|
1307
|
-
export const de_DescribeFleetLocationCapacityCommand = async (output, context) => {
|
|
1308
|
-
if (output.statusCode >= 300) {
|
|
1309
|
-
return de_CommandError(output, context);
|
|
1310
|
-
}
|
|
1311
|
-
const data = await parseBody(output.body, context);
|
|
1312
|
-
let contents = {};
|
|
1313
|
-
contents = _json(data);
|
|
1314
|
-
const response = {
|
|
1315
|
-
$metadata: deserializeMetadata(output),
|
|
1316
|
-
...contents,
|
|
1317
|
-
};
|
|
1318
|
-
return response;
|
|
1319
|
-
};
|
|
1320
|
-
export const de_DescribeFleetLocationUtilizationCommand = async (output, context) => {
|
|
1321
|
-
if (output.statusCode >= 300) {
|
|
1322
|
-
return de_CommandError(output, context);
|
|
1323
|
-
}
|
|
1324
|
-
const data = await parseBody(output.body, context);
|
|
1325
|
-
let contents = {};
|
|
1326
|
-
contents = _json(data);
|
|
1327
|
-
const response = {
|
|
1328
|
-
$metadata: deserializeMetadata(output),
|
|
1329
|
-
...contents,
|
|
1330
|
-
};
|
|
1331
|
-
return response;
|
|
1332
|
-
};
|
|
1333
|
-
export const de_DescribeFleetPortSettingsCommand = async (output, context) => {
|
|
1334
|
-
if (output.statusCode >= 300) {
|
|
1335
|
-
return de_CommandError(output, context);
|
|
1336
|
-
}
|
|
1337
|
-
const data = await parseBody(output.body, context);
|
|
1338
|
-
let contents = {};
|
|
1339
|
-
contents = _json(data);
|
|
1340
|
-
const response = {
|
|
1341
|
-
$metadata: deserializeMetadata(output),
|
|
1342
|
-
...contents,
|
|
1343
|
-
};
|
|
1344
|
-
return response;
|
|
1345
|
-
};
|
|
1346
|
-
export const de_DescribeFleetUtilizationCommand = async (output, context) => {
|
|
1347
|
-
if (output.statusCode >= 300) {
|
|
1348
|
-
return de_CommandError(output, context);
|
|
1349
|
-
}
|
|
1350
|
-
const data = await parseBody(output.body, context);
|
|
1351
|
-
let contents = {};
|
|
1352
|
-
contents = _json(data);
|
|
1353
|
-
const response = {
|
|
1354
|
-
$metadata: deserializeMetadata(output),
|
|
1355
|
-
...contents,
|
|
1356
|
-
};
|
|
1357
|
-
return response;
|
|
1358
|
-
};
|
|
1359
|
-
export const de_DescribeGameServerCommand = async (output, context) => {
|
|
1360
|
-
if (output.statusCode >= 300) {
|
|
1361
|
-
return de_CommandError(output, context);
|
|
1362
|
-
}
|
|
1363
|
-
const data = await parseBody(output.body, context);
|
|
1364
|
-
let contents = {};
|
|
1365
|
-
contents = de_DescribeGameServerOutput(data, context);
|
|
1366
|
-
const response = {
|
|
1367
|
-
$metadata: deserializeMetadata(output),
|
|
1368
|
-
...contents,
|
|
1369
|
-
};
|
|
1370
|
-
return response;
|
|
1371
|
-
};
|
|
1372
|
-
export const de_DescribeGameServerGroupCommand = async (output, context) => {
|
|
1373
|
-
if (output.statusCode >= 300) {
|
|
1374
|
-
return de_CommandError(output, context);
|
|
1375
|
-
}
|
|
1376
|
-
const data = await parseBody(output.body, context);
|
|
1377
|
-
let contents = {};
|
|
1378
|
-
contents = de_DescribeGameServerGroupOutput(data, context);
|
|
1379
|
-
const response = {
|
|
1380
|
-
$metadata: deserializeMetadata(output),
|
|
1381
|
-
...contents,
|
|
1382
|
-
};
|
|
1383
|
-
return response;
|
|
1384
|
-
};
|
|
1385
|
-
export const de_DescribeGameServerInstancesCommand = async (output, context) => {
|
|
1386
|
-
if (output.statusCode >= 300) {
|
|
1387
|
-
return de_CommandError(output, context);
|
|
1388
|
-
}
|
|
1389
|
-
const data = await parseBody(output.body, context);
|
|
1390
|
-
let contents = {};
|
|
1391
|
-
contents = _json(data);
|
|
1392
|
-
const response = {
|
|
1393
|
-
$metadata: deserializeMetadata(output),
|
|
1394
|
-
...contents,
|
|
1395
|
-
};
|
|
1396
|
-
return response;
|
|
1397
|
-
};
|
|
1398
|
-
export const de_DescribeGameSessionDetailsCommand = async (output, context) => {
|
|
1399
|
-
if (output.statusCode >= 300) {
|
|
1400
|
-
return de_CommandError(output, context);
|
|
1401
|
-
}
|
|
1402
|
-
const data = await parseBody(output.body, context);
|
|
1403
|
-
let contents = {};
|
|
1404
|
-
contents = de_DescribeGameSessionDetailsOutput(data, context);
|
|
1405
|
-
const response = {
|
|
1406
|
-
$metadata: deserializeMetadata(output),
|
|
1407
|
-
...contents,
|
|
1408
|
-
};
|
|
1409
|
-
return response;
|
|
1410
|
-
};
|
|
1411
|
-
export const de_DescribeGameSessionPlacementCommand = async (output, context) => {
|
|
1412
|
-
if (output.statusCode >= 300) {
|
|
1413
|
-
return de_CommandError(output, context);
|
|
1414
|
-
}
|
|
1415
|
-
const data = await parseBody(output.body, context);
|
|
1416
|
-
let contents = {};
|
|
1417
|
-
contents = de_DescribeGameSessionPlacementOutput(data, context);
|
|
1418
|
-
const response = {
|
|
1419
|
-
$metadata: deserializeMetadata(output),
|
|
1420
|
-
...contents,
|
|
1421
|
-
};
|
|
1422
|
-
return response;
|
|
1423
|
-
};
|
|
1424
|
-
export const de_DescribeGameSessionQueuesCommand = async (output, context) => {
|
|
1425
|
-
if (output.statusCode >= 300) {
|
|
1426
|
-
return de_CommandError(output, context);
|
|
1427
|
-
}
|
|
1428
|
-
const data = await parseBody(output.body, context);
|
|
1429
|
-
let contents = {};
|
|
1430
|
-
contents = _json(data);
|
|
1431
|
-
const response = {
|
|
1432
|
-
$metadata: deserializeMetadata(output),
|
|
1433
|
-
...contents,
|
|
1434
|
-
};
|
|
1435
|
-
return response;
|
|
1436
|
-
};
|
|
1437
|
-
export const de_DescribeGameSessionsCommand = async (output, context) => {
|
|
1438
|
-
if (output.statusCode >= 300) {
|
|
1439
|
-
return de_CommandError(output, context);
|
|
1440
|
-
}
|
|
1441
|
-
const data = await parseBody(output.body, context);
|
|
1442
|
-
let contents = {};
|
|
1443
|
-
contents = de_DescribeGameSessionsOutput(data, context);
|
|
1444
|
-
const response = {
|
|
1445
|
-
$metadata: deserializeMetadata(output),
|
|
1446
|
-
...contents,
|
|
1447
|
-
};
|
|
1448
|
-
return response;
|
|
1449
|
-
};
|
|
1450
|
-
export const de_DescribeInstancesCommand = async (output, context) => {
|
|
1451
|
-
if (output.statusCode >= 300) {
|
|
1452
|
-
return de_CommandError(output, context);
|
|
1453
|
-
}
|
|
1454
|
-
const data = await parseBody(output.body, context);
|
|
1455
|
-
let contents = {};
|
|
1456
|
-
contents = de_DescribeInstancesOutput(data, context);
|
|
1457
|
-
const response = {
|
|
1458
|
-
$metadata: deserializeMetadata(output),
|
|
1459
|
-
...contents,
|
|
1460
|
-
};
|
|
1461
|
-
return response;
|
|
1462
|
-
};
|
|
1463
|
-
export const de_DescribeMatchmakingCommand = async (output, context) => {
|
|
1464
|
-
if (output.statusCode >= 300) {
|
|
1465
|
-
return de_CommandError(output, context);
|
|
1466
|
-
}
|
|
1467
|
-
const data = await parseBody(output.body, context);
|
|
1468
|
-
let contents = {};
|
|
1469
|
-
contents = de_DescribeMatchmakingOutput(data, context);
|
|
1470
|
-
const response = {
|
|
1471
|
-
$metadata: deserializeMetadata(output),
|
|
1472
|
-
...contents,
|
|
1473
|
-
};
|
|
1474
|
-
return response;
|
|
1475
|
-
};
|
|
1476
|
-
export const de_DescribeMatchmakingConfigurationsCommand = async (output, context) => {
|
|
1477
|
-
if (output.statusCode >= 300) {
|
|
1478
|
-
return de_CommandError(output, context);
|
|
1479
|
-
}
|
|
1480
|
-
const data = await parseBody(output.body, context);
|
|
1481
|
-
let contents = {};
|
|
1482
|
-
contents = de_DescribeMatchmakingConfigurationsOutput(data, context);
|
|
1483
|
-
const response = {
|
|
1484
|
-
$metadata: deserializeMetadata(output),
|
|
1485
|
-
...contents,
|
|
1486
|
-
};
|
|
1487
|
-
return response;
|
|
1488
|
-
};
|
|
1489
|
-
export const de_DescribeMatchmakingRuleSetsCommand = async (output, context) => {
|
|
1490
|
-
if (output.statusCode >= 300) {
|
|
1491
|
-
return de_CommandError(output, context);
|
|
1492
|
-
}
|
|
1493
|
-
const data = await parseBody(output.body, context);
|
|
1494
|
-
let contents = {};
|
|
1495
|
-
contents = de_DescribeMatchmakingRuleSetsOutput(data, context);
|
|
1496
|
-
const response = {
|
|
1497
|
-
$metadata: deserializeMetadata(output),
|
|
1498
|
-
...contents,
|
|
1499
|
-
};
|
|
1500
|
-
return response;
|
|
1501
|
-
};
|
|
1502
|
-
export const de_DescribePlayerSessionsCommand = async (output, context) => {
|
|
1503
|
-
if (output.statusCode >= 300) {
|
|
1504
|
-
return de_CommandError(output, context);
|
|
1505
|
-
}
|
|
1506
|
-
const data = await parseBody(output.body, context);
|
|
1507
|
-
let contents = {};
|
|
1508
|
-
contents = de_DescribePlayerSessionsOutput(data, context);
|
|
1509
|
-
const response = {
|
|
1510
|
-
$metadata: deserializeMetadata(output),
|
|
1511
|
-
...contents,
|
|
1512
|
-
};
|
|
1513
|
-
return response;
|
|
1514
|
-
};
|
|
1515
|
-
export const de_DescribeRuntimeConfigurationCommand = async (output, context) => {
|
|
1516
|
-
if (output.statusCode >= 300) {
|
|
1517
|
-
return de_CommandError(output, context);
|
|
1518
|
-
}
|
|
1519
|
-
const data = await parseBody(output.body, context);
|
|
1520
|
-
let contents = {};
|
|
1521
|
-
contents = _json(data);
|
|
1522
|
-
const response = {
|
|
1523
|
-
$metadata: deserializeMetadata(output),
|
|
1524
|
-
...contents,
|
|
1525
|
-
};
|
|
1526
|
-
return response;
|
|
1527
|
-
};
|
|
1528
|
-
export const de_DescribeScalingPoliciesCommand = async (output, context) => {
|
|
1529
|
-
if (output.statusCode >= 300) {
|
|
1530
|
-
return de_CommandError(output, context);
|
|
1531
|
-
}
|
|
1532
|
-
const data = await parseBody(output.body, context);
|
|
1533
|
-
let contents = {};
|
|
1534
|
-
contents = de_DescribeScalingPoliciesOutput(data, context);
|
|
1535
|
-
const response = {
|
|
1536
|
-
$metadata: deserializeMetadata(output),
|
|
1537
|
-
...contents,
|
|
1538
|
-
};
|
|
1539
|
-
return response;
|
|
1540
|
-
};
|
|
1541
|
-
export const de_DescribeScriptCommand = async (output, context) => {
|
|
1542
|
-
if (output.statusCode >= 300) {
|
|
1543
|
-
return de_CommandError(output, context);
|
|
1544
|
-
}
|
|
1545
|
-
const data = await parseBody(output.body, context);
|
|
1546
|
-
let contents = {};
|
|
1547
|
-
contents = de_DescribeScriptOutput(data, context);
|
|
1548
|
-
const response = {
|
|
1549
|
-
$metadata: deserializeMetadata(output),
|
|
1550
|
-
...contents,
|
|
1551
|
-
};
|
|
1552
|
-
return response;
|
|
1553
|
-
};
|
|
1554
|
-
export const de_DescribeVpcPeeringAuthorizationsCommand = async (output, context) => {
|
|
1555
|
-
if (output.statusCode >= 300) {
|
|
1556
|
-
return de_CommandError(output, context);
|
|
1557
|
-
}
|
|
1558
|
-
const data = await parseBody(output.body, context);
|
|
1559
|
-
let contents = {};
|
|
1560
|
-
contents = de_DescribeVpcPeeringAuthorizationsOutput(data, context);
|
|
1561
|
-
const response = {
|
|
1562
|
-
$metadata: deserializeMetadata(output),
|
|
1563
|
-
...contents,
|
|
1564
|
-
};
|
|
1565
|
-
return response;
|
|
1566
|
-
};
|
|
1567
|
-
export const de_DescribeVpcPeeringConnectionsCommand = async (output, context) => {
|
|
1568
|
-
if (output.statusCode >= 300) {
|
|
1569
|
-
return de_CommandError(output, context);
|
|
1570
|
-
}
|
|
1571
|
-
const data = await parseBody(output.body, context);
|
|
1572
|
-
let contents = {};
|
|
1573
|
-
contents = _json(data);
|
|
1574
|
-
const response = {
|
|
1575
|
-
$metadata: deserializeMetadata(output),
|
|
1576
|
-
...contents,
|
|
1577
|
-
};
|
|
1578
|
-
return response;
|
|
1579
|
-
};
|
|
1580
|
-
export const de_GetComputeAccessCommand = async (output, context) => {
|
|
1581
|
-
if (output.statusCode >= 300) {
|
|
1582
|
-
return de_CommandError(output, context);
|
|
1583
|
-
}
|
|
1584
|
-
const data = await parseBody(output.body, context);
|
|
1585
|
-
let contents = {};
|
|
1586
|
-
contents = _json(data);
|
|
1587
|
-
const response = {
|
|
1588
|
-
$metadata: deserializeMetadata(output),
|
|
1589
|
-
...contents,
|
|
1590
|
-
};
|
|
1591
|
-
return response;
|
|
1592
|
-
};
|
|
1593
|
-
export const de_GetComputeAuthTokenCommand = async (output, context) => {
|
|
1594
|
-
if (output.statusCode >= 300) {
|
|
1595
|
-
return de_CommandError(output, context);
|
|
1596
|
-
}
|
|
1597
|
-
const data = await parseBody(output.body, context);
|
|
1598
|
-
let contents = {};
|
|
1599
|
-
contents = de_GetComputeAuthTokenOutput(data, context);
|
|
1600
|
-
const response = {
|
|
1601
|
-
$metadata: deserializeMetadata(output),
|
|
1602
|
-
...contents,
|
|
1603
|
-
};
|
|
1604
|
-
return response;
|
|
1605
|
-
};
|
|
1606
|
-
export const de_GetGameSessionLogUrlCommand = async (output, context) => {
|
|
1607
|
-
if (output.statusCode >= 300) {
|
|
1608
|
-
return de_CommandError(output, context);
|
|
1609
|
-
}
|
|
1610
|
-
const data = await parseBody(output.body, context);
|
|
1611
|
-
let contents = {};
|
|
1612
|
-
contents = _json(data);
|
|
1613
|
-
const response = {
|
|
1614
|
-
$metadata: deserializeMetadata(output),
|
|
1615
|
-
...contents,
|
|
1616
|
-
};
|
|
1617
|
-
return response;
|
|
1618
|
-
};
|
|
1619
|
-
export const de_GetInstanceAccessCommand = async (output, context) => {
|
|
1620
|
-
if (output.statusCode >= 300) {
|
|
1621
|
-
return de_CommandError(output, context);
|
|
1622
|
-
}
|
|
1623
|
-
const data = await parseBody(output.body, context);
|
|
1624
|
-
let contents = {};
|
|
1625
|
-
contents = _json(data);
|
|
1626
|
-
const response = {
|
|
1627
|
-
$metadata: deserializeMetadata(output),
|
|
1628
|
-
...contents,
|
|
1629
|
-
};
|
|
1630
|
-
return response;
|
|
1631
|
-
};
|
|
1632
|
-
export const de_ListAliasesCommand = async (output, context) => {
|
|
1633
|
-
if (output.statusCode >= 300) {
|
|
1634
|
-
return de_CommandError(output, context);
|
|
1635
|
-
}
|
|
1636
|
-
const data = await parseBody(output.body, context);
|
|
1637
|
-
let contents = {};
|
|
1638
|
-
contents = de_ListAliasesOutput(data, context);
|
|
1639
|
-
const response = {
|
|
1640
|
-
$metadata: deserializeMetadata(output),
|
|
1641
|
-
...contents,
|
|
1642
|
-
};
|
|
1643
|
-
return response;
|
|
1644
|
-
};
|
|
1645
|
-
export const de_ListBuildsCommand = async (output, context) => {
|
|
1646
|
-
if (output.statusCode >= 300) {
|
|
1647
|
-
return de_CommandError(output, context);
|
|
1648
|
-
}
|
|
1649
|
-
const data = await parseBody(output.body, context);
|
|
1650
|
-
let contents = {};
|
|
1651
|
-
contents = de_ListBuildsOutput(data, context);
|
|
1652
|
-
const response = {
|
|
1653
|
-
$metadata: deserializeMetadata(output),
|
|
1654
|
-
...contents,
|
|
1655
|
-
};
|
|
1656
|
-
return response;
|
|
1657
|
-
};
|
|
1658
|
-
export const de_ListComputeCommand = async (output, context) => {
|
|
1659
|
-
if (output.statusCode >= 300) {
|
|
1660
|
-
return de_CommandError(output, context);
|
|
1661
|
-
}
|
|
1662
|
-
const data = await parseBody(output.body, context);
|
|
1663
|
-
let contents = {};
|
|
1664
|
-
contents = de_ListComputeOutput(data, context);
|
|
1665
|
-
const response = {
|
|
1666
|
-
$metadata: deserializeMetadata(output),
|
|
1667
|
-
...contents,
|
|
1668
|
-
};
|
|
1669
|
-
return response;
|
|
1670
|
-
};
|
|
1671
|
-
export const de_ListContainerFleetsCommand = async (output, context) => {
|
|
1672
|
-
if (output.statusCode >= 300) {
|
|
1673
|
-
return de_CommandError(output, context);
|
|
1674
|
-
}
|
|
1675
|
-
const data = await parseBody(output.body, context);
|
|
1676
|
-
let contents = {};
|
|
1677
|
-
contents = de_ListContainerFleetsOutput(data, context);
|
|
1678
|
-
const response = {
|
|
1679
|
-
$metadata: deserializeMetadata(output),
|
|
1680
|
-
...contents,
|
|
1681
|
-
};
|
|
1682
|
-
return response;
|
|
1683
|
-
};
|
|
1684
|
-
export const de_ListContainerGroupDefinitionsCommand = async (output, context) => {
|
|
1685
|
-
if (output.statusCode >= 300) {
|
|
1686
|
-
return de_CommandError(output, context);
|
|
1687
|
-
}
|
|
1688
|
-
const data = await parseBody(output.body, context);
|
|
1689
|
-
let contents = {};
|
|
1690
|
-
contents = de_ListContainerGroupDefinitionsOutput(data, context);
|
|
1691
|
-
const response = {
|
|
1692
|
-
$metadata: deserializeMetadata(output),
|
|
1693
|
-
...contents,
|
|
1694
|
-
};
|
|
1695
|
-
return response;
|
|
1696
|
-
};
|
|
1697
|
-
export const de_ListContainerGroupDefinitionVersionsCommand = async (output, context) => {
|
|
1698
|
-
if (output.statusCode >= 300) {
|
|
1699
|
-
return de_CommandError(output, context);
|
|
1700
|
-
}
|
|
1701
|
-
const data = await parseBody(output.body, context);
|
|
1702
|
-
let contents = {};
|
|
1703
|
-
contents = de_ListContainerGroupDefinitionVersionsOutput(data, context);
|
|
1704
|
-
const response = {
|
|
1705
|
-
$metadata: deserializeMetadata(output),
|
|
1706
|
-
...contents,
|
|
1707
|
-
};
|
|
1708
|
-
return response;
|
|
1709
|
-
};
|
|
1710
|
-
export const de_ListFleetDeploymentsCommand = async (output, context) => {
|
|
1711
|
-
if (output.statusCode >= 300) {
|
|
1712
|
-
return de_CommandError(output, context);
|
|
1713
|
-
}
|
|
1714
|
-
const data = await parseBody(output.body, context);
|
|
1715
|
-
let contents = {};
|
|
1716
|
-
contents = de_ListFleetDeploymentsOutput(data, context);
|
|
1717
|
-
const response = {
|
|
1718
|
-
$metadata: deserializeMetadata(output),
|
|
1719
|
-
...contents,
|
|
1720
|
-
};
|
|
1721
|
-
return response;
|
|
1722
|
-
};
|
|
1723
|
-
export const de_ListFleetsCommand = async (output, context) => {
|
|
1724
|
-
if (output.statusCode >= 300) {
|
|
1725
|
-
return de_CommandError(output, context);
|
|
1726
|
-
}
|
|
1727
|
-
const data = await parseBody(output.body, context);
|
|
1728
|
-
let contents = {};
|
|
1729
|
-
contents = _json(data);
|
|
1730
|
-
const response = {
|
|
1731
|
-
$metadata: deserializeMetadata(output),
|
|
1732
|
-
...contents,
|
|
1733
|
-
};
|
|
1734
|
-
return response;
|
|
1735
|
-
};
|
|
1736
|
-
export const de_ListGameServerGroupsCommand = async (output, context) => {
|
|
1737
|
-
if (output.statusCode >= 300) {
|
|
1738
|
-
return de_CommandError(output, context);
|
|
1739
|
-
}
|
|
1740
|
-
const data = await parseBody(output.body, context);
|
|
1741
|
-
let contents = {};
|
|
1742
|
-
contents = de_ListGameServerGroupsOutput(data, context);
|
|
1743
|
-
const response = {
|
|
1744
|
-
$metadata: deserializeMetadata(output),
|
|
1745
|
-
...contents,
|
|
1746
|
-
};
|
|
1747
|
-
return response;
|
|
1748
|
-
};
|
|
1749
|
-
export const de_ListGameServersCommand = async (output, context) => {
|
|
1750
|
-
if (output.statusCode >= 300) {
|
|
1751
|
-
return de_CommandError(output, context);
|
|
1752
|
-
}
|
|
1753
|
-
const data = await parseBody(output.body, context);
|
|
1754
|
-
let contents = {};
|
|
1755
|
-
contents = de_ListGameServersOutput(data, context);
|
|
1756
|
-
const response = {
|
|
1757
|
-
$metadata: deserializeMetadata(output),
|
|
1758
|
-
...contents,
|
|
1759
|
-
};
|
|
1760
|
-
return response;
|
|
1761
|
-
};
|
|
1762
|
-
export const de_ListLocationsCommand = async (output, context) => {
|
|
1763
|
-
if (output.statusCode >= 300) {
|
|
1764
|
-
return de_CommandError(output, context);
|
|
1765
|
-
}
|
|
1766
|
-
const data = await parseBody(output.body, context);
|
|
1767
|
-
let contents = {};
|
|
1768
|
-
contents = _json(data);
|
|
1769
|
-
const response = {
|
|
1770
|
-
$metadata: deserializeMetadata(output),
|
|
1771
|
-
...contents,
|
|
1772
|
-
};
|
|
1773
|
-
return response;
|
|
1774
|
-
};
|
|
1775
|
-
export const de_ListScriptsCommand = async (output, context) => {
|
|
1776
|
-
if (output.statusCode >= 300) {
|
|
1777
|
-
return de_CommandError(output, context);
|
|
1778
|
-
}
|
|
1779
|
-
const data = await parseBody(output.body, context);
|
|
1780
|
-
let contents = {};
|
|
1781
|
-
contents = de_ListScriptsOutput(data, context);
|
|
1782
|
-
const response = {
|
|
1783
|
-
$metadata: deserializeMetadata(output),
|
|
1784
|
-
...contents,
|
|
1785
|
-
};
|
|
1786
|
-
return response;
|
|
1787
|
-
};
|
|
1788
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1789
|
-
if (output.statusCode >= 300) {
|
|
1790
|
-
return de_CommandError(output, context);
|
|
1791
|
-
}
|
|
1792
|
-
const data = await parseBody(output.body, context);
|
|
1793
|
-
let contents = {};
|
|
1794
|
-
contents = _json(data);
|
|
1795
|
-
const response = {
|
|
1796
|
-
$metadata: deserializeMetadata(output),
|
|
1797
|
-
...contents,
|
|
1798
|
-
};
|
|
1799
|
-
return response;
|
|
1800
|
-
};
|
|
1801
|
-
export const de_PutScalingPolicyCommand = async (output, context) => {
|
|
1802
|
-
if (output.statusCode >= 300) {
|
|
1803
|
-
return de_CommandError(output, context);
|
|
1804
|
-
}
|
|
1805
|
-
const data = await parseBody(output.body, context);
|
|
1806
|
-
let contents = {};
|
|
1807
|
-
contents = _json(data);
|
|
1808
|
-
const response = {
|
|
1809
|
-
$metadata: deserializeMetadata(output),
|
|
1810
|
-
...contents,
|
|
1811
|
-
};
|
|
1812
|
-
return response;
|
|
1813
|
-
};
|
|
1814
|
-
export const de_RegisterComputeCommand = async (output, context) => {
|
|
1815
|
-
if (output.statusCode >= 300) {
|
|
1816
|
-
return de_CommandError(output, context);
|
|
1817
|
-
}
|
|
1818
|
-
const data = await parseBody(output.body, context);
|
|
1819
|
-
let contents = {};
|
|
1820
|
-
contents = de_RegisterComputeOutput(data, context);
|
|
1821
|
-
const response = {
|
|
1822
|
-
$metadata: deserializeMetadata(output),
|
|
1823
|
-
...contents,
|
|
1824
|
-
};
|
|
1825
|
-
return response;
|
|
1826
|
-
};
|
|
1827
|
-
export const de_RegisterGameServerCommand = async (output, context) => {
|
|
1828
|
-
if (output.statusCode >= 300) {
|
|
1829
|
-
return de_CommandError(output, context);
|
|
1830
|
-
}
|
|
1831
|
-
const data = await parseBody(output.body, context);
|
|
1832
|
-
let contents = {};
|
|
1833
|
-
contents = de_RegisterGameServerOutput(data, context);
|
|
1834
|
-
const response = {
|
|
1835
|
-
$metadata: deserializeMetadata(output),
|
|
1836
|
-
...contents,
|
|
1837
|
-
};
|
|
1838
|
-
return response;
|
|
1839
|
-
};
|
|
1840
|
-
export const de_RequestUploadCredentialsCommand = async (output, context) => {
|
|
1841
|
-
if (output.statusCode >= 300) {
|
|
1842
|
-
return de_CommandError(output, context);
|
|
1843
|
-
}
|
|
1844
|
-
const data = await parseBody(output.body, context);
|
|
1845
|
-
let contents = {};
|
|
1846
|
-
contents = _json(data);
|
|
1847
|
-
const response = {
|
|
1848
|
-
$metadata: deserializeMetadata(output),
|
|
1849
|
-
...contents,
|
|
1850
|
-
};
|
|
1851
|
-
return response;
|
|
1852
|
-
};
|
|
1853
|
-
export const de_ResolveAliasCommand = async (output, context) => {
|
|
1854
|
-
if (output.statusCode >= 300) {
|
|
1855
|
-
return de_CommandError(output, context);
|
|
1856
|
-
}
|
|
1857
|
-
const data = await parseBody(output.body, context);
|
|
1858
|
-
let contents = {};
|
|
1859
|
-
contents = _json(data);
|
|
1860
|
-
const response = {
|
|
1861
|
-
$metadata: deserializeMetadata(output),
|
|
1862
|
-
...contents,
|
|
1863
|
-
};
|
|
1864
|
-
return response;
|
|
1865
|
-
};
|
|
1866
|
-
export const de_ResumeGameServerGroupCommand = async (output, context) => {
|
|
1867
|
-
if (output.statusCode >= 300) {
|
|
1868
|
-
return de_CommandError(output, context);
|
|
1869
|
-
}
|
|
1870
|
-
const data = await parseBody(output.body, context);
|
|
1871
|
-
let contents = {};
|
|
1872
|
-
contents = de_ResumeGameServerGroupOutput(data, context);
|
|
1873
|
-
const response = {
|
|
1874
|
-
$metadata: deserializeMetadata(output),
|
|
1875
|
-
...contents,
|
|
1876
|
-
};
|
|
1877
|
-
return response;
|
|
1878
|
-
};
|
|
1879
|
-
export const de_SearchGameSessionsCommand = async (output, context) => {
|
|
1880
|
-
if (output.statusCode >= 300) {
|
|
1881
|
-
return de_CommandError(output, context);
|
|
1882
|
-
}
|
|
1883
|
-
const data = await parseBody(output.body, context);
|
|
1884
|
-
let contents = {};
|
|
1885
|
-
contents = de_SearchGameSessionsOutput(data, context);
|
|
1886
|
-
const response = {
|
|
1887
|
-
$metadata: deserializeMetadata(output),
|
|
1888
|
-
...contents,
|
|
1889
|
-
};
|
|
1890
|
-
return response;
|
|
1891
|
-
};
|
|
1892
|
-
export const de_StartFleetActionsCommand = async (output, context) => {
|
|
1893
|
-
if (output.statusCode >= 300) {
|
|
1894
|
-
return de_CommandError(output, context);
|
|
1895
|
-
}
|
|
1896
|
-
const data = await parseBody(output.body, context);
|
|
1897
|
-
let contents = {};
|
|
1898
|
-
contents = _json(data);
|
|
1899
|
-
const response = {
|
|
1900
|
-
$metadata: deserializeMetadata(output),
|
|
1901
|
-
...contents,
|
|
1902
|
-
};
|
|
1903
|
-
return response;
|
|
1904
|
-
};
|
|
1905
|
-
export const de_StartGameSessionPlacementCommand = async (output, context) => {
|
|
1906
|
-
if (output.statusCode >= 300) {
|
|
1907
|
-
return de_CommandError(output, context);
|
|
1908
|
-
}
|
|
1909
|
-
const data = await parseBody(output.body, context);
|
|
1910
|
-
let contents = {};
|
|
1911
|
-
contents = de_StartGameSessionPlacementOutput(data, context);
|
|
1912
|
-
const response = {
|
|
1913
|
-
$metadata: deserializeMetadata(output),
|
|
1914
|
-
...contents,
|
|
1915
|
-
};
|
|
1916
|
-
return response;
|
|
1917
|
-
};
|
|
1918
|
-
export const de_StartMatchBackfillCommand = async (output, context) => {
|
|
1919
|
-
if (output.statusCode >= 300) {
|
|
1920
|
-
return de_CommandError(output, context);
|
|
1921
|
-
}
|
|
1922
|
-
const data = await parseBody(output.body, context);
|
|
1923
|
-
let contents = {};
|
|
1924
|
-
contents = de_StartMatchBackfillOutput(data, context);
|
|
1925
|
-
const response = {
|
|
1926
|
-
$metadata: deserializeMetadata(output),
|
|
1927
|
-
...contents,
|
|
1928
|
-
};
|
|
1929
|
-
return response;
|
|
1930
|
-
};
|
|
1931
|
-
export const de_StartMatchmakingCommand = async (output, context) => {
|
|
1932
|
-
if (output.statusCode >= 300) {
|
|
1933
|
-
return de_CommandError(output, context);
|
|
1934
|
-
}
|
|
1935
|
-
const data = await parseBody(output.body, context);
|
|
1936
|
-
let contents = {};
|
|
1937
|
-
contents = de_StartMatchmakingOutput(data, context);
|
|
1938
|
-
const response = {
|
|
1939
|
-
$metadata: deserializeMetadata(output),
|
|
1940
|
-
...contents,
|
|
1941
|
-
};
|
|
1942
|
-
return response;
|
|
1943
|
-
};
|
|
1944
|
-
export const de_StopFleetActionsCommand = async (output, context) => {
|
|
1945
|
-
if (output.statusCode >= 300) {
|
|
1946
|
-
return de_CommandError(output, context);
|
|
1947
|
-
}
|
|
1948
|
-
const data = await parseBody(output.body, context);
|
|
1949
|
-
let contents = {};
|
|
1950
|
-
contents = _json(data);
|
|
1951
|
-
const response = {
|
|
1952
|
-
$metadata: deserializeMetadata(output),
|
|
1953
|
-
...contents,
|
|
1954
|
-
};
|
|
1955
|
-
return response;
|
|
1956
|
-
};
|
|
1957
|
-
export const de_StopGameSessionPlacementCommand = async (output, context) => {
|
|
1958
|
-
if (output.statusCode >= 300) {
|
|
1959
|
-
return de_CommandError(output, context);
|
|
1960
|
-
}
|
|
1961
|
-
const data = await parseBody(output.body, context);
|
|
1962
|
-
let contents = {};
|
|
1963
|
-
contents = de_StopGameSessionPlacementOutput(data, context);
|
|
1964
|
-
const response = {
|
|
1965
|
-
$metadata: deserializeMetadata(output),
|
|
1966
|
-
...contents,
|
|
1967
|
-
};
|
|
1968
|
-
return response;
|
|
1969
|
-
};
|
|
1970
|
-
export const de_StopMatchmakingCommand = async (output, context) => {
|
|
1971
|
-
if (output.statusCode >= 300) {
|
|
1972
|
-
return de_CommandError(output, context);
|
|
1973
|
-
}
|
|
1974
|
-
const data = await parseBody(output.body, context);
|
|
1975
|
-
let contents = {};
|
|
1976
|
-
contents = _json(data);
|
|
1977
|
-
const response = {
|
|
1978
|
-
$metadata: deserializeMetadata(output),
|
|
1979
|
-
...contents,
|
|
1980
|
-
};
|
|
1981
|
-
return response;
|
|
1982
|
-
};
|
|
1983
|
-
export const de_SuspendGameServerGroupCommand = async (output, context) => {
|
|
1984
|
-
if (output.statusCode >= 300) {
|
|
1985
|
-
return de_CommandError(output, context);
|
|
1986
|
-
}
|
|
1987
|
-
const data = await parseBody(output.body, context);
|
|
1988
|
-
let contents = {};
|
|
1989
|
-
contents = de_SuspendGameServerGroupOutput(data, context);
|
|
1990
|
-
const response = {
|
|
1991
|
-
$metadata: deserializeMetadata(output),
|
|
1992
|
-
...contents,
|
|
1993
|
-
};
|
|
1994
|
-
return response;
|
|
1995
|
-
};
|
|
1996
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1997
|
-
if (output.statusCode >= 300) {
|
|
1998
|
-
return de_CommandError(output, context);
|
|
1999
|
-
}
|
|
2000
|
-
const data = await parseBody(output.body, context);
|
|
2001
|
-
let contents = {};
|
|
2002
|
-
contents = _json(data);
|
|
2003
|
-
const response = {
|
|
2004
|
-
$metadata: deserializeMetadata(output),
|
|
2005
|
-
...contents,
|
|
2006
|
-
};
|
|
2007
|
-
return response;
|
|
2008
|
-
};
|
|
2009
|
-
export const de_TerminateGameSessionCommand = async (output, context) => {
|
|
2010
|
-
if (output.statusCode >= 300) {
|
|
2011
|
-
return de_CommandError(output, context);
|
|
2012
|
-
}
|
|
2013
|
-
const data = await parseBody(output.body, context);
|
|
2014
|
-
let contents = {};
|
|
2015
|
-
contents = de_TerminateGameSessionOutput(data, context);
|
|
2016
|
-
const response = {
|
|
2017
|
-
$metadata: deserializeMetadata(output),
|
|
2018
|
-
...contents,
|
|
2019
|
-
};
|
|
2020
|
-
return response;
|
|
2021
|
-
};
|
|
2022
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
2023
|
-
if (output.statusCode >= 300) {
|
|
2024
|
-
return de_CommandError(output, context);
|
|
2025
|
-
}
|
|
2026
|
-
const data = await parseBody(output.body, context);
|
|
2027
|
-
let contents = {};
|
|
2028
|
-
contents = _json(data);
|
|
2029
|
-
const response = {
|
|
2030
|
-
$metadata: deserializeMetadata(output),
|
|
2031
|
-
...contents,
|
|
2032
|
-
};
|
|
2033
|
-
return response;
|
|
2034
|
-
};
|
|
2035
|
-
export const de_UpdateAliasCommand = async (output, context) => {
|
|
2036
|
-
if (output.statusCode >= 300) {
|
|
2037
|
-
return de_CommandError(output, context);
|
|
2038
|
-
}
|
|
2039
|
-
const data = await parseBody(output.body, context);
|
|
2040
|
-
let contents = {};
|
|
2041
|
-
contents = de_UpdateAliasOutput(data, context);
|
|
2042
|
-
const response = {
|
|
2043
|
-
$metadata: deserializeMetadata(output),
|
|
2044
|
-
...contents,
|
|
2045
|
-
};
|
|
2046
|
-
return response;
|
|
2047
|
-
};
|
|
2048
|
-
export const de_UpdateBuildCommand = async (output, context) => {
|
|
2049
|
-
if (output.statusCode >= 300) {
|
|
2050
|
-
return de_CommandError(output, context);
|
|
2051
|
-
}
|
|
2052
|
-
const data = await parseBody(output.body, context);
|
|
2053
|
-
let contents = {};
|
|
2054
|
-
contents = de_UpdateBuildOutput(data, context);
|
|
2055
|
-
const response = {
|
|
2056
|
-
$metadata: deserializeMetadata(output),
|
|
2057
|
-
...contents,
|
|
2058
|
-
};
|
|
2059
|
-
return response;
|
|
2060
|
-
};
|
|
2061
|
-
export const de_UpdateContainerFleetCommand = async (output, context) => {
|
|
2062
|
-
if (output.statusCode >= 300) {
|
|
2063
|
-
return de_CommandError(output, context);
|
|
2064
|
-
}
|
|
2065
|
-
const data = await parseBody(output.body, context);
|
|
2066
|
-
let contents = {};
|
|
2067
|
-
contents = de_UpdateContainerFleetOutput(data, context);
|
|
2068
|
-
const response = {
|
|
2069
|
-
$metadata: deserializeMetadata(output),
|
|
2070
|
-
...contents,
|
|
2071
|
-
};
|
|
2072
|
-
return response;
|
|
2073
|
-
};
|
|
2074
|
-
export const de_UpdateContainerGroupDefinitionCommand = async (output, context) => {
|
|
2075
|
-
if (output.statusCode >= 300) {
|
|
2076
|
-
return de_CommandError(output, context);
|
|
2077
|
-
}
|
|
2078
|
-
const data = await parseBody(output.body, context);
|
|
2079
|
-
let contents = {};
|
|
2080
|
-
contents = de_UpdateContainerGroupDefinitionOutput(data, context);
|
|
2081
|
-
const response = {
|
|
2082
|
-
$metadata: deserializeMetadata(output),
|
|
2083
|
-
...contents,
|
|
2084
|
-
};
|
|
2085
|
-
return response;
|
|
2086
|
-
};
|
|
2087
|
-
export const de_UpdateFleetAttributesCommand = async (output, context) => {
|
|
2088
|
-
if (output.statusCode >= 300) {
|
|
2089
|
-
return de_CommandError(output, context);
|
|
2090
|
-
}
|
|
2091
|
-
const data = await parseBody(output.body, context);
|
|
2092
|
-
let contents = {};
|
|
2093
|
-
contents = _json(data);
|
|
2094
|
-
const response = {
|
|
2095
|
-
$metadata: deserializeMetadata(output),
|
|
2096
|
-
...contents,
|
|
2097
|
-
};
|
|
2098
|
-
return response;
|
|
2099
|
-
};
|
|
2100
|
-
export const de_UpdateFleetCapacityCommand = async (output, context) => {
|
|
2101
|
-
if (output.statusCode >= 300) {
|
|
2102
|
-
return de_CommandError(output, context);
|
|
2103
|
-
}
|
|
2104
|
-
const data = await parseBody(output.body, context);
|
|
2105
|
-
let contents = {};
|
|
2106
|
-
contents = _json(data);
|
|
2107
|
-
const response = {
|
|
2108
|
-
$metadata: deserializeMetadata(output),
|
|
2109
|
-
...contents,
|
|
2110
|
-
};
|
|
2111
|
-
return response;
|
|
2112
|
-
};
|
|
2113
|
-
export const de_UpdateFleetPortSettingsCommand = async (output, context) => {
|
|
2114
|
-
if (output.statusCode >= 300) {
|
|
2115
|
-
return de_CommandError(output, context);
|
|
2116
|
-
}
|
|
2117
|
-
const data = await parseBody(output.body, context);
|
|
2118
|
-
let contents = {};
|
|
2119
|
-
contents = _json(data);
|
|
2120
|
-
const response = {
|
|
2121
|
-
$metadata: deserializeMetadata(output),
|
|
2122
|
-
...contents,
|
|
2123
|
-
};
|
|
2124
|
-
return response;
|
|
2125
|
-
};
|
|
2126
|
-
export const de_UpdateGameServerCommand = async (output, context) => {
|
|
2127
|
-
if (output.statusCode >= 300) {
|
|
2128
|
-
return de_CommandError(output, context);
|
|
2129
|
-
}
|
|
2130
|
-
const data = await parseBody(output.body, context);
|
|
2131
|
-
let contents = {};
|
|
2132
|
-
contents = de_UpdateGameServerOutput(data, context);
|
|
2133
|
-
const response = {
|
|
2134
|
-
$metadata: deserializeMetadata(output),
|
|
2135
|
-
...contents,
|
|
2136
|
-
};
|
|
2137
|
-
return response;
|
|
2138
|
-
};
|
|
2139
|
-
export const de_UpdateGameServerGroupCommand = async (output, context) => {
|
|
2140
|
-
if (output.statusCode >= 300) {
|
|
2141
|
-
return de_CommandError(output, context);
|
|
2142
|
-
}
|
|
2143
|
-
const data = await parseBody(output.body, context);
|
|
2144
|
-
let contents = {};
|
|
2145
|
-
contents = de_UpdateGameServerGroupOutput(data, context);
|
|
2146
|
-
const response = {
|
|
2147
|
-
$metadata: deserializeMetadata(output),
|
|
2148
|
-
...contents,
|
|
2149
|
-
};
|
|
2150
|
-
return response;
|
|
2151
|
-
};
|
|
2152
|
-
export const de_UpdateGameSessionCommand = async (output, context) => {
|
|
2153
|
-
if (output.statusCode >= 300) {
|
|
2154
|
-
return de_CommandError(output, context);
|
|
2155
|
-
}
|
|
2156
|
-
const data = await parseBody(output.body, context);
|
|
2157
|
-
let contents = {};
|
|
2158
|
-
contents = de_UpdateGameSessionOutput(data, context);
|
|
2159
|
-
const response = {
|
|
2160
|
-
$metadata: deserializeMetadata(output),
|
|
2161
|
-
...contents,
|
|
2162
|
-
};
|
|
2163
|
-
return response;
|
|
2164
|
-
};
|
|
2165
|
-
export const de_UpdateGameSessionQueueCommand = async (output, context) => {
|
|
2166
|
-
if (output.statusCode >= 300) {
|
|
2167
|
-
return de_CommandError(output, context);
|
|
2168
|
-
}
|
|
2169
|
-
const data = await parseBody(output.body, context);
|
|
2170
|
-
let contents = {};
|
|
2171
|
-
contents = _json(data);
|
|
2172
|
-
const response = {
|
|
2173
|
-
$metadata: deserializeMetadata(output),
|
|
2174
|
-
...contents,
|
|
2175
|
-
};
|
|
2176
|
-
return response;
|
|
2177
|
-
};
|
|
2178
|
-
export const de_UpdateMatchmakingConfigurationCommand = async (output, context) => {
|
|
2179
|
-
if (output.statusCode >= 300) {
|
|
2180
|
-
return de_CommandError(output, context);
|
|
2181
|
-
}
|
|
2182
|
-
const data = await parseBody(output.body, context);
|
|
2183
|
-
let contents = {};
|
|
2184
|
-
contents = de_UpdateMatchmakingConfigurationOutput(data, context);
|
|
2185
|
-
const response = {
|
|
2186
|
-
$metadata: deserializeMetadata(output),
|
|
2187
|
-
...contents,
|
|
2188
|
-
};
|
|
2189
|
-
return response;
|
|
2190
|
-
};
|
|
2191
|
-
export const de_UpdateRuntimeConfigurationCommand = async (output, context) => {
|
|
2192
|
-
if (output.statusCode >= 300) {
|
|
2193
|
-
return de_CommandError(output, context);
|
|
2194
|
-
}
|
|
2195
|
-
const data = await parseBody(output.body, context);
|
|
2196
|
-
let contents = {};
|
|
2197
|
-
contents = _json(data);
|
|
2198
|
-
const response = {
|
|
2199
|
-
$metadata: deserializeMetadata(output),
|
|
2200
|
-
...contents,
|
|
2201
|
-
};
|
|
2202
|
-
return response;
|
|
2203
|
-
};
|
|
2204
|
-
export const de_UpdateScriptCommand = async (output, context) => {
|
|
2205
|
-
if (output.statusCode >= 300) {
|
|
2206
|
-
return de_CommandError(output, context);
|
|
2207
|
-
}
|
|
2208
|
-
const data = await parseBody(output.body, context);
|
|
2209
|
-
let contents = {};
|
|
2210
|
-
contents = de_UpdateScriptOutput(data, context);
|
|
2211
|
-
const response = {
|
|
2212
|
-
$metadata: deserializeMetadata(output),
|
|
2213
|
-
...contents,
|
|
2214
|
-
};
|
|
2215
|
-
return response;
|
|
2216
|
-
};
|
|
2217
|
-
export const de_ValidateMatchmakingRuleSetCommand = async (output, context) => {
|
|
2218
|
-
if (output.statusCode >= 300) {
|
|
2219
|
-
return de_CommandError(output, context);
|
|
2220
|
-
}
|
|
2221
|
-
const data = await parseBody(output.body, context);
|
|
2222
|
-
let contents = {};
|
|
2223
|
-
contents = _json(data);
|
|
2224
|
-
const response = {
|
|
2225
|
-
$metadata: deserializeMetadata(output),
|
|
2226
|
-
...contents,
|
|
2227
|
-
};
|
|
2228
|
-
return response;
|
|
2229
|
-
};
|
|
2230
|
-
const de_CommandError = async (output, context) => {
|
|
2231
|
-
const parsedOutput = {
|
|
2232
|
-
...output,
|
|
2233
|
-
body: await parseErrorBody(output.body, context),
|
|
2234
|
-
};
|
|
2235
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2236
|
-
switch (errorCode) {
|
|
2237
|
-
case "InternalServiceException":
|
|
2238
|
-
case "com.amazonaws.gamelift#InternalServiceException":
|
|
2239
|
-
throw await de_InternalServiceExceptionRes(parsedOutput, context);
|
|
2240
|
-
case "InvalidRequestException":
|
|
2241
|
-
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
2242
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2243
|
-
case "NotFoundException":
|
|
2244
|
-
case "com.amazonaws.gamelift#NotFoundException":
|
|
2245
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
2246
|
-
case "UnsupportedRegionException":
|
|
2247
|
-
case "com.amazonaws.gamelift#UnsupportedRegionException":
|
|
2248
|
-
throw await de_UnsupportedRegionExceptionRes(parsedOutput, context);
|
|
2249
|
-
case "ConflictException":
|
|
2250
|
-
case "com.amazonaws.gamelift#ConflictException":
|
|
2251
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2252
|
-
case "OutOfCapacityException":
|
|
2253
|
-
case "com.amazonaws.gamelift#OutOfCapacityException":
|
|
2254
|
-
throw await de_OutOfCapacityExceptionRes(parsedOutput, context);
|
|
2255
|
-
case "UnauthorizedException":
|
|
2256
|
-
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
2257
|
-
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
2258
|
-
case "LimitExceededException":
|
|
2259
|
-
case "com.amazonaws.gamelift#LimitExceededException":
|
|
2260
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2261
|
-
case "TaggingFailedException":
|
|
2262
|
-
case "com.amazonaws.gamelift#TaggingFailedException":
|
|
2263
|
-
throw await de_TaggingFailedExceptionRes(parsedOutput, context);
|
|
2264
|
-
case "NotReadyException":
|
|
2265
|
-
case "com.amazonaws.gamelift#NotReadyException":
|
|
2266
|
-
throw await de_NotReadyExceptionRes(parsedOutput, context);
|
|
2267
|
-
case "InvalidFleetStatusException":
|
|
2268
|
-
case "com.amazonaws.gamelift#InvalidFleetStatusException":
|
|
2269
|
-
throw await de_InvalidFleetStatusExceptionRes(parsedOutput, context);
|
|
2270
|
-
case "FleetCapacityExceededException":
|
|
2271
|
-
case "com.amazonaws.gamelift#FleetCapacityExceededException":
|
|
2272
|
-
throw await de_FleetCapacityExceededExceptionRes(parsedOutput, context);
|
|
2273
|
-
case "IdempotentParameterMismatchException":
|
|
2274
|
-
case "com.amazonaws.gamelift#IdempotentParameterMismatchException":
|
|
2275
|
-
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput, context);
|
|
2276
|
-
case "TerminalRoutingStrategyException":
|
|
2277
|
-
case "com.amazonaws.gamelift#TerminalRoutingStrategyException":
|
|
2278
|
-
throw await de_TerminalRoutingStrategyExceptionRes(parsedOutput, context);
|
|
2279
|
-
case "GameSessionFullException":
|
|
2280
|
-
case "com.amazonaws.gamelift#GameSessionFullException":
|
|
2281
|
-
throw await de_GameSessionFullExceptionRes(parsedOutput, context);
|
|
2282
|
-
case "InvalidGameSessionStatusException":
|
|
2283
|
-
case "com.amazonaws.gamelift#InvalidGameSessionStatusException":
|
|
2284
|
-
throw await de_InvalidGameSessionStatusExceptionRes(parsedOutput, context);
|
|
2285
|
-
default:
|
|
2286
|
-
const parsedBody = parsedOutput.body;
|
|
2287
|
-
return throwDefaultError({
|
|
2288
|
-
output,
|
|
2289
|
-
parsedBody,
|
|
2290
|
-
errorCode,
|
|
2291
|
-
});
|
|
2292
|
-
}
|
|
2293
|
-
};
|
|
2294
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2295
|
-
const body = parsedOutput.body;
|
|
2296
|
-
const deserialized = _json(body);
|
|
2297
|
-
const exception = new ConflictException({
|
|
2298
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2299
|
-
...deserialized,
|
|
2300
|
-
});
|
|
2301
|
-
return __decorateServiceException(exception, body);
|
|
2302
|
-
};
|
|
2303
|
-
const de_FleetCapacityExceededExceptionRes = async (parsedOutput, context) => {
|
|
2304
|
-
const body = parsedOutput.body;
|
|
2305
|
-
const deserialized = _json(body);
|
|
2306
|
-
const exception = new FleetCapacityExceededException({
|
|
2307
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2308
|
-
...deserialized,
|
|
2309
|
-
});
|
|
2310
|
-
return __decorateServiceException(exception, body);
|
|
2311
|
-
};
|
|
2312
|
-
const de_GameSessionFullExceptionRes = async (parsedOutput, context) => {
|
|
2313
|
-
const body = parsedOutput.body;
|
|
2314
|
-
const deserialized = _json(body);
|
|
2315
|
-
const exception = new GameSessionFullException({
|
|
2316
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2317
|
-
...deserialized,
|
|
2318
|
-
});
|
|
2319
|
-
return __decorateServiceException(exception, body);
|
|
2320
|
-
};
|
|
2321
|
-
const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
|
|
2322
|
-
const body = parsedOutput.body;
|
|
2323
|
-
const deserialized = _json(body);
|
|
2324
|
-
const exception = new IdempotentParameterMismatchException({
|
|
2325
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2326
|
-
...deserialized,
|
|
2327
|
-
});
|
|
2328
|
-
return __decorateServiceException(exception, body);
|
|
2329
|
-
};
|
|
2330
|
-
const de_InternalServiceExceptionRes = async (parsedOutput, context) => {
|
|
2331
|
-
const body = parsedOutput.body;
|
|
2332
|
-
const deserialized = _json(body);
|
|
2333
|
-
const exception = new InternalServiceException({
|
|
2334
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2335
|
-
...deserialized,
|
|
2336
|
-
});
|
|
2337
|
-
return __decorateServiceException(exception, body);
|
|
2338
|
-
};
|
|
2339
|
-
const de_InvalidFleetStatusExceptionRes = async (parsedOutput, context) => {
|
|
2340
|
-
const body = parsedOutput.body;
|
|
2341
|
-
const deserialized = _json(body);
|
|
2342
|
-
const exception = new InvalidFleetStatusException({
|
|
2343
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2344
|
-
...deserialized,
|
|
2345
|
-
});
|
|
2346
|
-
return __decorateServiceException(exception, body);
|
|
2347
|
-
};
|
|
2348
|
-
const de_InvalidGameSessionStatusExceptionRes = async (parsedOutput, context) => {
|
|
2349
|
-
const body = parsedOutput.body;
|
|
2350
|
-
const deserialized = _json(body);
|
|
2351
|
-
const exception = new InvalidGameSessionStatusException({
|
|
2352
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2353
|
-
...deserialized,
|
|
2354
|
-
});
|
|
2355
|
-
return __decorateServiceException(exception, body);
|
|
2356
|
-
};
|
|
2357
|
-
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
2358
|
-
const body = parsedOutput.body;
|
|
2359
|
-
const deserialized = _json(body);
|
|
2360
|
-
const exception = new InvalidRequestException({
|
|
2361
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2362
|
-
...deserialized,
|
|
2363
|
-
});
|
|
2364
|
-
return __decorateServiceException(exception, body);
|
|
2365
|
-
};
|
|
2366
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2367
|
-
const body = parsedOutput.body;
|
|
2368
|
-
const deserialized = _json(body);
|
|
2369
|
-
const exception = new LimitExceededException({
|
|
2370
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2371
|
-
...deserialized,
|
|
2372
|
-
});
|
|
2373
|
-
return __decorateServiceException(exception, body);
|
|
2374
|
-
};
|
|
2375
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2376
|
-
const body = parsedOutput.body;
|
|
2377
|
-
const deserialized = _json(body);
|
|
2378
|
-
const exception = new NotFoundException({
|
|
2379
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2380
|
-
...deserialized,
|
|
2381
|
-
});
|
|
2382
|
-
return __decorateServiceException(exception, body);
|
|
2383
|
-
};
|
|
2384
|
-
const de_NotReadyExceptionRes = async (parsedOutput, context) => {
|
|
2385
|
-
const body = parsedOutput.body;
|
|
2386
|
-
const deserialized = _json(body);
|
|
2387
|
-
const exception = new NotReadyException({
|
|
2388
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2389
|
-
...deserialized,
|
|
2390
|
-
});
|
|
2391
|
-
return __decorateServiceException(exception, body);
|
|
2392
|
-
};
|
|
2393
|
-
const de_OutOfCapacityExceptionRes = async (parsedOutput, context) => {
|
|
2394
|
-
const body = parsedOutput.body;
|
|
2395
|
-
const deserialized = _json(body);
|
|
2396
|
-
const exception = new OutOfCapacityException({
|
|
2397
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2398
|
-
...deserialized,
|
|
2399
|
-
});
|
|
2400
|
-
return __decorateServiceException(exception, body);
|
|
2401
|
-
};
|
|
2402
|
-
const de_TaggingFailedExceptionRes = async (parsedOutput, context) => {
|
|
2403
|
-
const body = parsedOutput.body;
|
|
2404
|
-
const deserialized = _json(body);
|
|
2405
|
-
const exception = new TaggingFailedException({
|
|
2406
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2407
|
-
...deserialized,
|
|
2408
|
-
});
|
|
2409
|
-
return __decorateServiceException(exception, body);
|
|
2410
|
-
};
|
|
2411
|
-
const de_TerminalRoutingStrategyExceptionRes = async (parsedOutput, context) => {
|
|
2412
|
-
const body = parsedOutput.body;
|
|
2413
|
-
const deserialized = _json(body);
|
|
2414
|
-
const exception = new TerminalRoutingStrategyException({
|
|
2415
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2416
|
-
...deserialized,
|
|
2417
|
-
});
|
|
2418
|
-
return __decorateServiceException(exception, body);
|
|
2419
|
-
};
|
|
2420
|
-
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
2421
|
-
const body = parsedOutput.body;
|
|
2422
|
-
const deserialized = _json(body);
|
|
2423
|
-
const exception = new UnauthorizedException({
|
|
2424
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2425
|
-
...deserialized,
|
|
2426
|
-
});
|
|
2427
|
-
return __decorateServiceException(exception, body);
|
|
2428
|
-
};
|
|
2429
|
-
const de_UnsupportedRegionExceptionRes = async (parsedOutput, context) => {
|
|
2430
|
-
const body = parsedOutput.body;
|
|
2431
|
-
const deserialized = _json(body);
|
|
2432
|
-
const exception = new UnsupportedRegionException({
|
|
2433
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2434
|
-
...deserialized,
|
|
2435
|
-
});
|
|
2436
|
-
return __decorateServiceException(exception, body);
|
|
2437
|
-
};
|
|
2438
|
-
const se_AttributeValue = (input, context) => {
|
|
2439
|
-
return take(input, {
|
|
2440
|
-
N: __serializeFloat,
|
|
2441
|
-
S: [],
|
|
2442
|
-
SDM: (_) => se_PlayerAttributeStringDoubleMap(_, context),
|
|
2443
|
-
SL: _json,
|
|
2444
|
-
});
|
|
2445
|
-
};
|
|
2446
|
-
const se_CreateContainerGroupDefinitionInput = (input, context) => {
|
|
2447
|
-
return take(input, {
|
|
2448
|
-
ContainerGroupType: [],
|
|
2449
|
-
GameServerContainerDefinition: _json,
|
|
2450
|
-
Name: [],
|
|
2451
|
-
OperatingSystem: [],
|
|
2452
|
-
SupportContainerDefinitions: (_) => se_SupportContainerDefinitionInputList(_, context),
|
|
2453
|
-
Tags: _json,
|
|
2454
|
-
TotalMemoryLimitMebibytes: [],
|
|
2455
|
-
TotalVcpuLimit: __serializeFloat,
|
|
2456
|
-
VersionDescription: [],
|
|
2457
|
-
});
|
|
2458
|
-
};
|
|
2459
|
-
const se_CreateGameServerGroupInput = (input, context) => {
|
|
2460
|
-
return take(input, {
|
|
2461
|
-
AutoScalingPolicy: (_) => se_GameServerGroupAutoScalingPolicy(_, context),
|
|
2462
|
-
BalancingStrategy: [],
|
|
2463
|
-
GameServerGroupName: [],
|
|
2464
|
-
GameServerProtectionPolicy: [],
|
|
2465
|
-
InstanceDefinitions: _json,
|
|
2466
|
-
LaunchTemplate: _json,
|
|
2467
|
-
MaxSize: [],
|
|
2468
|
-
MinSize: [],
|
|
2469
|
-
RoleArn: [],
|
|
2470
|
-
Tags: _json,
|
|
2471
|
-
VpcSubnets: _json,
|
|
2472
|
-
});
|
|
2473
|
-
};
|
|
2474
|
-
const se_CreateScriptInput = (input, context) => {
|
|
2475
|
-
return take(input, {
|
|
2476
|
-
Name: [],
|
|
2477
|
-
StorageLocation: _json,
|
|
2478
|
-
Tags: _json,
|
|
2479
|
-
Version: [],
|
|
2480
|
-
ZipFile: context.base64Encoder,
|
|
2481
|
-
});
|
|
2482
|
-
};
|
|
2483
|
-
const se_DescribeFleetEventsInput = (input, context) => {
|
|
2484
|
-
return take(input, {
|
|
2485
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
2486
|
-
FleetId: [],
|
|
2487
|
-
Limit: [],
|
|
2488
|
-
NextToken: [],
|
|
2489
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
2490
|
-
});
|
|
2491
|
-
};
|
|
2492
|
-
const se_GameServerGroupAutoScalingPolicy = (input, context) => {
|
|
2493
|
-
return take(input, {
|
|
2494
|
-
EstimatedInstanceWarmup: [],
|
|
2495
|
-
TargetTrackingConfiguration: (_) => se_TargetTrackingConfiguration(_, context),
|
|
2496
|
-
});
|
|
2497
|
-
};
|
|
2498
|
-
const se_Player = (input, context) => {
|
|
2499
|
-
return take(input, {
|
|
2500
|
-
LatencyInMs: _json,
|
|
2501
|
-
PlayerAttributes: (_) => se_PlayerAttributeMap(_, context),
|
|
2502
|
-
PlayerId: [],
|
|
2503
|
-
Team: [],
|
|
2504
|
-
});
|
|
2505
|
-
};
|
|
2506
|
-
const se_PlayerAttributeMap = (input, context) => {
|
|
2507
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2508
|
-
if (value === null) {
|
|
2509
|
-
return acc;
|
|
2510
|
-
}
|
|
2511
|
-
acc[key] = se_AttributeValue(value, context);
|
|
2512
|
-
return acc;
|
|
2513
|
-
}, {});
|
|
2514
|
-
};
|
|
2515
|
-
const se_PlayerAttributeStringDoubleMap = (input, context) => {
|
|
2516
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2517
|
-
if (value === null) {
|
|
2518
|
-
return acc;
|
|
2519
|
-
}
|
|
2520
|
-
acc[key] = __serializeFloat(value);
|
|
2521
|
-
return acc;
|
|
2522
|
-
}, {});
|
|
2523
|
-
};
|
|
2524
|
-
const se_PlayerLatency = (input, context) => {
|
|
2525
|
-
return take(input, {
|
|
2526
|
-
LatencyInMilliseconds: __serializeFloat,
|
|
2527
|
-
PlayerId: [],
|
|
2528
|
-
RegionIdentifier: [],
|
|
2529
|
-
});
|
|
2530
|
-
};
|
|
2531
|
-
const se_PlayerLatencyList = (input, context) => {
|
|
2532
|
-
return input
|
|
2533
|
-
.filter((e) => e != null)
|
|
2534
|
-
.map((entry) => {
|
|
2535
|
-
return se_PlayerLatency(entry, context);
|
|
2536
|
-
});
|
|
2537
|
-
};
|
|
2538
|
-
const se_PlayerList = (input, context) => {
|
|
2539
|
-
return input
|
|
2540
|
-
.filter((e) => e != null)
|
|
2541
|
-
.map((entry) => {
|
|
2542
|
-
return se_Player(entry, context);
|
|
2543
|
-
});
|
|
2544
|
-
};
|
|
2545
|
-
const se_PutScalingPolicyInput = (input, context) => {
|
|
2546
|
-
return take(input, {
|
|
2547
|
-
ComparisonOperator: [],
|
|
2548
|
-
EvaluationPeriods: [],
|
|
2549
|
-
FleetId: [],
|
|
2550
|
-
MetricName: [],
|
|
2551
|
-
Name: [],
|
|
2552
|
-
PolicyType: [],
|
|
2553
|
-
ScalingAdjustment: [],
|
|
2554
|
-
ScalingAdjustmentType: [],
|
|
2555
|
-
TargetConfiguration: (_) => se_TargetConfiguration(_, context),
|
|
2556
|
-
Threshold: __serializeFloat,
|
|
2557
|
-
});
|
|
2558
|
-
};
|
|
2559
|
-
const se_StartGameSessionPlacementInput = (input, context) => {
|
|
2560
|
-
return take(input, {
|
|
2561
|
-
DesiredPlayerSessions: _json,
|
|
2562
|
-
GameProperties: _json,
|
|
2563
|
-
GameSessionData: [],
|
|
2564
|
-
GameSessionName: [],
|
|
2565
|
-
GameSessionQueueName: [],
|
|
2566
|
-
MaximumPlayerSessionCount: [],
|
|
2567
|
-
PlacementId: [],
|
|
2568
|
-
PlayerLatencies: (_) => se_PlayerLatencyList(_, context),
|
|
2569
|
-
PriorityConfigurationOverride: _json,
|
|
2570
|
-
});
|
|
2571
|
-
};
|
|
2572
|
-
const se_StartMatchBackfillInput = (input, context) => {
|
|
2573
|
-
return take(input, {
|
|
2574
|
-
ConfigurationName: [],
|
|
2575
|
-
GameSessionArn: [],
|
|
2576
|
-
Players: (_) => se_PlayerList(_, context),
|
|
2577
|
-
TicketId: [],
|
|
2578
|
-
});
|
|
2579
|
-
};
|
|
2580
|
-
const se_StartMatchmakingInput = (input, context) => {
|
|
2581
|
-
return take(input, {
|
|
2582
|
-
ConfigurationName: [],
|
|
2583
|
-
Players: (_) => se_PlayerList(_, context),
|
|
2584
|
-
TicketId: [],
|
|
2585
|
-
});
|
|
2586
|
-
};
|
|
2587
|
-
const se_SupportContainerDefinitionInput = (input, context) => {
|
|
2588
|
-
return take(input, {
|
|
2589
|
-
ContainerName: [],
|
|
2590
|
-
DependsOn: _json,
|
|
2591
|
-
EnvironmentOverride: _json,
|
|
2592
|
-
Essential: [],
|
|
2593
|
-
HealthCheck: _json,
|
|
2594
|
-
ImageUri: [],
|
|
2595
|
-
MemoryHardLimitMebibytes: [],
|
|
2596
|
-
MountPoints: _json,
|
|
2597
|
-
PortConfiguration: _json,
|
|
2598
|
-
Vcpu: __serializeFloat,
|
|
2599
|
-
});
|
|
2600
|
-
};
|
|
2601
|
-
const se_SupportContainerDefinitionInputList = (input, context) => {
|
|
2602
|
-
return input
|
|
2603
|
-
.filter((e) => e != null)
|
|
2604
|
-
.map((entry) => {
|
|
2605
|
-
return se_SupportContainerDefinitionInput(entry, context);
|
|
2606
|
-
});
|
|
2607
|
-
};
|
|
2608
|
-
const se_TargetConfiguration = (input, context) => {
|
|
2609
|
-
return take(input, {
|
|
2610
|
-
TargetValue: __serializeFloat,
|
|
2611
|
-
});
|
|
2612
|
-
};
|
|
2613
|
-
const se_TargetTrackingConfiguration = (input, context) => {
|
|
2614
|
-
return take(input, {
|
|
2615
|
-
TargetValue: __serializeFloat,
|
|
2616
|
-
});
|
|
2617
|
-
};
|
|
2618
|
-
const se_UpdateContainerGroupDefinitionInput = (input, context) => {
|
|
2619
|
-
return take(input, {
|
|
2620
|
-
GameServerContainerDefinition: _json,
|
|
2621
|
-
Name: [],
|
|
2622
|
-
OperatingSystem: [],
|
|
2623
|
-
SourceVersionNumber: [],
|
|
2624
|
-
SupportContainerDefinitions: (_) => se_SupportContainerDefinitionInputList(_, context),
|
|
2625
|
-
TotalMemoryLimitMebibytes: [],
|
|
2626
|
-
TotalVcpuLimit: __serializeFloat,
|
|
2627
|
-
VersionDescription: [],
|
|
2628
|
-
});
|
|
2629
|
-
};
|
|
2630
|
-
const se_UpdateScriptInput = (input, context) => {
|
|
2631
|
-
return take(input, {
|
|
2632
|
-
Name: [],
|
|
2633
|
-
ScriptId: [],
|
|
2634
|
-
StorageLocation: _json,
|
|
2635
|
-
Version: [],
|
|
2636
|
-
ZipFile: context.base64Encoder,
|
|
2637
|
-
});
|
|
2638
|
-
};
|
|
2639
|
-
const de_Alias = (output, context) => {
|
|
2640
|
-
return take(output, {
|
|
2641
|
-
AliasArn: __expectString,
|
|
2642
|
-
AliasId: __expectString,
|
|
2643
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2644
|
-
Description: __expectString,
|
|
2645
|
-
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2646
|
-
Name: __expectString,
|
|
2647
|
-
RoutingStrategy: _json,
|
|
2648
|
-
});
|
|
2649
|
-
};
|
|
2650
|
-
const de_AliasList = (output, context) => {
|
|
2651
|
-
const retVal = (output || [])
|
|
2652
|
-
.filter((e) => e != null)
|
|
2653
|
-
.map((entry) => {
|
|
2654
|
-
return de_Alias(entry, context);
|
|
2655
|
-
});
|
|
2656
|
-
return retVal;
|
|
2657
|
-
};
|
|
2658
|
-
const de_AttributeValue = (output, context) => {
|
|
2659
|
-
return take(output, {
|
|
2660
|
-
N: __limitedParseDouble,
|
|
2661
|
-
S: __expectString,
|
|
2662
|
-
SDM: (_) => de_PlayerAttributeStringDoubleMap(_, context),
|
|
2663
|
-
SL: _json,
|
|
2664
|
-
});
|
|
2665
|
-
};
|
|
2666
|
-
const de_Build = (output, context) => {
|
|
2667
|
-
return take(output, {
|
|
2668
|
-
BuildArn: __expectString,
|
|
2669
|
-
BuildId: __expectString,
|
|
2670
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2671
|
-
Name: __expectString,
|
|
2672
|
-
OperatingSystem: __expectString,
|
|
2673
|
-
ServerSdkVersion: __expectString,
|
|
2674
|
-
SizeOnDisk: __expectLong,
|
|
2675
|
-
Status: __expectString,
|
|
2676
|
-
Version: __expectString,
|
|
2677
|
-
});
|
|
2678
|
-
};
|
|
2679
|
-
const de_BuildList = (output, context) => {
|
|
2680
|
-
const retVal = (output || [])
|
|
2681
|
-
.filter((e) => e != null)
|
|
2682
|
-
.map((entry) => {
|
|
2683
|
-
return de_Build(entry, context);
|
|
2684
|
-
});
|
|
2685
|
-
return retVal;
|
|
2686
|
-
};
|
|
2687
|
-
const de_ClaimGameServerOutput = (output, context) => {
|
|
2688
|
-
return take(output, {
|
|
2689
|
-
GameServer: (_) => de_GameServer(_, context),
|
|
2690
|
-
});
|
|
2691
|
-
};
|
|
2692
|
-
const de_Compute = (output, context) => {
|
|
2693
|
-
return take(output, {
|
|
2694
|
-
ComputeArn: __expectString,
|
|
2695
|
-
ComputeName: __expectString,
|
|
2696
|
-
ComputeStatus: __expectString,
|
|
2697
|
-
ContainerAttributes: _json,
|
|
2698
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2699
|
-
DnsName: __expectString,
|
|
2700
|
-
FleetArn: __expectString,
|
|
2701
|
-
FleetId: __expectString,
|
|
2702
|
-
GameLiftAgentEndpoint: __expectString,
|
|
2703
|
-
GameLiftServiceSdkEndpoint: __expectString,
|
|
2704
|
-
GameServerContainerGroupDefinitionArn: __expectString,
|
|
2705
|
-
InstanceId: __expectString,
|
|
2706
|
-
IpAddress: __expectString,
|
|
2707
|
-
Location: __expectString,
|
|
2708
|
-
OperatingSystem: __expectString,
|
|
2709
|
-
Type: __expectString,
|
|
2710
|
-
});
|
|
2711
|
-
};
|
|
2712
|
-
const de_ComputeList = (output, context) => {
|
|
2713
|
-
const retVal = (output || [])
|
|
2714
|
-
.filter((e) => e != null)
|
|
2715
|
-
.map((entry) => {
|
|
2716
|
-
return de_Compute(entry, context);
|
|
2717
|
-
});
|
|
2718
|
-
return retVal;
|
|
2719
|
-
};
|
|
2720
|
-
const de_ContainerFleet = (output, context) => {
|
|
2721
|
-
return take(output, {
|
|
2722
|
-
BillingType: __expectString,
|
|
2723
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2724
|
-
DeploymentDetails: _json,
|
|
2725
|
-
Description: __expectString,
|
|
2726
|
-
FleetArn: __expectString,
|
|
2727
|
-
FleetId: __expectString,
|
|
2728
|
-
FleetRoleArn: __expectString,
|
|
2729
|
-
GameServerContainerGroupDefinitionArn: __expectString,
|
|
2730
|
-
GameServerContainerGroupDefinitionName: __expectString,
|
|
2731
|
-
GameServerContainerGroupsPerInstance: __expectInt32,
|
|
2732
|
-
GameSessionCreationLimitPolicy: _json,
|
|
2733
|
-
InstanceConnectionPortRange: _json,
|
|
2734
|
-
InstanceInboundPermissions: _json,
|
|
2735
|
-
InstanceType: __expectString,
|
|
2736
|
-
LocationAttributes: _json,
|
|
2737
|
-
LogConfiguration: _json,
|
|
2738
|
-
MaximumGameServerContainerGroupsPerInstance: __expectInt32,
|
|
2739
|
-
MetricGroups: _json,
|
|
2740
|
-
NewGameSessionProtectionPolicy: __expectString,
|
|
2741
|
-
PerInstanceContainerGroupDefinitionArn: __expectString,
|
|
2742
|
-
PerInstanceContainerGroupDefinitionName: __expectString,
|
|
2743
|
-
Status: __expectString,
|
|
2744
|
-
});
|
|
2745
|
-
};
|
|
2746
|
-
const de_ContainerFleetList = (output, context) => {
|
|
2747
|
-
const retVal = (output || [])
|
|
2748
|
-
.filter((e) => e != null)
|
|
2749
|
-
.map((entry) => {
|
|
2750
|
-
return de_ContainerFleet(entry, context);
|
|
2751
|
-
});
|
|
2752
|
-
return retVal;
|
|
2753
|
-
};
|
|
2754
|
-
const de_ContainerGroupDefinition = (output, context) => {
|
|
2755
|
-
return take(output, {
|
|
2756
|
-
ContainerGroupDefinitionArn: __expectString,
|
|
2757
|
-
ContainerGroupType: __expectString,
|
|
2758
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2759
|
-
GameServerContainerDefinition: _json,
|
|
2760
|
-
Name: __expectString,
|
|
2761
|
-
OperatingSystem: __expectString,
|
|
2762
|
-
Status: __expectString,
|
|
2763
|
-
StatusReason: __expectString,
|
|
2764
|
-
SupportContainerDefinitions: (_) => de_SupportContainerDefinitionList(_, context),
|
|
2765
|
-
TotalMemoryLimitMebibytes: __expectInt32,
|
|
2766
|
-
TotalVcpuLimit: __limitedParseDouble,
|
|
2767
|
-
VersionDescription: __expectString,
|
|
2768
|
-
VersionNumber: __expectInt32,
|
|
2769
|
-
});
|
|
2770
|
-
};
|
|
2771
|
-
const de_ContainerGroupDefinitionList = (output, context) => {
|
|
2772
|
-
const retVal = (output || [])
|
|
2773
|
-
.filter((e) => e != null)
|
|
2774
|
-
.map((entry) => {
|
|
2775
|
-
return de_ContainerGroupDefinition(entry, context);
|
|
2776
|
-
});
|
|
2777
|
-
return retVal;
|
|
2778
|
-
};
|
|
2779
|
-
const de_CreateAliasOutput = (output, context) => {
|
|
2780
|
-
return take(output, {
|
|
2781
|
-
Alias: (_) => de_Alias(_, context),
|
|
2782
|
-
});
|
|
2783
|
-
};
|
|
2784
|
-
const de_CreateBuildOutput = (output, context) => {
|
|
2785
|
-
return take(output, {
|
|
2786
|
-
Build: (_) => de_Build(_, context),
|
|
2787
|
-
StorageLocation: _json,
|
|
2788
|
-
UploadCredentials: _json,
|
|
2789
|
-
});
|
|
2790
|
-
};
|
|
2791
|
-
const de_CreateContainerFleetOutput = (output, context) => {
|
|
2792
|
-
return take(output, {
|
|
2793
|
-
ContainerFleet: (_) => de_ContainerFleet(_, context),
|
|
2794
|
-
});
|
|
2795
|
-
};
|
|
2796
|
-
const de_CreateContainerGroupDefinitionOutput = (output, context) => {
|
|
2797
|
-
return take(output, {
|
|
2798
|
-
ContainerGroupDefinition: (_) => de_ContainerGroupDefinition(_, context),
|
|
2799
|
-
});
|
|
2800
|
-
};
|
|
2801
|
-
const de_CreateFleetOutput = (output, context) => {
|
|
2802
|
-
return take(output, {
|
|
2803
|
-
FleetAttributes: (_) => de_FleetAttributes(_, context),
|
|
2804
|
-
LocationStates: _json,
|
|
2805
|
-
});
|
|
2806
|
-
};
|
|
2807
|
-
const de_CreateGameServerGroupOutput = (output, context) => {
|
|
2808
|
-
return take(output, {
|
|
2809
|
-
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
2810
|
-
});
|
|
2811
|
-
};
|
|
2812
|
-
const de_CreateGameSessionOutput = (output, context) => {
|
|
2813
|
-
return take(output, {
|
|
2814
|
-
GameSession: (_) => de_GameSession(_, context),
|
|
2815
|
-
});
|
|
2816
|
-
};
|
|
2817
|
-
const de_CreateMatchmakingConfigurationOutput = (output, context) => {
|
|
2818
|
-
return take(output, {
|
|
2819
|
-
Configuration: (_) => de_MatchmakingConfiguration(_, context),
|
|
2820
|
-
});
|
|
2821
|
-
};
|
|
2822
|
-
const de_CreateMatchmakingRuleSetOutput = (output, context) => {
|
|
2823
|
-
return take(output, {
|
|
2824
|
-
RuleSet: (_) => de_MatchmakingRuleSet(_, context),
|
|
2825
|
-
});
|
|
2826
|
-
};
|
|
2827
|
-
const de_CreatePlayerSessionOutput = (output, context) => {
|
|
2828
|
-
return take(output, {
|
|
2829
|
-
PlayerSession: (_) => de_PlayerSession(_, context),
|
|
2830
|
-
});
|
|
2831
|
-
};
|
|
2832
|
-
const de_CreatePlayerSessionsOutput = (output, context) => {
|
|
2833
|
-
return take(output, {
|
|
2834
|
-
PlayerSessions: (_) => de_PlayerSessionList(_, context),
|
|
2835
|
-
});
|
|
2836
|
-
};
|
|
2837
|
-
const de_CreateScriptOutput = (output, context) => {
|
|
2838
|
-
return take(output, {
|
|
2839
|
-
Script: (_) => de_Script(_, context),
|
|
2840
|
-
});
|
|
2841
|
-
};
|
|
2842
|
-
const de_CreateVpcPeeringAuthorizationOutput = (output, context) => {
|
|
2843
|
-
return take(output, {
|
|
2844
|
-
VpcPeeringAuthorization: (_) => de_VpcPeeringAuthorization(_, context),
|
|
2845
|
-
});
|
|
2846
|
-
};
|
|
2847
|
-
const de_DeleteGameServerGroupOutput = (output, context) => {
|
|
2848
|
-
return take(output, {
|
|
2849
|
-
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
2850
|
-
});
|
|
2851
|
-
};
|
|
2852
|
-
const de_DescribeAliasOutput = (output, context) => {
|
|
2853
|
-
return take(output, {
|
|
2854
|
-
Alias: (_) => de_Alias(_, context),
|
|
2855
|
-
});
|
|
2856
|
-
};
|
|
2857
|
-
const de_DescribeBuildOutput = (output, context) => {
|
|
2858
|
-
return take(output, {
|
|
2859
|
-
Build: (_) => de_Build(_, context),
|
|
2860
|
-
});
|
|
2861
|
-
};
|
|
2862
|
-
const de_DescribeComputeOutput = (output, context) => {
|
|
2863
|
-
return take(output, {
|
|
2864
|
-
Compute: (_) => de_Compute(_, context),
|
|
2865
|
-
});
|
|
2866
|
-
};
|
|
2867
|
-
const de_DescribeContainerFleetOutput = (output, context) => {
|
|
2868
|
-
return take(output, {
|
|
2869
|
-
ContainerFleet: (_) => de_ContainerFleet(_, context),
|
|
2870
|
-
});
|
|
2871
|
-
};
|
|
2872
|
-
const de_DescribeContainerGroupDefinitionOutput = (output, context) => {
|
|
2873
|
-
return take(output, {
|
|
2874
|
-
ContainerGroupDefinition: (_) => de_ContainerGroupDefinition(_, context),
|
|
2875
|
-
});
|
|
2876
|
-
};
|
|
2877
|
-
const de_DescribeFleetAttributesOutput = (output, context) => {
|
|
2878
|
-
return take(output, {
|
|
2879
|
-
FleetAttributes: (_) => de_FleetAttributesList(_, context),
|
|
2880
|
-
NextToken: __expectString,
|
|
2881
|
-
});
|
|
2882
|
-
};
|
|
2883
|
-
const de_DescribeFleetDeploymentOutput = (output, context) => {
|
|
2884
|
-
return take(output, {
|
|
2885
|
-
FleetDeployment: (_) => de_FleetDeployment(_, context),
|
|
2886
|
-
LocationalDeployments: _json,
|
|
2887
|
-
});
|
|
2888
|
-
};
|
|
2889
|
-
const de_DescribeFleetEventsOutput = (output, context) => {
|
|
2890
|
-
return take(output, {
|
|
2891
|
-
Events: (_) => de_EventList(_, context),
|
|
2892
|
-
NextToken: __expectString,
|
|
2893
|
-
});
|
|
2894
|
-
};
|
|
2895
|
-
const de_DescribeGameServerGroupOutput = (output, context) => {
|
|
2896
|
-
return take(output, {
|
|
2897
|
-
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
2898
|
-
});
|
|
2899
|
-
};
|
|
2900
|
-
const de_DescribeGameServerOutput = (output, context) => {
|
|
2901
|
-
return take(output, {
|
|
2902
|
-
GameServer: (_) => de_GameServer(_, context),
|
|
2903
|
-
});
|
|
2904
|
-
};
|
|
2905
|
-
const de_DescribeGameSessionDetailsOutput = (output, context) => {
|
|
2906
|
-
return take(output, {
|
|
2907
|
-
GameSessionDetails: (_) => de_GameSessionDetailList(_, context),
|
|
2908
|
-
NextToken: __expectString,
|
|
2909
|
-
});
|
|
2910
|
-
};
|
|
2911
|
-
const de_DescribeGameSessionPlacementOutput = (output, context) => {
|
|
2912
|
-
return take(output, {
|
|
2913
|
-
GameSessionPlacement: (_) => de_GameSessionPlacement(_, context),
|
|
2914
|
-
});
|
|
2915
|
-
};
|
|
2916
|
-
const de_DescribeGameSessionsOutput = (output, context) => {
|
|
2917
|
-
return take(output, {
|
|
2918
|
-
GameSessions: (_) => de_GameSessionList(_, context),
|
|
2919
|
-
NextToken: __expectString,
|
|
2920
|
-
});
|
|
2921
|
-
};
|
|
2922
|
-
const de_DescribeInstancesOutput = (output, context) => {
|
|
2923
|
-
return take(output, {
|
|
2924
|
-
Instances: (_) => de_InstanceList(_, context),
|
|
2925
|
-
NextToken: __expectString,
|
|
2926
|
-
});
|
|
2927
|
-
};
|
|
2928
|
-
const de_DescribeMatchmakingConfigurationsOutput = (output, context) => {
|
|
2929
|
-
return take(output, {
|
|
2930
|
-
Configurations: (_) => de_MatchmakingConfigurationList(_, context),
|
|
2931
|
-
NextToken: __expectString,
|
|
2932
|
-
});
|
|
2933
|
-
};
|
|
2934
|
-
const de_DescribeMatchmakingOutput = (output, context) => {
|
|
2935
|
-
return take(output, {
|
|
2936
|
-
TicketList: (_) => de_MatchmakingTicketList(_, context),
|
|
2937
|
-
});
|
|
2938
|
-
};
|
|
2939
|
-
const de_DescribeMatchmakingRuleSetsOutput = (output, context) => {
|
|
2940
|
-
return take(output, {
|
|
2941
|
-
NextToken: __expectString,
|
|
2942
|
-
RuleSets: (_) => de_MatchmakingRuleSetList(_, context),
|
|
2943
|
-
});
|
|
2944
|
-
};
|
|
2945
|
-
const de_DescribePlayerSessionsOutput = (output, context) => {
|
|
2946
|
-
return take(output, {
|
|
2947
|
-
NextToken: __expectString,
|
|
2948
|
-
PlayerSessions: (_) => de_PlayerSessionList(_, context),
|
|
2949
|
-
});
|
|
2950
|
-
};
|
|
2951
|
-
const de_DescribeScalingPoliciesOutput = (output, context) => {
|
|
2952
|
-
return take(output, {
|
|
2953
|
-
NextToken: __expectString,
|
|
2954
|
-
ScalingPolicies: (_) => de_ScalingPolicyList(_, context),
|
|
2955
|
-
});
|
|
2956
|
-
};
|
|
2957
|
-
const de_DescribeScriptOutput = (output, context) => {
|
|
2958
|
-
return take(output, {
|
|
2959
|
-
Script: (_) => de_Script(_, context),
|
|
2960
|
-
});
|
|
2961
|
-
};
|
|
2962
|
-
const de_DescribeVpcPeeringAuthorizationsOutput = (output, context) => {
|
|
2963
|
-
return take(output, {
|
|
2964
|
-
VpcPeeringAuthorizations: (_) => de_VpcPeeringAuthorizationList(_, context),
|
|
2965
|
-
});
|
|
2966
|
-
};
|
|
2967
|
-
const de_Event = (output, context) => {
|
|
2968
|
-
return take(output, {
|
|
2969
|
-
Count: __expectLong,
|
|
2970
|
-
EventCode: __expectString,
|
|
2971
|
-
EventId: __expectString,
|
|
2972
|
-
EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2973
|
-
Message: __expectString,
|
|
2974
|
-
PreSignedLogUrl: __expectString,
|
|
2975
|
-
ResourceId: __expectString,
|
|
2976
|
-
});
|
|
2977
|
-
};
|
|
2978
|
-
const de_EventList = (output, context) => {
|
|
2979
|
-
const retVal = (output || [])
|
|
2980
|
-
.filter((e) => e != null)
|
|
2981
|
-
.map((entry) => {
|
|
2982
|
-
return de_Event(entry, context);
|
|
2983
|
-
});
|
|
2984
|
-
return retVal;
|
|
2985
|
-
};
|
|
2986
|
-
const de_FleetAttributes = (output, context) => {
|
|
2987
|
-
return take(output, {
|
|
2988
|
-
AnywhereConfiguration: _json,
|
|
2989
|
-
BuildArn: __expectString,
|
|
2990
|
-
BuildId: __expectString,
|
|
2991
|
-
CertificateConfiguration: _json,
|
|
2992
|
-
ComputeType: __expectString,
|
|
2993
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2994
|
-
Description: __expectString,
|
|
2995
|
-
FleetArn: __expectString,
|
|
2996
|
-
FleetId: __expectString,
|
|
2997
|
-
FleetType: __expectString,
|
|
2998
|
-
InstanceRoleArn: __expectString,
|
|
2999
|
-
InstanceRoleCredentialsProvider: __expectString,
|
|
3000
|
-
InstanceType: __expectString,
|
|
3001
|
-
LogPaths: _json,
|
|
3002
|
-
MetricGroups: _json,
|
|
3003
|
-
Name: __expectString,
|
|
3004
|
-
NewGameSessionProtectionPolicy: __expectString,
|
|
3005
|
-
OperatingSystem: __expectString,
|
|
3006
|
-
ResourceCreationLimitPolicy: _json,
|
|
3007
|
-
ScriptArn: __expectString,
|
|
3008
|
-
ScriptId: __expectString,
|
|
3009
|
-
ServerLaunchParameters: __expectString,
|
|
3010
|
-
ServerLaunchPath: __expectString,
|
|
3011
|
-
Status: __expectString,
|
|
3012
|
-
StoppedActions: _json,
|
|
3013
|
-
TerminationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3014
|
-
});
|
|
3015
|
-
};
|
|
3016
|
-
const de_FleetAttributesList = (output, context) => {
|
|
3017
|
-
const retVal = (output || [])
|
|
3018
|
-
.filter((e) => e != null)
|
|
3019
|
-
.map((entry) => {
|
|
3020
|
-
return de_FleetAttributes(entry, context);
|
|
3021
|
-
});
|
|
3022
|
-
return retVal;
|
|
3023
|
-
};
|
|
3024
|
-
const de_FleetDeployment = (output, context) => {
|
|
3025
|
-
return take(output, {
|
|
3026
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3027
|
-
DeploymentConfiguration: _json,
|
|
3028
|
-
DeploymentId: __expectString,
|
|
3029
|
-
DeploymentStatus: __expectString,
|
|
3030
|
-
FleetId: __expectString,
|
|
3031
|
-
GameServerBinaryArn: __expectString,
|
|
3032
|
-
PerInstanceBinaryArn: __expectString,
|
|
3033
|
-
RollbackGameServerBinaryArn: __expectString,
|
|
3034
|
-
RollbackPerInstanceBinaryArn: __expectString,
|
|
3035
|
-
});
|
|
3036
|
-
};
|
|
3037
|
-
const de_FleetDeployments = (output, context) => {
|
|
3038
|
-
const retVal = (output || [])
|
|
3039
|
-
.filter((e) => e != null)
|
|
3040
|
-
.map((entry) => {
|
|
3041
|
-
return de_FleetDeployment(entry, context);
|
|
3042
|
-
});
|
|
3043
|
-
return retVal;
|
|
3044
|
-
};
|
|
3045
|
-
const de_GameServer = (output, context) => {
|
|
3046
|
-
return take(output, {
|
|
3047
|
-
ClaimStatus: __expectString,
|
|
3048
|
-
ConnectionInfo: __expectString,
|
|
3049
|
-
GameServerData: __expectString,
|
|
3050
|
-
GameServerGroupArn: __expectString,
|
|
3051
|
-
GameServerGroupName: __expectString,
|
|
3052
|
-
GameServerId: __expectString,
|
|
3053
|
-
InstanceId: __expectString,
|
|
3054
|
-
LastClaimTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3055
|
-
LastHealthCheckTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3056
|
-
RegistrationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3057
|
-
UtilizationStatus: __expectString,
|
|
3058
|
-
});
|
|
3059
|
-
};
|
|
3060
|
-
const de_GameServerGroup = (output, context) => {
|
|
3061
|
-
return take(output, {
|
|
3062
|
-
AutoScalingGroupArn: __expectString,
|
|
3063
|
-
BalancingStrategy: __expectString,
|
|
3064
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3065
|
-
GameServerGroupArn: __expectString,
|
|
3066
|
-
GameServerGroupName: __expectString,
|
|
3067
|
-
GameServerProtectionPolicy: __expectString,
|
|
3068
|
-
InstanceDefinitions: _json,
|
|
3069
|
-
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3070
|
-
RoleArn: __expectString,
|
|
3071
|
-
Status: __expectString,
|
|
3072
|
-
StatusReason: __expectString,
|
|
3073
|
-
SuspendedActions: _json,
|
|
3074
|
-
});
|
|
3075
|
-
};
|
|
3076
|
-
const de_GameServerGroups = (output, context) => {
|
|
3077
|
-
const retVal = (output || [])
|
|
3078
|
-
.filter((e) => e != null)
|
|
3079
|
-
.map((entry) => {
|
|
3080
|
-
return de_GameServerGroup(entry, context);
|
|
3081
|
-
});
|
|
3082
|
-
return retVal;
|
|
3083
|
-
};
|
|
3084
|
-
const de_GameServers = (output, context) => {
|
|
3085
|
-
const retVal = (output || [])
|
|
3086
|
-
.filter((e) => e != null)
|
|
3087
|
-
.map((entry) => {
|
|
3088
|
-
return de_GameServer(entry, context);
|
|
3089
|
-
});
|
|
3090
|
-
return retVal;
|
|
3091
|
-
};
|
|
3092
|
-
const de_GameSession = (output, context) => {
|
|
3093
|
-
return take(output, {
|
|
3094
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3095
|
-
CreatorId: __expectString,
|
|
3096
|
-
CurrentPlayerSessionCount: __expectInt32,
|
|
3097
|
-
DnsName: __expectString,
|
|
3098
|
-
FleetArn: __expectString,
|
|
3099
|
-
FleetId: __expectString,
|
|
3100
|
-
GameProperties: _json,
|
|
3101
|
-
GameSessionData: __expectString,
|
|
3102
|
-
GameSessionId: __expectString,
|
|
3103
|
-
IpAddress: __expectString,
|
|
3104
|
-
Location: __expectString,
|
|
3105
|
-
MatchmakerData: __expectString,
|
|
3106
|
-
MaximumPlayerSessionCount: __expectInt32,
|
|
3107
|
-
Name: __expectString,
|
|
3108
|
-
PlayerSessionCreationPolicy: __expectString,
|
|
3109
|
-
Port: __expectInt32,
|
|
3110
|
-
Status: __expectString,
|
|
3111
|
-
StatusReason: __expectString,
|
|
3112
|
-
TerminationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3113
|
-
});
|
|
3114
|
-
};
|
|
3115
|
-
const de_GameSessionDetail = (output, context) => {
|
|
3116
|
-
return take(output, {
|
|
3117
|
-
GameSession: (_) => de_GameSession(_, context),
|
|
3118
|
-
ProtectionPolicy: __expectString,
|
|
3119
|
-
});
|
|
3120
|
-
};
|
|
3121
|
-
const de_GameSessionDetailList = (output, context) => {
|
|
3122
|
-
const retVal = (output || [])
|
|
3123
|
-
.filter((e) => e != null)
|
|
3124
|
-
.map((entry) => {
|
|
3125
|
-
return de_GameSessionDetail(entry, context);
|
|
3126
|
-
});
|
|
3127
|
-
return retVal;
|
|
3128
|
-
};
|
|
3129
|
-
const de_GameSessionList = (output, context) => {
|
|
3130
|
-
const retVal = (output || [])
|
|
3131
|
-
.filter((e) => e != null)
|
|
3132
|
-
.map((entry) => {
|
|
3133
|
-
return de_GameSession(entry, context);
|
|
3134
|
-
});
|
|
3135
|
-
return retVal;
|
|
3136
|
-
};
|
|
3137
|
-
const de_GameSessionPlacement = (output, context) => {
|
|
3138
|
-
return take(output, {
|
|
3139
|
-
DnsName: __expectString,
|
|
3140
|
-
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3141
|
-
GameProperties: _json,
|
|
3142
|
-
GameSessionArn: __expectString,
|
|
3143
|
-
GameSessionData: __expectString,
|
|
3144
|
-
GameSessionId: __expectString,
|
|
3145
|
-
GameSessionName: __expectString,
|
|
3146
|
-
GameSessionQueueName: __expectString,
|
|
3147
|
-
GameSessionRegion: __expectString,
|
|
3148
|
-
IpAddress: __expectString,
|
|
3149
|
-
MatchmakerData: __expectString,
|
|
3150
|
-
MaximumPlayerSessionCount: __expectInt32,
|
|
3151
|
-
PlacedPlayerSessions: _json,
|
|
3152
|
-
PlacementId: __expectString,
|
|
3153
|
-
PlayerLatencies: (_) => de_PlayerLatencyList(_, context),
|
|
3154
|
-
Port: __expectInt32,
|
|
3155
|
-
PriorityConfigurationOverride: _json,
|
|
3156
|
-
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3157
|
-
Status: __expectString,
|
|
3158
|
-
});
|
|
3159
|
-
};
|
|
3160
|
-
const de_GetComputeAuthTokenOutput = (output, context) => {
|
|
3161
|
-
return take(output, {
|
|
3162
|
-
AuthToken: __expectString,
|
|
3163
|
-
ComputeArn: __expectString,
|
|
3164
|
-
ComputeName: __expectString,
|
|
3165
|
-
ExpirationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3166
|
-
FleetArn: __expectString,
|
|
3167
|
-
FleetId: __expectString,
|
|
3168
|
-
});
|
|
3169
|
-
};
|
|
3170
|
-
const de_Instance = (output, context) => {
|
|
3171
|
-
return take(output, {
|
|
3172
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3173
|
-
DnsName: __expectString,
|
|
3174
|
-
FleetArn: __expectString,
|
|
3175
|
-
FleetId: __expectString,
|
|
3176
|
-
InstanceId: __expectString,
|
|
3177
|
-
IpAddress: __expectString,
|
|
3178
|
-
Location: __expectString,
|
|
3179
|
-
OperatingSystem: __expectString,
|
|
3180
|
-
Status: __expectString,
|
|
3181
|
-
Type: __expectString,
|
|
3182
|
-
});
|
|
3183
|
-
};
|
|
3184
|
-
const de_InstanceList = (output, context) => {
|
|
3185
|
-
const retVal = (output || [])
|
|
3186
|
-
.filter((e) => e != null)
|
|
3187
|
-
.map((entry) => {
|
|
3188
|
-
return de_Instance(entry, context);
|
|
3189
|
-
});
|
|
3190
|
-
return retVal;
|
|
3191
|
-
};
|
|
3192
|
-
const de_ListAliasesOutput = (output, context) => {
|
|
3193
|
-
return take(output, {
|
|
3194
|
-
Aliases: (_) => de_AliasList(_, context),
|
|
3195
|
-
NextToken: __expectString,
|
|
3196
|
-
});
|
|
3197
|
-
};
|
|
3198
|
-
const de_ListBuildsOutput = (output, context) => {
|
|
3199
|
-
return take(output, {
|
|
3200
|
-
Builds: (_) => de_BuildList(_, context),
|
|
3201
|
-
NextToken: __expectString,
|
|
3202
|
-
});
|
|
3203
|
-
};
|
|
3204
|
-
const de_ListComputeOutput = (output, context) => {
|
|
3205
|
-
return take(output, {
|
|
3206
|
-
ComputeList: (_) => de_ComputeList(_, context),
|
|
3207
|
-
NextToken: __expectString,
|
|
3208
|
-
});
|
|
3209
|
-
};
|
|
3210
|
-
const de_ListContainerFleetsOutput = (output, context) => {
|
|
3211
|
-
return take(output, {
|
|
3212
|
-
ContainerFleets: (_) => de_ContainerFleetList(_, context),
|
|
3213
|
-
NextToken: __expectString,
|
|
3214
|
-
});
|
|
3215
|
-
};
|
|
3216
|
-
const de_ListContainerGroupDefinitionsOutput = (output, context) => {
|
|
3217
|
-
return take(output, {
|
|
3218
|
-
ContainerGroupDefinitions: (_) => de_ContainerGroupDefinitionList(_, context),
|
|
3219
|
-
NextToken: __expectString,
|
|
3220
|
-
});
|
|
3221
|
-
};
|
|
3222
|
-
const de_ListContainerGroupDefinitionVersionsOutput = (output, context) => {
|
|
3223
|
-
return take(output, {
|
|
3224
|
-
ContainerGroupDefinitions: (_) => de_ContainerGroupDefinitionList(_, context),
|
|
3225
|
-
NextToken: __expectString,
|
|
3226
|
-
});
|
|
3227
|
-
};
|
|
3228
|
-
const de_ListFleetDeploymentsOutput = (output, context) => {
|
|
3229
|
-
return take(output, {
|
|
3230
|
-
FleetDeployments: (_) => de_FleetDeployments(_, context),
|
|
3231
|
-
NextToken: __expectString,
|
|
3232
|
-
});
|
|
3233
|
-
};
|
|
3234
|
-
const de_ListGameServerGroupsOutput = (output, context) => {
|
|
3235
|
-
return take(output, {
|
|
3236
|
-
GameServerGroups: (_) => de_GameServerGroups(_, context),
|
|
3237
|
-
NextToken: __expectString,
|
|
3238
|
-
});
|
|
3239
|
-
};
|
|
3240
|
-
const de_ListGameServersOutput = (output, context) => {
|
|
3241
|
-
return take(output, {
|
|
3242
|
-
GameServers: (_) => de_GameServers(_, context),
|
|
3243
|
-
NextToken: __expectString,
|
|
3244
|
-
});
|
|
3245
|
-
};
|
|
3246
|
-
const de_ListScriptsOutput = (output, context) => {
|
|
3247
|
-
return take(output, {
|
|
3248
|
-
NextToken: __expectString,
|
|
3249
|
-
Scripts: (_) => de_ScriptList(_, context),
|
|
3250
|
-
});
|
|
3251
|
-
};
|
|
3252
|
-
const de_MatchmakingConfiguration = (output, context) => {
|
|
3253
|
-
return take(output, {
|
|
3254
|
-
AcceptanceRequired: __expectBoolean,
|
|
3255
|
-
AcceptanceTimeoutSeconds: __expectInt32,
|
|
3256
|
-
AdditionalPlayerCount: __expectInt32,
|
|
3257
|
-
BackfillMode: __expectString,
|
|
3258
|
-
ConfigurationArn: __expectString,
|
|
3259
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3260
|
-
CustomEventData: __expectString,
|
|
3261
|
-
Description: __expectString,
|
|
3262
|
-
FlexMatchMode: __expectString,
|
|
3263
|
-
GameProperties: _json,
|
|
3264
|
-
GameSessionData: __expectString,
|
|
3265
|
-
GameSessionQueueArns: _json,
|
|
3266
|
-
Name: __expectString,
|
|
3267
|
-
NotificationTarget: __expectString,
|
|
3268
|
-
RequestTimeoutSeconds: __expectInt32,
|
|
3269
|
-
RuleSetArn: __expectString,
|
|
3270
|
-
RuleSetName: __expectString,
|
|
3271
|
-
});
|
|
3272
|
-
};
|
|
3273
|
-
const de_MatchmakingConfigurationList = (output, context) => {
|
|
3274
|
-
const retVal = (output || [])
|
|
3275
|
-
.filter((e) => e != null)
|
|
3276
|
-
.map((entry) => {
|
|
3277
|
-
return de_MatchmakingConfiguration(entry, context);
|
|
3278
|
-
});
|
|
3279
|
-
return retVal;
|
|
3280
|
-
};
|
|
3281
|
-
const de_MatchmakingRuleSet = (output, context) => {
|
|
3282
|
-
return take(output, {
|
|
3283
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3284
|
-
RuleSetArn: __expectString,
|
|
3285
|
-
RuleSetBody: __expectString,
|
|
3286
|
-
RuleSetName: __expectString,
|
|
3287
|
-
});
|
|
3288
|
-
};
|
|
3289
|
-
const de_MatchmakingRuleSetList = (output, context) => {
|
|
3290
|
-
const retVal = (output || [])
|
|
3291
|
-
.filter((e) => e != null)
|
|
3292
|
-
.map((entry) => {
|
|
3293
|
-
return de_MatchmakingRuleSet(entry, context);
|
|
3294
|
-
});
|
|
3295
|
-
return retVal;
|
|
3296
|
-
};
|
|
3297
|
-
const de_MatchmakingTicket = (output, context) => {
|
|
3298
|
-
return take(output, {
|
|
3299
|
-
ConfigurationArn: __expectString,
|
|
3300
|
-
ConfigurationName: __expectString,
|
|
3301
|
-
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3302
|
-
EstimatedWaitTime: __expectInt32,
|
|
3303
|
-
GameSessionConnectionInfo: _json,
|
|
3304
|
-
Players: (_) => de_PlayerList(_, context),
|
|
3305
|
-
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3306
|
-
Status: __expectString,
|
|
3307
|
-
StatusMessage: __expectString,
|
|
3308
|
-
StatusReason: __expectString,
|
|
3309
|
-
TicketId: __expectString,
|
|
3310
|
-
});
|
|
3311
|
-
};
|
|
3312
|
-
const de_MatchmakingTicketList = (output, context) => {
|
|
3313
|
-
const retVal = (output || [])
|
|
3314
|
-
.filter((e) => e != null)
|
|
3315
|
-
.map((entry) => {
|
|
3316
|
-
return de_MatchmakingTicket(entry, context);
|
|
3317
|
-
});
|
|
3318
|
-
return retVal;
|
|
3319
|
-
};
|
|
3320
|
-
const de_Player = (output, context) => {
|
|
3321
|
-
return take(output, {
|
|
3322
|
-
LatencyInMs: _json,
|
|
3323
|
-
PlayerAttributes: (_) => de_PlayerAttributeMap(_, context),
|
|
3324
|
-
PlayerId: __expectString,
|
|
3325
|
-
Team: __expectString,
|
|
3326
|
-
});
|
|
3327
|
-
};
|
|
3328
|
-
const de_PlayerAttributeMap = (output, context) => {
|
|
3329
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3330
|
-
if (value === null) {
|
|
3331
|
-
return acc;
|
|
3332
|
-
}
|
|
3333
|
-
acc[key] = de_AttributeValue(value, context);
|
|
3334
|
-
return acc;
|
|
3335
|
-
}, {});
|
|
3336
|
-
};
|
|
3337
|
-
const de_PlayerAttributeStringDoubleMap = (output, context) => {
|
|
3338
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3339
|
-
if (value === null) {
|
|
3340
|
-
return acc;
|
|
3341
|
-
}
|
|
3342
|
-
acc[key] = __limitedParseDouble(value);
|
|
3343
|
-
return acc;
|
|
3344
|
-
}, {});
|
|
3345
|
-
};
|
|
3346
|
-
const de_PlayerLatency = (output, context) => {
|
|
3347
|
-
return take(output, {
|
|
3348
|
-
LatencyInMilliseconds: __limitedParseFloat32,
|
|
3349
|
-
PlayerId: __expectString,
|
|
3350
|
-
RegionIdentifier: __expectString,
|
|
3351
|
-
});
|
|
3352
|
-
};
|
|
3353
|
-
const de_PlayerLatencyList = (output, context) => {
|
|
3354
|
-
const retVal = (output || [])
|
|
3355
|
-
.filter((e) => e != null)
|
|
3356
|
-
.map((entry) => {
|
|
3357
|
-
return de_PlayerLatency(entry, context);
|
|
3358
|
-
});
|
|
3359
|
-
return retVal;
|
|
3360
|
-
};
|
|
3361
|
-
const de_PlayerList = (output, context) => {
|
|
3362
|
-
const retVal = (output || [])
|
|
3363
|
-
.filter((e) => e != null)
|
|
3364
|
-
.map((entry) => {
|
|
3365
|
-
return de_Player(entry, context);
|
|
3366
|
-
});
|
|
3367
|
-
return retVal;
|
|
3368
|
-
};
|
|
3369
|
-
const de_PlayerSession = (output, context) => {
|
|
3370
|
-
return take(output, {
|
|
3371
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3372
|
-
DnsName: __expectString,
|
|
3373
|
-
FleetArn: __expectString,
|
|
3374
|
-
FleetId: __expectString,
|
|
3375
|
-
GameSessionId: __expectString,
|
|
3376
|
-
IpAddress: __expectString,
|
|
3377
|
-
PlayerData: __expectString,
|
|
3378
|
-
PlayerId: __expectString,
|
|
3379
|
-
PlayerSessionId: __expectString,
|
|
3380
|
-
Port: __expectInt32,
|
|
3381
|
-
Status: __expectString,
|
|
3382
|
-
TerminationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3383
|
-
});
|
|
3384
|
-
};
|
|
3385
|
-
const de_PlayerSessionList = (output, context) => {
|
|
3386
|
-
const retVal = (output || [])
|
|
3387
|
-
.filter((e) => e != null)
|
|
3388
|
-
.map((entry) => {
|
|
3389
|
-
return de_PlayerSession(entry, context);
|
|
3390
|
-
});
|
|
3391
|
-
return retVal;
|
|
3392
|
-
};
|
|
3393
|
-
const de_RegisterComputeOutput = (output, context) => {
|
|
3394
|
-
return take(output, {
|
|
3395
|
-
Compute: (_) => de_Compute(_, context),
|
|
3396
|
-
});
|
|
3397
|
-
};
|
|
3398
|
-
const de_RegisterGameServerOutput = (output, context) => {
|
|
3399
|
-
return take(output, {
|
|
3400
|
-
GameServer: (_) => de_GameServer(_, context),
|
|
3401
|
-
});
|
|
3402
|
-
};
|
|
3403
|
-
const de_ResumeGameServerGroupOutput = (output, context) => {
|
|
3404
|
-
return take(output, {
|
|
3405
|
-
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
3406
|
-
});
|
|
3407
|
-
};
|
|
3408
|
-
const de_ScalingPolicy = (output, context) => {
|
|
3409
|
-
return take(output, {
|
|
3410
|
-
ComparisonOperator: __expectString,
|
|
3411
|
-
EvaluationPeriods: __expectInt32,
|
|
3412
|
-
FleetArn: __expectString,
|
|
3413
|
-
FleetId: __expectString,
|
|
3414
|
-
Location: __expectString,
|
|
3415
|
-
MetricName: __expectString,
|
|
3416
|
-
Name: __expectString,
|
|
3417
|
-
PolicyType: __expectString,
|
|
3418
|
-
ScalingAdjustment: __expectInt32,
|
|
3419
|
-
ScalingAdjustmentType: __expectString,
|
|
3420
|
-
Status: __expectString,
|
|
3421
|
-
TargetConfiguration: (_) => de_TargetConfiguration(_, context),
|
|
3422
|
-
Threshold: __limitedParseDouble,
|
|
3423
|
-
UpdateStatus: __expectString,
|
|
3424
|
-
});
|
|
3425
|
-
};
|
|
3426
|
-
const de_ScalingPolicyList = (output, context) => {
|
|
3427
|
-
const retVal = (output || [])
|
|
3428
|
-
.filter((e) => e != null)
|
|
3429
|
-
.map((entry) => {
|
|
3430
|
-
return de_ScalingPolicy(entry, context);
|
|
3431
|
-
});
|
|
3432
|
-
return retVal;
|
|
3433
|
-
};
|
|
3434
|
-
const de_Script = (output, context) => {
|
|
3435
|
-
return take(output, {
|
|
3436
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3437
|
-
Name: __expectString,
|
|
3438
|
-
ScriptArn: __expectString,
|
|
3439
|
-
ScriptId: __expectString,
|
|
3440
|
-
SizeOnDisk: __expectLong,
|
|
3441
|
-
StorageLocation: _json,
|
|
3442
|
-
Version: __expectString,
|
|
3443
|
-
});
|
|
3444
|
-
};
|
|
3445
|
-
const de_ScriptList = (output, context) => {
|
|
3446
|
-
const retVal = (output || [])
|
|
3447
|
-
.filter((e) => e != null)
|
|
3448
|
-
.map((entry) => {
|
|
3449
|
-
return de_Script(entry, context);
|
|
3450
|
-
});
|
|
3451
|
-
return retVal;
|
|
3452
|
-
};
|
|
3453
|
-
const de_SearchGameSessionsOutput = (output, context) => {
|
|
3454
|
-
return take(output, {
|
|
3455
|
-
GameSessions: (_) => de_GameSessionList(_, context),
|
|
3456
|
-
NextToken: __expectString,
|
|
3457
|
-
});
|
|
3458
|
-
};
|
|
3459
|
-
const de_StartGameSessionPlacementOutput = (output, context) => {
|
|
3460
|
-
return take(output, {
|
|
3461
|
-
GameSessionPlacement: (_) => de_GameSessionPlacement(_, context),
|
|
3462
|
-
});
|
|
3463
|
-
};
|
|
3464
|
-
const de_StartMatchBackfillOutput = (output, context) => {
|
|
3465
|
-
return take(output, {
|
|
3466
|
-
MatchmakingTicket: (_) => de_MatchmakingTicket(_, context),
|
|
3467
|
-
});
|
|
3468
|
-
};
|
|
3469
|
-
const de_StartMatchmakingOutput = (output, context) => {
|
|
3470
|
-
return take(output, {
|
|
3471
|
-
MatchmakingTicket: (_) => de_MatchmakingTicket(_, context),
|
|
3472
|
-
});
|
|
3473
|
-
};
|
|
3474
|
-
const de_StopGameSessionPlacementOutput = (output, context) => {
|
|
3475
|
-
return take(output, {
|
|
3476
|
-
GameSessionPlacement: (_) => de_GameSessionPlacement(_, context),
|
|
3477
|
-
});
|
|
3478
|
-
};
|
|
3479
|
-
const de_SupportContainerDefinition = (output, context) => {
|
|
3480
|
-
return take(output, {
|
|
3481
|
-
ContainerName: __expectString,
|
|
3482
|
-
DependsOn: _json,
|
|
3483
|
-
EnvironmentOverride: _json,
|
|
3484
|
-
Essential: __expectBoolean,
|
|
3485
|
-
HealthCheck: _json,
|
|
3486
|
-
ImageUri: __expectString,
|
|
3487
|
-
MemoryHardLimitMebibytes: __expectInt32,
|
|
3488
|
-
MountPoints: _json,
|
|
3489
|
-
PortConfiguration: _json,
|
|
3490
|
-
ResolvedImageDigest: __expectString,
|
|
3491
|
-
Vcpu: __limitedParseDouble,
|
|
3492
|
-
});
|
|
3493
|
-
};
|
|
3494
|
-
const de_SupportContainerDefinitionList = (output, context) => {
|
|
3495
|
-
const retVal = (output || [])
|
|
3496
|
-
.filter((e) => e != null)
|
|
3497
|
-
.map((entry) => {
|
|
3498
|
-
return de_SupportContainerDefinition(entry, context);
|
|
3499
|
-
});
|
|
3500
|
-
return retVal;
|
|
3501
|
-
};
|
|
3502
|
-
const de_SuspendGameServerGroupOutput = (output, context) => {
|
|
3503
|
-
return take(output, {
|
|
3504
|
-
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
3505
|
-
});
|
|
3506
|
-
};
|
|
3507
|
-
const de_TargetConfiguration = (output, context) => {
|
|
3508
|
-
return take(output, {
|
|
3509
|
-
TargetValue: __limitedParseDouble,
|
|
3510
|
-
});
|
|
3511
|
-
};
|
|
3512
|
-
const de_TerminateGameSessionOutput = (output, context) => {
|
|
3513
|
-
return take(output, {
|
|
3514
|
-
GameSession: (_) => de_GameSession(_, context),
|
|
3515
|
-
});
|
|
3516
|
-
};
|
|
3517
|
-
const de_UpdateAliasOutput = (output, context) => {
|
|
3518
|
-
return take(output, {
|
|
3519
|
-
Alias: (_) => de_Alias(_, context),
|
|
3520
|
-
});
|
|
3521
|
-
};
|
|
3522
|
-
const de_UpdateBuildOutput = (output, context) => {
|
|
3523
|
-
return take(output, {
|
|
3524
|
-
Build: (_) => de_Build(_, context),
|
|
3525
|
-
});
|
|
3526
|
-
};
|
|
3527
|
-
const de_UpdateContainerFleetOutput = (output, context) => {
|
|
3528
|
-
return take(output, {
|
|
3529
|
-
ContainerFleet: (_) => de_ContainerFleet(_, context),
|
|
3530
|
-
});
|
|
3531
|
-
};
|
|
3532
|
-
const de_UpdateContainerGroupDefinitionOutput = (output, context) => {
|
|
3533
|
-
return take(output, {
|
|
3534
|
-
ContainerGroupDefinition: (_) => de_ContainerGroupDefinition(_, context),
|
|
3535
|
-
});
|
|
3536
|
-
};
|
|
3537
|
-
const de_UpdateGameServerGroupOutput = (output, context) => {
|
|
3538
|
-
return take(output, {
|
|
3539
|
-
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
3540
|
-
});
|
|
3541
|
-
};
|
|
3542
|
-
const de_UpdateGameServerOutput = (output, context) => {
|
|
3543
|
-
return take(output, {
|
|
3544
|
-
GameServer: (_) => de_GameServer(_, context),
|
|
3545
|
-
});
|
|
3546
|
-
};
|
|
3547
|
-
const de_UpdateGameSessionOutput = (output, context) => {
|
|
3548
|
-
return take(output, {
|
|
3549
|
-
GameSession: (_) => de_GameSession(_, context),
|
|
3550
|
-
});
|
|
3551
|
-
};
|
|
3552
|
-
const de_UpdateMatchmakingConfigurationOutput = (output, context) => {
|
|
3553
|
-
return take(output, {
|
|
3554
|
-
Configuration: (_) => de_MatchmakingConfiguration(_, context),
|
|
3555
|
-
});
|
|
3556
|
-
};
|
|
3557
|
-
const de_UpdateScriptOutput = (output, context) => {
|
|
3558
|
-
return take(output, {
|
|
3559
|
-
Script: (_) => de_Script(_, context),
|
|
3560
|
-
});
|
|
3561
|
-
};
|
|
3562
|
-
const de_VpcPeeringAuthorization = (output, context) => {
|
|
3563
|
-
return take(output, {
|
|
3564
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3565
|
-
ExpirationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3566
|
-
GameLiftAwsAccountId: __expectString,
|
|
3567
|
-
PeerVpcAwsAccountId: __expectString,
|
|
3568
|
-
PeerVpcId: __expectString,
|
|
3569
|
-
});
|
|
3570
|
-
};
|
|
3571
|
-
const de_VpcPeeringAuthorizationList = (output, context) => {
|
|
3572
|
-
const retVal = (output || [])
|
|
3573
|
-
.filter((e) => e != null)
|
|
3574
|
-
.map((entry) => {
|
|
3575
|
-
return de_VpcPeeringAuthorization(entry, context);
|
|
3576
|
-
});
|
|
3577
|
-
return retVal;
|
|
3578
|
-
};
|
|
3579
|
-
const deserializeMetadata = (output) => ({
|
|
3580
|
-
httpStatusCode: output.statusCode,
|
|
3581
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3582
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3583
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
3584
|
-
});
|
|
3585
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3586
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
3587
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3588
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3589
|
-
const contents = {
|
|
3590
|
-
protocol,
|
|
3591
|
-
hostname,
|
|
3592
|
-
port,
|
|
3593
|
-
method: "POST",
|
|
3594
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3595
|
-
headers,
|
|
3596
|
-
};
|
|
3597
|
-
if (resolvedHostname !== undefined) {
|
|
3598
|
-
contents.hostname = resolvedHostname;
|
|
3599
|
-
}
|
|
3600
|
-
if (body !== undefined) {
|
|
3601
|
-
contents.body = body;
|
|
3602
|
-
}
|
|
3603
|
-
return new __HttpRequest(contents);
|
|
3604
|
-
};
|
|
3605
|
-
function sharedHeaders(operation) {
|
|
3606
|
-
return {
|
|
3607
|
-
"content-type": "application/x-amz-json-1.1",
|
|
3608
|
-
"x-amz-target": `GameLift.${operation}`,
|
|
3609
|
-
};
|
|
3610
|
-
}
|