@aws-sdk/client-gamelift 3.686.0 → 3.690.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 +72 -0
- package/dist-cjs/index.js +830 -188
- package/dist-es/GameLift.js +18 -0
- package/dist-es/commands/CreateContainerFleetCommand.js +23 -0
- package/dist-es/commands/CreateFleetCommand.js +2 -2
- package/dist-es/commands/DeleteContainerFleetCommand.js +22 -0
- package/dist-es/commands/DescribeContainerFleetCommand.js +23 -0
- package/dist-es/commands/DescribeFleetAttributesCommand.js +1 -2
- package/dist-es/commands/DescribeFleetDeploymentCommand.js +22 -0
- package/dist-es/commands/ListContainerFleetsCommand.js +23 -0
- package/dist-es/commands/ListContainerGroupDefinitionVersionsCommand.js +23 -0
- package/dist-es/commands/ListContainerGroupDefinitionsCommand.js +1 -1
- package/dist-es/commands/ListFleetDeploymentsCommand.js +22 -0
- package/dist-es/commands/RegisterComputeCommand.js +1 -1
- package/dist-es/commands/RequestUploadCredentialsCommand.js +1 -1
- package/dist-es/commands/UpdateContainerFleetCommand.js +23 -0
- package/dist-es/commands/UpdateContainerGroupDefinitionCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +132 -81
- package/dist-es/models/models_1.js +50 -1
- package/dist-es/pagination/ListContainerFleetsPaginator.js +4 -0
- package/dist-es/pagination/ListContainerGroupDefinitionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListFleetDeploymentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +352 -7
- package/dist-types/GameLift.d.ts +65 -0
- package/dist-types/GameLiftClient.d.ts +11 -2
- package/dist-types/commands/CreateBuildCommand.d.ts +27 -21
- package/dist-types/commands/CreateContainerFleetCommand.d.ts +283 -0
- package/dist-types/commands/CreateContainerGroupDefinitionCommand.d.ts +278 -119
- package/dist-types/commands/CreateFleetCommand.d.ts +5 -88
- package/dist-types/commands/CreateFleetLocationsCommand.d.ts +3 -6
- package/dist-types/commands/CreateScriptCommand.d.ts +9 -12
- package/dist-types/commands/DeleteContainerFleetCommand.d.ts +102 -0
- package/dist-types/commands/DeleteContainerGroupDefinitionCommand.d.ts +24 -7
- package/dist-types/commands/DeleteScalingPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterComputeCommand.d.ts +2 -5
- package/dist-types/commands/DescribeComputeCommand.d.ts +14 -21
- package/dist-types/commands/DescribeContainerFleetCommand.d.ts +157 -0
- package/dist-types/commands/DescribeContainerGroupDefinitionCommand.d.ts +95 -48
- package/dist-types/commands/DescribeFleetAttributesCommand.d.ts +2 -21
- package/dist-types/commands/DescribeFleetCapacityCommand.d.ts +8 -8
- package/dist-types/commands/DescribeFleetDeploymentCommand.d.ts +125 -0
- package/dist-types/commands/DescribeFleetEventsCommand.d.ts +4 -1
- package/dist-types/commands/DescribeFleetLocationCapacityCommand.d.ts +4 -4
- package/dist-types/commands/DescribeFleetPortSettingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeRuntimeConfigurationCommand.d.ts +2 -4
- package/dist-types/commands/GetComputeAccessCommand.d.ts +20 -30
- package/dist-types/commands/GetComputeAuthTokenCommand.d.ts +18 -13
- package/dist-types/commands/ListComputeCommand.d.ts +36 -28
- package/dist-types/commands/ListContainerFleetsCommand.d.ts +165 -0
- package/dist-types/commands/ListContainerGroupDefinitionVersionsCommand.d.ts +216 -0
- package/dist-types/commands/ListContainerGroupDefinitionsCommand.d.ts +97 -49
- package/dist-types/commands/ListFleetDeploymentsCommand.d.ts +132 -0
- package/dist-types/commands/ListFleetsCommand.d.ts +2 -10
- package/dist-types/commands/ListGameServerGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListGameServersCommand.d.ts +1 -1
- package/dist-types/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListScriptsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +4 -1
- package/dist-types/commands/RegisterComputeCommand.d.ts +13 -19
- package/dist-types/commands/RegisterGameServerCommand.d.ts +1 -1
- package/dist-types/commands/RequestUploadCredentialsCommand.d.ts +1 -1
- package/dist-types/commands/ResolveAliasCommand.d.ts +1 -1
- package/dist-types/commands/ResumeGameServerGroupCommand.d.ts +1 -2
- package/dist-types/commands/StartGameSessionPlacementCommand.d.ts +2 -2
- package/dist-types/commands/StopFleetActionsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UpdateContainerFleetCommand.d.ts +253 -0
- package/dist-types/commands/UpdateContainerGroupDefinitionCommand.d.ts +310 -0
- package/dist-types/commands/UpdateFleetCapacityCommand.d.ts +6 -9
- package/dist-types/commands/UpdateRuntimeConfigurationCommand.d.ts +1 -3
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +5518 -5258
- package/dist-types/models/models_1.d.ts +897 -18
- package/dist-types/pagination/ListContainerFleetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListContainerGroupDefinitionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFleetDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +81 -0
- package/dist-types/ts3.4/GameLift.d.ts +161 -0
- package/dist-types/ts3.4/GameLiftClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteContainerGroupDefinitionCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/DescribeContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFleetDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListContainerFleetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListContainerGroupDefinitionVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListContainerGroupDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFleetDeploymentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFleetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGameServerGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGameServersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListScriptsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutScalingPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterComputeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RegisterGameServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RequestUploadCredentialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResolveAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResumeGameServerGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateContainerFleetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateContainerGroupDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +333 -261
- package/dist-types/ts3.4/models/models_1.d.ts +222 -0
- package/dist-types/ts3.4/pagination/ListContainerFleetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListContainerGroupDefinitionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFleetDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +108 -0
- package/package.json +6 -6
|
@@ -27,10 +27,16 @@ export const se_CreateBuildCommand = async (input, context) => {
|
|
|
27
27
|
body = JSON.stringify(_json(input));
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
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
|
+
};
|
|
30
36
|
export const se_CreateContainerGroupDefinitionCommand = async (input, context) => {
|
|
31
37
|
const headers = sharedHeaders("CreateContainerGroupDefinition");
|
|
32
38
|
let body;
|
|
33
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(se_CreateContainerGroupDefinitionInput(input, context));
|
|
34
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
41
|
};
|
|
36
42
|
export const se_CreateFleetCommand = async (input, context) => {
|
|
@@ -123,6 +129,12 @@ export const se_DeleteBuildCommand = async (input, context) => {
|
|
|
123
129
|
body = JSON.stringify(_json(input));
|
|
124
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
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
|
+
};
|
|
126
138
|
export const se_DeleteContainerGroupDefinitionCommand = async (input, context) => {
|
|
127
139
|
const headers = sharedHeaders("DeleteContainerGroupDefinition");
|
|
128
140
|
let body;
|
|
@@ -225,6 +237,12 @@ export const se_DescribeComputeCommand = async (input, context) => {
|
|
|
225
237
|
body = JSON.stringify(_json(input));
|
|
226
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
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
|
+
};
|
|
228
246
|
export const se_DescribeContainerGroupDefinitionCommand = async (input, context) => {
|
|
229
247
|
const headers = sharedHeaders("DescribeContainerGroupDefinition");
|
|
230
248
|
let body;
|
|
@@ -249,6 +267,12 @@ export const se_DescribeFleetCapacityCommand = async (input, context) => {
|
|
|
249
267
|
body = JSON.stringify(_json(input));
|
|
250
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
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
|
+
};
|
|
252
276
|
export const se_DescribeFleetEventsCommand = async (input, context) => {
|
|
253
277
|
const headers = sharedHeaders("DescribeFleetEvents");
|
|
254
278
|
let body;
|
|
@@ -429,12 +453,30 @@ export const se_ListComputeCommand = async (input, context) => {
|
|
|
429
453
|
body = JSON.stringify(_json(input));
|
|
430
454
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
431
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
|
+
};
|
|
432
462
|
export const se_ListContainerGroupDefinitionsCommand = async (input, context) => {
|
|
433
463
|
const headers = sharedHeaders("ListContainerGroupDefinitions");
|
|
434
464
|
let body;
|
|
435
465
|
body = JSON.stringify(_json(input));
|
|
436
466
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
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
|
+
};
|
|
438
480
|
export const se_ListFleetsCommand = async (input, context) => {
|
|
439
481
|
const headers = sharedHeaders("ListFleets");
|
|
440
482
|
let body;
|
|
@@ -585,6 +627,18 @@ export const se_UpdateBuildCommand = async (input, context) => {
|
|
|
585
627
|
body = JSON.stringify(_json(input));
|
|
586
628
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
587
629
|
};
|
|
630
|
+
export const se_UpdateContainerFleetCommand = async (input, context) => {
|
|
631
|
+
const headers = sharedHeaders("UpdateContainerFleet");
|
|
632
|
+
let body;
|
|
633
|
+
body = JSON.stringify(_json(input));
|
|
634
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
635
|
+
};
|
|
636
|
+
export const se_UpdateContainerGroupDefinitionCommand = async (input, context) => {
|
|
637
|
+
const headers = sharedHeaders("UpdateContainerGroupDefinition");
|
|
638
|
+
let body;
|
|
639
|
+
body = JSON.stringify(se_UpdateContainerGroupDefinitionInput(input, context));
|
|
640
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
641
|
+
};
|
|
588
642
|
export const se_UpdateFleetAttributesCommand = async (input, context) => {
|
|
589
643
|
const headers = sharedHeaders("UpdateFleetAttributes");
|
|
590
644
|
let body;
|
|
@@ -703,6 +757,19 @@ export const de_CreateBuildCommand = async (output, context) => {
|
|
|
703
757
|
};
|
|
704
758
|
return response;
|
|
705
759
|
};
|
|
760
|
+
export const de_CreateContainerFleetCommand = async (output, context) => {
|
|
761
|
+
if (output.statusCode >= 300) {
|
|
762
|
+
return de_CommandError(output, context);
|
|
763
|
+
}
|
|
764
|
+
const data = await parseBody(output.body, context);
|
|
765
|
+
let contents = {};
|
|
766
|
+
contents = de_CreateContainerFleetOutput(data, context);
|
|
767
|
+
const response = {
|
|
768
|
+
$metadata: deserializeMetadata(output),
|
|
769
|
+
...contents,
|
|
770
|
+
};
|
|
771
|
+
return response;
|
|
772
|
+
};
|
|
706
773
|
export const de_CreateContainerGroupDefinitionCommand = async (output, context) => {
|
|
707
774
|
if (output.statusCode >= 300) {
|
|
708
775
|
return de_CommandError(output, context);
|
|
@@ -905,13 +972,29 @@ export const de_DeleteBuildCommand = async (output, context) => {
|
|
|
905
972
|
};
|
|
906
973
|
return response;
|
|
907
974
|
};
|
|
975
|
+
export const de_DeleteContainerFleetCommand = async (output, context) => {
|
|
976
|
+
if (output.statusCode >= 300) {
|
|
977
|
+
return de_CommandError(output, context);
|
|
978
|
+
}
|
|
979
|
+
const data = await parseBody(output.body, context);
|
|
980
|
+
let contents = {};
|
|
981
|
+
contents = _json(data);
|
|
982
|
+
const response = {
|
|
983
|
+
$metadata: deserializeMetadata(output),
|
|
984
|
+
...contents,
|
|
985
|
+
};
|
|
986
|
+
return response;
|
|
987
|
+
};
|
|
908
988
|
export const de_DeleteContainerGroupDefinitionCommand = async (output, context) => {
|
|
909
989
|
if (output.statusCode >= 300) {
|
|
910
990
|
return de_CommandError(output, context);
|
|
911
991
|
}
|
|
912
|
-
await
|
|
992
|
+
const data = await parseBody(output.body, context);
|
|
993
|
+
let contents = {};
|
|
994
|
+
contents = _json(data);
|
|
913
995
|
const response = {
|
|
914
996
|
$metadata: deserializeMetadata(output),
|
|
997
|
+
...contents,
|
|
915
998
|
};
|
|
916
999
|
return response;
|
|
917
1000
|
};
|
|
@@ -1111,6 +1194,19 @@ export const de_DescribeComputeCommand = async (output, context) => {
|
|
|
1111
1194
|
};
|
|
1112
1195
|
return response;
|
|
1113
1196
|
};
|
|
1197
|
+
export const de_DescribeContainerFleetCommand = async (output, context) => {
|
|
1198
|
+
if (output.statusCode >= 300) {
|
|
1199
|
+
return de_CommandError(output, context);
|
|
1200
|
+
}
|
|
1201
|
+
const data = await parseBody(output.body, context);
|
|
1202
|
+
let contents = {};
|
|
1203
|
+
contents = de_DescribeContainerFleetOutput(data, context);
|
|
1204
|
+
const response = {
|
|
1205
|
+
$metadata: deserializeMetadata(output),
|
|
1206
|
+
...contents,
|
|
1207
|
+
};
|
|
1208
|
+
return response;
|
|
1209
|
+
};
|
|
1114
1210
|
export const de_DescribeContainerGroupDefinitionCommand = async (output, context) => {
|
|
1115
1211
|
if (output.statusCode >= 300) {
|
|
1116
1212
|
return de_CommandError(output, context);
|
|
@@ -1163,6 +1259,19 @@ export const de_DescribeFleetCapacityCommand = async (output, context) => {
|
|
|
1163
1259
|
};
|
|
1164
1260
|
return response;
|
|
1165
1261
|
};
|
|
1262
|
+
export const de_DescribeFleetDeploymentCommand = async (output, context) => {
|
|
1263
|
+
if (output.statusCode >= 300) {
|
|
1264
|
+
return de_CommandError(output, context);
|
|
1265
|
+
}
|
|
1266
|
+
const data = await parseBody(output.body, context);
|
|
1267
|
+
let contents = {};
|
|
1268
|
+
contents = de_DescribeFleetDeploymentOutput(data, context);
|
|
1269
|
+
const response = {
|
|
1270
|
+
$metadata: deserializeMetadata(output),
|
|
1271
|
+
...contents,
|
|
1272
|
+
};
|
|
1273
|
+
return response;
|
|
1274
|
+
};
|
|
1166
1275
|
export const de_DescribeFleetEventsCommand = async (output, context) => {
|
|
1167
1276
|
if (output.statusCode >= 300) {
|
|
1168
1277
|
return de_CommandError(output, context);
|
|
@@ -1553,6 +1662,19 @@ export const de_ListComputeCommand = async (output, context) => {
|
|
|
1553
1662
|
};
|
|
1554
1663
|
return response;
|
|
1555
1664
|
};
|
|
1665
|
+
export const de_ListContainerFleetsCommand = async (output, context) => {
|
|
1666
|
+
if (output.statusCode >= 300) {
|
|
1667
|
+
return de_CommandError(output, context);
|
|
1668
|
+
}
|
|
1669
|
+
const data = await parseBody(output.body, context);
|
|
1670
|
+
let contents = {};
|
|
1671
|
+
contents = de_ListContainerFleetsOutput(data, context);
|
|
1672
|
+
const response = {
|
|
1673
|
+
$metadata: deserializeMetadata(output),
|
|
1674
|
+
...contents,
|
|
1675
|
+
};
|
|
1676
|
+
return response;
|
|
1677
|
+
};
|
|
1556
1678
|
export const de_ListContainerGroupDefinitionsCommand = async (output, context) => {
|
|
1557
1679
|
if (output.statusCode >= 300) {
|
|
1558
1680
|
return de_CommandError(output, context);
|
|
@@ -1566,6 +1688,32 @@ export const de_ListContainerGroupDefinitionsCommand = async (output, context) =
|
|
|
1566
1688
|
};
|
|
1567
1689
|
return response;
|
|
1568
1690
|
};
|
|
1691
|
+
export const de_ListContainerGroupDefinitionVersionsCommand = async (output, context) => {
|
|
1692
|
+
if (output.statusCode >= 300) {
|
|
1693
|
+
return de_CommandError(output, context);
|
|
1694
|
+
}
|
|
1695
|
+
const data = await parseBody(output.body, context);
|
|
1696
|
+
let contents = {};
|
|
1697
|
+
contents = de_ListContainerGroupDefinitionVersionsOutput(data, context);
|
|
1698
|
+
const response = {
|
|
1699
|
+
$metadata: deserializeMetadata(output),
|
|
1700
|
+
...contents,
|
|
1701
|
+
};
|
|
1702
|
+
return response;
|
|
1703
|
+
};
|
|
1704
|
+
export const de_ListFleetDeploymentsCommand = async (output, context) => {
|
|
1705
|
+
if (output.statusCode >= 300) {
|
|
1706
|
+
return de_CommandError(output, context);
|
|
1707
|
+
}
|
|
1708
|
+
const data = await parseBody(output.body, context);
|
|
1709
|
+
let contents = {};
|
|
1710
|
+
contents = de_ListFleetDeploymentsOutput(data, context);
|
|
1711
|
+
const response = {
|
|
1712
|
+
$metadata: deserializeMetadata(output),
|
|
1713
|
+
...contents,
|
|
1714
|
+
};
|
|
1715
|
+
return response;
|
|
1716
|
+
};
|
|
1569
1717
|
export const de_ListFleetsCommand = async (output, context) => {
|
|
1570
1718
|
if (output.statusCode >= 300) {
|
|
1571
1719
|
return de_CommandError(output, context);
|
|
@@ -1891,6 +2039,32 @@ export const de_UpdateBuildCommand = async (output, context) => {
|
|
|
1891
2039
|
};
|
|
1892
2040
|
return response;
|
|
1893
2041
|
};
|
|
2042
|
+
export const de_UpdateContainerFleetCommand = async (output, context) => {
|
|
2043
|
+
if (output.statusCode >= 300) {
|
|
2044
|
+
return de_CommandError(output, context);
|
|
2045
|
+
}
|
|
2046
|
+
const data = await parseBody(output.body, context);
|
|
2047
|
+
let contents = {};
|
|
2048
|
+
contents = de_UpdateContainerFleetOutput(data, context);
|
|
2049
|
+
const response = {
|
|
2050
|
+
$metadata: deserializeMetadata(output),
|
|
2051
|
+
...contents,
|
|
2052
|
+
};
|
|
2053
|
+
return response;
|
|
2054
|
+
};
|
|
2055
|
+
export const de_UpdateContainerGroupDefinitionCommand = async (output, context) => {
|
|
2056
|
+
if (output.statusCode >= 300) {
|
|
2057
|
+
return de_CommandError(output, context);
|
|
2058
|
+
}
|
|
2059
|
+
const data = await parseBody(output.body, context);
|
|
2060
|
+
let contents = {};
|
|
2061
|
+
contents = de_UpdateContainerGroupDefinitionOutput(data, context);
|
|
2062
|
+
const response = {
|
|
2063
|
+
$metadata: deserializeMetadata(output),
|
|
2064
|
+
...contents,
|
|
2065
|
+
};
|
|
2066
|
+
return response;
|
|
2067
|
+
};
|
|
1894
2068
|
export const de_UpdateFleetAttributesCommand = async (output, context) => {
|
|
1895
2069
|
if (output.statusCode >= 300) {
|
|
1896
2070
|
return de_CommandError(output, context);
|
|
@@ -2250,6 +2424,19 @@ const se_AttributeValue = (input, context) => {
|
|
|
2250
2424
|
SL: _json,
|
|
2251
2425
|
});
|
|
2252
2426
|
};
|
|
2427
|
+
const se_CreateContainerGroupDefinitionInput = (input, context) => {
|
|
2428
|
+
return take(input, {
|
|
2429
|
+
ContainerGroupType: [],
|
|
2430
|
+
GameServerContainerDefinition: _json,
|
|
2431
|
+
Name: [],
|
|
2432
|
+
OperatingSystem: [],
|
|
2433
|
+
SupportContainerDefinitions: (_) => se_SupportContainerDefinitionInputList(_, context),
|
|
2434
|
+
Tags: _json,
|
|
2435
|
+
TotalMemoryLimitMebibytes: [],
|
|
2436
|
+
TotalVcpuLimit: __serializeFloat,
|
|
2437
|
+
VersionDescription: [],
|
|
2438
|
+
});
|
|
2439
|
+
};
|
|
2253
2440
|
const se_CreateGameServerGroupInput = (input, context) => {
|
|
2254
2441
|
return take(input, {
|
|
2255
2442
|
AutoScalingPolicy: (_) => se_GameServerGroupAutoScalingPolicy(_, context),
|
|
@@ -2377,6 +2564,27 @@ const se_StartMatchmakingInput = (input, context) => {
|
|
|
2377
2564
|
TicketId: [],
|
|
2378
2565
|
});
|
|
2379
2566
|
};
|
|
2567
|
+
const se_SupportContainerDefinitionInput = (input, context) => {
|
|
2568
|
+
return take(input, {
|
|
2569
|
+
ContainerName: [],
|
|
2570
|
+
DependsOn: _json,
|
|
2571
|
+
EnvironmentOverride: _json,
|
|
2572
|
+
Essential: [],
|
|
2573
|
+
HealthCheck: _json,
|
|
2574
|
+
ImageUri: [],
|
|
2575
|
+
MemoryHardLimitMebibytes: [],
|
|
2576
|
+
MountPoints: _json,
|
|
2577
|
+
PortConfiguration: _json,
|
|
2578
|
+
Vcpu: __serializeFloat,
|
|
2579
|
+
});
|
|
2580
|
+
};
|
|
2581
|
+
const se_SupportContainerDefinitionInputList = (input, context) => {
|
|
2582
|
+
return input
|
|
2583
|
+
.filter((e) => e != null)
|
|
2584
|
+
.map((entry) => {
|
|
2585
|
+
return se_SupportContainerDefinitionInput(entry, context);
|
|
2586
|
+
});
|
|
2587
|
+
};
|
|
2380
2588
|
const se_TargetConfiguration = (input, context) => {
|
|
2381
2589
|
return take(input, {
|
|
2382
2590
|
TargetValue: __serializeFloat,
|
|
@@ -2387,6 +2595,18 @@ const se_TargetTrackingConfiguration = (input, context) => {
|
|
|
2387
2595
|
TargetValue: __serializeFloat,
|
|
2388
2596
|
});
|
|
2389
2597
|
};
|
|
2598
|
+
const se_UpdateContainerGroupDefinitionInput = (input, context) => {
|
|
2599
|
+
return take(input, {
|
|
2600
|
+
GameServerContainerDefinition: _json,
|
|
2601
|
+
Name: [],
|
|
2602
|
+
OperatingSystem: [],
|
|
2603
|
+
SourceVersionNumber: [],
|
|
2604
|
+
SupportContainerDefinitions: (_) => se_SupportContainerDefinitionInputList(_, context),
|
|
2605
|
+
TotalMemoryLimitMebibytes: [],
|
|
2606
|
+
TotalVcpuLimit: __serializeFloat,
|
|
2607
|
+
VersionDescription: [],
|
|
2608
|
+
});
|
|
2609
|
+
};
|
|
2390
2610
|
const se_UpdateScriptInput = (input, context) => {
|
|
2391
2611
|
return take(input, {
|
|
2392
2612
|
Name: [],
|
|
@@ -2461,6 +2681,7 @@ const de_Compute = (output, context) => {
|
|
|
2461
2681
|
FleetId: __expectString,
|
|
2462
2682
|
GameLiftAgentEndpoint: __expectString,
|
|
2463
2683
|
GameLiftServiceSdkEndpoint: __expectString,
|
|
2684
|
+
GameServerContainerGroupDefinitionArn: __expectString,
|
|
2464
2685
|
InstanceId: __expectString,
|
|
2465
2686
|
IpAddress: __expectString,
|
|
2466
2687
|
Location: __expectString,
|
|
@@ -2476,18 +2697,55 @@ const de_ComputeList = (output, context) => {
|
|
|
2476
2697
|
});
|
|
2477
2698
|
return retVal;
|
|
2478
2699
|
};
|
|
2700
|
+
const de_ContainerFleet = (output, context) => {
|
|
2701
|
+
return take(output, {
|
|
2702
|
+
BillingType: __expectString,
|
|
2703
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2704
|
+
DeploymentDetails: _json,
|
|
2705
|
+
Description: __expectString,
|
|
2706
|
+
FleetArn: __expectString,
|
|
2707
|
+
FleetId: __expectString,
|
|
2708
|
+
FleetRoleArn: __expectString,
|
|
2709
|
+
GameServerContainerGroupDefinitionArn: __expectString,
|
|
2710
|
+
GameServerContainerGroupDefinitionName: __expectString,
|
|
2711
|
+
GameServerContainerGroupsPerInstance: __expectInt32,
|
|
2712
|
+
GameSessionCreationLimitPolicy: _json,
|
|
2713
|
+
InstanceConnectionPortRange: _json,
|
|
2714
|
+
InstanceInboundPermissions: _json,
|
|
2715
|
+
InstanceType: __expectString,
|
|
2716
|
+
LocationAttributes: _json,
|
|
2717
|
+
LogConfiguration: _json,
|
|
2718
|
+
MaximumGameServerContainerGroupsPerInstance: __expectInt32,
|
|
2719
|
+
MetricGroups: _json,
|
|
2720
|
+
NewGameSessionProtectionPolicy: __expectString,
|
|
2721
|
+
PerInstanceContainerGroupDefinitionArn: __expectString,
|
|
2722
|
+
PerInstanceContainerGroupDefinitionName: __expectString,
|
|
2723
|
+
Status: __expectString,
|
|
2724
|
+
});
|
|
2725
|
+
};
|
|
2726
|
+
const de_ContainerFleetList = (output, context) => {
|
|
2727
|
+
const retVal = (output || [])
|
|
2728
|
+
.filter((e) => e != null)
|
|
2729
|
+
.map((entry) => {
|
|
2730
|
+
return de_ContainerFleet(entry, context);
|
|
2731
|
+
});
|
|
2732
|
+
return retVal;
|
|
2733
|
+
};
|
|
2479
2734
|
const de_ContainerGroupDefinition = (output, context) => {
|
|
2480
2735
|
return take(output, {
|
|
2481
|
-
ContainerDefinitions: _json,
|
|
2482
2736
|
ContainerGroupDefinitionArn: __expectString,
|
|
2737
|
+
ContainerGroupType: __expectString,
|
|
2483
2738
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2739
|
+
GameServerContainerDefinition: _json,
|
|
2484
2740
|
Name: __expectString,
|
|
2485
2741
|
OperatingSystem: __expectString,
|
|
2486
|
-
SchedulingStrategy: __expectString,
|
|
2487
2742
|
Status: __expectString,
|
|
2488
2743
|
StatusReason: __expectString,
|
|
2489
|
-
|
|
2490
|
-
|
|
2744
|
+
SupportContainerDefinitions: (_) => de_SupportContainerDefinitionList(_, context),
|
|
2745
|
+
TotalMemoryLimitMebibytes: __expectInt32,
|
|
2746
|
+
TotalVcpuLimit: __limitedParseDouble,
|
|
2747
|
+
VersionDescription: __expectString,
|
|
2748
|
+
VersionNumber: __expectInt32,
|
|
2491
2749
|
});
|
|
2492
2750
|
};
|
|
2493
2751
|
const de_ContainerGroupDefinitionList = (output, context) => {
|
|
@@ -2510,6 +2768,11 @@ const de_CreateBuildOutput = (output, context) => {
|
|
|
2510
2768
|
UploadCredentials: _json,
|
|
2511
2769
|
});
|
|
2512
2770
|
};
|
|
2771
|
+
const de_CreateContainerFleetOutput = (output, context) => {
|
|
2772
|
+
return take(output, {
|
|
2773
|
+
ContainerFleet: (_) => de_ContainerFleet(_, context),
|
|
2774
|
+
});
|
|
2775
|
+
};
|
|
2513
2776
|
const de_CreateContainerGroupDefinitionOutput = (output, context) => {
|
|
2514
2777
|
return take(output, {
|
|
2515
2778
|
ContainerGroupDefinition: (_) => de_ContainerGroupDefinition(_, context),
|
|
@@ -2581,6 +2844,11 @@ const de_DescribeComputeOutput = (output, context) => {
|
|
|
2581
2844
|
Compute: (_) => de_Compute(_, context),
|
|
2582
2845
|
});
|
|
2583
2846
|
};
|
|
2847
|
+
const de_DescribeContainerFleetOutput = (output, context) => {
|
|
2848
|
+
return take(output, {
|
|
2849
|
+
ContainerFleet: (_) => de_ContainerFleet(_, context),
|
|
2850
|
+
});
|
|
2851
|
+
};
|
|
2584
2852
|
const de_DescribeContainerGroupDefinitionOutput = (output, context) => {
|
|
2585
2853
|
return take(output, {
|
|
2586
2854
|
ContainerGroupDefinition: (_) => de_ContainerGroupDefinition(_, context),
|
|
@@ -2592,6 +2860,12 @@ const de_DescribeFleetAttributesOutput = (output, context) => {
|
|
|
2592
2860
|
NextToken: __expectString,
|
|
2593
2861
|
});
|
|
2594
2862
|
};
|
|
2863
|
+
const de_DescribeFleetDeploymentOutput = (output, context) => {
|
|
2864
|
+
return take(output, {
|
|
2865
|
+
FleetDeployment: (_) => de_FleetDeployment(_, context),
|
|
2866
|
+
LocationalDeployments: _json,
|
|
2867
|
+
});
|
|
2868
|
+
};
|
|
2595
2869
|
const de_DescribeFleetEventsOutput = (output, context) => {
|
|
2596
2870
|
return take(output, {
|
|
2597
2871
|
Events: (_) => de_EventList(_, context),
|
|
@@ -2696,7 +2970,6 @@ const de_FleetAttributes = (output, context) => {
|
|
|
2696
2970
|
BuildId: __expectString,
|
|
2697
2971
|
CertificateConfiguration: _json,
|
|
2698
2972
|
ComputeType: __expectString,
|
|
2699
|
-
ContainerGroupsAttributes: _json,
|
|
2700
2973
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2701
2974
|
Description: __expectString,
|
|
2702
2975
|
FleetArn: __expectString,
|
|
@@ -2728,6 +3001,27 @@ const de_FleetAttributesList = (output, context) => {
|
|
|
2728
3001
|
});
|
|
2729
3002
|
return retVal;
|
|
2730
3003
|
};
|
|
3004
|
+
const de_FleetDeployment = (output, context) => {
|
|
3005
|
+
return take(output, {
|
|
3006
|
+
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3007
|
+
DeploymentConfiguration: _json,
|
|
3008
|
+
DeploymentId: __expectString,
|
|
3009
|
+
DeploymentStatus: __expectString,
|
|
3010
|
+
FleetId: __expectString,
|
|
3011
|
+
GameServerBinaryArn: __expectString,
|
|
3012
|
+
PerInstanceBinaryArn: __expectString,
|
|
3013
|
+
RollbackGameServerBinaryArn: __expectString,
|
|
3014
|
+
RollbackPerInstanceBinaryArn: __expectString,
|
|
3015
|
+
});
|
|
3016
|
+
};
|
|
3017
|
+
const de_FleetDeployments = (output, context) => {
|
|
3018
|
+
const retVal = (output || [])
|
|
3019
|
+
.filter((e) => e != null)
|
|
3020
|
+
.map((entry) => {
|
|
3021
|
+
return de_FleetDeployment(entry, context);
|
|
3022
|
+
});
|
|
3023
|
+
return retVal;
|
|
3024
|
+
};
|
|
2731
3025
|
const de_GameServer = (output, context) => {
|
|
2732
3026
|
return take(output, {
|
|
2733
3027
|
ClaimStatus: __expectString,
|
|
@@ -2892,12 +3186,30 @@ const de_ListComputeOutput = (output, context) => {
|
|
|
2892
3186
|
NextToken: __expectString,
|
|
2893
3187
|
});
|
|
2894
3188
|
};
|
|
3189
|
+
const de_ListContainerFleetsOutput = (output, context) => {
|
|
3190
|
+
return take(output, {
|
|
3191
|
+
ContainerFleets: (_) => de_ContainerFleetList(_, context),
|
|
3192
|
+
NextToken: __expectString,
|
|
3193
|
+
});
|
|
3194
|
+
};
|
|
2895
3195
|
const de_ListContainerGroupDefinitionsOutput = (output, context) => {
|
|
2896
3196
|
return take(output, {
|
|
2897
3197
|
ContainerGroupDefinitions: (_) => de_ContainerGroupDefinitionList(_, context),
|
|
2898
3198
|
NextToken: __expectString,
|
|
2899
3199
|
});
|
|
2900
3200
|
};
|
|
3201
|
+
const de_ListContainerGroupDefinitionVersionsOutput = (output, context) => {
|
|
3202
|
+
return take(output, {
|
|
3203
|
+
ContainerGroupDefinitions: (_) => de_ContainerGroupDefinitionList(_, context),
|
|
3204
|
+
NextToken: __expectString,
|
|
3205
|
+
});
|
|
3206
|
+
};
|
|
3207
|
+
const de_ListFleetDeploymentsOutput = (output, context) => {
|
|
3208
|
+
return take(output, {
|
|
3209
|
+
FleetDeployments: (_) => de_FleetDeployments(_, context),
|
|
3210
|
+
NextToken: __expectString,
|
|
3211
|
+
});
|
|
3212
|
+
};
|
|
2901
3213
|
const de_ListGameServerGroupsOutput = (output, context) => {
|
|
2902
3214
|
return take(output, {
|
|
2903
3215
|
GameServerGroups: (_) => de_GameServerGroups(_, context),
|
|
@@ -3143,6 +3455,29 @@ const de_StopGameSessionPlacementOutput = (output, context) => {
|
|
|
3143
3455
|
GameSessionPlacement: (_) => de_GameSessionPlacement(_, context),
|
|
3144
3456
|
});
|
|
3145
3457
|
};
|
|
3458
|
+
const de_SupportContainerDefinition = (output, context) => {
|
|
3459
|
+
return take(output, {
|
|
3460
|
+
ContainerName: __expectString,
|
|
3461
|
+
DependsOn: _json,
|
|
3462
|
+
EnvironmentOverride: _json,
|
|
3463
|
+
Essential: __expectBoolean,
|
|
3464
|
+
HealthCheck: _json,
|
|
3465
|
+
ImageUri: __expectString,
|
|
3466
|
+
MemoryHardLimitMebibytes: __expectInt32,
|
|
3467
|
+
MountPoints: _json,
|
|
3468
|
+
PortConfiguration: _json,
|
|
3469
|
+
ResolvedImageDigest: __expectString,
|
|
3470
|
+
Vcpu: __limitedParseDouble,
|
|
3471
|
+
});
|
|
3472
|
+
};
|
|
3473
|
+
const de_SupportContainerDefinitionList = (output, context) => {
|
|
3474
|
+
const retVal = (output || [])
|
|
3475
|
+
.filter((e) => e != null)
|
|
3476
|
+
.map((entry) => {
|
|
3477
|
+
return de_SupportContainerDefinition(entry, context);
|
|
3478
|
+
});
|
|
3479
|
+
return retVal;
|
|
3480
|
+
};
|
|
3146
3481
|
const de_SuspendGameServerGroupOutput = (output, context) => {
|
|
3147
3482
|
return take(output, {
|
|
3148
3483
|
GameServerGroup: (_) => de_GameServerGroup(_, context),
|
|
@@ -3163,6 +3498,16 @@ const de_UpdateBuildOutput = (output, context) => {
|
|
|
3163
3498
|
Build: (_) => de_Build(_, context),
|
|
3164
3499
|
});
|
|
3165
3500
|
};
|
|
3501
|
+
const de_UpdateContainerFleetOutput = (output, context) => {
|
|
3502
|
+
return take(output, {
|
|
3503
|
+
ContainerFleet: (_) => de_ContainerFleet(_, context),
|
|
3504
|
+
});
|
|
3505
|
+
};
|
|
3506
|
+
const de_UpdateContainerGroupDefinitionOutput = (output, context) => {
|
|
3507
|
+
return take(output, {
|
|
3508
|
+
ContainerGroupDefinition: (_) => de_ContainerGroupDefinition(_, context),
|
|
3509
|
+
});
|
|
3510
|
+
};
|
|
3166
3511
|
const de_UpdateGameServerGroupOutput = (output, context) => {
|
|
3167
3512
|
return take(output, {
|
|
3168
3513
|
GameServerGroup: (_) => de_GameServerGroup(_, context),
|