@aws-sdk/client-gamelift 3.525.0 → 3.529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +101 -141
- package/dist-es/protocols/Aws_json1_1.js +1 -40
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -1449,6 +1449,7 @@ var StopGameSessionPlacementOutputFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
1449
1449
|
}), "StopGameSessionPlacementOutputFilterSensitiveLog");
|
|
1450
1450
|
|
|
1451
1451
|
// src/protocols/Aws_json1_1.ts
|
|
1452
|
+
var import_core2 = require("@aws-sdk/core");
|
|
1452
1453
|
|
|
1453
1454
|
|
|
1454
1455
|
var se_AcceptMatchCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -2079,7 +2080,7 @@ var de_AcceptMatchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2079
2080
|
if (output.statusCode >= 300) {
|
|
2080
2081
|
return de_CommandError(output, context);
|
|
2081
2082
|
}
|
|
2082
|
-
const data = await
|
|
2083
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2083
2084
|
let contents = {};
|
|
2084
2085
|
contents = (0, import_smithy_client._json)(data);
|
|
2085
2086
|
const response = {
|
|
@@ -2092,7 +2093,7 @@ var de_ClaimGameServerCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2092
2093
|
if (output.statusCode >= 300) {
|
|
2093
2094
|
return de_CommandError(output, context);
|
|
2094
2095
|
}
|
|
2095
|
-
const data = await
|
|
2096
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2096
2097
|
let contents = {};
|
|
2097
2098
|
contents = de_ClaimGameServerOutput(data, context);
|
|
2098
2099
|
const response = {
|
|
@@ -2105,7 +2106,7 @@ var de_CreateAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2105
2106
|
if (output.statusCode >= 300) {
|
|
2106
2107
|
return de_CommandError(output, context);
|
|
2107
2108
|
}
|
|
2108
|
-
const data = await
|
|
2109
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2109
2110
|
let contents = {};
|
|
2110
2111
|
contents = de_CreateAliasOutput(data, context);
|
|
2111
2112
|
const response = {
|
|
@@ -2118,7 +2119,7 @@ var de_CreateBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2118
2119
|
if (output.statusCode >= 300) {
|
|
2119
2120
|
return de_CommandError(output, context);
|
|
2120
2121
|
}
|
|
2121
|
-
const data = await
|
|
2122
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2122
2123
|
let contents = {};
|
|
2123
2124
|
contents = de_CreateBuildOutput(data, context);
|
|
2124
2125
|
const response = {
|
|
@@ -2131,7 +2132,7 @@ var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2131
2132
|
if (output.statusCode >= 300) {
|
|
2132
2133
|
return de_CommandError(output, context);
|
|
2133
2134
|
}
|
|
2134
|
-
const data = await
|
|
2135
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2135
2136
|
let contents = {};
|
|
2136
2137
|
contents = de_CreateFleetOutput(data, context);
|
|
2137
2138
|
const response = {
|
|
@@ -2144,7 +2145,7 @@ var de_CreateFleetLocationsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2144
2145
|
if (output.statusCode >= 300) {
|
|
2145
2146
|
return de_CommandError(output, context);
|
|
2146
2147
|
}
|
|
2147
|
-
const data = await
|
|
2148
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2148
2149
|
let contents = {};
|
|
2149
2150
|
contents = (0, import_smithy_client._json)(data);
|
|
2150
2151
|
const response = {
|
|
@@ -2157,7 +2158,7 @@ var de_CreateGameServerGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2157
2158
|
if (output.statusCode >= 300) {
|
|
2158
2159
|
return de_CommandError(output, context);
|
|
2159
2160
|
}
|
|
2160
|
-
const data = await
|
|
2161
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2161
2162
|
let contents = {};
|
|
2162
2163
|
contents = de_CreateGameServerGroupOutput(data, context);
|
|
2163
2164
|
const response = {
|
|
@@ -2170,7 +2171,7 @@ var de_CreateGameSessionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2170
2171
|
if (output.statusCode >= 300) {
|
|
2171
2172
|
return de_CommandError(output, context);
|
|
2172
2173
|
}
|
|
2173
|
-
const data = await
|
|
2174
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2174
2175
|
let contents = {};
|
|
2175
2176
|
contents = de_CreateGameSessionOutput(data, context);
|
|
2176
2177
|
const response = {
|
|
@@ -2183,7 +2184,7 @@ var de_CreateGameSessionQueueCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2183
2184
|
if (output.statusCode >= 300) {
|
|
2184
2185
|
return de_CommandError(output, context);
|
|
2185
2186
|
}
|
|
2186
|
-
const data = await
|
|
2187
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2187
2188
|
let contents = {};
|
|
2188
2189
|
contents = (0, import_smithy_client._json)(data);
|
|
2189
2190
|
const response = {
|
|
@@ -2196,7 +2197,7 @@ var de_CreateLocationCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2196
2197
|
if (output.statusCode >= 300) {
|
|
2197
2198
|
return de_CommandError(output, context);
|
|
2198
2199
|
}
|
|
2199
|
-
const data = await
|
|
2200
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2200
2201
|
let contents = {};
|
|
2201
2202
|
contents = (0, import_smithy_client._json)(data);
|
|
2202
2203
|
const response = {
|
|
@@ -2209,7 +2210,7 @@ var de_CreateMatchmakingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
2209
2210
|
if (output.statusCode >= 300) {
|
|
2210
2211
|
return de_CommandError(output, context);
|
|
2211
2212
|
}
|
|
2212
|
-
const data = await
|
|
2213
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2213
2214
|
let contents = {};
|
|
2214
2215
|
contents = de_CreateMatchmakingConfigurationOutput(data, context);
|
|
2215
2216
|
const response = {
|
|
@@ -2222,7 +2223,7 @@ var de_CreateMatchmakingRuleSetCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2222
2223
|
if (output.statusCode >= 300) {
|
|
2223
2224
|
return de_CommandError(output, context);
|
|
2224
2225
|
}
|
|
2225
|
-
const data = await
|
|
2226
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2226
2227
|
let contents = {};
|
|
2227
2228
|
contents = de_CreateMatchmakingRuleSetOutput(data, context);
|
|
2228
2229
|
const response = {
|
|
@@ -2235,7 +2236,7 @@ var de_CreatePlayerSessionCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2235
2236
|
if (output.statusCode >= 300) {
|
|
2236
2237
|
return de_CommandError(output, context);
|
|
2237
2238
|
}
|
|
2238
|
-
const data = await
|
|
2239
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2239
2240
|
let contents = {};
|
|
2240
2241
|
contents = de_CreatePlayerSessionOutput(data, context);
|
|
2241
2242
|
const response = {
|
|
@@ -2248,7 +2249,7 @@ var de_CreatePlayerSessionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2248
2249
|
if (output.statusCode >= 300) {
|
|
2249
2250
|
return de_CommandError(output, context);
|
|
2250
2251
|
}
|
|
2251
|
-
const data = await
|
|
2252
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2252
2253
|
let contents = {};
|
|
2253
2254
|
contents = de_CreatePlayerSessionsOutput(data, context);
|
|
2254
2255
|
const response = {
|
|
@@ -2261,7 +2262,7 @@ var de_CreateScriptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2261
2262
|
if (output.statusCode >= 300) {
|
|
2262
2263
|
return de_CommandError(output, context);
|
|
2263
2264
|
}
|
|
2264
|
-
const data = await
|
|
2265
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2265
2266
|
let contents = {};
|
|
2266
2267
|
contents = de_CreateScriptOutput(data, context);
|
|
2267
2268
|
const response = {
|
|
@@ -2274,7 +2275,7 @@ var de_CreateVpcPeeringAuthorizationCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2274
2275
|
if (output.statusCode >= 300) {
|
|
2275
2276
|
return de_CommandError(output, context);
|
|
2276
2277
|
}
|
|
2277
|
-
const data = await
|
|
2278
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2278
2279
|
let contents = {};
|
|
2279
2280
|
contents = de_CreateVpcPeeringAuthorizationOutput(data, context);
|
|
2280
2281
|
const response = {
|
|
@@ -2287,7 +2288,7 @@ var de_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2287
2288
|
if (output.statusCode >= 300) {
|
|
2288
2289
|
return de_CommandError(output, context);
|
|
2289
2290
|
}
|
|
2290
|
-
const data = await
|
|
2291
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2291
2292
|
let contents = {};
|
|
2292
2293
|
contents = (0, import_smithy_client._json)(data);
|
|
2293
2294
|
const response = {
|
|
@@ -2330,7 +2331,7 @@ var de_DeleteFleetLocationsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2330
2331
|
if (output.statusCode >= 300) {
|
|
2331
2332
|
return de_CommandError(output, context);
|
|
2332
2333
|
}
|
|
2333
|
-
const data = await
|
|
2334
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2334
2335
|
let contents = {};
|
|
2335
2336
|
contents = (0, import_smithy_client._json)(data);
|
|
2336
2337
|
const response = {
|
|
@@ -2343,7 +2344,7 @@ var de_DeleteGameServerGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2343
2344
|
if (output.statusCode >= 300) {
|
|
2344
2345
|
return de_CommandError(output, context);
|
|
2345
2346
|
}
|
|
2346
|
-
const data = await
|
|
2347
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2347
2348
|
let contents = {};
|
|
2348
2349
|
contents = de_DeleteGameServerGroupOutput(data, context);
|
|
2349
2350
|
const response = {
|
|
@@ -2356,7 +2357,7 @@ var de_DeleteGameSessionQueueCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2356
2357
|
if (output.statusCode >= 300) {
|
|
2357
2358
|
return de_CommandError(output, context);
|
|
2358
2359
|
}
|
|
2359
|
-
const data = await
|
|
2360
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2360
2361
|
let contents = {};
|
|
2361
2362
|
contents = (0, import_smithy_client._json)(data);
|
|
2362
2363
|
const response = {
|
|
@@ -2369,7 +2370,7 @@ var de_DeleteLocationCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2369
2370
|
if (output.statusCode >= 300) {
|
|
2370
2371
|
return de_CommandError(output, context);
|
|
2371
2372
|
}
|
|
2372
|
-
const data = await
|
|
2373
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2373
2374
|
let contents = {};
|
|
2374
2375
|
contents = (0, import_smithy_client._json)(data);
|
|
2375
2376
|
const response = {
|
|
@@ -2382,7 +2383,7 @@ var de_DeleteMatchmakingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
2382
2383
|
if (output.statusCode >= 300) {
|
|
2383
2384
|
return de_CommandError(output, context);
|
|
2384
2385
|
}
|
|
2385
|
-
const data = await
|
|
2386
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2386
2387
|
let contents = {};
|
|
2387
2388
|
contents = (0, import_smithy_client._json)(data);
|
|
2388
2389
|
const response = {
|
|
@@ -2395,7 +2396,7 @@ var de_DeleteMatchmakingRuleSetCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2395
2396
|
if (output.statusCode >= 300) {
|
|
2396
2397
|
return de_CommandError(output, context);
|
|
2397
2398
|
}
|
|
2398
|
-
const data = await
|
|
2399
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2399
2400
|
let contents = {};
|
|
2400
2401
|
contents = (0, import_smithy_client._json)(data);
|
|
2401
2402
|
const response = {
|
|
@@ -2428,7 +2429,7 @@ var de_DeleteVpcPeeringAuthorizationCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2428
2429
|
if (output.statusCode >= 300) {
|
|
2429
2430
|
return de_CommandError(output, context);
|
|
2430
2431
|
}
|
|
2431
|
-
const data = await
|
|
2432
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2432
2433
|
let contents = {};
|
|
2433
2434
|
contents = (0, import_smithy_client._json)(data);
|
|
2434
2435
|
const response = {
|
|
@@ -2441,7 +2442,7 @@ var de_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2441
2442
|
if (output.statusCode >= 300) {
|
|
2442
2443
|
return de_CommandError(output, context);
|
|
2443
2444
|
}
|
|
2444
|
-
const data = await
|
|
2445
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2445
2446
|
let contents = {};
|
|
2446
2447
|
contents = (0, import_smithy_client._json)(data);
|
|
2447
2448
|
const response = {
|
|
@@ -2454,7 +2455,7 @@ var de_DeregisterComputeCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2454
2455
|
if (output.statusCode >= 300) {
|
|
2455
2456
|
return de_CommandError(output, context);
|
|
2456
2457
|
}
|
|
2457
|
-
const data = await
|
|
2458
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2458
2459
|
let contents = {};
|
|
2459
2460
|
contents = (0, import_smithy_client._json)(data);
|
|
2460
2461
|
const response = {
|
|
@@ -2477,7 +2478,7 @@ var de_DescribeAliasCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2477
2478
|
if (output.statusCode >= 300) {
|
|
2478
2479
|
return de_CommandError(output, context);
|
|
2479
2480
|
}
|
|
2480
|
-
const data = await
|
|
2481
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2481
2482
|
let contents = {};
|
|
2482
2483
|
contents = de_DescribeAliasOutput(data, context);
|
|
2483
2484
|
const response = {
|
|
@@ -2490,7 +2491,7 @@ var de_DescribeBuildCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2490
2491
|
if (output.statusCode >= 300) {
|
|
2491
2492
|
return de_CommandError(output, context);
|
|
2492
2493
|
}
|
|
2493
|
-
const data = await
|
|
2494
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2494
2495
|
let contents = {};
|
|
2495
2496
|
contents = de_DescribeBuildOutput(data, context);
|
|
2496
2497
|
const response = {
|
|
@@ -2503,7 +2504,7 @@ var de_DescribeComputeCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2503
2504
|
if (output.statusCode >= 300) {
|
|
2504
2505
|
return de_CommandError(output, context);
|
|
2505
2506
|
}
|
|
2506
|
-
const data = await
|
|
2507
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2507
2508
|
let contents = {};
|
|
2508
2509
|
contents = de_DescribeComputeOutput(data, context);
|
|
2509
2510
|
const response = {
|
|
@@ -2516,7 +2517,7 @@ var de_DescribeEC2InstanceLimitsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2516
2517
|
if (output.statusCode >= 300) {
|
|
2517
2518
|
return de_CommandError(output, context);
|
|
2518
2519
|
}
|
|
2519
|
-
const data = await
|
|
2520
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2520
2521
|
let contents = {};
|
|
2521
2522
|
contents = (0, import_smithy_client._json)(data);
|
|
2522
2523
|
const response = {
|
|
@@ -2529,7 +2530,7 @@ var de_DescribeFleetAttributesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2529
2530
|
if (output.statusCode >= 300) {
|
|
2530
2531
|
return de_CommandError(output, context);
|
|
2531
2532
|
}
|
|
2532
|
-
const data = await
|
|
2533
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2533
2534
|
let contents = {};
|
|
2534
2535
|
contents = de_DescribeFleetAttributesOutput(data, context);
|
|
2535
2536
|
const response = {
|
|
@@ -2542,7 +2543,7 @@ var de_DescribeFleetCapacityCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2542
2543
|
if (output.statusCode >= 300) {
|
|
2543
2544
|
return de_CommandError(output, context);
|
|
2544
2545
|
}
|
|
2545
|
-
const data = await
|
|
2546
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2546
2547
|
let contents = {};
|
|
2547
2548
|
contents = (0, import_smithy_client._json)(data);
|
|
2548
2549
|
const response = {
|
|
@@ -2555,7 +2556,7 @@ var de_DescribeFleetEventsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2555
2556
|
if (output.statusCode >= 300) {
|
|
2556
2557
|
return de_CommandError(output, context);
|
|
2557
2558
|
}
|
|
2558
|
-
const data = await
|
|
2559
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2559
2560
|
let contents = {};
|
|
2560
2561
|
contents = de_DescribeFleetEventsOutput(data, context);
|
|
2561
2562
|
const response = {
|
|
@@ -2568,7 +2569,7 @@ var de_DescribeFleetLocationAttributesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2568
2569
|
if (output.statusCode >= 300) {
|
|
2569
2570
|
return de_CommandError(output, context);
|
|
2570
2571
|
}
|
|
2571
|
-
const data = await
|
|
2572
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2572
2573
|
let contents = {};
|
|
2573
2574
|
contents = (0, import_smithy_client._json)(data);
|
|
2574
2575
|
const response = {
|
|
@@ -2581,7 +2582,7 @@ var de_DescribeFleetLocationCapacityCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2581
2582
|
if (output.statusCode >= 300) {
|
|
2582
2583
|
return de_CommandError(output, context);
|
|
2583
2584
|
}
|
|
2584
|
-
const data = await
|
|
2585
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2585
2586
|
let contents = {};
|
|
2586
2587
|
contents = (0, import_smithy_client._json)(data);
|
|
2587
2588
|
const response = {
|
|
@@ -2594,7 +2595,7 @@ var de_DescribeFleetLocationUtilizationCommand = /* @__PURE__ */ __name(async (o
|
|
|
2594
2595
|
if (output.statusCode >= 300) {
|
|
2595
2596
|
return de_CommandError(output, context);
|
|
2596
2597
|
}
|
|
2597
|
-
const data = await
|
|
2598
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2598
2599
|
let contents = {};
|
|
2599
2600
|
contents = (0, import_smithy_client._json)(data);
|
|
2600
2601
|
const response = {
|
|
@@ -2607,7 +2608,7 @@ var de_DescribeFleetPortSettingsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2607
2608
|
if (output.statusCode >= 300) {
|
|
2608
2609
|
return de_CommandError(output, context);
|
|
2609
2610
|
}
|
|
2610
|
-
const data = await
|
|
2611
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2611
2612
|
let contents = {};
|
|
2612
2613
|
contents = (0, import_smithy_client._json)(data);
|
|
2613
2614
|
const response = {
|
|
@@ -2620,7 +2621,7 @@ var de_DescribeFleetUtilizationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2620
2621
|
if (output.statusCode >= 300) {
|
|
2621
2622
|
return de_CommandError(output, context);
|
|
2622
2623
|
}
|
|
2623
|
-
const data = await
|
|
2624
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2624
2625
|
let contents = {};
|
|
2625
2626
|
contents = (0, import_smithy_client._json)(data);
|
|
2626
2627
|
const response = {
|
|
@@ -2633,7 +2634,7 @@ var de_DescribeGameServerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2633
2634
|
if (output.statusCode >= 300) {
|
|
2634
2635
|
return de_CommandError(output, context);
|
|
2635
2636
|
}
|
|
2636
|
-
const data = await
|
|
2637
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2637
2638
|
let contents = {};
|
|
2638
2639
|
contents = de_DescribeGameServerOutput(data, context);
|
|
2639
2640
|
const response = {
|
|
@@ -2646,7 +2647,7 @@ var de_DescribeGameServerGroupCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2646
2647
|
if (output.statusCode >= 300) {
|
|
2647
2648
|
return de_CommandError(output, context);
|
|
2648
2649
|
}
|
|
2649
|
-
const data = await
|
|
2650
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2650
2651
|
let contents = {};
|
|
2651
2652
|
contents = de_DescribeGameServerGroupOutput(data, context);
|
|
2652
2653
|
const response = {
|
|
@@ -2659,7 +2660,7 @@ var de_DescribeGameServerInstancesCommand = /* @__PURE__ */ __name(async (output
|
|
|
2659
2660
|
if (output.statusCode >= 300) {
|
|
2660
2661
|
return de_CommandError(output, context);
|
|
2661
2662
|
}
|
|
2662
|
-
const data = await
|
|
2663
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2663
2664
|
let contents = {};
|
|
2664
2665
|
contents = (0, import_smithy_client._json)(data);
|
|
2665
2666
|
const response = {
|
|
@@ -2672,7 +2673,7 @@ var de_DescribeGameSessionDetailsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2672
2673
|
if (output.statusCode >= 300) {
|
|
2673
2674
|
return de_CommandError(output, context);
|
|
2674
2675
|
}
|
|
2675
|
-
const data = await
|
|
2676
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2676
2677
|
let contents = {};
|
|
2677
2678
|
contents = de_DescribeGameSessionDetailsOutput(data, context);
|
|
2678
2679
|
const response = {
|
|
@@ -2685,7 +2686,7 @@ var de_DescribeGameSessionPlacementCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2685
2686
|
if (output.statusCode >= 300) {
|
|
2686
2687
|
return de_CommandError(output, context);
|
|
2687
2688
|
}
|
|
2688
|
-
const data = await
|
|
2689
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2689
2690
|
let contents = {};
|
|
2690
2691
|
contents = de_DescribeGameSessionPlacementOutput(data, context);
|
|
2691
2692
|
const response = {
|
|
@@ -2698,7 +2699,7 @@ var de_DescribeGameSessionQueuesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2698
2699
|
if (output.statusCode >= 300) {
|
|
2699
2700
|
return de_CommandError(output, context);
|
|
2700
2701
|
}
|
|
2701
|
-
const data = await
|
|
2702
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2702
2703
|
let contents = {};
|
|
2703
2704
|
contents = (0, import_smithy_client._json)(data);
|
|
2704
2705
|
const response = {
|
|
@@ -2711,7 +2712,7 @@ var de_DescribeGameSessionsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2711
2712
|
if (output.statusCode >= 300) {
|
|
2712
2713
|
return de_CommandError(output, context);
|
|
2713
2714
|
}
|
|
2714
|
-
const data = await
|
|
2715
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2715
2716
|
let contents = {};
|
|
2716
2717
|
contents = de_DescribeGameSessionsOutput(data, context);
|
|
2717
2718
|
const response = {
|
|
@@ -2724,7 +2725,7 @@ var de_DescribeInstancesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2724
2725
|
if (output.statusCode >= 300) {
|
|
2725
2726
|
return de_CommandError(output, context);
|
|
2726
2727
|
}
|
|
2727
|
-
const data = await
|
|
2728
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2728
2729
|
let contents = {};
|
|
2729
2730
|
contents = de_DescribeInstancesOutput(data, context);
|
|
2730
2731
|
const response = {
|
|
@@ -2737,7 +2738,7 @@ var de_DescribeMatchmakingCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2737
2738
|
if (output.statusCode >= 300) {
|
|
2738
2739
|
return de_CommandError(output, context);
|
|
2739
2740
|
}
|
|
2740
|
-
const data = await
|
|
2741
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2741
2742
|
let contents = {};
|
|
2742
2743
|
contents = de_DescribeMatchmakingOutput(data, context);
|
|
2743
2744
|
const response = {
|
|
@@ -2750,7 +2751,7 @@ var de_DescribeMatchmakingConfigurationsCommand = /* @__PURE__ */ __name(async (
|
|
|
2750
2751
|
if (output.statusCode >= 300) {
|
|
2751
2752
|
return de_CommandError(output, context);
|
|
2752
2753
|
}
|
|
2753
|
-
const data = await
|
|
2754
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2754
2755
|
let contents = {};
|
|
2755
2756
|
contents = de_DescribeMatchmakingConfigurationsOutput(data, context);
|
|
2756
2757
|
const response = {
|
|
@@ -2763,7 +2764,7 @@ var de_DescribeMatchmakingRuleSetsCommand = /* @__PURE__ */ __name(async (output
|
|
|
2763
2764
|
if (output.statusCode >= 300) {
|
|
2764
2765
|
return de_CommandError(output, context);
|
|
2765
2766
|
}
|
|
2766
|
-
const data = await
|
|
2767
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2767
2768
|
let contents = {};
|
|
2768
2769
|
contents = de_DescribeMatchmakingRuleSetsOutput(data, context);
|
|
2769
2770
|
const response = {
|
|
@@ -2776,7 +2777,7 @@ var de_DescribePlayerSessionsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2776
2777
|
if (output.statusCode >= 300) {
|
|
2777
2778
|
return de_CommandError(output, context);
|
|
2778
2779
|
}
|
|
2779
|
-
const data = await
|
|
2780
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2780
2781
|
let contents = {};
|
|
2781
2782
|
contents = de_DescribePlayerSessionsOutput(data, context);
|
|
2782
2783
|
const response = {
|
|
@@ -2789,7 +2790,7 @@ var de_DescribeRuntimeConfigurationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2789
2790
|
if (output.statusCode >= 300) {
|
|
2790
2791
|
return de_CommandError(output, context);
|
|
2791
2792
|
}
|
|
2792
|
-
const data = await
|
|
2793
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2793
2794
|
let contents = {};
|
|
2794
2795
|
contents = (0, import_smithy_client._json)(data);
|
|
2795
2796
|
const response = {
|
|
@@ -2802,7 +2803,7 @@ var de_DescribeScalingPoliciesCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2802
2803
|
if (output.statusCode >= 300) {
|
|
2803
2804
|
return de_CommandError(output, context);
|
|
2804
2805
|
}
|
|
2805
|
-
const data = await
|
|
2806
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2806
2807
|
let contents = {};
|
|
2807
2808
|
contents = de_DescribeScalingPoliciesOutput(data, context);
|
|
2808
2809
|
const response = {
|
|
@@ -2815,7 +2816,7 @@ var de_DescribeScriptCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2815
2816
|
if (output.statusCode >= 300) {
|
|
2816
2817
|
return de_CommandError(output, context);
|
|
2817
2818
|
}
|
|
2818
|
-
const data = await
|
|
2819
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2819
2820
|
let contents = {};
|
|
2820
2821
|
contents = de_DescribeScriptOutput(data, context);
|
|
2821
2822
|
const response = {
|
|
@@ -2828,7 +2829,7 @@ var de_DescribeVpcPeeringAuthorizationsCommand = /* @__PURE__ */ __name(async (o
|
|
|
2828
2829
|
if (output.statusCode >= 300) {
|
|
2829
2830
|
return de_CommandError(output, context);
|
|
2830
2831
|
}
|
|
2831
|
-
const data = await
|
|
2832
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2832
2833
|
let contents = {};
|
|
2833
2834
|
contents = de_DescribeVpcPeeringAuthorizationsOutput(data, context);
|
|
2834
2835
|
const response = {
|
|
@@ -2841,7 +2842,7 @@ var de_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2841
2842
|
if (output.statusCode >= 300) {
|
|
2842
2843
|
return de_CommandError(output, context);
|
|
2843
2844
|
}
|
|
2844
|
-
const data = await
|
|
2845
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2845
2846
|
let contents = {};
|
|
2846
2847
|
contents = (0, import_smithy_client._json)(data);
|
|
2847
2848
|
const response = {
|
|
@@ -2854,7 +2855,7 @@ var de_GetComputeAccessCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2854
2855
|
if (output.statusCode >= 300) {
|
|
2855
2856
|
return de_CommandError(output, context);
|
|
2856
2857
|
}
|
|
2857
|
-
const data = await
|
|
2858
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2858
2859
|
let contents = {};
|
|
2859
2860
|
contents = (0, import_smithy_client._json)(data);
|
|
2860
2861
|
const response = {
|
|
@@ -2867,7 +2868,7 @@ var de_GetComputeAuthTokenCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2867
2868
|
if (output.statusCode >= 300) {
|
|
2868
2869
|
return de_CommandError(output, context);
|
|
2869
2870
|
}
|
|
2870
|
-
const data = await
|
|
2871
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2871
2872
|
let contents = {};
|
|
2872
2873
|
contents = de_GetComputeAuthTokenOutput(data, context);
|
|
2873
2874
|
const response = {
|
|
@@ -2880,7 +2881,7 @@ var de_GetGameSessionLogUrlCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2880
2881
|
if (output.statusCode >= 300) {
|
|
2881
2882
|
return de_CommandError(output, context);
|
|
2882
2883
|
}
|
|
2883
|
-
const data = await
|
|
2884
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2884
2885
|
let contents = {};
|
|
2885
2886
|
contents = (0, import_smithy_client._json)(data);
|
|
2886
2887
|
const response = {
|
|
@@ -2893,7 +2894,7 @@ var de_GetInstanceAccessCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2893
2894
|
if (output.statusCode >= 300) {
|
|
2894
2895
|
return de_CommandError(output, context);
|
|
2895
2896
|
}
|
|
2896
|
-
const data = await
|
|
2897
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2897
2898
|
let contents = {};
|
|
2898
2899
|
contents = (0, import_smithy_client._json)(data);
|
|
2899
2900
|
const response = {
|
|
@@ -2906,7 +2907,7 @@ var de_ListAliasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2906
2907
|
if (output.statusCode >= 300) {
|
|
2907
2908
|
return de_CommandError(output, context);
|
|
2908
2909
|
}
|
|
2909
|
-
const data = await
|
|
2910
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2910
2911
|
let contents = {};
|
|
2911
2912
|
contents = de_ListAliasesOutput(data, context);
|
|
2912
2913
|
const response = {
|
|
@@ -2919,7 +2920,7 @@ var de_ListBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2919
2920
|
if (output.statusCode >= 300) {
|
|
2920
2921
|
return de_CommandError(output, context);
|
|
2921
2922
|
}
|
|
2922
|
-
const data = await
|
|
2923
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2923
2924
|
let contents = {};
|
|
2924
2925
|
contents = de_ListBuildsOutput(data, context);
|
|
2925
2926
|
const response = {
|
|
@@ -2932,7 +2933,7 @@ var de_ListComputeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2932
2933
|
if (output.statusCode >= 300) {
|
|
2933
2934
|
return de_CommandError(output, context);
|
|
2934
2935
|
}
|
|
2935
|
-
const data = await
|
|
2936
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2936
2937
|
let contents = {};
|
|
2937
2938
|
contents = de_ListComputeOutput(data, context);
|
|
2938
2939
|
const response = {
|
|
@@ -2945,7 +2946,7 @@ var de_ListFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2945
2946
|
if (output.statusCode >= 300) {
|
|
2946
2947
|
return de_CommandError(output, context);
|
|
2947
2948
|
}
|
|
2948
|
-
const data = await
|
|
2949
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2949
2950
|
let contents = {};
|
|
2950
2951
|
contents = (0, import_smithy_client._json)(data);
|
|
2951
2952
|
const response = {
|
|
@@ -2958,7 +2959,7 @@ var de_ListGameServerGroupsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2958
2959
|
if (output.statusCode >= 300) {
|
|
2959
2960
|
return de_CommandError(output, context);
|
|
2960
2961
|
}
|
|
2961
|
-
const data = await
|
|
2962
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2962
2963
|
let contents = {};
|
|
2963
2964
|
contents = de_ListGameServerGroupsOutput(data, context);
|
|
2964
2965
|
const response = {
|
|
@@ -2971,7 +2972,7 @@ var de_ListGameServersCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2971
2972
|
if (output.statusCode >= 300) {
|
|
2972
2973
|
return de_CommandError(output, context);
|
|
2973
2974
|
}
|
|
2974
|
-
const data = await
|
|
2975
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2975
2976
|
let contents = {};
|
|
2976
2977
|
contents = de_ListGameServersOutput(data, context);
|
|
2977
2978
|
const response = {
|
|
@@ -2984,7 +2985,7 @@ var de_ListLocationsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2984
2985
|
if (output.statusCode >= 300) {
|
|
2985
2986
|
return de_CommandError(output, context);
|
|
2986
2987
|
}
|
|
2987
|
-
const data = await
|
|
2988
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2988
2989
|
let contents = {};
|
|
2989
2990
|
contents = (0, import_smithy_client._json)(data);
|
|
2990
2991
|
const response = {
|
|
@@ -2997,7 +2998,7 @@ var de_ListScriptsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2997
2998
|
if (output.statusCode >= 300) {
|
|
2998
2999
|
return de_CommandError(output, context);
|
|
2999
3000
|
}
|
|
3000
|
-
const data = await
|
|
3001
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3001
3002
|
let contents = {};
|
|
3002
3003
|
contents = de_ListScriptsOutput(data, context);
|
|
3003
3004
|
const response = {
|
|
@@ -3010,7 +3011,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3010
3011
|
if (output.statusCode >= 300) {
|
|
3011
3012
|
return de_CommandError(output, context);
|
|
3012
3013
|
}
|
|
3013
|
-
const data = await
|
|
3014
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3014
3015
|
let contents = {};
|
|
3015
3016
|
contents = (0, import_smithy_client._json)(data);
|
|
3016
3017
|
const response = {
|
|
@@ -3023,7 +3024,7 @@ var de_PutScalingPolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3023
3024
|
if (output.statusCode >= 300) {
|
|
3024
3025
|
return de_CommandError(output, context);
|
|
3025
3026
|
}
|
|
3026
|
-
const data = await
|
|
3027
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3027
3028
|
let contents = {};
|
|
3028
3029
|
contents = (0, import_smithy_client._json)(data);
|
|
3029
3030
|
const response = {
|
|
@@ -3036,7 +3037,7 @@ var de_RegisterComputeCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3036
3037
|
if (output.statusCode >= 300) {
|
|
3037
3038
|
return de_CommandError(output, context);
|
|
3038
3039
|
}
|
|
3039
|
-
const data = await
|
|
3040
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3040
3041
|
let contents = {};
|
|
3041
3042
|
contents = de_RegisterComputeOutput(data, context);
|
|
3042
3043
|
const response = {
|
|
@@ -3049,7 +3050,7 @@ var de_RegisterGameServerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3049
3050
|
if (output.statusCode >= 300) {
|
|
3050
3051
|
return de_CommandError(output, context);
|
|
3051
3052
|
}
|
|
3052
|
-
const data = await
|
|
3053
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3053
3054
|
let contents = {};
|
|
3054
3055
|
contents = de_RegisterGameServerOutput(data, context);
|
|
3055
3056
|
const response = {
|
|
@@ -3062,7 +3063,7 @@ var de_RequestUploadCredentialsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3062
3063
|
if (output.statusCode >= 300) {
|
|
3063
3064
|
return de_CommandError(output, context);
|
|
3064
3065
|
}
|
|
3065
|
-
const data = await
|
|
3066
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3066
3067
|
let contents = {};
|
|
3067
3068
|
contents = (0, import_smithy_client._json)(data);
|
|
3068
3069
|
const response = {
|
|
@@ -3075,7 +3076,7 @@ var de_ResolveAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3075
3076
|
if (output.statusCode >= 300) {
|
|
3076
3077
|
return de_CommandError(output, context);
|
|
3077
3078
|
}
|
|
3078
|
-
const data = await
|
|
3079
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3079
3080
|
let contents = {};
|
|
3080
3081
|
contents = (0, import_smithy_client._json)(data);
|
|
3081
3082
|
const response = {
|
|
@@ -3088,7 +3089,7 @@ var de_ResumeGameServerGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3088
3089
|
if (output.statusCode >= 300) {
|
|
3089
3090
|
return de_CommandError(output, context);
|
|
3090
3091
|
}
|
|
3091
|
-
const data = await
|
|
3092
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3092
3093
|
let contents = {};
|
|
3093
3094
|
contents = de_ResumeGameServerGroupOutput(data, context);
|
|
3094
3095
|
const response = {
|
|
@@ -3101,7 +3102,7 @@ var de_SearchGameSessionsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3101
3102
|
if (output.statusCode >= 300) {
|
|
3102
3103
|
return de_CommandError(output, context);
|
|
3103
3104
|
}
|
|
3104
|
-
const data = await
|
|
3105
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3105
3106
|
let contents = {};
|
|
3106
3107
|
contents = de_SearchGameSessionsOutput(data, context);
|
|
3107
3108
|
const response = {
|
|
@@ -3114,7 +3115,7 @@ var de_StartFleetActionsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3114
3115
|
if (output.statusCode >= 300) {
|
|
3115
3116
|
return de_CommandError(output, context);
|
|
3116
3117
|
}
|
|
3117
|
-
const data = await
|
|
3118
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3118
3119
|
let contents = {};
|
|
3119
3120
|
contents = (0, import_smithy_client._json)(data);
|
|
3120
3121
|
const response = {
|
|
@@ -3127,7 +3128,7 @@ var de_StartGameSessionPlacementCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3127
3128
|
if (output.statusCode >= 300) {
|
|
3128
3129
|
return de_CommandError(output, context);
|
|
3129
3130
|
}
|
|
3130
|
-
const data = await
|
|
3131
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3131
3132
|
let contents = {};
|
|
3132
3133
|
contents = de_StartGameSessionPlacementOutput(data, context);
|
|
3133
3134
|
const response = {
|
|
@@ -3140,7 +3141,7 @@ var de_StartMatchBackfillCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
3140
3141
|
if (output.statusCode >= 300) {
|
|
3141
3142
|
return de_CommandError(output, context);
|
|
3142
3143
|
}
|
|
3143
|
-
const data = await
|
|
3144
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3144
3145
|
let contents = {};
|
|
3145
3146
|
contents = de_StartMatchBackfillOutput(data, context);
|
|
3146
3147
|
const response = {
|
|
@@ -3153,7 +3154,7 @@ var de_StartMatchmakingCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3153
3154
|
if (output.statusCode >= 300) {
|
|
3154
3155
|
return de_CommandError(output, context);
|
|
3155
3156
|
}
|
|
3156
|
-
const data = await
|
|
3157
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3157
3158
|
let contents = {};
|
|
3158
3159
|
contents = de_StartMatchmakingOutput(data, context);
|
|
3159
3160
|
const response = {
|
|
@@ -3166,7 +3167,7 @@ var de_StopFleetActionsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3166
3167
|
if (output.statusCode >= 300) {
|
|
3167
3168
|
return de_CommandError(output, context);
|
|
3168
3169
|
}
|
|
3169
|
-
const data = await
|
|
3170
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3170
3171
|
let contents = {};
|
|
3171
3172
|
contents = (0, import_smithy_client._json)(data);
|
|
3172
3173
|
const response = {
|
|
@@ -3179,7 +3180,7 @@ var de_StopGameSessionPlacementCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
3179
3180
|
if (output.statusCode >= 300) {
|
|
3180
3181
|
return de_CommandError(output, context);
|
|
3181
3182
|
}
|
|
3182
|
-
const data = await
|
|
3183
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3183
3184
|
let contents = {};
|
|
3184
3185
|
contents = de_StopGameSessionPlacementOutput(data, context);
|
|
3185
3186
|
const response = {
|
|
@@ -3192,7 +3193,7 @@ var de_StopMatchmakingCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3192
3193
|
if (output.statusCode >= 300) {
|
|
3193
3194
|
return de_CommandError(output, context);
|
|
3194
3195
|
}
|
|
3195
|
-
const data = await
|
|
3196
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3196
3197
|
let contents = {};
|
|
3197
3198
|
contents = (0, import_smithy_client._json)(data);
|
|
3198
3199
|
const response = {
|
|
@@ -3205,7 +3206,7 @@ var de_SuspendGameServerGroupCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3205
3206
|
if (output.statusCode >= 300) {
|
|
3206
3207
|
return de_CommandError(output, context);
|
|
3207
3208
|
}
|
|
3208
|
-
const data = await
|
|
3209
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3209
3210
|
let contents = {};
|
|
3210
3211
|
contents = de_SuspendGameServerGroupOutput(data, context);
|
|
3211
3212
|
const response = {
|
|
@@ -3218,7 +3219,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3218
3219
|
if (output.statusCode >= 300) {
|
|
3219
3220
|
return de_CommandError(output, context);
|
|
3220
3221
|
}
|
|
3221
|
-
const data = await
|
|
3222
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3222
3223
|
let contents = {};
|
|
3223
3224
|
contents = (0, import_smithy_client._json)(data);
|
|
3224
3225
|
const response = {
|
|
@@ -3231,7 +3232,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3231
3232
|
if (output.statusCode >= 300) {
|
|
3232
3233
|
return de_CommandError(output, context);
|
|
3233
3234
|
}
|
|
3234
|
-
const data = await
|
|
3235
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3235
3236
|
let contents = {};
|
|
3236
3237
|
contents = (0, import_smithy_client._json)(data);
|
|
3237
3238
|
const response = {
|
|
@@ -3244,7 +3245,7 @@ var de_UpdateAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3244
3245
|
if (output.statusCode >= 300) {
|
|
3245
3246
|
return de_CommandError(output, context);
|
|
3246
3247
|
}
|
|
3247
|
-
const data = await
|
|
3248
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3248
3249
|
let contents = {};
|
|
3249
3250
|
contents = de_UpdateAliasOutput(data, context);
|
|
3250
3251
|
const response = {
|
|
@@ -3257,7 +3258,7 @@ var de_UpdateBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3257
3258
|
if (output.statusCode >= 300) {
|
|
3258
3259
|
return de_CommandError(output, context);
|
|
3259
3260
|
}
|
|
3260
|
-
const data = await
|
|
3261
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3261
3262
|
let contents = {};
|
|
3262
3263
|
contents = de_UpdateBuildOutput(data, context);
|
|
3263
3264
|
const response = {
|
|
@@ -3270,7 +3271,7 @@ var de_UpdateFleetAttributesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3270
3271
|
if (output.statusCode >= 300) {
|
|
3271
3272
|
return de_CommandError(output, context);
|
|
3272
3273
|
}
|
|
3273
|
-
const data = await
|
|
3274
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3274
3275
|
let contents = {};
|
|
3275
3276
|
contents = (0, import_smithy_client._json)(data);
|
|
3276
3277
|
const response = {
|
|
@@ -3283,7 +3284,7 @@ var de_UpdateFleetCapacityCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3283
3284
|
if (output.statusCode >= 300) {
|
|
3284
3285
|
return de_CommandError(output, context);
|
|
3285
3286
|
}
|
|
3286
|
-
const data = await
|
|
3287
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3287
3288
|
let contents = {};
|
|
3288
3289
|
contents = (0, import_smithy_client._json)(data);
|
|
3289
3290
|
const response = {
|
|
@@ -3296,7 +3297,7 @@ var de_UpdateFleetPortSettingsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
3296
3297
|
if (output.statusCode >= 300) {
|
|
3297
3298
|
return de_CommandError(output, context);
|
|
3298
3299
|
}
|
|
3299
|
-
const data = await
|
|
3300
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3300
3301
|
let contents = {};
|
|
3301
3302
|
contents = (0, import_smithy_client._json)(data);
|
|
3302
3303
|
const response = {
|
|
@@ -3309,7 +3310,7 @@ var de_UpdateGameServerCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3309
3310
|
if (output.statusCode >= 300) {
|
|
3310
3311
|
return de_CommandError(output, context);
|
|
3311
3312
|
}
|
|
3312
|
-
const data = await
|
|
3313
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3313
3314
|
let contents = {};
|
|
3314
3315
|
contents = de_UpdateGameServerOutput(data, context);
|
|
3315
3316
|
const response = {
|
|
@@ -3322,7 +3323,7 @@ var de_UpdateGameServerGroupCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
3322
3323
|
if (output.statusCode >= 300) {
|
|
3323
3324
|
return de_CommandError(output, context);
|
|
3324
3325
|
}
|
|
3325
|
-
const data = await
|
|
3326
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3326
3327
|
let contents = {};
|
|
3327
3328
|
contents = de_UpdateGameServerGroupOutput(data, context);
|
|
3328
3329
|
const response = {
|
|
@@ -3335,7 +3336,7 @@ var de_UpdateGameSessionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3335
3336
|
if (output.statusCode >= 300) {
|
|
3336
3337
|
return de_CommandError(output, context);
|
|
3337
3338
|
}
|
|
3338
|
-
const data = await
|
|
3339
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3339
3340
|
let contents = {};
|
|
3340
3341
|
contents = de_UpdateGameSessionOutput(data, context);
|
|
3341
3342
|
const response = {
|
|
@@ -3348,7 +3349,7 @@ var de_UpdateGameSessionQueueCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
3348
3349
|
if (output.statusCode >= 300) {
|
|
3349
3350
|
return de_CommandError(output, context);
|
|
3350
3351
|
}
|
|
3351
|
-
const data = await
|
|
3352
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3352
3353
|
let contents = {};
|
|
3353
3354
|
contents = (0, import_smithy_client._json)(data);
|
|
3354
3355
|
const response = {
|
|
@@ -3361,7 +3362,7 @@ var de_UpdateMatchmakingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
3361
3362
|
if (output.statusCode >= 300) {
|
|
3362
3363
|
return de_CommandError(output, context);
|
|
3363
3364
|
}
|
|
3364
|
-
const data = await
|
|
3365
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3365
3366
|
let contents = {};
|
|
3366
3367
|
contents = de_UpdateMatchmakingConfigurationOutput(data, context);
|
|
3367
3368
|
const response = {
|
|
@@ -3374,7 +3375,7 @@ var de_UpdateRuntimeConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3374
3375
|
if (output.statusCode >= 300) {
|
|
3375
3376
|
return de_CommandError(output, context);
|
|
3376
3377
|
}
|
|
3377
|
-
const data = await
|
|
3378
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3378
3379
|
let contents = {};
|
|
3379
3380
|
contents = (0, import_smithy_client._json)(data);
|
|
3380
3381
|
const response = {
|
|
@@ -3387,7 +3388,7 @@ var de_UpdateScriptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3387
3388
|
if (output.statusCode >= 300) {
|
|
3388
3389
|
return de_CommandError(output, context);
|
|
3389
3390
|
}
|
|
3390
|
-
const data = await
|
|
3391
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3391
3392
|
let contents = {};
|
|
3392
3393
|
contents = de_UpdateScriptOutput(data, context);
|
|
3393
3394
|
const response = {
|
|
@@ -3400,7 +3401,7 @@ var de_ValidateMatchmakingRuleSetCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3400
3401
|
if (output.statusCode >= 300) {
|
|
3401
3402
|
return de_CommandError(output, context);
|
|
3402
3403
|
}
|
|
3403
|
-
const data = await
|
|
3404
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3404
3405
|
let contents = {};
|
|
3405
3406
|
contents = (0, import_smithy_client._json)(data);
|
|
3406
3407
|
const response = {
|
|
@@ -3412,9 +3413,9 @@ var de_ValidateMatchmakingRuleSetCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3412
3413
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3413
3414
|
const parsedOutput = {
|
|
3414
3415
|
...output,
|
|
3415
|
-
body: await
|
|
3416
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
3416
3417
|
};
|
|
3417
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3418
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
3418
3419
|
switch (errorCode) {
|
|
3419
3420
|
case "InternalServiceException":
|
|
3420
3421
|
case "com.amazonaws.gamelift#InternalServiceException":
|
|
@@ -4489,7 +4490,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
4489
4490
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
4490
4491
|
cfId: output.headers["x-amz-cf-id"]
|
|
4491
4492
|
}), "deserializeMetadata");
|
|
4492
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
4493
4493
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(GameLiftServiceException);
|
|
4494
4494
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
4495
4495
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -4516,46 +4516,6 @@ function sharedHeaders(operation) {
|
|
|
4516
4516
|
};
|
|
4517
4517
|
}
|
|
4518
4518
|
__name(sharedHeaders, "sharedHeaders");
|
|
4519
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4520
|
-
if (encoded.length) {
|
|
4521
|
-
return JSON.parse(encoded);
|
|
4522
|
-
}
|
|
4523
|
-
return {};
|
|
4524
|
-
}), "parseBody");
|
|
4525
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
4526
|
-
const value = await parseBody(errorBody, context);
|
|
4527
|
-
value.message = value.message ?? value.Message;
|
|
4528
|
-
return value;
|
|
4529
|
-
}, "parseErrorBody");
|
|
4530
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
4531
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
4532
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
4533
|
-
let cleanValue = rawValue;
|
|
4534
|
-
if (typeof cleanValue === "number") {
|
|
4535
|
-
cleanValue = cleanValue.toString();
|
|
4536
|
-
}
|
|
4537
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
4538
|
-
cleanValue = cleanValue.split(",")[0];
|
|
4539
|
-
}
|
|
4540
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
4541
|
-
cleanValue = cleanValue.split(":")[0];
|
|
4542
|
-
}
|
|
4543
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
4544
|
-
cleanValue = cleanValue.split("#")[1];
|
|
4545
|
-
}
|
|
4546
|
-
return cleanValue;
|
|
4547
|
-
}, "sanitizeErrorCode");
|
|
4548
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
4549
|
-
if (headerKey !== void 0) {
|
|
4550
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
4551
|
-
}
|
|
4552
|
-
if (data.code !== void 0) {
|
|
4553
|
-
return sanitizeErrorCode(data.code);
|
|
4554
|
-
}
|
|
4555
|
-
if (data["__type"] !== void 0) {
|
|
4556
|
-
return sanitizeErrorCode(data["__type"]);
|
|
4557
|
-
}
|
|
4558
|
-
}, "loadRestJsonErrorCode");
|
|
4559
4519
|
|
|
4560
4520
|
// src/commands/AcceptMatchCommand.ts
|
|
4561
4521
|
var _AcceptMatchCommand = class _AcceptMatchCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { GameLiftServiceException as __BaseException } from "../models/GameLiftServiceException";
|
|
@@ -3108,43 +3109,3 @@ function sharedHeaders(operation) {
|
|
|
3108
3109
|
"x-amz-target": `GameLift.${operation}`,
|
|
3109
3110
|
};
|
|
3110
3111
|
}
|
|
3111
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3112
|
-
if (encoded.length) {
|
|
3113
|
-
return JSON.parse(encoded);
|
|
3114
|
-
}
|
|
3115
|
-
return {};
|
|
3116
|
-
});
|
|
3117
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
3118
|
-
const value = await parseBody(errorBody, context);
|
|
3119
|
-
value.message = value.message ?? value.Message;
|
|
3120
|
-
return value;
|
|
3121
|
-
};
|
|
3122
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
3123
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3124
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
3125
|
-
let cleanValue = rawValue;
|
|
3126
|
-
if (typeof cleanValue === "number") {
|
|
3127
|
-
cleanValue = cleanValue.toString();
|
|
3128
|
-
}
|
|
3129
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
3130
|
-
cleanValue = cleanValue.split(",")[0];
|
|
3131
|
-
}
|
|
3132
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
3133
|
-
cleanValue = cleanValue.split(":")[0];
|
|
3134
|
-
}
|
|
3135
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
3136
|
-
cleanValue = cleanValue.split("#")[1];
|
|
3137
|
-
}
|
|
3138
|
-
return cleanValue;
|
|
3139
|
-
};
|
|
3140
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3141
|
-
if (headerKey !== undefined) {
|
|
3142
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3143
|
-
}
|
|
3144
|
-
if (data.code !== undefined) {
|
|
3145
|
-
return sanitizeErrorCode(data.code);
|
|
3146
|
-
}
|
|
3147
|
-
if (data["__type"] !== undefined) {
|
|
3148
|
-
return sanitizeErrorCode(data["__type"]);
|
|
3149
|
-
}
|
|
3150
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-gamelift",
|
|
3
3
|
"description": "AWS SDK for JavaScript Gamelift Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-gamelift",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|