@aws-sdk/client-gamelift 3.218.0 → 3.223.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/README.md +19 -20
- package/dist-cjs/GameLift.js +135 -0
- package/dist-cjs/commands/CreateLocationCommand.js +46 -0
- package/dist-cjs/commands/DeleteLocationCommand.js +46 -0
- package/dist-cjs/commands/DeregisterComputeCommand.js +46 -0
- package/dist-cjs/commands/DescribeComputeCommand.js +46 -0
- package/dist-cjs/commands/GetComputeAccessCommand.js +46 -0
- package/dist-cjs/commands/GetComputeAuthTokenCommand.js +46 -0
- package/dist-cjs/commands/ListComputeCommand.js +46 -0
- package/dist-cjs/commands/ListLocationsCommand.js +46 -0
- package/dist-cjs/commands/RegisterComputeCommand.js +46 -0
- package/dist-cjs/commands/UpdateFleetPortSettingsCommand.js +2 -1
- package/dist-cjs/commands/UpdateGameServerCommand.js +3 -3
- package/dist-cjs/commands/UpdateGameServerGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateGameSessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateGameSessionQueueCommand.js +3 -3
- package/dist-cjs/commands/UpdateMatchmakingConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateRuntimeConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateScriptCommand.js +3 -3
- package/dist-cjs/commands/ValidateMatchmakingRuleSetCommand.js +3 -3
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +348 -78
- package/dist-cjs/models/models_1.js +75 -0
- package/dist-cjs/pagination/ListComputePaginator.js +36 -0
- package/dist-cjs/pagination/ListLocationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +731 -34
- package/dist-es/GameLift.js +135 -0
- package/dist-es/commands/CreateLocationCommand.js +42 -0
- package/dist-es/commands/DeleteLocationCommand.js +42 -0
- package/dist-es/commands/DeregisterComputeCommand.js +42 -0
- package/dist-es/commands/DescribeComputeCommand.js +42 -0
- package/dist-es/commands/GetComputeAccessCommand.js +42 -0
- package/dist-es/commands/GetComputeAuthTokenCommand.js +42 -0
- package/dist-es/commands/ListComputeCommand.js +42 -0
- package/dist-es/commands/ListLocationsCommand.js +42 -0
- package/dist-es/commands/RegisterComputeCommand.js +42 -0
- package/dist-es/commands/UpdateFleetPortSettingsCommand.js +2 -1
- package/dist-es/commands/UpdateGameServerCommand.js +1 -1
- package/dist-es/commands/UpdateGameServerGroupCommand.js +1 -1
- package/dist-es/commands/UpdateGameSessionCommand.js +1 -1
- package/dist-es/commands/UpdateGameSessionQueueCommand.js +1 -1
- package/dist-es/commands/UpdateMatchmakingConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateRuntimeConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateScriptCommand.js +1 -1
- package/dist-es/commands/ValidateMatchmakingRuleSetCommand.js +1 -1
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +321 -55
- package/dist-es/models/models_1.js +55 -0
- package/dist-es/pagination/ListComputePaginator.js +32 -0
- package/dist-es/pagination/ListLocationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +729 -51
- package/dist-types/GameLift.d.ts +756 -1757
- package/dist-types/GameLiftClient.d.ts +32 -23
- package/dist-types/commands/AcceptMatchCommand.d.ts +3 -13
- package/dist-types/commands/ClaimGameServerCommand.d.ts +15 -26
- package/dist-types/commands/CreateAliasCommand.d.ts +2 -8
- package/dist-types/commands/CreateBuildCommand.d.ts +15 -26
- package/dist-types/commands/CreateFleetCommand.d.ts +9 -28
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +11 -30
- package/dist-types/commands/CreateGameServerGroupCommand.d.ts +13 -25
- package/dist-types/commands/CreateGameSessionCommand.d.ts +8 -21
- package/dist-types/commands/CreateGameSessionQueueCommand.d.ts +9 -14
- package/dist-types/commands/CreateLocationCommand.d.ts +37 -0
- package/dist-types/commands/CreateMatchmakingConfigurationCommand.d.ts +7 -23
- package/dist-types/commands/CreateMatchmakingRuleSetCommand.d.ts +3 -19
- package/dist-types/commands/CreatePlayerSessionCommand.d.ts +12 -20
- package/dist-types/commands/CreatePlayerSessionsCommand.d.ts +11 -18
- package/dist-types/commands/CreateScriptCommand.d.ts +11 -15
- package/dist-types/commands/CreateVpcPeeringAuthorizationCommand.d.ts +14 -21
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +18 -25
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -7
- package/dist-types/commands/DeleteBuildCommand.d.ts +6 -14
- package/dist-types/commands/DeleteFleetCommand.d.ts +6 -22
- package/dist-types/commands/DeleteFleetLocationsCommand.d.ts +3 -18
- package/dist-types/commands/DeleteGameServerGroupCommand.d.ts +10 -23
- package/dist-types/commands/DeleteGameSessionQueueCommand.d.ts +2 -24
- package/dist-types/commands/DeleteLocationCommand.d.ts +39 -0
- package/dist-types/commands/DeleteMatchmakingConfigurationCommand.d.ts +0 -14
- package/dist-types/commands/DeleteMatchmakingRuleSetCommand.d.ts +2 -16
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +4 -18
- package/dist-types/commands/DeleteScriptCommand.d.ts +2 -7
- package/dist-types/commands/DeleteVpcPeeringAuthorizationCommand.d.ts +3 -9
- package/dist-types/commands/DeleteVpcPeeringConnectionCommand.d.ts +5 -13
- package/dist-types/commands/DeregisterComputeCommand.d.ts +38 -0
- package/dist-types/commands/DeregisterGameServerCommand.d.ts +5 -16
- package/dist-types/commands/DescribeAliasCommand.d.ts +1 -7
- package/dist-types/commands/DescribeBuildCommand.d.ts +3 -11
- package/dist-types/commands/DescribeComputeCommand.d.ts +39 -0
- package/dist-types/commands/DescribeEC2InstanceLimitsCommand.d.ts +9 -25
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +8 -22
- package/dist-types/commands/DescribeFleetEventsCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetLocationAttributesCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetLocationUtilizationCommand.d.ts +4 -19
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +8 -23
- package/dist-types/commands/DescribeFleetUtilizationCommand.d.ts +9 -24
- package/dist-types/commands/DescribeGameServerCommand.d.ts +5 -15
- package/dist-types/commands/DescribeGameServerGroupCommand.d.ts +8 -20
- package/dist-types/commands/DescribeGameServerInstancesCommand.d.ts +7 -23
- package/dist-types/commands/DescribeGameSessionDetailsCommand.d.ts +6 -20
- package/dist-types/commands/DescribeGameSessionPlacementCommand.d.ts +8 -26
- package/dist-types/commands/DescribeGameSessionQueuesCommand.d.ts +5 -20
- package/dist-types/commands/DescribeGameSessionsCommand.d.ts +9 -32
- package/dist-types/commands/DescribeInstancesCommand.d.ts +5 -7
- package/dist-types/commands/DescribeMatchmakingCommand.d.ts +6 -19
- package/dist-types/commands/DescribeMatchmakingConfigurationsCommand.d.ts +1 -16
- package/dist-types/commands/DescribeMatchmakingRuleSetsCommand.d.ts +2 -16
- package/dist-types/commands/DescribePlayerSessionsCommand.d.ts +3 -11
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +5 -20
- package/dist-types/commands/DescribeScalingPoliciesCommand.d.ts +6 -22
- package/dist-types/commands/DescribeScriptCommand.d.ts +3 -8
- package/dist-types/commands/DescribeVpcPeeringAuthorizationsCommand.d.ts +2 -8
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +7 -13
- package/dist-types/commands/GetComputeAccessCommand.d.ts +59 -0
- package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +40 -0
- package/dist-types/commands/GetGameSessionLogUrlCommand.d.ts +3 -15
- package/dist-types/commands/GetInstanceAccessCommand.d.ts +2 -8
- package/dist-types/commands/ListAliasesCommand.d.ts +4 -10
- package/dist-types/commands/ListBuildsCommand.d.ts +3 -11
- package/dist-types/commands/ListComputeCommand.d.ts +37 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +9 -23
- package/dist-types/commands/ListGameServerGroupsCommand.d.ts +1 -26
- package/dist-types/commands/ListGameServersCommand.d.ts +6 -16
- package/dist-types/commands/ListLocationsCommand.d.ts +37 -0
- package/dist-types/commands/ListScriptsCommand.d.ts +3 -7
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -13
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +21 -40
- package/dist-types/commands/RegisterComputeCommand.d.ts +57 -0
- package/dist-types/commands/RegisterGameServerCommand.d.ts +9 -21
- package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +3 -12
- package/dist-types/commands/ResolveAliasCommand.d.ts +1 -7
- package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +11 -23
- package/dist-types/commands/SearchGameSessionsCommand.d.ts +21 -38
- package/dist-types/commands/StartFleetActionsCommand.d.ts +7 -21
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +31 -46
- package/dist-types/commands/StartMatchBackfillCommand.d.ts +19 -29
- package/dist-types/commands/StartMatchmakingCommand.d.ts +4 -15
- package/dist-types/commands/StopFleetActionsCommand.d.ts +5 -21
- package/dist-types/commands/StopGameSessionPlacementCommand.d.ts +2 -17
- package/dist-types/commands/StopMatchmakingCommand.d.ts +3 -14
- package/dist-types/commands/SuspendGameServerGroupCommand.d.ts +7 -19
- package/dist-types/commands/TagResourceCommand.d.ts +7 -10
- package/dist-types/commands/UntagResourceCommand.d.ts +12 -16
- package/dist-types/commands/UpdateAliasCommand.d.ts +1 -7
- package/dist-types/commands/UpdateBuildCommand.d.ts +3 -11
- package/dist-types/commands/UpdateFleetAttributesCommand.d.ts +3 -19
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +10 -26
- package/dist-types/commands/UpdateFleetPortSettingsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGameServerCommand.d.ts +20 -29
- package/dist-types/commands/UpdateGameServerGroupCommand.d.ts +9 -21
- package/dist-types/commands/UpdateGameSessionCommand.d.ts +1 -13
- package/dist-types/commands/UpdateGameSessionQueueCommand.d.ts +2 -16
- package/dist-types/commands/UpdateMatchmakingConfigurationCommand.d.ts +6 -20
- package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +5 -21
- package/dist-types/commands/UpdateScriptCommand.d.ts +2 -7
- package/dist-types/commands/ValidateMatchmakingRuleSetCommand.d.ts +4 -18
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1598 -1987
- package/dist-types/models/models_1.d.ts +452 -0
- package/dist-types/pagination/ListComputePaginator.d.ts +4 -0
- package/dist-types/pagination/ListLocationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/GameLift.d.ts +153 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateLocationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteLocationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeregisterComputeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeComputeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetComputeAccessCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetComputeAuthTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListComputeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/RegisterComputeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateFleetPortSettingsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateGameServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGameServerGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGameSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGameSessionQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMatchmakingConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRuntimeConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateScriptCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ValidateMatchmakingRuleSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +417 -370
- package/dist-types/ts3.4/models/models_1.d.ts +166 -0
- package/dist-types/ts3.4/pagination/ListComputePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/package.json +28 -28
|
@@ -83,6 +83,15 @@ export const serializeAws_json1_1CreateGameSessionQueueCommand = async (input, c
|
|
|
83
83
|
body = JSON.stringify(serializeAws_json1_1CreateGameSessionQueueInput(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
+
export const serializeAws_json1_1CreateLocationCommand = async (input, context) => {
|
|
87
|
+
const headers = {
|
|
88
|
+
"content-type": "application/x-amz-json-1.1",
|
|
89
|
+
"x-amz-target": "GameLift.CreateLocation",
|
|
90
|
+
};
|
|
91
|
+
let body;
|
|
92
|
+
body = JSON.stringify(serializeAws_json1_1CreateLocationInput(input, context));
|
|
93
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
|
+
};
|
|
86
95
|
export const serializeAws_json1_1CreateMatchmakingConfigurationCommand = async (input, context) => {
|
|
87
96
|
const headers = {
|
|
88
97
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -200,6 +209,15 @@ export const serializeAws_json1_1DeleteGameSessionQueueCommand = async (input, c
|
|
|
200
209
|
body = JSON.stringify(serializeAws_json1_1DeleteGameSessionQueueInput(input, context));
|
|
201
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
211
|
};
|
|
212
|
+
export const serializeAws_json1_1DeleteLocationCommand = async (input, context) => {
|
|
213
|
+
const headers = {
|
|
214
|
+
"content-type": "application/x-amz-json-1.1",
|
|
215
|
+
"x-amz-target": "GameLift.DeleteLocation",
|
|
216
|
+
};
|
|
217
|
+
let body;
|
|
218
|
+
body = JSON.stringify(serializeAws_json1_1DeleteLocationInput(input, context));
|
|
219
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
|
+
};
|
|
203
221
|
export const serializeAws_json1_1DeleteMatchmakingConfigurationCommand = async (input, context) => {
|
|
204
222
|
const headers = {
|
|
205
223
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -254,6 +272,15 @@ export const serializeAws_json1_1DeleteVpcPeeringConnectionCommand = async (inpu
|
|
|
254
272
|
body = JSON.stringify(serializeAws_json1_1DeleteVpcPeeringConnectionInput(input, context));
|
|
255
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
274
|
};
|
|
275
|
+
export const serializeAws_json1_1DeregisterComputeCommand = async (input, context) => {
|
|
276
|
+
const headers = {
|
|
277
|
+
"content-type": "application/x-amz-json-1.1",
|
|
278
|
+
"x-amz-target": "GameLift.DeregisterCompute",
|
|
279
|
+
};
|
|
280
|
+
let body;
|
|
281
|
+
body = JSON.stringify(serializeAws_json1_1DeregisterComputeInput(input, context));
|
|
282
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
|
+
};
|
|
257
284
|
export const serializeAws_json1_1DeregisterGameServerCommand = async (input, context) => {
|
|
258
285
|
const headers = {
|
|
259
286
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -281,6 +308,15 @@ export const serializeAws_json1_1DescribeBuildCommand = async (input, context) =
|
|
|
281
308
|
body = JSON.stringify(serializeAws_json1_1DescribeBuildInput(input, context));
|
|
282
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
310
|
};
|
|
311
|
+
export const serializeAws_json1_1DescribeComputeCommand = async (input, context) => {
|
|
312
|
+
const headers = {
|
|
313
|
+
"content-type": "application/x-amz-json-1.1",
|
|
314
|
+
"x-amz-target": "GameLift.DescribeCompute",
|
|
315
|
+
};
|
|
316
|
+
let body;
|
|
317
|
+
body = JSON.stringify(serializeAws_json1_1DescribeComputeInput(input, context));
|
|
318
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
|
+
};
|
|
284
320
|
export const serializeAws_json1_1DescribeEC2InstanceLimitsCommand = async (input, context) => {
|
|
285
321
|
const headers = {
|
|
286
322
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -515,6 +551,24 @@ export const serializeAws_json1_1DescribeVpcPeeringConnectionsCommand = async (i
|
|
|
515
551
|
body = JSON.stringify(serializeAws_json1_1DescribeVpcPeeringConnectionsInput(input, context));
|
|
516
552
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
517
553
|
};
|
|
554
|
+
export const serializeAws_json1_1GetComputeAccessCommand = async (input, context) => {
|
|
555
|
+
const headers = {
|
|
556
|
+
"content-type": "application/x-amz-json-1.1",
|
|
557
|
+
"x-amz-target": "GameLift.GetComputeAccess",
|
|
558
|
+
};
|
|
559
|
+
let body;
|
|
560
|
+
body = JSON.stringify(serializeAws_json1_1GetComputeAccessInput(input, context));
|
|
561
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
562
|
+
};
|
|
563
|
+
export const serializeAws_json1_1GetComputeAuthTokenCommand = async (input, context) => {
|
|
564
|
+
const headers = {
|
|
565
|
+
"content-type": "application/x-amz-json-1.1",
|
|
566
|
+
"x-amz-target": "GameLift.GetComputeAuthToken",
|
|
567
|
+
};
|
|
568
|
+
let body;
|
|
569
|
+
body = JSON.stringify(serializeAws_json1_1GetComputeAuthTokenInput(input, context));
|
|
570
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
571
|
+
};
|
|
518
572
|
export const serializeAws_json1_1GetGameSessionLogUrlCommand = async (input, context) => {
|
|
519
573
|
const headers = {
|
|
520
574
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -551,6 +605,15 @@ export const serializeAws_json1_1ListBuildsCommand = async (input, context) => {
|
|
|
551
605
|
body = JSON.stringify(serializeAws_json1_1ListBuildsInput(input, context));
|
|
552
606
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
553
607
|
};
|
|
608
|
+
export const serializeAws_json1_1ListComputeCommand = async (input, context) => {
|
|
609
|
+
const headers = {
|
|
610
|
+
"content-type": "application/x-amz-json-1.1",
|
|
611
|
+
"x-amz-target": "GameLift.ListCompute",
|
|
612
|
+
};
|
|
613
|
+
let body;
|
|
614
|
+
body = JSON.stringify(serializeAws_json1_1ListComputeInput(input, context));
|
|
615
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
616
|
+
};
|
|
554
617
|
export const serializeAws_json1_1ListFleetsCommand = async (input, context) => {
|
|
555
618
|
const headers = {
|
|
556
619
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -578,6 +641,15 @@ export const serializeAws_json1_1ListGameServersCommand = async (input, context)
|
|
|
578
641
|
body = JSON.stringify(serializeAws_json1_1ListGameServersInput(input, context));
|
|
579
642
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
580
643
|
};
|
|
644
|
+
export const serializeAws_json1_1ListLocationsCommand = async (input, context) => {
|
|
645
|
+
const headers = {
|
|
646
|
+
"content-type": "application/x-amz-json-1.1",
|
|
647
|
+
"x-amz-target": "GameLift.ListLocations",
|
|
648
|
+
};
|
|
649
|
+
let body;
|
|
650
|
+
body = JSON.stringify(serializeAws_json1_1ListLocationsInput(input, context));
|
|
651
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
652
|
+
};
|
|
581
653
|
export const serializeAws_json1_1ListScriptsCommand = async (input, context) => {
|
|
582
654
|
const headers = {
|
|
583
655
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -605,6 +677,15 @@ export const serializeAws_json1_1PutScalingPolicyCommand = async (input, context
|
|
|
605
677
|
body = JSON.stringify(serializeAws_json1_1PutScalingPolicyInput(input, context));
|
|
606
678
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
607
679
|
};
|
|
680
|
+
export const serializeAws_json1_1RegisterComputeCommand = async (input, context) => {
|
|
681
|
+
const headers = {
|
|
682
|
+
"content-type": "application/x-amz-json-1.1",
|
|
683
|
+
"x-amz-target": "GameLift.RegisterCompute",
|
|
684
|
+
};
|
|
685
|
+
let body;
|
|
686
|
+
body = JSON.stringify(serializeAws_json1_1RegisterComputeInput(input, context));
|
|
687
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
688
|
+
};
|
|
608
689
|
export const serializeAws_json1_1RegisterGameServerCommand = async (input, context) => {
|
|
609
690
|
const headers = {
|
|
610
691
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1114,6 +1195,9 @@ const deserializeAws_json1_1CreateFleetLocationsCommandError = async (output, co
|
|
|
1114
1195
|
};
|
|
1115
1196
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1116
1197
|
switch (errorCode) {
|
|
1198
|
+
case "ConflictException":
|
|
1199
|
+
case "com.amazonaws.gamelift#ConflictException":
|
|
1200
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
1117
1201
|
case "InternalServiceException":
|
|
1118
1202
|
case "com.amazonaws.gamelift#InternalServiceException":
|
|
1119
1203
|
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
@@ -1298,6 +1382,54 @@ const deserializeAws_json1_1CreateGameSessionQueueCommandError = async (output,
|
|
|
1298
1382
|
});
|
|
1299
1383
|
}
|
|
1300
1384
|
};
|
|
1385
|
+
export const deserializeAws_json1_1CreateLocationCommand = async (output, context) => {
|
|
1386
|
+
if (output.statusCode >= 300) {
|
|
1387
|
+
return deserializeAws_json1_1CreateLocationCommandError(output, context);
|
|
1388
|
+
}
|
|
1389
|
+
const data = await parseBody(output.body, context);
|
|
1390
|
+
let contents = {};
|
|
1391
|
+
contents = deserializeAws_json1_1CreateLocationOutput(data, context);
|
|
1392
|
+
const response = {
|
|
1393
|
+
$metadata: deserializeMetadata(output),
|
|
1394
|
+
...contents,
|
|
1395
|
+
};
|
|
1396
|
+
return Promise.resolve(response);
|
|
1397
|
+
};
|
|
1398
|
+
const deserializeAws_json1_1CreateLocationCommandError = async (output, context) => {
|
|
1399
|
+
const parsedOutput = {
|
|
1400
|
+
...output,
|
|
1401
|
+
body: await parseErrorBody(output.body, context),
|
|
1402
|
+
};
|
|
1403
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1404
|
+
switch (errorCode) {
|
|
1405
|
+
case "ConflictException":
|
|
1406
|
+
case "com.amazonaws.gamelift#ConflictException":
|
|
1407
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
1408
|
+
case "InternalServiceException":
|
|
1409
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
1410
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
1411
|
+
case "InvalidRequestException":
|
|
1412
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
1413
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1414
|
+
case "LimitExceededException":
|
|
1415
|
+
case "com.amazonaws.gamelift#LimitExceededException":
|
|
1416
|
+
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
1417
|
+
case "TaggingFailedException":
|
|
1418
|
+
case "com.amazonaws.gamelift#TaggingFailedException":
|
|
1419
|
+
throw await deserializeAws_json1_1TaggingFailedExceptionResponse(parsedOutput, context);
|
|
1420
|
+
case "UnauthorizedException":
|
|
1421
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
1422
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
1423
|
+
default:
|
|
1424
|
+
const parsedBody = parsedOutput.body;
|
|
1425
|
+
throwDefaultError({
|
|
1426
|
+
output,
|
|
1427
|
+
parsedBody,
|
|
1428
|
+
exceptionCtor: __BaseException,
|
|
1429
|
+
errorCode,
|
|
1430
|
+
});
|
|
1431
|
+
}
|
|
1432
|
+
};
|
|
1301
1433
|
export const deserializeAws_json1_1CreateMatchmakingConfigurationCommand = async (output, context) => {
|
|
1302
1434
|
if (output.statusCode >= 300) {
|
|
1303
1435
|
return deserializeAws_json1_1CreateMatchmakingConfigurationCommandError(output, context);
|
|
@@ -1372,6 +1504,9 @@ const deserializeAws_json1_1CreateMatchmakingRuleSetCommandError = async (output
|
|
|
1372
1504
|
case "InvalidRequestException":
|
|
1373
1505
|
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
1374
1506
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1507
|
+
case "LimitExceededException":
|
|
1508
|
+
case "com.amazonaws.gamelift#LimitExceededException":
|
|
1509
|
+
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
1375
1510
|
case "TaggingFailedException":
|
|
1376
1511
|
case "com.amazonaws.gamelift#TaggingFailedException":
|
|
1377
1512
|
throw await deserializeAws_json1_1TaggingFailedExceptionResponse(parsedOutput, context);
|
|
@@ -1880,6 +2015,48 @@ const deserializeAws_json1_1DeleteGameSessionQueueCommandError = async (output,
|
|
|
1880
2015
|
});
|
|
1881
2016
|
}
|
|
1882
2017
|
};
|
|
2018
|
+
export const deserializeAws_json1_1DeleteLocationCommand = async (output, context) => {
|
|
2019
|
+
if (output.statusCode >= 300) {
|
|
2020
|
+
return deserializeAws_json1_1DeleteLocationCommandError(output, context);
|
|
2021
|
+
}
|
|
2022
|
+
const data = await parseBody(output.body, context);
|
|
2023
|
+
let contents = {};
|
|
2024
|
+
contents = deserializeAws_json1_1DeleteLocationOutput(data, context);
|
|
2025
|
+
const response = {
|
|
2026
|
+
$metadata: deserializeMetadata(output),
|
|
2027
|
+
...contents,
|
|
2028
|
+
};
|
|
2029
|
+
return Promise.resolve(response);
|
|
2030
|
+
};
|
|
2031
|
+
const deserializeAws_json1_1DeleteLocationCommandError = async (output, context) => {
|
|
2032
|
+
const parsedOutput = {
|
|
2033
|
+
...output,
|
|
2034
|
+
body: await parseErrorBody(output.body, context),
|
|
2035
|
+
};
|
|
2036
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2037
|
+
switch (errorCode) {
|
|
2038
|
+
case "InternalServiceException":
|
|
2039
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
2040
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
2041
|
+
case "InvalidRequestException":
|
|
2042
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
2043
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2044
|
+
case "NotFoundException":
|
|
2045
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
2046
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
2047
|
+
case "UnauthorizedException":
|
|
2048
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
2049
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2050
|
+
default:
|
|
2051
|
+
const parsedBody = parsedOutput.body;
|
|
2052
|
+
throwDefaultError({
|
|
2053
|
+
output,
|
|
2054
|
+
parsedBody,
|
|
2055
|
+
exceptionCtor: __BaseException,
|
|
2056
|
+
errorCode,
|
|
2057
|
+
});
|
|
2058
|
+
}
|
|
2059
|
+
};
|
|
1883
2060
|
export const deserializeAws_json1_1DeleteMatchmakingConfigurationCommand = async (output, context) => {
|
|
1884
2061
|
if (output.statusCode >= 300) {
|
|
1885
2062
|
return deserializeAws_json1_1DeleteMatchmakingConfigurationCommandError(output, context);
|
|
@@ -2135,6 +2312,48 @@ const deserializeAws_json1_1DeleteVpcPeeringConnectionCommandError = async (outp
|
|
|
2135
2312
|
});
|
|
2136
2313
|
}
|
|
2137
2314
|
};
|
|
2315
|
+
export const deserializeAws_json1_1DeregisterComputeCommand = async (output, context) => {
|
|
2316
|
+
if (output.statusCode >= 300) {
|
|
2317
|
+
return deserializeAws_json1_1DeregisterComputeCommandError(output, context);
|
|
2318
|
+
}
|
|
2319
|
+
const data = await parseBody(output.body, context);
|
|
2320
|
+
let contents = {};
|
|
2321
|
+
contents = deserializeAws_json1_1DeregisterComputeOutput(data, context);
|
|
2322
|
+
const response = {
|
|
2323
|
+
$metadata: deserializeMetadata(output),
|
|
2324
|
+
...contents,
|
|
2325
|
+
};
|
|
2326
|
+
return Promise.resolve(response);
|
|
2327
|
+
};
|
|
2328
|
+
const deserializeAws_json1_1DeregisterComputeCommandError = async (output, context) => {
|
|
2329
|
+
const parsedOutput = {
|
|
2330
|
+
...output,
|
|
2331
|
+
body: await parseErrorBody(output.body, context),
|
|
2332
|
+
};
|
|
2333
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2334
|
+
switch (errorCode) {
|
|
2335
|
+
case "InternalServiceException":
|
|
2336
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
2337
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
2338
|
+
case "InvalidRequestException":
|
|
2339
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
2340
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2341
|
+
case "NotFoundException":
|
|
2342
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
2343
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
2344
|
+
case "UnauthorizedException":
|
|
2345
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
2346
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2347
|
+
default:
|
|
2348
|
+
const parsedBody = parsedOutput.body;
|
|
2349
|
+
throwDefaultError({
|
|
2350
|
+
output,
|
|
2351
|
+
parsedBody,
|
|
2352
|
+
exceptionCtor: __BaseException,
|
|
2353
|
+
errorCode,
|
|
2354
|
+
});
|
|
2355
|
+
}
|
|
2356
|
+
};
|
|
2138
2357
|
export const deserializeAws_json1_1DeregisterGameServerCommand = async (output, context) => {
|
|
2139
2358
|
if (output.statusCode >= 300) {
|
|
2140
2359
|
return deserializeAws_json1_1DeregisterGameServerCommandError(output, context);
|
|
@@ -2258,6 +2477,48 @@ const deserializeAws_json1_1DescribeBuildCommandError = async (output, context)
|
|
|
2258
2477
|
});
|
|
2259
2478
|
}
|
|
2260
2479
|
};
|
|
2480
|
+
export const deserializeAws_json1_1DescribeComputeCommand = async (output, context) => {
|
|
2481
|
+
if (output.statusCode >= 300) {
|
|
2482
|
+
return deserializeAws_json1_1DescribeComputeCommandError(output, context);
|
|
2483
|
+
}
|
|
2484
|
+
const data = await parseBody(output.body, context);
|
|
2485
|
+
let contents = {};
|
|
2486
|
+
contents = deserializeAws_json1_1DescribeComputeOutput(data, context);
|
|
2487
|
+
const response = {
|
|
2488
|
+
$metadata: deserializeMetadata(output),
|
|
2489
|
+
...contents,
|
|
2490
|
+
};
|
|
2491
|
+
return Promise.resolve(response);
|
|
2492
|
+
};
|
|
2493
|
+
const deserializeAws_json1_1DescribeComputeCommandError = async (output, context) => {
|
|
2494
|
+
const parsedOutput = {
|
|
2495
|
+
...output,
|
|
2496
|
+
body: await parseErrorBody(output.body, context),
|
|
2497
|
+
};
|
|
2498
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2499
|
+
switch (errorCode) {
|
|
2500
|
+
case "InternalServiceException":
|
|
2501
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
2502
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
2503
|
+
case "InvalidRequestException":
|
|
2504
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
2505
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
2506
|
+
case "NotFoundException":
|
|
2507
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
2508
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
2509
|
+
case "UnauthorizedException":
|
|
2510
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
2511
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2512
|
+
default:
|
|
2513
|
+
const parsedBody = parsedOutput.body;
|
|
2514
|
+
throwDefaultError({
|
|
2515
|
+
output,
|
|
2516
|
+
parsedBody,
|
|
2517
|
+
exceptionCtor: __BaseException,
|
|
2518
|
+
errorCode,
|
|
2519
|
+
});
|
|
2520
|
+
}
|
|
2521
|
+
};
|
|
2261
2522
|
export const deserializeAws_json1_1DescribeEC2InstanceLimitsCommand = async (output, context) => {
|
|
2262
2523
|
if (output.statusCode >= 300) {
|
|
2263
2524
|
return deserializeAws_json1_1DescribeEC2InstanceLimitsCommandError(output, context);
|
|
@@ -2593,6 +2854,9 @@ const deserializeAws_json1_1DescribeFleetPortSettingsCommandError = async (outpu
|
|
|
2593
2854
|
case "UnauthorizedException":
|
|
2594
2855
|
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
2595
2856
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
2857
|
+
case "UnsupportedRegionException":
|
|
2858
|
+
case "com.amazonaws.gamelift#UnsupportedRegionException":
|
|
2859
|
+
throw await deserializeAws_json1_1UnsupportedRegionExceptionResponse(parsedOutput, context);
|
|
2596
2860
|
default:
|
|
2597
2861
|
const parsedBody = parsedOutput.body;
|
|
2598
2862
|
throwDefaultError({
|
|
@@ -3368,6 +3632,90 @@ const deserializeAws_json1_1DescribeVpcPeeringConnectionsCommandError = async (o
|
|
|
3368
3632
|
});
|
|
3369
3633
|
}
|
|
3370
3634
|
};
|
|
3635
|
+
export const deserializeAws_json1_1GetComputeAccessCommand = async (output, context) => {
|
|
3636
|
+
if (output.statusCode >= 300) {
|
|
3637
|
+
return deserializeAws_json1_1GetComputeAccessCommandError(output, context);
|
|
3638
|
+
}
|
|
3639
|
+
const data = await parseBody(output.body, context);
|
|
3640
|
+
let contents = {};
|
|
3641
|
+
contents = deserializeAws_json1_1GetComputeAccessOutput(data, context);
|
|
3642
|
+
const response = {
|
|
3643
|
+
$metadata: deserializeMetadata(output),
|
|
3644
|
+
...contents,
|
|
3645
|
+
};
|
|
3646
|
+
return Promise.resolve(response);
|
|
3647
|
+
};
|
|
3648
|
+
const deserializeAws_json1_1GetComputeAccessCommandError = async (output, context) => {
|
|
3649
|
+
const parsedOutput = {
|
|
3650
|
+
...output,
|
|
3651
|
+
body: await parseErrorBody(output.body, context),
|
|
3652
|
+
};
|
|
3653
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3654
|
+
switch (errorCode) {
|
|
3655
|
+
case "InternalServiceException":
|
|
3656
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
3657
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
3658
|
+
case "InvalidRequestException":
|
|
3659
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3660
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3661
|
+
case "NotFoundException":
|
|
3662
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
3663
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
3664
|
+
case "UnauthorizedException":
|
|
3665
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3666
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3667
|
+
default:
|
|
3668
|
+
const parsedBody = parsedOutput.body;
|
|
3669
|
+
throwDefaultError({
|
|
3670
|
+
output,
|
|
3671
|
+
parsedBody,
|
|
3672
|
+
exceptionCtor: __BaseException,
|
|
3673
|
+
errorCode,
|
|
3674
|
+
});
|
|
3675
|
+
}
|
|
3676
|
+
};
|
|
3677
|
+
export const deserializeAws_json1_1GetComputeAuthTokenCommand = async (output, context) => {
|
|
3678
|
+
if (output.statusCode >= 300) {
|
|
3679
|
+
return deserializeAws_json1_1GetComputeAuthTokenCommandError(output, context);
|
|
3680
|
+
}
|
|
3681
|
+
const data = await parseBody(output.body, context);
|
|
3682
|
+
let contents = {};
|
|
3683
|
+
contents = deserializeAws_json1_1GetComputeAuthTokenOutput(data, context);
|
|
3684
|
+
const response = {
|
|
3685
|
+
$metadata: deserializeMetadata(output),
|
|
3686
|
+
...contents,
|
|
3687
|
+
};
|
|
3688
|
+
return Promise.resolve(response);
|
|
3689
|
+
};
|
|
3690
|
+
const deserializeAws_json1_1GetComputeAuthTokenCommandError = async (output, context) => {
|
|
3691
|
+
const parsedOutput = {
|
|
3692
|
+
...output,
|
|
3693
|
+
body: await parseErrorBody(output.body, context),
|
|
3694
|
+
};
|
|
3695
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3696
|
+
switch (errorCode) {
|
|
3697
|
+
case "InternalServiceException":
|
|
3698
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
3699
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
3700
|
+
case "InvalidRequestException":
|
|
3701
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3702
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3703
|
+
case "NotFoundException":
|
|
3704
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
3705
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
3706
|
+
case "UnauthorizedException":
|
|
3707
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3708
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3709
|
+
default:
|
|
3710
|
+
const parsedBody = parsedOutput.body;
|
|
3711
|
+
throwDefaultError({
|
|
3712
|
+
output,
|
|
3713
|
+
parsedBody,
|
|
3714
|
+
exceptionCtor: __BaseException,
|
|
3715
|
+
errorCode,
|
|
3716
|
+
});
|
|
3717
|
+
}
|
|
3718
|
+
};
|
|
3371
3719
|
export const deserializeAws_json1_1GetGameSessionLogUrlCommand = async (output, context) => {
|
|
3372
3720
|
if (output.statusCode >= 300) {
|
|
3373
3721
|
return deserializeAws_json1_1GetGameSessionLogUrlCommandError(output, context);
|
|
@@ -3412,18 +3760,99 @@ const deserializeAws_json1_1GetGameSessionLogUrlCommandError = async (output, co
|
|
|
3412
3760
|
};
|
|
3413
3761
|
export const deserializeAws_json1_1GetInstanceAccessCommand = async (output, context) => {
|
|
3414
3762
|
if (output.statusCode >= 300) {
|
|
3415
|
-
return deserializeAws_json1_1GetInstanceAccessCommandError(output, context);
|
|
3763
|
+
return deserializeAws_json1_1GetInstanceAccessCommandError(output, context);
|
|
3764
|
+
}
|
|
3765
|
+
const data = await parseBody(output.body, context);
|
|
3766
|
+
let contents = {};
|
|
3767
|
+
contents = deserializeAws_json1_1GetInstanceAccessOutput(data, context);
|
|
3768
|
+
const response = {
|
|
3769
|
+
$metadata: deserializeMetadata(output),
|
|
3770
|
+
...contents,
|
|
3771
|
+
};
|
|
3772
|
+
return Promise.resolve(response);
|
|
3773
|
+
};
|
|
3774
|
+
const deserializeAws_json1_1GetInstanceAccessCommandError = async (output, context) => {
|
|
3775
|
+
const parsedOutput = {
|
|
3776
|
+
...output,
|
|
3777
|
+
body: await parseErrorBody(output.body, context),
|
|
3778
|
+
};
|
|
3779
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3780
|
+
switch (errorCode) {
|
|
3781
|
+
case "InternalServiceException":
|
|
3782
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
3783
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
3784
|
+
case "InvalidRequestException":
|
|
3785
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3786
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3787
|
+
case "NotFoundException":
|
|
3788
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
3789
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
3790
|
+
case "UnauthorizedException":
|
|
3791
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3792
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3793
|
+
default:
|
|
3794
|
+
const parsedBody = parsedOutput.body;
|
|
3795
|
+
throwDefaultError({
|
|
3796
|
+
output,
|
|
3797
|
+
parsedBody,
|
|
3798
|
+
exceptionCtor: __BaseException,
|
|
3799
|
+
errorCode,
|
|
3800
|
+
});
|
|
3801
|
+
}
|
|
3802
|
+
};
|
|
3803
|
+
export const deserializeAws_json1_1ListAliasesCommand = async (output, context) => {
|
|
3804
|
+
if (output.statusCode >= 300) {
|
|
3805
|
+
return deserializeAws_json1_1ListAliasesCommandError(output, context);
|
|
3806
|
+
}
|
|
3807
|
+
const data = await parseBody(output.body, context);
|
|
3808
|
+
let contents = {};
|
|
3809
|
+
contents = deserializeAws_json1_1ListAliasesOutput(data, context);
|
|
3810
|
+
const response = {
|
|
3811
|
+
$metadata: deserializeMetadata(output),
|
|
3812
|
+
...contents,
|
|
3813
|
+
};
|
|
3814
|
+
return Promise.resolve(response);
|
|
3815
|
+
};
|
|
3816
|
+
const deserializeAws_json1_1ListAliasesCommandError = async (output, context) => {
|
|
3817
|
+
const parsedOutput = {
|
|
3818
|
+
...output,
|
|
3819
|
+
body: await parseErrorBody(output.body, context),
|
|
3820
|
+
};
|
|
3821
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3822
|
+
switch (errorCode) {
|
|
3823
|
+
case "InternalServiceException":
|
|
3824
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
3825
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
3826
|
+
case "InvalidRequestException":
|
|
3827
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3828
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3829
|
+
case "UnauthorizedException":
|
|
3830
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3831
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
3832
|
+
default:
|
|
3833
|
+
const parsedBody = parsedOutput.body;
|
|
3834
|
+
throwDefaultError({
|
|
3835
|
+
output,
|
|
3836
|
+
parsedBody,
|
|
3837
|
+
exceptionCtor: __BaseException,
|
|
3838
|
+
errorCode,
|
|
3839
|
+
});
|
|
3840
|
+
}
|
|
3841
|
+
};
|
|
3842
|
+
export const deserializeAws_json1_1ListBuildsCommand = async (output, context) => {
|
|
3843
|
+
if (output.statusCode >= 300) {
|
|
3844
|
+
return deserializeAws_json1_1ListBuildsCommandError(output, context);
|
|
3416
3845
|
}
|
|
3417
3846
|
const data = await parseBody(output.body, context);
|
|
3418
3847
|
let contents = {};
|
|
3419
|
-
contents =
|
|
3848
|
+
contents = deserializeAws_json1_1ListBuildsOutput(data, context);
|
|
3420
3849
|
const response = {
|
|
3421
3850
|
$metadata: deserializeMetadata(output),
|
|
3422
3851
|
...contents,
|
|
3423
3852
|
};
|
|
3424
3853
|
return Promise.resolve(response);
|
|
3425
3854
|
};
|
|
3426
|
-
const
|
|
3855
|
+
const deserializeAws_json1_1ListBuildsCommandError = async (output, context) => {
|
|
3427
3856
|
const parsedOutput = {
|
|
3428
3857
|
...output,
|
|
3429
3858
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3436,9 +3865,6 @@ const deserializeAws_json1_1GetInstanceAccessCommandError = async (output, conte
|
|
|
3436
3865
|
case "InvalidRequestException":
|
|
3437
3866
|
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3438
3867
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3439
|
-
case "NotFoundException":
|
|
3440
|
-
case "com.amazonaws.gamelift#NotFoundException":
|
|
3441
|
-
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
3442
3868
|
case "UnauthorizedException":
|
|
3443
3869
|
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3444
3870
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
@@ -3452,20 +3878,20 @@ const deserializeAws_json1_1GetInstanceAccessCommandError = async (output, conte
|
|
|
3452
3878
|
});
|
|
3453
3879
|
}
|
|
3454
3880
|
};
|
|
3455
|
-
export const
|
|
3881
|
+
export const deserializeAws_json1_1ListComputeCommand = async (output, context) => {
|
|
3456
3882
|
if (output.statusCode >= 300) {
|
|
3457
|
-
return
|
|
3883
|
+
return deserializeAws_json1_1ListComputeCommandError(output, context);
|
|
3458
3884
|
}
|
|
3459
3885
|
const data = await parseBody(output.body, context);
|
|
3460
3886
|
let contents = {};
|
|
3461
|
-
contents =
|
|
3887
|
+
contents = deserializeAws_json1_1ListComputeOutput(data, context);
|
|
3462
3888
|
const response = {
|
|
3463
3889
|
$metadata: deserializeMetadata(output),
|
|
3464
3890
|
...contents,
|
|
3465
3891
|
};
|
|
3466
3892
|
return Promise.resolve(response);
|
|
3467
3893
|
};
|
|
3468
|
-
const
|
|
3894
|
+
const deserializeAws_json1_1ListComputeCommandError = async (output, context) => {
|
|
3469
3895
|
const parsedOutput = {
|
|
3470
3896
|
...output,
|
|
3471
3897
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3491,20 +3917,20 @@ const deserializeAws_json1_1ListAliasesCommandError = async (output, context) =>
|
|
|
3491
3917
|
});
|
|
3492
3918
|
}
|
|
3493
3919
|
};
|
|
3494
|
-
export const
|
|
3920
|
+
export const deserializeAws_json1_1ListFleetsCommand = async (output, context) => {
|
|
3495
3921
|
if (output.statusCode >= 300) {
|
|
3496
|
-
return
|
|
3922
|
+
return deserializeAws_json1_1ListFleetsCommandError(output, context);
|
|
3497
3923
|
}
|
|
3498
3924
|
const data = await parseBody(output.body, context);
|
|
3499
3925
|
let contents = {};
|
|
3500
|
-
contents =
|
|
3926
|
+
contents = deserializeAws_json1_1ListFleetsOutput(data, context);
|
|
3501
3927
|
const response = {
|
|
3502
3928
|
$metadata: deserializeMetadata(output),
|
|
3503
3929
|
...contents,
|
|
3504
3930
|
};
|
|
3505
3931
|
return Promise.resolve(response);
|
|
3506
3932
|
};
|
|
3507
|
-
const
|
|
3933
|
+
const deserializeAws_json1_1ListFleetsCommandError = async (output, context) => {
|
|
3508
3934
|
const parsedOutput = {
|
|
3509
3935
|
...output,
|
|
3510
3936
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3517,6 +3943,9 @@ const deserializeAws_json1_1ListBuildsCommandError = async (output, context) =>
|
|
|
3517
3943
|
case "InvalidRequestException":
|
|
3518
3944
|
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3519
3945
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3946
|
+
case "NotFoundException":
|
|
3947
|
+
case "com.amazonaws.gamelift#NotFoundException":
|
|
3948
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
3520
3949
|
case "UnauthorizedException":
|
|
3521
3950
|
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3522
3951
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
@@ -3530,20 +3959,20 @@ const deserializeAws_json1_1ListBuildsCommandError = async (output, context) =>
|
|
|
3530
3959
|
});
|
|
3531
3960
|
}
|
|
3532
3961
|
};
|
|
3533
|
-
export const
|
|
3962
|
+
export const deserializeAws_json1_1ListGameServerGroupsCommand = async (output, context) => {
|
|
3534
3963
|
if (output.statusCode >= 300) {
|
|
3535
|
-
return
|
|
3964
|
+
return deserializeAws_json1_1ListGameServerGroupsCommandError(output, context);
|
|
3536
3965
|
}
|
|
3537
3966
|
const data = await parseBody(output.body, context);
|
|
3538
3967
|
let contents = {};
|
|
3539
|
-
contents =
|
|
3968
|
+
contents = deserializeAws_json1_1ListGameServerGroupsOutput(data, context);
|
|
3540
3969
|
const response = {
|
|
3541
3970
|
$metadata: deserializeMetadata(output),
|
|
3542
3971
|
...contents,
|
|
3543
3972
|
};
|
|
3544
3973
|
return Promise.resolve(response);
|
|
3545
3974
|
};
|
|
3546
|
-
const
|
|
3975
|
+
const deserializeAws_json1_1ListGameServerGroupsCommandError = async (output, context) => {
|
|
3547
3976
|
const parsedOutput = {
|
|
3548
3977
|
...output,
|
|
3549
3978
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3556,9 +3985,6 @@ const deserializeAws_json1_1ListFleetsCommandError = async (output, context) =>
|
|
|
3556
3985
|
case "InvalidRequestException":
|
|
3557
3986
|
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
3558
3987
|
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
3559
|
-
case "NotFoundException":
|
|
3560
|
-
case "com.amazonaws.gamelift#NotFoundException":
|
|
3561
|
-
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
3562
3988
|
case "UnauthorizedException":
|
|
3563
3989
|
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
3564
3990
|
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
@@ -3572,20 +3998,20 @@ const deserializeAws_json1_1ListFleetsCommandError = async (output, context) =>
|
|
|
3572
3998
|
});
|
|
3573
3999
|
}
|
|
3574
4000
|
};
|
|
3575
|
-
export const
|
|
4001
|
+
export const deserializeAws_json1_1ListGameServersCommand = async (output, context) => {
|
|
3576
4002
|
if (output.statusCode >= 300) {
|
|
3577
|
-
return
|
|
4003
|
+
return deserializeAws_json1_1ListGameServersCommandError(output, context);
|
|
3578
4004
|
}
|
|
3579
4005
|
const data = await parseBody(output.body, context);
|
|
3580
4006
|
let contents = {};
|
|
3581
|
-
contents =
|
|
4007
|
+
contents = deserializeAws_json1_1ListGameServersOutput(data, context);
|
|
3582
4008
|
const response = {
|
|
3583
4009
|
$metadata: deserializeMetadata(output),
|
|
3584
4010
|
...contents,
|
|
3585
4011
|
};
|
|
3586
4012
|
return Promise.resolve(response);
|
|
3587
4013
|
};
|
|
3588
|
-
const
|
|
4014
|
+
const deserializeAws_json1_1ListGameServersCommandError = async (output, context) => {
|
|
3589
4015
|
const parsedOutput = {
|
|
3590
4016
|
...output,
|
|
3591
4017
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3611,20 +4037,20 @@ const deserializeAws_json1_1ListGameServerGroupsCommandError = async (output, co
|
|
|
3611
4037
|
});
|
|
3612
4038
|
}
|
|
3613
4039
|
};
|
|
3614
|
-
export const
|
|
4040
|
+
export const deserializeAws_json1_1ListLocationsCommand = async (output, context) => {
|
|
3615
4041
|
if (output.statusCode >= 300) {
|
|
3616
|
-
return
|
|
4042
|
+
return deserializeAws_json1_1ListLocationsCommandError(output, context);
|
|
3617
4043
|
}
|
|
3618
4044
|
const data = await parseBody(output.body, context);
|
|
3619
4045
|
let contents = {};
|
|
3620
|
-
contents =
|
|
4046
|
+
contents = deserializeAws_json1_1ListLocationsOutput(data, context);
|
|
3621
4047
|
const response = {
|
|
3622
4048
|
$metadata: deserializeMetadata(output),
|
|
3623
4049
|
...contents,
|
|
3624
4050
|
};
|
|
3625
4051
|
return Promise.resolve(response);
|
|
3626
4052
|
};
|
|
3627
|
-
const
|
|
4053
|
+
const deserializeAws_json1_1ListLocationsCommandError = async (output, context) => {
|
|
3628
4054
|
const parsedOutput = {
|
|
3629
4055
|
...output,
|
|
3630
4056
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3773,6 +4199,48 @@ const deserializeAws_json1_1PutScalingPolicyCommandError = async (output, contex
|
|
|
3773
4199
|
});
|
|
3774
4200
|
}
|
|
3775
4201
|
};
|
|
4202
|
+
export const deserializeAws_json1_1RegisterComputeCommand = async (output, context) => {
|
|
4203
|
+
if (output.statusCode >= 300) {
|
|
4204
|
+
return deserializeAws_json1_1RegisterComputeCommandError(output, context);
|
|
4205
|
+
}
|
|
4206
|
+
const data = await parseBody(output.body, context);
|
|
4207
|
+
let contents = {};
|
|
4208
|
+
contents = deserializeAws_json1_1RegisterComputeOutput(data, context);
|
|
4209
|
+
const response = {
|
|
4210
|
+
$metadata: deserializeMetadata(output),
|
|
4211
|
+
...contents,
|
|
4212
|
+
};
|
|
4213
|
+
return Promise.resolve(response);
|
|
4214
|
+
};
|
|
4215
|
+
const deserializeAws_json1_1RegisterComputeCommandError = async (output, context) => {
|
|
4216
|
+
const parsedOutput = {
|
|
4217
|
+
...output,
|
|
4218
|
+
body: await parseErrorBody(output.body, context),
|
|
4219
|
+
};
|
|
4220
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4221
|
+
switch (errorCode) {
|
|
4222
|
+
case "ConflictException":
|
|
4223
|
+
case "com.amazonaws.gamelift#ConflictException":
|
|
4224
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
4225
|
+
case "InternalServiceException":
|
|
4226
|
+
case "com.amazonaws.gamelift#InternalServiceException":
|
|
4227
|
+
throw await deserializeAws_json1_1InternalServiceExceptionResponse(parsedOutput, context);
|
|
4228
|
+
case "InvalidRequestException":
|
|
4229
|
+
case "com.amazonaws.gamelift#InvalidRequestException":
|
|
4230
|
+
throw await deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context);
|
|
4231
|
+
case "UnauthorizedException":
|
|
4232
|
+
case "com.amazonaws.gamelift#UnauthorizedException":
|
|
4233
|
+
throw await deserializeAws_json1_1UnauthorizedExceptionResponse(parsedOutput, context);
|
|
4234
|
+
default:
|
|
4235
|
+
const parsedBody = parsedOutput.body;
|
|
4236
|
+
throwDefaultError({
|
|
4237
|
+
output,
|
|
4238
|
+
parsedBody,
|
|
4239
|
+
exceptionCtor: __BaseException,
|
|
4240
|
+
errorCode,
|
|
4241
|
+
});
|
|
4242
|
+
}
|
|
4243
|
+
};
|
|
3776
4244
|
export const deserializeAws_json1_1RegisterGameServerCommand = async (output, context) => {
|
|
3777
4245
|
if (output.statusCode >= 300) {
|
|
3778
4246
|
return deserializeAws_json1_1RegisterGameServerCommandError(output, context);
|
|
@@ -5145,12 +5613,17 @@ const serializeAws_json1_1AcceptMatchInput = (input, context) => {
|
|
|
5145
5613
|
...(input.TicketId != null && { TicketId: input.TicketId }),
|
|
5146
5614
|
};
|
|
5147
5615
|
};
|
|
5616
|
+
const serializeAws_json1_1AnywhereConfiguration = (input, context) => {
|
|
5617
|
+
return {
|
|
5618
|
+
...(input.Cost != null && { Cost: input.Cost }),
|
|
5619
|
+
};
|
|
5620
|
+
};
|
|
5148
5621
|
const serializeAws_json1_1AttributeValue = (input, context) => {
|
|
5149
5622
|
return {
|
|
5150
5623
|
...(input.N != null && { N: __serializeFloat(input.N) }),
|
|
5151
5624
|
...(input.S != null && { S: input.S }),
|
|
5152
|
-
...(input.SDM != null && { SDM:
|
|
5153
|
-
...(input.SL != null && { SL:
|
|
5625
|
+
...(input.SDM != null && { SDM: serializeAws_json1_1PlayerAttributeStringDoubleMap(input.SDM, context) }),
|
|
5626
|
+
...(input.SL != null && { SL: serializeAws_json1_1PlayerAttributeStringList(input.SL, context) }),
|
|
5154
5627
|
};
|
|
5155
5628
|
};
|
|
5156
5629
|
const serializeAws_json1_1CertificateConfiguration = (input, context) => {
|
|
@@ -5179,6 +5652,7 @@ const serializeAws_json1_1CreateBuildInput = (input, context) => {
|
|
|
5179
5652
|
return {
|
|
5180
5653
|
...(input.Name != null && { Name: input.Name }),
|
|
5181
5654
|
...(input.OperatingSystem != null && { OperatingSystem: input.OperatingSystem }),
|
|
5655
|
+
...(input.ServerSdkVersion != null && { ServerSdkVersion: input.ServerSdkVersion }),
|
|
5182
5656
|
...(input.StorageLocation != null && {
|
|
5183
5657
|
StorageLocation: serializeAws_json1_1S3Location(input.StorageLocation, context),
|
|
5184
5658
|
}),
|
|
@@ -5188,10 +5662,14 @@ const serializeAws_json1_1CreateBuildInput = (input, context) => {
|
|
|
5188
5662
|
};
|
|
5189
5663
|
const serializeAws_json1_1CreateFleetInput = (input, context) => {
|
|
5190
5664
|
return {
|
|
5665
|
+
...(input.AnywhereConfiguration != null && {
|
|
5666
|
+
AnywhereConfiguration: serializeAws_json1_1AnywhereConfiguration(input.AnywhereConfiguration, context),
|
|
5667
|
+
}),
|
|
5191
5668
|
...(input.BuildId != null && { BuildId: input.BuildId }),
|
|
5192
5669
|
...(input.CertificateConfiguration != null && {
|
|
5193
5670
|
CertificateConfiguration: serializeAws_json1_1CertificateConfiguration(input.CertificateConfiguration, context),
|
|
5194
5671
|
}),
|
|
5672
|
+
...(input.ComputeType != null && { ComputeType: input.ComputeType }),
|
|
5195
5673
|
...(input.Description != null && { Description: input.Description }),
|
|
5196
5674
|
...(input.EC2InboundPermissions != null && {
|
|
5197
5675
|
EC2InboundPermissions: serializeAws_json1_1IpPermissionsList(input.EC2InboundPermissions, context),
|
|
@@ -5290,6 +5768,12 @@ const serializeAws_json1_1CreateGameSessionQueueInput = (input, context) => {
|
|
|
5290
5768
|
...(input.TimeoutInSeconds != null && { TimeoutInSeconds: input.TimeoutInSeconds }),
|
|
5291
5769
|
};
|
|
5292
5770
|
};
|
|
5771
|
+
const serializeAws_json1_1CreateLocationInput = (input, context) => {
|
|
5772
|
+
return {
|
|
5773
|
+
...(input.LocationName != null && { LocationName: input.LocationName }),
|
|
5774
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
5775
|
+
};
|
|
5776
|
+
};
|
|
5293
5777
|
const serializeAws_json1_1CreateMatchmakingConfigurationInput = (input, context) => {
|
|
5294
5778
|
return {
|
|
5295
5779
|
...(input.AcceptanceRequired != null && { AcceptanceRequired: input.AcceptanceRequired }),
|
|
@@ -5392,6 +5876,11 @@ const serializeAws_json1_1DeleteGameSessionQueueInput = (input, context) => {
|
|
|
5392
5876
|
...(input.Name != null && { Name: input.Name }),
|
|
5393
5877
|
};
|
|
5394
5878
|
};
|
|
5879
|
+
const serializeAws_json1_1DeleteLocationInput = (input, context) => {
|
|
5880
|
+
return {
|
|
5881
|
+
...(input.LocationName != null && { LocationName: input.LocationName }),
|
|
5882
|
+
};
|
|
5883
|
+
};
|
|
5395
5884
|
const serializeAws_json1_1DeleteMatchmakingConfigurationInput = (input, context) => {
|
|
5396
5885
|
return {
|
|
5397
5886
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -5425,6 +5914,12 @@ const serializeAws_json1_1DeleteVpcPeeringConnectionInput = (input, context) =>
|
|
|
5425
5914
|
...(input.VpcPeeringConnectionId != null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }),
|
|
5426
5915
|
};
|
|
5427
5916
|
};
|
|
5917
|
+
const serializeAws_json1_1DeregisterComputeInput = (input, context) => {
|
|
5918
|
+
return {
|
|
5919
|
+
...(input.ComputeName != null && { ComputeName: input.ComputeName }),
|
|
5920
|
+
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
5921
|
+
};
|
|
5922
|
+
};
|
|
5428
5923
|
const serializeAws_json1_1DeregisterGameServerInput = (input, context) => {
|
|
5429
5924
|
return {
|
|
5430
5925
|
...(input.GameServerGroupName != null && { GameServerGroupName: input.GameServerGroupName }),
|
|
@@ -5441,6 +5936,12 @@ const serializeAws_json1_1DescribeBuildInput = (input, context) => {
|
|
|
5441
5936
|
...(input.BuildId != null && { BuildId: input.BuildId }),
|
|
5442
5937
|
};
|
|
5443
5938
|
};
|
|
5939
|
+
const serializeAws_json1_1DescribeComputeInput = (input, context) => {
|
|
5940
|
+
return {
|
|
5941
|
+
...(input.ComputeName != null && { ComputeName: input.ComputeName }),
|
|
5942
|
+
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
5943
|
+
};
|
|
5944
|
+
};
|
|
5444
5945
|
const serializeAws_json1_1DescribeEC2InstanceLimitsInput = (input, context) => {
|
|
5445
5946
|
return {
|
|
5446
5947
|
...(input.EC2InstanceType != null && { EC2InstanceType: input.EC2InstanceType }),
|
|
@@ -5712,6 +6213,18 @@ const serializeAws_json1_1GameSessionQueueNameOrArnList = (input, context) => {
|
|
|
5712
6213
|
return entry;
|
|
5713
6214
|
});
|
|
5714
6215
|
};
|
|
6216
|
+
const serializeAws_json1_1GetComputeAccessInput = (input, context) => {
|
|
6217
|
+
return {
|
|
6218
|
+
...(input.ComputeName != null && { ComputeName: input.ComputeName }),
|
|
6219
|
+
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
6220
|
+
};
|
|
6221
|
+
};
|
|
6222
|
+
const serializeAws_json1_1GetComputeAuthTokenInput = (input, context) => {
|
|
6223
|
+
return {
|
|
6224
|
+
...(input.ComputeName != null && { ComputeName: input.ComputeName }),
|
|
6225
|
+
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
6226
|
+
};
|
|
6227
|
+
};
|
|
5715
6228
|
const serializeAws_json1_1GetGameSessionLogUrlInput = (input, context) => {
|
|
5716
6229
|
return {
|
|
5717
6230
|
...(input.GameSessionId != null && { GameSessionId: input.GameSessionId }),
|
|
@@ -5782,6 +6295,14 @@ const serializeAws_json1_1ListBuildsInput = (input, context) => {
|
|
|
5782
6295
|
...(input.Status != null && { Status: input.Status }),
|
|
5783
6296
|
};
|
|
5784
6297
|
};
|
|
6298
|
+
const serializeAws_json1_1ListComputeInput = (input, context) => {
|
|
6299
|
+
return {
|
|
6300
|
+
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
6301
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
6302
|
+
...(input.Location != null && { Location: input.Location }),
|
|
6303
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
6304
|
+
};
|
|
6305
|
+
};
|
|
5785
6306
|
const serializeAws_json1_1ListFleetsInput = (input, context) => {
|
|
5786
6307
|
return {
|
|
5787
6308
|
...(input.BuildId != null && { BuildId: input.BuildId }),
|
|
@@ -5804,6 +6325,13 @@ const serializeAws_json1_1ListGameServersInput = (input, context) => {
|
|
|
5804
6325
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
5805
6326
|
};
|
|
5806
6327
|
};
|
|
6328
|
+
const serializeAws_json1_1ListLocationsInput = (input, context) => {
|
|
6329
|
+
return {
|
|
6330
|
+
...(input.Filters != null && { Filters: serializeAws_json1_1LocationFilterList(input.Filters, context) }),
|
|
6331
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
6332
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
6333
|
+
};
|
|
6334
|
+
};
|
|
5807
6335
|
const serializeAws_json1_1ListScriptsInput = (input, context) => {
|
|
5808
6336
|
return {
|
|
5809
6337
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
@@ -5827,6 +6355,13 @@ const serializeAws_json1_1LocationConfigurationList = (input, context) => {
|
|
|
5827
6355
|
return serializeAws_json1_1LocationConfiguration(entry, context);
|
|
5828
6356
|
});
|
|
5829
6357
|
};
|
|
6358
|
+
const serializeAws_json1_1LocationFilterList = (input, context) => {
|
|
6359
|
+
return input
|
|
6360
|
+
.filter((e) => e != null)
|
|
6361
|
+
.map((entry) => {
|
|
6362
|
+
return entry;
|
|
6363
|
+
});
|
|
6364
|
+
};
|
|
5830
6365
|
const serializeAws_json1_1LocationList = (input, context) => {
|
|
5831
6366
|
return input
|
|
5832
6367
|
.filter((e) => e != null)
|
|
@@ -5881,6 +6416,22 @@ const serializeAws_json1_1PlayerAttributeMap = (input, context) => {
|
|
|
5881
6416
|
return acc;
|
|
5882
6417
|
}, {});
|
|
5883
6418
|
};
|
|
6419
|
+
const serializeAws_json1_1PlayerAttributeStringDoubleMap = (input, context) => {
|
|
6420
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6421
|
+
if (value === null) {
|
|
6422
|
+
return acc;
|
|
6423
|
+
}
|
|
6424
|
+
acc[key] = __serializeFloat(value);
|
|
6425
|
+
return acc;
|
|
6426
|
+
}, {});
|
|
6427
|
+
};
|
|
6428
|
+
const serializeAws_json1_1PlayerAttributeStringList = (input, context) => {
|
|
6429
|
+
return input
|
|
6430
|
+
.filter((e) => e != null)
|
|
6431
|
+
.map((entry) => {
|
|
6432
|
+
return entry;
|
|
6433
|
+
});
|
|
6434
|
+
};
|
|
5884
6435
|
const serializeAws_json1_1PlayerDataMap = (input, context) => {
|
|
5885
6436
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
5886
6437
|
if (value === null) {
|
|
@@ -5975,6 +6526,16 @@ const serializeAws_json1_1QueueArnsList = (input, context) => {
|
|
|
5975
6526
|
return entry;
|
|
5976
6527
|
});
|
|
5977
6528
|
};
|
|
6529
|
+
const serializeAws_json1_1RegisterComputeInput = (input, context) => {
|
|
6530
|
+
return {
|
|
6531
|
+
...(input.CertificatePath != null && { CertificatePath: input.CertificatePath }),
|
|
6532
|
+
...(input.ComputeName != null && { ComputeName: input.ComputeName }),
|
|
6533
|
+
...(input.DnsName != null && { DnsName: input.DnsName }),
|
|
6534
|
+
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
6535
|
+
...(input.IpAddress != null && { IpAddress: input.IpAddress }),
|
|
6536
|
+
...(input.Location != null && { Location: input.Location }),
|
|
6537
|
+
};
|
|
6538
|
+
};
|
|
5978
6539
|
const serializeAws_json1_1RegisterGameServerInput = (input, context) => {
|
|
5979
6540
|
return {
|
|
5980
6541
|
...(input.ConnectionInfo != null && { ConnectionInfo: input.ConnectionInfo }),
|
|
@@ -6118,15 +6679,6 @@ const serializeAws_json1_1StopMatchmakingInput = (input, context) => {
|
|
|
6118
6679
|
...(input.TicketId != null && { TicketId: input.TicketId }),
|
|
6119
6680
|
};
|
|
6120
6681
|
};
|
|
6121
|
-
const serializeAws_json1_1StringDoubleMap = (input, context) => {
|
|
6122
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6123
|
-
if (value === null) {
|
|
6124
|
-
return acc;
|
|
6125
|
-
}
|
|
6126
|
-
acc[key] = __serializeFloat(value);
|
|
6127
|
-
return acc;
|
|
6128
|
-
}, {});
|
|
6129
|
-
};
|
|
6130
6682
|
const serializeAws_json1_1StringList = (input, context) => {
|
|
6131
6683
|
return input
|
|
6132
6684
|
.filter((e) => e != null)
|
|
@@ -6203,6 +6755,9 @@ const serializeAws_json1_1UpdateBuildInput = (input, context) => {
|
|
|
6203
6755
|
};
|
|
6204
6756
|
const serializeAws_json1_1UpdateFleetAttributesInput = (input, context) => {
|
|
6205
6757
|
return {
|
|
6758
|
+
...(input.AnywhereConfiguration != null && {
|
|
6759
|
+
AnywhereConfiguration: serializeAws_json1_1AnywhereConfiguration(input.AnywhereConfiguration, context),
|
|
6760
|
+
}),
|
|
6206
6761
|
...(input.Description != null && { Description: input.Description }),
|
|
6207
6762
|
...(input.FleetId != null && { FleetId: input.FleetId }),
|
|
6208
6763
|
...(input.MetricGroups != null && {
|
|
@@ -6372,12 +6927,17 @@ const deserializeAws_json1_1AliasList = (output, context) => {
|
|
|
6372
6927
|
});
|
|
6373
6928
|
return retVal;
|
|
6374
6929
|
};
|
|
6930
|
+
const deserializeAws_json1_1AnywhereConfiguration = (output, context) => {
|
|
6931
|
+
return {
|
|
6932
|
+
Cost: __expectString(output.Cost),
|
|
6933
|
+
};
|
|
6934
|
+
};
|
|
6375
6935
|
const deserializeAws_json1_1AttributeValue = (output, context) => {
|
|
6376
6936
|
return {
|
|
6377
6937
|
N: __limitedParseDouble(output.N),
|
|
6378
6938
|
S: __expectString(output.S),
|
|
6379
|
-
SDM: output.SDM != null ?
|
|
6380
|
-
SL: output.SL != null ?
|
|
6939
|
+
SDM: output.SDM != null ? deserializeAws_json1_1PlayerAttributeStringDoubleMap(output.SDM, context) : undefined,
|
|
6940
|
+
SL: output.SL != null ? deserializeAws_json1_1PlayerAttributeStringList(output.SL, context) : undefined,
|
|
6381
6941
|
};
|
|
6382
6942
|
};
|
|
6383
6943
|
const deserializeAws_json1_1AwsCredentials = (output, context) => {
|
|
@@ -6396,6 +6956,7 @@ const deserializeAws_json1_1Build = (output, context) => {
|
|
|
6396
6956
|
: undefined,
|
|
6397
6957
|
Name: __expectString(output.Name),
|
|
6398
6958
|
OperatingSystem: __expectString(output.OperatingSystem),
|
|
6959
|
+
ServerSdkVersion: __expectString(output.ServerSdkVersion),
|
|
6399
6960
|
SizeOnDisk: __expectLong(output.SizeOnDisk),
|
|
6400
6961
|
Status: __expectString(output.Status),
|
|
6401
6962
|
Version: __expectString(output.Version),
|
|
@@ -6422,6 +6983,35 @@ const deserializeAws_json1_1ClaimGameServerOutput = (output, context) => {
|
|
|
6422
6983
|
GameServer: output.GameServer != null ? deserializeAws_json1_1GameServer(output.GameServer, context) : undefined,
|
|
6423
6984
|
};
|
|
6424
6985
|
};
|
|
6986
|
+
const deserializeAws_json1_1Compute = (output, context) => {
|
|
6987
|
+
return {
|
|
6988
|
+
ComputeArn: __expectString(output.ComputeArn),
|
|
6989
|
+
ComputeName: __expectString(output.ComputeName),
|
|
6990
|
+
ComputeStatus: __expectString(output.ComputeStatus),
|
|
6991
|
+
CreationTime: output.CreationTime != null
|
|
6992
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
6993
|
+
: undefined,
|
|
6994
|
+
DnsName: __expectString(output.DnsName),
|
|
6995
|
+
FleetArn: __expectString(output.FleetArn),
|
|
6996
|
+
FleetId: __expectString(output.FleetId),
|
|
6997
|
+
GameLiftServiceSdkEndpoint: __expectString(output.GameLiftServiceSdkEndpoint),
|
|
6998
|
+
IpAddress: __expectString(output.IpAddress),
|
|
6999
|
+
Location: __expectString(output.Location),
|
|
7000
|
+
OperatingSystem: __expectString(output.OperatingSystem),
|
|
7001
|
+
Type: __expectString(output.Type),
|
|
7002
|
+
};
|
|
7003
|
+
};
|
|
7004
|
+
const deserializeAws_json1_1ComputeList = (output, context) => {
|
|
7005
|
+
const retVal = (output || [])
|
|
7006
|
+
.filter((e) => e != null)
|
|
7007
|
+
.map((entry) => {
|
|
7008
|
+
if (entry === null) {
|
|
7009
|
+
return null;
|
|
7010
|
+
}
|
|
7011
|
+
return deserializeAws_json1_1Compute(entry, context);
|
|
7012
|
+
});
|
|
7013
|
+
return retVal;
|
|
7014
|
+
};
|
|
6425
7015
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
6426
7016
|
return {
|
|
6427
7017
|
Message: __expectString(output.Message),
|
|
@@ -6479,6 +7069,11 @@ const deserializeAws_json1_1CreateGameSessionQueueOutput = (output, context) =>
|
|
|
6479
7069
|
: undefined,
|
|
6480
7070
|
};
|
|
6481
7071
|
};
|
|
7072
|
+
const deserializeAws_json1_1CreateLocationOutput = (output, context) => {
|
|
7073
|
+
return {
|
|
7074
|
+
Location: output.Location != null ? deserializeAws_json1_1LocationModel(output.Location, context) : undefined,
|
|
7075
|
+
};
|
|
7076
|
+
};
|
|
6482
7077
|
const deserializeAws_json1_1CreateMatchmakingConfigurationOutput = (output, context) => {
|
|
6483
7078
|
return {
|
|
6484
7079
|
Configuration: output.Configuration != null
|
|
@@ -6537,6 +7132,9 @@ const deserializeAws_json1_1DeleteGameServerGroupOutput = (output, context) => {
|
|
|
6537
7132
|
const deserializeAws_json1_1DeleteGameSessionQueueOutput = (output, context) => {
|
|
6538
7133
|
return {};
|
|
6539
7134
|
};
|
|
7135
|
+
const deserializeAws_json1_1DeleteLocationOutput = (output, context) => {
|
|
7136
|
+
return {};
|
|
7137
|
+
};
|
|
6540
7138
|
const deserializeAws_json1_1DeleteMatchmakingConfigurationOutput = (output, context) => {
|
|
6541
7139
|
return {};
|
|
6542
7140
|
};
|
|
@@ -6549,6 +7147,9 @@ const deserializeAws_json1_1DeleteVpcPeeringAuthorizationOutput = (output, conte
|
|
|
6549
7147
|
const deserializeAws_json1_1DeleteVpcPeeringConnectionOutput = (output, context) => {
|
|
6550
7148
|
return {};
|
|
6551
7149
|
};
|
|
7150
|
+
const deserializeAws_json1_1DeregisterComputeOutput = (output, context) => {
|
|
7151
|
+
return {};
|
|
7152
|
+
};
|
|
6552
7153
|
const deserializeAws_json1_1DescribeAliasOutput = (output, context) => {
|
|
6553
7154
|
return {
|
|
6554
7155
|
Alias: output.Alias != null ? deserializeAws_json1_1Alias(output.Alias, context) : undefined,
|
|
@@ -6559,6 +7160,11 @@ const deserializeAws_json1_1DescribeBuildOutput = (output, context) => {
|
|
|
6559
7160
|
Build: output.Build != null ? deserializeAws_json1_1Build(output.Build, context) : undefined,
|
|
6560
7161
|
};
|
|
6561
7162
|
};
|
|
7163
|
+
const deserializeAws_json1_1DescribeComputeOutput = (output, context) => {
|
|
7164
|
+
return {
|
|
7165
|
+
Compute: output.Compute != null ? deserializeAws_json1_1Compute(output.Compute, context) : undefined,
|
|
7166
|
+
};
|
|
7167
|
+
};
|
|
6562
7168
|
const deserializeAws_json1_1DescribeEC2InstanceLimitsOutput = (output, context) => {
|
|
6563
7169
|
return {
|
|
6564
7170
|
EC2InstanceLimits: output.EC2InstanceLimits != null
|
|
@@ -6814,11 +7420,15 @@ const deserializeAws_json1_1FleetActionList = (output, context) => {
|
|
|
6814
7420
|
};
|
|
6815
7421
|
const deserializeAws_json1_1FleetAttributes = (output, context) => {
|
|
6816
7422
|
return {
|
|
7423
|
+
AnywhereConfiguration: output.AnywhereConfiguration != null
|
|
7424
|
+
? deserializeAws_json1_1AnywhereConfiguration(output.AnywhereConfiguration, context)
|
|
7425
|
+
: undefined,
|
|
6817
7426
|
BuildArn: __expectString(output.BuildArn),
|
|
6818
7427
|
BuildId: __expectString(output.BuildId),
|
|
6819
7428
|
CertificateConfiguration: output.CertificateConfiguration != null
|
|
6820
7429
|
? deserializeAws_json1_1CertificateConfiguration(output.CertificateConfiguration, context)
|
|
6821
7430
|
: undefined,
|
|
7431
|
+
ComputeType: __expectString(output.ComputeType),
|
|
6822
7432
|
CreationTime: output.CreationTime != null
|
|
6823
7433
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
6824
7434
|
: undefined,
|
|
@@ -7181,6 +7791,27 @@ const deserializeAws_json1_1GameSessionQueueList = (output, context) => {
|
|
|
7181
7791
|
});
|
|
7182
7792
|
return retVal;
|
|
7183
7793
|
};
|
|
7794
|
+
const deserializeAws_json1_1GetComputeAccessOutput = (output, context) => {
|
|
7795
|
+
return {
|
|
7796
|
+
ComputeArn: __expectString(output.ComputeArn),
|
|
7797
|
+
ComputeName: __expectString(output.ComputeName),
|
|
7798
|
+
Credentials: output.Credentials != null ? deserializeAws_json1_1AwsCredentials(output.Credentials, context) : undefined,
|
|
7799
|
+
FleetArn: __expectString(output.FleetArn),
|
|
7800
|
+
FleetId: __expectString(output.FleetId),
|
|
7801
|
+
};
|
|
7802
|
+
};
|
|
7803
|
+
const deserializeAws_json1_1GetComputeAuthTokenOutput = (output, context) => {
|
|
7804
|
+
return {
|
|
7805
|
+
AuthToken: __expectString(output.AuthToken),
|
|
7806
|
+
ComputeArn: __expectString(output.ComputeArn),
|
|
7807
|
+
ComputeName: __expectString(output.ComputeName),
|
|
7808
|
+
ExpirationTimestamp: output.ExpirationTimestamp != null
|
|
7809
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationTimestamp)))
|
|
7810
|
+
: undefined,
|
|
7811
|
+
FleetArn: __expectString(output.FleetArn),
|
|
7812
|
+
FleetId: __expectString(output.FleetId),
|
|
7813
|
+
};
|
|
7814
|
+
};
|
|
7184
7815
|
const deserializeAws_json1_1GetGameSessionLogUrlOutput = (output, context) => {
|
|
7185
7816
|
return {
|
|
7186
7817
|
PreSignedUrl: __expectString(output.PreSignedUrl),
|
|
@@ -7320,6 +7951,12 @@ const deserializeAws_json1_1ListBuildsOutput = (output, context) => {
|
|
|
7320
7951
|
NextToken: __expectString(output.NextToken),
|
|
7321
7952
|
};
|
|
7322
7953
|
};
|
|
7954
|
+
const deserializeAws_json1_1ListComputeOutput = (output, context) => {
|
|
7955
|
+
return {
|
|
7956
|
+
ComputeList: output.ComputeList != null ? deserializeAws_json1_1ComputeList(output.ComputeList, context) : undefined,
|
|
7957
|
+
NextToken: __expectString(output.NextToken),
|
|
7958
|
+
};
|
|
7959
|
+
};
|
|
7323
7960
|
const deserializeAws_json1_1ListFleetsOutput = (output, context) => {
|
|
7324
7961
|
return {
|
|
7325
7962
|
FleetIds: output.FleetIds != null ? deserializeAws_json1_1FleetIdList(output.FleetIds, context) : undefined,
|
|
@@ -7340,6 +7977,12 @@ const deserializeAws_json1_1ListGameServersOutput = (output, context) => {
|
|
|
7340
7977
|
NextToken: __expectString(output.NextToken),
|
|
7341
7978
|
};
|
|
7342
7979
|
};
|
|
7980
|
+
const deserializeAws_json1_1ListLocationsOutput = (output, context) => {
|
|
7981
|
+
return {
|
|
7982
|
+
Locations: output.Locations != null ? deserializeAws_json1_1LocationModelList(output.Locations, context) : undefined,
|
|
7983
|
+
NextToken: __expectString(output.NextToken),
|
|
7984
|
+
};
|
|
7985
|
+
};
|
|
7343
7986
|
const deserializeAws_json1_1ListScriptsOutput = (output, context) => {
|
|
7344
7987
|
return {
|
|
7345
7988
|
NextToken: __expectString(output.NextToken),
|
|
@@ -7380,6 +8023,23 @@ const deserializeAws_json1_1LocationList = (output, context) => {
|
|
|
7380
8023
|
});
|
|
7381
8024
|
return retVal;
|
|
7382
8025
|
};
|
|
8026
|
+
const deserializeAws_json1_1LocationModel = (output, context) => {
|
|
8027
|
+
return {
|
|
8028
|
+
LocationArn: __expectString(output.LocationArn),
|
|
8029
|
+
LocationName: __expectString(output.LocationName),
|
|
8030
|
+
};
|
|
8031
|
+
};
|
|
8032
|
+
const deserializeAws_json1_1LocationModelList = (output, context) => {
|
|
8033
|
+
const retVal = (output || [])
|
|
8034
|
+
.filter((e) => e != null)
|
|
8035
|
+
.map((entry) => {
|
|
8036
|
+
if (entry === null) {
|
|
8037
|
+
return null;
|
|
8038
|
+
}
|
|
8039
|
+
return deserializeAws_json1_1LocationModel(entry, context);
|
|
8040
|
+
});
|
|
8041
|
+
return retVal;
|
|
8042
|
+
};
|
|
7383
8043
|
const deserializeAws_json1_1LocationState = (output, context) => {
|
|
7384
8044
|
return {
|
|
7385
8045
|
Location: __expectString(output.Location),
|
|
@@ -7558,6 +8218,26 @@ const deserializeAws_json1_1PlayerAttributeMap = (output, context) => {
|
|
|
7558
8218
|
return acc;
|
|
7559
8219
|
}, {});
|
|
7560
8220
|
};
|
|
8221
|
+
const deserializeAws_json1_1PlayerAttributeStringDoubleMap = (output, context) => {
|
|
8222
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
8223
|
+
if (value === null) {
|
|
8224
|
+
return acc;
|
|
8225
|
+
}
|
|
8226
|
+
acc[key] = __limitedParseDouble(value);
|
|
8227
|
+
return acc;
|
|
8228
|
+
}, {});
|
|
8229
|
+
};
|
|
8230
|
+
const deserializeAws_json1_1PlayerAttributeStringList = (output, context) => {
|
|
8231
|
+
const retVal = (output || [])
|
|
8232
|
+
.filter((e) => e != null)
|
|
8233
|
+
.map((entry) => {
|
|
8234
|
+
if (entry === null) {
|
|
8235
|
+
return null;
|
|
8236
|
+
}
|
|
8237
|
+
return __expectString(entry);
|
|
8238
|
+
});
|
|
8239
|
+
return retVal;
|
|
8240
|
+
};
|
|
7561
8241
|
const deserializeAws_json1_1PlayerLatency = (output, context) => {
|
|
7562
8242
|
return {
|
|
7563
8243
|
LatencyInMilliseconds: __limitedParseFloat32(output.LatencyInMilliseconds),
|
|
@@ -7668,6 +8348,11 @@ const deserializeAws_json1_1QueueArnsList = (output, context) => {
|
|
|
7668
8348
|
});
|
|
7669
8349
|
return retVal;
|
|
7670
8350
|
};
|
|
8351
|
+
const deserializeAws_json1_1RegisterComputeOutput = (output, context) => {
|
|
8352
|
+
return {
|
|
8353
|
+
Compute: output.Compute != null ? deserializeAws_json1_1Compute(output.Compute, context) : undefined,
|
|
8354
|
+
};
|
|
8355
|
+
};
|
|
7671
8356
|
const deserializeAws_json1_1RegisterGameServerOutput = (output, context) => {
|
|
7672
8357
|
return {
|
|
7673
8358
|
GameServer: output.GameServer != null ? deserializeAws_json1_1GameServer(output.GameServer, context) : undefined,
|
|
@@ -7846,15 +8531,6 @@ const deserializeAws_json1_1StopGameSessionPlacementOutput = (output, context) =
|
|
|
7846
8531
|
const deserializeAws_json1_1StopMatchmakingOutput = (output, context) => {
|
|
7847
8532
|
return {};
|
|
7848
8533
|
};
|
|
7849
|
-
const deserializeAws_json1_1StringDoubleMap = (output, context) => {
|
|
7850
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
7851
|
-
if (value === null) {
|
|
7852
|
-
return acc;
|
|
7853
|
-
}
|
|
7854
|
-
acc[key] = __limitedParseDouble(value);
|
|
7855
|
-
return acc;
|
|
7856
|
-
}, {});
|
|
7857
|
-
};
|
|
7858
8534
|
const deserializeAws_json1_1StringList = (output, context) => {
|
|
7859
8535
|
const retVal = (output || [])
|
|
7860
8536
|
.filter((e) => e != null)
|
|
@@ -7933,6 +8609,7 @@ const deserializeAws_json1_1UpdateBuildOutput = (output, context) => {
|
|
|
7933
8609
|
};
|
|
7934
8610
|
const deserializeAws_json1_1UpdateFleetAttributesOutput = (output, context) => {
|
|
7935
8611
|
return {
|
|
8612
|
+
FleetArn: __expectString(output.FleetArn),
|
|
7936
8613
|
FleetId: __expectString(output.FleetId),
|
|
7937
8614
|
};
|
|
7938
8615
|
};
|
|
@@ -7945,6 +8622,7 @@ const deserializeAws_json1_1UpdateFleetCapacityOutput = (output, context) => {
|
|
|
7945
8622
|
};
|
|
7946
8623
|
const deserializeAws_json1_1UpdateFleetPortSettingsOutput = (output, context) => {
|
|
7947
8624
|
return {
|
|
8625
|
+
FleetArn: __expectString(output.FleetArn),
|
|
7948
8626
|
FleetId: __expectString(output.FleetId),
|
|
7949
8627
|
};
|
|
7950
8628
|
};
|