@aws-sdk/client-gameliftstreams 3.928.0 → 3.929.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.
Files changed (48) hide show
  1. package/dist-cjs/index.js +991 -1166
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GameLiftStreamsClient.js +2 -0
  4. package/dist-es/commands/AddStreamGroupLocationsCommand.js +3 -9
  5. package/dist-es/commands/AssociateApplicationsCommand.js +3 -9
  6. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  7. package/dist-es/commands/CreateStreamGroupCommand.js +3 -9
  8. package/dist-es/commands/CreateStreamSessionConnectionCommand.js +3 -10
  9. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  10. package/dist-es/commands/DeleteStreamGroupCommand.js +3 -9
  11. package/dist-es/commands/DisassociateApplicationsCommand.js +3 -9
  12. package/dist-es/commands/ExportStreamSessionFilesCommand.js +3 -9
  13. package/dist-es/commands/GetApplicationCommand.js +3 -9
  14. package/dist-es/commands/GetStreamGroupCommand.js +3 -9
  15. package/dist-es/commands/GetStreamSessionCommand.js +3 -10
  16. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  17. package/dist-es/commands/ListStreamGroupsCommand.js +3 -9
  18. package/dist-es/commands/ListStreamSessionsByAccountCommand.js +3 -9
  19. package/dist-es/commands/ListStreamSessionsCommand.js +3 -9
  20. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  21. package/dist-es/commands/RemoveStreamGroupLocationsCommand.js +3 -9
  22. package/dist-es/commands/StartStreamSessionCommand.js +3 -10
  23. package/dist-es/commands/TagResourceCommand.js +3 -9
  24. package/dist-es/commands/TerminateStreamSessionCommand.js +3 -9
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  27. package/dist-es/commands/UpdateStreamGroupCommand.js +3 -9
  28. package/dist-es/models/models_0.js +0 -23
  29. package/dist-es/runtimeConfig.shared.js +2 -0
  30. package/dist-es/schemas/schemas_0.js +937 -0
  31. package/dist-types/GameLiftStreamsClient.d.ts +10 -1
  32. package/dist-types/models/models_0.d.ts +0 -20
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  34. package/dist-types/runtimeConfig.d.ts +1 -0
  35. package/dist-types/runtimeConfig.native.d.ts +1 -0
  36. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  37. package/dist-types/schemas/schemas_0.d.ts +104 -0
  38. package/dist-types/ts3.4/GameLiftStreamsClient.d.ts +4 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +0 -15
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +110 -0
  45. package/package.json +2 -3
  46. package/dist-es/protocols/Aws_restJson1.js +0 -959
  47. package/dist-types/protocols/Aws_restJson1.d.ts +0 -218
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -293
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -91,6 +89,7 @@ class GameLiftStreamsClient extends smithyClient.Client {
91
89
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
90
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
91
  this.config = _config_8;
92
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
93
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
94
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +109,14 @@ class GameLiftStreamsClient extends smithyClient.Client {
110
109
  }
111
110
  }
112
111
 
113
- class GameLiftStreamsServiceException extends smithyClient.ServiceException {
112
+ let GameLiftStreamsServiceException$1 = class GameLiftStreamsServiceException extends smithyClient.ServiceException {
114
113
  constructor(options) {
115
114
  super(options);
116
115
  Object.setPrototypeOf(this, GameLiftStreamsServiceException.prototype);
117
116
  }
118
- }
117
+ };
119
118
 
120
- class AccessDeniedException extends GameLiftStreamsServiceException {
119
+ let AccessDeniedException$1 = class AccessDeniedException extends GameLiftStreamsServiceException$1 {
121
120
  name = "AccessDeniedException";
122
121
  $fault = "client";
123
122
  Message;
@@ -130,14 +129,14 @@ class AccessDeniedException extends GameLiftStreamsServiceException {
130
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
130
  this.Message = opts.Message;
132
131
  }
133
- }
132
+ };
134
133
  const StreamGroupLocationStatus = {
135
134
  ACTIVATING: "ACTIVATING",
136
135
  ACTIVE: "ACTIVE",
137
136
  ERROR: "ERROR",
138
137
  REMOVING: "REMOVING",
139
138
  };
140
- class InternalServerException extends GameLiftStreamsServiceException {
139
+ let InternalServerException$1 = class InternalServerException extends GameLiftStreamsServiceException$1 {
141
140
  name = "InternalServerException";
142
141
  $fault = "server";
143
142
  $retryable = {};
@@ -151,8 +150,8 @@ class InternalServerException extends GameLiftStreamsServiceException {
151
150
  Object.setPrototypeOf(this, InternalServerException.prototype);
152
151
  this.Message = opts.Message;
153
152
  }
154
- }
155
- class ResourceNotFoundException extends GameLiftStreamsServiceException {
153
+ };
154
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends GameLiftStreamsServiceException$1 {
156
155
  name = "ResourceNotFoundException";
157
156
  $fault = "client";
158
157
  Message;
@@ -165,8 +164,8 @@ class ResourceNotFoundException extends GameLiftStreamsServiceException {
165
164
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
166
165
  this.Message = opts.Message;
167
166
  }
168
- }
169
- class ServiceQuotaExceededException extends GameLiftStreamsServiceException {
167
+ };
168
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends GameLiftStreamsServiceException$1 {
170
169
  name = "ServiceQuotaExceededException";
171
170
  $fault = "client";
172
171
  Message;
@@ -179,8 +178,8 @@ class ServiceQuotaExceededException extends GameLiftStreamsServiceException {
179
178
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
180
179
  this.Message = opts.Message;
181
180
  }
182
- }
183
- class ThrottlingException extends GameLiftStreamsServiceException {
181
+ };
182
+ let ThrottlingException$1 = class ThrottlingException extends GameLiftStreamsServiceException$1 {
184
183
  name = "ThrottlingException";
185
184
  $fault = "client";
186
185
  $retryable = {
@@ -196,8 +195,8 @@ class ThrottlingException extends GameLiftStreamsServiceException {
196
195
  Object.setPrototypeOf(this, ThrottlingException.prototype);
197
196
  this.Message = opts.Message;
198
197
  }
199
- }
200
- class ValidationException extends GameLiftStreamsServiceException {
198
+ };
199
+ let ValidationException$1 = class ValidationException extends GameLiftStreamsServiceException$1 {
201
200
  name = "ValidationException";
202
201
  $fault = "client";
203
202
  Message;
@@ -210,7 +209,7 @@ class ValidationException extends GameLiftStreamsServiceException {
210
209
  Object.setPrototypeOf(this, ValidationException.prototype);
211
210
  this.Message = opts.Message;
212
211
  }
213
- }
212
+ };
214
213
  const ApplicationStatus = {
215
214
  DELETING: "DELETING",
216
215
  ERROR: "ERROR",
@@ -222,7 +221,7 @@ const ApplicationStatusReason = {
222
221
  ACCESS_DENIED: "accessDenied",
223
222
  INTERNAL_ERROR: "internalError",
224
223
  };
225
- class ConflictException extends GameLiftStreamsServiceException {
224
+ let ConflictException$1 = class ConflictException extends GameLiftStreamsServiceException$1 {
226
225
  name = "ConflictException";
227
226
  $fault = "client";
228
227
  Message;
@@ -235,7 +234,7 @@ class ConflictException extends GameLiftStreamsServiceException {
235
234
  Object.setPrototypeOf(this, ConflictException.prototype);
236
235
  this.Message = opts.Message;
237
236
  }
238
- }
237
+ };
239
238
  const RuntimeEnvironmentType = {
240
239
  PROTON: "PROTON",
241
240
  UBUNTU: "UBUNTU",
@@ -296,996 +295,942 @@ const StreamSessionStatusReason = {
296
295
  PLACEMENT_TIMEOUT: "placementTimeout",
297
296
  RECONNECTION_TIMEOUT: "reconnectionTimeout",
298
297
  };
299
- const CreateStreamSessionConnectionInputFilterSensitiveLog = (obj) => ({
300
- ...obj,
301
- ...(obj.SignalRequest && { SignalRequest: smithyClient.SENSITIVE_STRING }),
302
- });
303
- const CreateStreamSessionConnectionOutputFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- ...(obj.SignalResponse && { SignalResponse: smithyClient.SENSITIVE_STRING }),
306
- });
307
- const GetStreamSessionOutputFilterSensitiveLog = (obj) => ({
308
- ...obj,
309
- ...(obj.SignalRequest && { SignalRequest: smithyClient.SENSITIVE_STRING }),
310
- ...(obj.SignalResponse && { SignalResponse: smithyClient.SENSITIVE_STRING }),
311
- });
312
- const StartStreamSessionInputFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- ...(obj.SignalRequest && { SignalRequest: smithyClient.SENSITIVE_STRING }),
315
- });
316
- const StartStreamSessionOutputFilterSensitiveLog = (obj) => ({
317
- ...obj,
318
- ...(obj.SignalRequest && { SignalRequest: smithyClient.SENSITIVE_STRING }),
319
- ...(obj.SignalResponse && { SignalResponse: smithyClient.SENSITIVE_STRING }),
320
- });
321
298
 
322
- const se_AddStreamGroupLocationsCommand = async (input, context) => {
323
- const b = core.requestBuilder(input, context);
324
- const headers = {
325
- "content-type": "application/json",
326
- };
327
- b.bp("/streamgroups/{Identifier}/locations");
328
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
329
- let body;
330
- body = JSON.stringify(smithyClient.take(input, {
331
- LocationConfigurations: (_) => smithyClient._json(_),
332
- }));
333
- b.m("POST").h(headers).b(body);
334
- return b.build();
335
- };
336
- const se_AssociateApplicationsCommand = async (input, context) => {
337
- const b = core.requestBuilder(input, context);
338
- const headers = {
339
- "content-type": "application/json",
340
- };
341
- b.bp("/streamgroups/{Identifier}/associations");
342
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
343
- let body;
344
- body = JSON.stringify(smithyClient.take(input, {
345
- ApplicationIdentifiers: (_) => smithyClient._json(_),
346
- }));
347
- b.m("POST").h(headers).b(body);
348
- return b.build();
349
- };
350
- const se_CreateApplicationCommand = async (input, context) => {
351
- const b = core.requestBuilder(input, context);
352
- const headers = {
353
- "content-type": "application/json",
354
- };
355
- b.bp("/applications");
356
- let body;
357
- body = JSON.stringify(smithyClient.take(input, {
358
- ApplicationLogOutputUri: [],
359
- ApplicationLogPaths: (_) => smithyClient._json(_),
360
- ApplicationSourceUri: [],
361
- ClientToken: [true, (_) => _ ?? uuid.v4()],
362
- Description: [],
363
- ExecutablePath: [],
364
- RuntimeEnvironment: (_) => smithyClient._json(_),
365
- Tags: (_) => smithyClient._json(_),
366
- }));
367
- b.m("POST").h(headers).b(body);
368
- return b.build();
369
- };
370
- const se_CreateStreamGroupCommand = async (input, context) => {
371
- const b = core.requestBuilder(input, context);
372
- const headers = {
373
- "content-type": "application/json",
374
- };
375
- b.bp("/streamgroups");
376
- let body;
377
- body = JSON.stringify(smithyClient.take(input, {
378
- ClientToken: [true, (_) => _ ?? uuid.v4()],
379
- DefaultApplicationIdentifier: [],
380
- Description: [],
381
- LocationConfigurations: (_) => smithyClient._json(_),
382
- StreamClass: [],
383
- Tags: (_) => smithyClient._json(_),
384
- }));
385
- b.m("POST").h(headers).b(body);
386
- return b.build();
387
- };
388
- const se_CreateStreamSessionConnectionCommand = async (input, context) => {
389
- const b = core.requestBuilder(input, context);
390
- const headers = {
391
- "content-type": "application/json",
392
- };
393
- b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections");
394
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
395
- b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
396
- let body;
397
- body = JSON.stringify(smithyClient.take(input, {
398
- ClientToken: [true, (_) => _ ?? uuid.v4()],
399
- SignalRequest: [],
400
- }));
401
- b.m("POST").h(headers).b(body);
402
- return b.build();
403
- };
404
- const se_DeleteApplicationCommand = async (input, context) => {
405
- const b = core.requestBuilder(input, context);
406
- const headers = {};
407
- b.bp("/applications/{Identifier}");
408
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
409
- let body;
410
- b.m("DELETE").h(headers).b(body);
411
- return b.build();
412
- };
413
- const se_DeleteStreamGroupCommand = async (input, context) => {
414
- const b = core.requestBuilder(input, context);
415
- const headers = {};
416
- b.bp("/streamgroups/{Identifier}");
417
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
418
- let body;
419
- b.m("DELETE").h(headers).b(body);
420
- return b.build();
421
- };
422
- const se_DisassociateApplicationsCommand = async (input, context) => {
423
- const b = core.requestBuilder(input, context);
424
- const headers = {
425
- "content-type": "application/json",
426
- };
427
- b.bp("/streamgroups/{Identifier}/disassociations");
428
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
429
- let body;
430
- body = JSON.stringify(smithyClient.take(input, {
431
- ApplicationIdentifiers: (_) => smithyClient._json(_),
432
- }));
433
- b.m("POST").h(headers).b(body);
434
- return b.build();
435
- };
436
- const se_ExportStreamSessionFilesCommand = async (input, context) => {
437
- const b = core.requestBuilder(input, context);
438
- const headers = {
439
- "content-type": "application/json",
440
- };
441
- b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/exportfiles");
442
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
443
- b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
444
- let body;
445
- body = JSON.stringify(smithyClient.take(input, {
446
- OutputUri: [],
447
- }));
448
- b.m("PUT").h(headers).b(body);
449
- return b.build();
450
- };
451
- const se_GetApplicationCommand = async (input, context) => {
452
- const b = core.requestBuilder(input, context);
453
- const headers = {};
454
- b.bp("/applications/{Identifier}");
455
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
456
- let body;
457
- b.m("GET").h(headers).b(body);
458
- return b.build();
459
- };
460
- const se_GetStreamGroupCommand = async (input, context) => {
461
- const b = core.requestBuilder(input, context);
462
- const headers = {};
463
- b.bp("/streamgroups/{Identifier}");
464
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
465
- let body;
466
- b.m("GET").h(headers).b(body);
467
- return b.build();
468
- };
469
- const se_GetStreamSessionCommand = async (input, context) => {
470
- const b = core.requestBuilder(input, context);
471
- const headers = {};
472
- b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}");
473
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
474
- b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
475
- let body;
476
- b.m("GET").h(headers).b(body);
477
- return b.build();
478
- };
479
- const se_ListApplicationsCommand = async (input, context) => {
480
- const b = core.requestBuilder(input, context);
481
- const headers = {};
482
- b.bp("/applications");
483
- const query = smithyClient.map({
484
- [_NT]: [, input[_NT]],
485
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
486
- });
487
- let body;
488
- b.m("GET").h(headers).q(query).b(body);
489
- return b.build();
490
- };
491
- const se_ListStreamGroupsCommand = async (input, context) => {
492
- const b = core.requestBuilder(input, context);
493
- const headers = {};
494
- b.bp("/streamgroups");
495
- const query = smithyClient.map({
496
- [_NT]: [, input[_NT]],
497
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
498
- });
499
- let body;
500
- b.m("GET").h(headers).q(query).b(body);
501
- return b.build();
502
- };
503
- const se_ListStreamSessionsCommand = async (input, context) => {
504
- const b = core.requestBuilder(input, context);
505
- const headers = {};
506
- b.bp("/streamgroups/{Identifier}/streamsessions");
507
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
508
- const query = smithyClient.map({
509
- [_S]: [, input[_S]],
510
- [_EFS]: [, input[_EFS]],
511
- [_NT]: [, input[_NT]],
512
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
513
- });
514
- let body;
515
- b.m("GET").h(headers).q(query).b(body);
516
- return b.build();
517
- };
518
- const se_ListStreamSessionsByAccountCommand = async (input, context) => {
519
- const b = core.requestBuilder(input, context);
520
- const headers = {};
521
- b.bp("/streamsessions");
522
- const query = smithyClient.map({
523
- [_S]: [, input[_S]],
524
- [_EFS]: [, input[_EFS]],
525
- [_NT]: [, input[_NT]],
526
- [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
527
- });
528
- let body;
529
- b.m("GET").h(headers).q(query).b(body);
530
- return b.build();
531
- };
532
- const se_ListTagsForResourceCommand = async (input, context) => {
533
- const b = core.requestBuilder(input, context);
534
- const headers = {};
535
- b.bp("/tags/{ResourceArn}");
536
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
537
- let body;
538
- b.m("GET").h(headers).b(body);
539
- return b.build();
540
- };
541
- const se_RemoveStreamGroupLocationsCommand = async (input, context) => {
542
- const b = core.requestBuilder(input, context);
543
- const headers = {};
544
- b.bp("/streamgroups/{Identifier}/locations");
545
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
546
- const query = smithyClient.map({
547
- [_l]: [smithyClient.expectNonNull(input.Locations, `Locations`) != null, () => input[_L] || []],
548
- });
549
- let body;
550
- b.m("DELETE").h(headers).q(query).b(body);
551
- return b.build();
552
- };
553
- const se_StartStreamSessionCommand = async (input, context) => {
554
- const b = core.requestBuilder(input, context);
555
- const headers = {
556
- "content-type": "application/json",
557
- };
558
- b.bp("/streamgroups/{Identifier}/streamsessions");
559
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
560
- let body;
561
- body = JSON.stringify(smithyClient.take(input, {
562
- AdditionalEnvironmentVariables: (_) => smithyClient._json(_),
563
- AdditionalLaunchArgs: (_) => smithyClient._json(_),
564
- ApplicationIdentifier: [],
565
- ClientToken: [true, (_) => _ ?? uuid.v4()],
566
- ConnectionTimeoutSeconds: [],
567
- Description: [],
568
- Locations: (_) => smithyClient._json(_),
569
- Protocol: [],
570
- SessionLengthSeconds: [],
571
- SignalRequest: [],
572
- UserId: [],
573
- }));
574
- b.m("POST").h(headers).b(body);
575
- return b.build();
576
- };
577
- const se_TagResourceCommand = async (input, context) => {
578
- const b = core.requestBuilder(input, context);
579
- const headers = {
580
- "content-type": "application/json",
581
- };
582
- b.bp("/tags/{ResourceArn}");
583
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
584
- let body;
585
- body = JSON.stringify(smithyClient.take(input, {
586
- Tags: (_) => smithyClient._json(_),
587
- }));
588
- b.m("POST").h(headers).b(body);
589
- return b.build();
590
- };
591
- const se_TerminateStreamSessionCommand = async (input, context) => {
592
- const b = core.requestBuilder(input, context);
593
- const headers = {};
594
- b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}");
595
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
596
- b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
597
- let body;
598
- b.m("DELETE").h(headers).b(body);
599
- return b.build();
600
- };
601
- const se_UntagResourceCommand = async (input, context) => {
602
- const b = core.requestBuilder(input, context);
603
- const headers = {};
604
- b.bp("/tags/{ResourceArn}");
605
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
606
- const query = smithyClient.map({
607
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
608
- });
609
- let body;
610
- b.m("DELETE").h(headers).q(query).b(body);
611
- return b.build();
612
- };
613
- const se_UpdateApplicationCommand = async (input, context) => {
614
- const b = core.requestBuilder(input, context);
615
- const headers = {
616
- "content-type": "application/json",
617
- };
618
- b.bp("/applications/{Identifier}");
619
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
620
- let body;
621
- body = JSON.stringify(smithyClient.take(input, {
622
- ApplicationLogOutputUri: [],
623
- ApplicationLogPaths: (_) => smithyClient._json(_),
624
- Description: [],
625
- }));
626
- b.m("PATCH").h(headers).b(body);
627
- return b.build();
628
- };
629
- const se_UpdateStreamGroupCommand = async (input, context) => {
630
- const b = core.requestBuilder(input, context);
631
- const headers = {
632
- "content-type": "application/json",
633
- };
634
- b.bp("/streamgroups/{Identifier}");
635
- b.p("Identifier", () => input.Identifier, "{Identifier}", false);
636
- let body;
637
- body = JSON.stringify(smithyClient.take(input, {
638
- DefaultApplicationIdentifier: [],
639
- Description: [],
640
- LocationConfigurations: (_) => smithyClient._json(_),
641
- }));
642
- b.m("PATCH").h(headers).b(body);
643
- return b.build();
644
- };
645
- const de_AddStreamGroupLocationsCommand = async (output, context) => {
646
- if (output.statusCode !== 200 && output.statusCode >= 300) {
647
- return de_CommandError(output, context);
648
- }
649
- const contents = smithyClient.map({
650
- $metadata: deserializeMetadata(output),
651
- });
652
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
653
- const doc = smithyClient.take(data, {
654
- Identifier: smithyClient.expectString,
655
- Locations: smithyClient._json,
656
- });
657
- Object.assign(contents, doc);
658
- return contents;
659
- };
660
- const de_AssociateApplicationsCommand = async (output, context) => {
661
- if (output.statusCode !== 200 && output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const contents = smithyClient.map({
665
- $metadata: deserializeMetadata(output),
666
- });
667
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
668
- const doc = smithyClient.take(data, {
669
- ApplicationArns: smithyClient._json,
670
- Arn: smithyClient.expectString,
671
- });
672
- Object.assign(contents, doc);
673
- return contents;
674
- };
675
- const de_CreateApplicationCommand = async (output, context) => {
676
- if (output.statusCode !== 201 && output.statusCode >= 300) {
677
- return de_CommandError(output, context);
678
- }
679
- const contents = smithyClient.map({
680
- $metadata: deserializeMetadata(output),
681
- });
682
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
683
- const doc = smithyClient.take(data, {
684
- ApplicationLogOutputUri: smithyClient.expectString,
685
- ApplicationLogPaths: smithyClient._json,
686
- ApplicationSourceUri: smithyClient.expectString,
687
- Arn: smithyClient.expectString,
688
- AssociatedStreamGroups: smithyClient._json,
689
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
690
- Description: smithyClient.expectString,
691
- ExecutablePath: smithyClient.expectString,
692
- Id: smithyClient.expectString,
693
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
694
- ReplicationStatuses: smithyClient._json,
695
- RuntimeEnvironment: smithyClient._json,
696
- Status: smithyClient.expectString,
697
- StatusReason: smithyClient.expectString,
698
- });
699
- Object.assign(contents, doc);
700
- return contents;
701
- };
702
- const de_CreateStreamGroupCommand = async (output, context) => {
703
- if (output.statusCode !== 201 && output.statusCode >= 300) {
704
- return de_CommandError(output, context);
705
- }
706
- const contents = smithyClient.map({
707
- $metadata: deserializeMetadata(output),
708
- });
709
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
710
- const doc = smithyClient.take(data, {
711
- Arn: smithyClient.expectString,
712
- AssociatedApplications: smithyClient._json,
713
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
714
- DefaultApplication: smithyClient._json,
715
- Description: smithyClient.expectString,
716
- ExpiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
717
- Id: smithyClient.expectString,
718
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
719
- LocationStates: smithyClient._json,
720
- Status: smithyClient.expectString,
721
- StatusReason: smithyClient.expectString,
722
- StreamClass: smithyClient.expectString,
723
- });
724
- Object.assign(contents, doc);
725
- return contents;
726
- };
727
- const de_CreateStreamSessionConnectionCommand = async (output, context) => {
728
- if (output.statusCode !== 200 && output.statusCode >= 300) {
729
- return de_CommandError(output, context);
730
- }
731
- const contents = smithyClient.map({
732
- $metadata: deserializeMetadata(output),
733
- });
734
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
735
- const doc = smithyClient.take(data, {
736
- SignalResponse: smithyClient.expectString,
737
- });
738
- Object.assign(contents, doc);
739
- return contents;
740
- };
741
- const de_DeleteApplicationCommand = async (output, context) => {
742
- if (output.statusCode !== 204 && output.statusCode >= 300) {
743
- return de_CommandError(output, context);
744
- }
745
- const contents = smithyClient.map({
746
- $metadata: deserializeMetadata(output),
747
- });
748
- await smithyClient.collectBody(output.body, context);
749
- return contents;
750
- };
751
- const de_DeleteStreamGroupCommand = async (output, context) => {
752
- if (output.statusCode !== 204 && output.statusCode >= 300) {
753
- return de_CommandError(output, context);
754
- }
755
- const contents = smithyClient.map({
756
- $metadata: deserializeMetadata(output),
757
- });
758
- await smithyClient.collectBody(output.body, context);
759
- return contents;
760
- };
761
- const de_DisassociateApplicationsCommand = async (output, context) => {
762
- if (output.statusCode !== 200 && output.statusCode >= 300) {
763
- return de_CommandError(output, context);
764
- }
765
- const contents = smithyClient.map({
766
- $metadata: deserializeMetadata(output),
767
- });
768
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
769
- const doc = smithyClient.take(data, {
770
- ApplicationArns: smithyClient._json,
771
- Arn: smithyClient.expectString,
772
- });
773
- Object.assign(contents, doc);
774
- return contents;
775
- };
776
- const de_ExportStreamSessionFilesCommand = async (output, context) => {
777
- if (output.statusCode !== 200 && output.statusCode >= 300) {
778
- return de_CommandError(output, context);
779
- }
780
- const contents = smithyClient.map({
781
- $metadata: deserializeMetadata(output),
782
- });
783
- await smithyClient.collectBody(output.body, context);
784
- return contents;
785
- };
786
- const de_GetApplicationCommand = async (output, context) => {
787
- if (output.statusCode !== 200 && output.statusCode >= 300) {
788
- return de_CommandError(output, context);
789
- }
790
- const contents = smithyClient.map({
791
- $metadata: deserializeMetadata(output),
792
- });
793
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
794
- const doc = smithyClient.take(data, {
795
- ApplicationLogOutputUri: smithyClient.expectString,
796
- ApplicationLogPaths: smithyClient._json,
797
- ApplicationSourceUri: smithyClient.expectString,
798
- Arn: smithyClient.expectString,
799
- AssociatedStreamGroups: smithyClient._json,
800
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
801
- Description: smithyClient.expectString,
802
- ExecutablePath: smithyClient.expectString,
803
- Id: smithyClient.expectString,
804
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
805
- ReplicationStatuses: smithyClient._json,
806
- RuntimeEnvironment: smithyClient._json,
807
- Status: smithyClient.expectString,
808
- StatusReason: smithyClient.expectString,
809
- });
810
- Object.assign(contents, doc);
811
- return contents;
812
- };
813
- const de_GetStreamGroupCommand = async (output, context) => {
814
- if (output.statusCode !== 200 && output.statusCode >= 300) {
815
- return de_CommandError(output, context);
816
- }
817
- const contents = smithyClient.map({
818
- $metadata: deserializeMetadata(output),
819
- });
820
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
821
- const doc = smithyClient.take(data, {
822
- Arn: smithyClient.expectString,
823
- AssociatedApplications: smithyClient._json,
824
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
825
- DefaultApplication: smithyClient._json,
826
- Description: smithyClient.expectString,
827
- ExpiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
828
- Id: smithyClient.expectString,
829
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
830
- LocationStates: smithyClient._json,
831
- Status: smithyClient.expectString,
832
- StatusReason: smithyClient.expectString,
833
- StreamClass: smithyClient.expectString,
834
- });
835
- Object.assign(contents, doc);
836
- return contents;
837
- };
838
- const de_GetStreamSessionCommand = async (output, context) => {
839
- if (output.statusCode !== 200 && output.statusCode >= 300) {
840
- return de_CommandError(output, context);
841
- }
842
- const contents = smithyClient.map({
843
- $metadata: deserializeMetadata(output),
844
- });
845
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
846
- const doc = smithyClient.take(data, {
847
- AdditionalEnvironmentVariables: smithyClient._json,
848
- AdditionalLaunchArgs: smithyClient._json,
849
- ApplicationArn: smithyClient.expectString,
850
- Arn: smithyClient.expectString,
851
- ConnectionTimeoutSeconds: smithyClient.expectInt32,
852
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
853
- Description: smithyClient.expectString,
854
- ExportFilesMetadata: smithyClient._json,
855
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
856
- Location: smithyClient.expectString,
857
- LogFileLocationUri: smithyClient.expectString,
858
- Protocol: smithyClient.expectString,
859
- SessionLengthSeconds: smithyClient.expectInt32,
860
- SignalRequest: smithyClient.expectString,
861
- SignalResponse: smithyClient.expectString,
862
- Status: smithyClient.expectString,
863
- StatusReason: smithyClient.expectString,
864
- StreamGroupId: smithyClient.expectString,
865
- UserId: smithyClient.expectString,
866
- WebSdkProtocolUrl: smithyClient.expectString,
867
- });
868
- Object.assign(contents, doc);
869
- return contents;
870
- };
871
- const de_ListApplicationsCommand = async (output, context) => {
872
- if (output.statusCode !== 200 && output.statusCode >= 300) {
873
- return de_CommandError(output, context);
874
- }
875
- const contents = smithyClient.map({
876
- $metadata: deserializeMetadata(output),
877
- });
878
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
879
- const doc = smithyClient.take(data, {
880
- Items: (_) => de_ApplicationSummaryList(_),
881
- NextToken: smithyClient.expectString,
882
- });
883
- Object.assign(contents, doc);
884
- return contents;
885
- };
886
- const de_ListStreamGroupsCommand = async (output, context) => {
887
- if (output.statusCode !== 200 && output.statusCode >= 300) {
888
- return de_CommandError(output, context);
889
- }
890
- const contents = smithyClient.map({
891
- $metadata: deserializeMetadata(output),
892
- });
893
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
894
- const doc = smithyClient.take(data, {
895
- Items: (_) => de_StreamGroupSummaryList(_),
896
- NextToken: smithyClient.expectString,
897
- });
898
- Object.assign(contents, doc);
899
- return contents;
900
- };
901
- const de_ListStreamSessionsCommand = async (output, context) => {
902
- if (output.statusCode !== 200 && output.statusCode >= 300) {
903
- return de_CommandError(output, context);
904
- }
905
- const contents = smithyClient.map({
906
- $metadata: deserializeMetadata(output),
907
- });
908
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
909
- const doc = smithyClient.take(data, {
910
- Items: (_) => de_StreamSessionSummaryList(_),
911
- NextToken: smithyClient.expectString,
912
- });
913
- Object.assign(contents, doc);
914
- return contents;
915
- };
916
- const de_ListStreamSessionsByAccountCommand = async (output, context) => {
917
- if (output.statusCode !== 200 && output.statusCode >= 300) {
918
- return de_CommandError(output, context);
919
- }
920
- const contents = smithyClient.map({
921
- $metadata: deserializeMetadata(output),
922
- });
923
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
924
- const doc = smithyClient.take(data, {
925
- Items: (_) => de_StreamSessionSummaryList(_),
926
- NextToken: smithyClient.expectString,
927
- });
928
- Object.assign(contents, doc);
929
- return contents;
930
- };
931
- const de_ListTagsForResourceCommand = async (output, context) => {
932
- if (output.statusCode !== 200 && output.statusCode >= 300) {
933
- return de_CommandError(output, context);
934
- }
935
- const contents = smithyClient.map({
936
- $metadata: deserializeMetadata(output),
937
- });
938
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
939
- const doc = smithyClient.take(data, {
940
- Tags: smithyClient._json,
941
- });
942
- Object.assign(contents, doc);
943
- return contents;
944
- };
945
- const de_RemoveStreamGroupLocationsCommand = async (output, context) => {
946
- if (output.statusCode !== 204 && output.statusCode >= 300) {
947
- return de_CommandError(output, context);
948
- }
949
- const contents = smithyClient.map({
950
- $metadata: deserializeMetadata(output),
951
- });
952
- await smithyClient.collectBody(output.body, context);
953
- return contents;
954
- };
955
- const de_StartStreamSessionCommand = async (output, context) => {
956
- if (output.statusCode !== 201 && output.statusCode >= 300) {
957
- return de_CommandError(output, context);
958
- }
959
- const contents = smithyClient.map({
960
- $metadata: deserializeMetadata(output),
961
- });
962
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
963
- const doc = smithyClient.take(data, {
964
- AdditionalEnvironmentVariables: smithyClient._json,
965
- AdditionalLaunchArgs: smithyClient._json,
966
- ApplicationArn: smithyClient.expectString,
967
- Arn: smithyClient.expectString,
968
- ConnectionTimeoutSeconds: smithyClient.expectInt32,
969
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
970
- Description: smithyClient.expectString,
971
- ExportFilesMetadata: smithyClient._json,
972
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
973
- Location: smithyClient.expectString,
974
- LogFileLocationUri: smithyClient.expectString,
975
- Protocol: smithyClient.expectString,
976
- SessionLengthSeconds: smithyClient.expectInt32,
977
- SignalRequest: smithyClient.expectString,
978
- SignalResponse: smithyClient.expectString,
979
- Status: smithyClient.expectString,
980
- StatusReason: smithyClient.expectString,
981
- StreamGroupId: smithyClient.expectString,
982
- UserId: smithyClient.expectString,
983
- WebSdkProtocolUrl: smithyClient.expectString,
984
- });
985
- Object.assign(contents, doc);
986
- return contents;
987
- };
988
- const de_TagResourceCommand = async (output, context) => {
989
- if (output.statusCode !== 200 && output.statusCode >= 300) {
990
- return de_CommandError(output, context);
991
- }
992
- const contents = smithyClient.map({
993
- $metadata: deserializeMetadata(output),
994
- });
995
- await smithyClient.collectBody(output.body, context);
996
- return contents;
997
- };
998
- const de_TerminateStreamSessionCommand = async (output, context) => {
999
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1000
- return de_CommandError(output, context);
1001
- }
1002
- const contents = smithyClient.map({
1003
- $metadata: deserializeMetadata(output),
1004
- });
1005
- await smithyClient.collectBody(output.body, context);
1006
- return contents;
1007
- };
1008
- const de_UntagResourceCommand = async (output, context) => {
1009
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1010
- return de_CommandError(output, context);
1011
- }
1012
- const contents = smithyClient.map({
1013
- $metadata: deserializeMetadata(output),
1014
- });
1015
- await smithyClient.collectBody(output.body, context);
1016
- return contents;
1017
- };
1018
- const de_UpdateApplicationCommand = async (output, context) => {
1019
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1020
- return de_CommandError(output, context);
1021
- }
1022
- const contents = smithyClient.map({
1023
- $metadata: deserializeMetadata(output),
1024
- });
1025
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1026
- const doc = smithyClient.take(data, {
1027
- ApplicationLogOutputUri: smithyClient.expectString,
1028
- ApplicationLogPaths: smithyClient._json,
1029
- ApplicationSourceUri: smithyClient.expectString,
1030
- Arn: smithyClient.expectString,
1031
- AssociatedStreamGroups: smithyClient._json,
1032
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1033
- Description: smithyClient.expectString,
1034
- ExecutablePath: smithyClient.expectString,
1035
- Id: smithyClient.expectString,
1036
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1037
- ReplicationStatuses: smithyClient._json,
1038
- RuntimeEnvironment: smithyClient._json,
1039
- Status: smithyClient.expectString,
1040
- StatusReason: smithyClient.expectString,
1041
- });
1042
- Object.assign(contents, doc);
1043
- return contents;
1044
- };
1045
- const de_UpdateStreamGroupCommand = async (output, context) => {
1046
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1047
- return de_CommandError(output, context);
1048
- }
1049
- const contents = smithyClient.map({
1050
- $metadata: deserializeMetadata(output),
1051
- });
1052
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1053
- const doc = smithyClient.take(data, {
1054
- Arn: smithyClient.expectString,
1055
- AssociatedApplications: smithyClient._json,
1056
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1057
- DefaultApplication: smithyClient._json,
1058
- Description: smithyClient.expectString,
1059
- ExpiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1060
- Id: smithyClient.expectString,
1061
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1062
- LocationStates: smithyClient._json,
1063
- Status: smithyClient.expectString,
1064
- StatusReason: smithyClient.expectString,
1065
- StreamClass: smithyClient.expectString,
1066
- });
1067
- Object.assign(contents, doc);
1068
- return contents;
1069
- };
1070
- const de_CommandError = async (output, context) => {
1071
- const parsedOutput = {
1072
- ...output,
1073
- body: await core$1.parseJsonErrorBody(output.body, context),
1074
- };
1075
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1076
- switch (errorCode) {
1077
- case "AccessDeniedException":
1078
- case "com.amazonaws.gameliftstreams#AccessDeniedException":
1079
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1080
- case "InternalServerException":
1081
- case "com.amazonaws.gameliftstreams#InternalServerException":
1082
- throw await de_InternalServerExceptionRes(parsedOutput);
1083
- case "ResourceNotFoundException":
1084
- case "com.amazonaws.gameliftstreams#ResourceNotFoundException":
1085
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1086
- case "ServiceQuotaExceededException":
1087
- case "com.amazonaws.gameliftstreams#ServiceQuotaExceededException":
1088
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1089
- case "ThrottlingException":
1090
- case "com.amazonaws.gameliftstreams#ThrottlingException":
1091
- throw await de_ThrottlingExceptionRes(parsedOutput);
1092
- case "ValidationException":
1093
- case "com.amazonaws.gameliftstreams#ValidationException":
1094
- throw await de_ValidationExceptionRes(parsedOutput);
1095
- case "ConflictException":
1096
- case "com.amazonaws.gameliftstreams#ConflictException":
1097
- throw await de_ConflictExceptionRes(parsedOutput);
1098
- default:
1099
- const parsedBody = parsedOutput.body;
1100
- return throwDefaultError({
1101
- output,
1102
- parsedBody,
1103
- errorCode,
1104
- });
1105
- }
1106
- };
1107
- const throwDefaultError = smithyClient.withBaseException(GameLiftStreamsServiceException);
1108
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1109
- const contents = smithyClient.map({});
1110
- const data = parsedOutput.body;
1111
- const doc = smithyClient.take(data, {
1112
- Message: smithyClient.expectString,
1113
- });
1114
- Object.assign(contents, doc);
1115
- const exception = new AccessDeniedException({
1116
- $metadata: deserializeMetadata(parsedOutput),
1117
- ...contents,
1118
- });
1119
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1120
- };
1121
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1122
- const contents = smithyClient.map({});
1123
- const data = parsedOutput.body;
1124
- const doc = smithyClient.take(data, {
1125
- Message: smithyClient.expectString,
1126
- });
1127
- Object.assign(contents, doc);
1128
- const exception = new ConflictException({
1129
- $metadata: deserializeMetadata(parsedOutput),
1130
- ...contents,
1131
- });
1132
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1133
- };
1134
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1135
- const contents = smithyClient.map({});
1136
- const data = parsedOutput.body;
1137
- const doc = smithyClient.take(data, {
1138
- Message: smithyClient.expectString,
1139
- });
1140
- Object.assign(contents, doc);
1141
- const exception = new InternalServerException({
1142
- $metadata: deserializeMetadata(parsedOutput),
1143
- ...contents,
1144
- });
1145
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1146
- };
1147
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1148
- const contents = smithyClient.map({});
1149
- const data = parsedOutput.body;
1150
- const doc = smithyClient.take(data, {
1151
- Message: smithyClient.expectString,
1152
- });
1153
- Object.assign(contents, doc);
1154
- const exception = new ResourceNotFoundException({
1155
- $metadata: deserializeMetadata(parsedOutput),
1156
- ...contents,
1157
- });
1158
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1159
- };
1160
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1161
- const contents = smithyClient.map({});
1162
- const data = parsedOutput.body;
1163
- const doc = smithyClient.take(data, {
1164
- Message: smithyClient.expectString,
1165
- });
1166
- Object.assign(contents, doc);
1167
- const exception = new ServiceQuotaExceededException({
1168
- $metadata: deserializeMetadata(parsedOutput),
1169
- ...contents,
1170
- });
1171
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1172
- };
1173
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1174
- const contents = smithyClient.map({});
1175
- const data = parsedOutput.body;
1176
- const doc = smithyClient.take(data, {
1177
- Message: smithyClient.expectString,
1178
- });
1179
- Object.assign(contents, doc);
1180
- const exception = new ThrottlingException({
1181
- $metadata: deserializeMetadata(parsedOutput),
1182
- ...contents,
1183
- });
1184
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1185
- };
1186
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1187
- const contents = smithyClient.map({});
1188
- const data = parsedOutput.body;
1189
- const doc = smithyClient.take(data, {
1190
- Message: smithyClient.expectString,
1191
- });
1192
- Object.assign(contents, doc);
1193
- const exception = new ValidationException({
1194
- $metadata: deserializeMetadata(parsedOutput),
1195
- ...contents,
1196
- });
1197
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1198
- };
1199
- const de_ApplicationSummary = (output, context) => {
1200
- return smithyClient.take(output, {
1201
- Arn: smithyClient.expectString,
1202
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1203
- Description: smithyClient.expectString,
1204
- Id: smithyClient.expectString,
1205
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1206
- RuntimeEnvironment: smithyClient._json,
1207
- Status: smithyClient.expectString,
1208
- });
1209
- };
1210
- const de_ApplicationSummaryList = (output, context) => {
1211
- const retVal = (output || [])
1212
- .filter((e) => e != null)
1213
- .map((entry) => {
1214
- return de_ApplicationSummary(entry);
1215
- });
1216
- return retVal;
1217
- };
1218
- const de_StreamGroupSummary = (output, context) => {
1219
- return smithyClient.take(output, {
1220
- Arn: smithyClient.expectString,
1221
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1222
- DefaultApplication: smithyClient._json,
1223
- Description: smithyClient.expectString,
1224
- ExpiresAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1225
- Id: smithyClient.expectString,
1226
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1227
- Status: smithyClient.expectString,
1228
- StreamClass: smithyClient.expectString,
1229
- });
1230
- };
1231
- const de_StreamGroupSummaryList = (output, context) => {
1232
- const retVal = (output || [])
1233
- .filter((e) => e != null)
1234
- .map((entry) => {
1235
- return de_StreamGroupSummary(entry);
1236
- });
1237
- return retVal;
1238
- };
1239
- const de_StreamSessionSummary = (output, context) => {
1240
- return smithyClient.take(output, {
1241
- ApplicationArn: smithyClient.expectString,
1242
- Arn: smithyClient.expectString,
1243
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1244
- ExportFilesMetadata: smithyClient._json,
1245
- LastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1246
- Location: smithyClient.expectString,
1247
- Protocol: smithyClient.expectString,
1248
- Status: smithyClient.expectString,
1249
- UserId: smithyClient.expectString,
1250
- });
1251
- };
1252
- const de_StreamSessionSummaryList = (output, context) => {
1253
- const retVal = (output || [])
1254
- .filter((e) => e != null)
1255
- .map((entry) => {
1256
- return de_StreamSessionSummary(entry);
1257
- });
1258
- return retVal;
1259
- };
1260
- const deserializeMetadata = (output) => ({
1261
- httpStatusCode: output.statusCode,
1262
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1263
- extendedRequestId: output.headers["x-amz-id-2"],
1264
- cfId: output.headers["x-amz-cf-id"],
1265
- });
299
+ const _A = "Arn";
300
+ const _AA = "ApplicationArns";
301
+ const _AAI = "AssociateApplicationsInput";
302
+ const _AAO = "AssociateApplicationsOutput";
303
+ const _AAp = "ApplicationArn";
304
+ const _AAs = "AssociatedApplications";
305
+ const _AAss = "AssociateApplications";
306
+ const _AC = "AllocatedCapacity";
307
+ const _ADE = "AccessDeniedException";
308
+ const _AEV = "AdditionalEnvironmentVariables";
309
+ const _AI = "ApplicationIdentifiers";
310
+ const _AIp = "ApplicationIdentifier";
311
+ const _ALA = "AdditionalLaunchArgs";
312
+ const _ALOU = "ApplicationLogOutputUri";
313
+ const _ALP = "ApplicationLogPaths";
314
+ const _AOC = "AlwaysOnCapacity";
315
+ const _AS = "ApplicationSummary";
316
+ const _ASG = "AssociatedStreamGroups";
317
+ const _ASGL = "AddStreamGroupLocations";
318
+ const _ASGLI = "AddStreamGroupLocationsInput";
319
+ const _ASGLO = "AddStreamGroupLocationsOutput";
320
+ const _ASL = "ApplicationSummaryList";
321
+ const _ASU = "ApplicationSourceUri";
322
+ const _CA = "CreatedAt";
323
+ const _CAI = "CreateApplicationInput";
324
+ const _CAO = "CreateApplicationOutput";
325
+ const _CAr = "CreateApplication";
326
+ const _CE = "ConflictException";
327
+ const _CSG = "CreateStreamGroup";
328
+ const _CSGI = "CreateStreamGroupInput";
329
+ const _CSGO = "CreateStreamGroupOutput";
330
+ const _CSSC = "CreateStreamSessionConnection";
331
+ const _CSSCI = "CreateStreamSessionConnectionInput";
332
+ const _CSSCO = "CreateStreamSessionConnectionOutput";
333
+ const _CT = "ClientToken";
334
+ const _CTS = "ConnectionTimeoutSeconds";
335
+ const _D = "Description";
336
+ const _DA = "DefaultApplication";
337
+ const _DAI = "DefaultApplicationIdentifier";
338
+ const _DAIe = "DeleteApplicationInput";
339
+ const _DAIi = "DisassociateApplicationsInput";
340
+ const _DAO = "DisassociateApplicationsOutput";
341
+ const _DAe = "DeleteApplication";
342
+ const _DAi = "DisassociateApplications";
343
+ const _DSG = "DeleteStreamGroup";
344
+ const _DSGI = "DeleteStreamGroupInput";
345
+ const _EA = "ExpiresAt";
346
+ const _EFM = "ExportFilesMetadata";
1266
347
  const _EFS = "ExportFilesStatus";
348
+ const _EP = "ExecutablePath";
349
+ const _ESSF = "ExportStreamSessionFiles";
350
+ const _ESSFI = "ExportStreamSessionFilesInput";
351
+ const _ESSFO = "ExportStreamSessionFilesOutput";
352
+ const _GA = "GetApplication";
353
+ const _GAI = "GetApplicationInput";
354
+ const _GAO = "GetApplicationOutput";
355
+ const _GSG = "GetStreamGroup";
356
+ const _GSGI = "GetStreamGroupInput";
357
+ const _GSGO = "GetStreamGroupOutput";
358
+ const _GSS = "GetStreamSession";
359
+ const _GSSI = "GetStreamSessionInput";
360
+ const _GSSO = "GetStreamSessionOutput";
361
+ const _I = "Identifier";
362
+ const _IC = "IdleCapacity";
363
+ const _ISE = "InternalServerException";
364
+ const _Id = "Id";
365
+ const _It = "Items";
1267
366
  const _L = "Locations";
367
+ const _LA = "ListApplications";
368
+ const _LAI = "ListApplicationsInput";
369
+ const _LAO = "ListApplicationsOutput";
370
+ const _LC = "LocationConfigurations";
371
+ const _LCo = "LocationConfiguration";
372
+ const _LFLU = "LogFileLocationUri";
373
+ const _LN = "LocationName";
374
+ const _LS = "LocationStates";
375
+ const _LSG = "ListStreamGroups";
376
+ const _LSGI = "ListStreamGroupsInput";
377
+ const _LSGO = "ListStreamGroupsOutput";
378
+ const _LSS = "ListStreamSessions";
379
+ const _LSSBA = "ListStreamSessionsByAccount";
380
+ const _LSSBAI = "ListStreamSessionsByAccountInput";
381
+ const _LSSBAO = "ListStreamSessionsByAccountOutput";
382
+ const _LSSI = "ListStreamSessionsInput";
383
+ const _LSSO = "ListStreamSessionsOutput";
384
+ const _LSo = "LocationState";
385
+ const _LTFR = "ListTagsForResource";
386
+ const _LTFRR = "ListTagsForResourceRequest";
387
+ const _LTFRRi = "ListTagsForResourceResponse";
388
+ const _LUA = "LastUpdatedAt";
389
+ const _Lo = "Location";
390
+ const _M = "Message";
1268
391
  const _MR = "MaxResults";
1269
392
  const _NT = "NextToken";
393
+ const _ODC = "OnDemandCapacity";
394
+ const _OU = "OutputUri";
395
+ const _P = "Protocol";
396
+ const _RA = "ResourceArn";
397
+ const _RC = "RequestedCapacity";
398
+ const _RE = "RuntimeEnvironment";
399
+ const _RNFE = "ResourceNotFoundException";
400
+ const _RS = "ReplicationStatuses";
401
+ const _RSGL = "RemoveStreamGroupLocations";
402
+ const _RSGLI = "RemoveStreamGroupLocationsInput";
403
+ const _RSe = "ReplicationStatus";
1270
404
  const _S = "Status";
405
+ const _SC = "StreamClass";
406
+ const _SGI = "StreamGroupId";
407
+ const _SGS = "StreamGroupSummary";
408
+ const _SGSL = "StreamGroupSummaryList";
409
+ const _SLS = "SessionLengthSeconds";
410
+ const _SQEE = "ServiceQuotaExceededException";
411
+ const _SR = "SignalRequest";
412
+ const _SRi = "SignalResponse";
413
+ const _SRt = "StatusReason";
414
+ const _SSI = "StreamSessionIdentifier";
415
+ const _SSS = "StreamSessionSummary";
416
+ const _SSSI = "StartStreamSessionInput";
417
+ const _SSSL = "StreamSessionSummaryList";
418
+ const _SSSO = "StartStreamSessionOutput";
419
+ const _SSSt = "StartStreamSession";
420
+ const _T = "Tags";
421
+ const _TE = "ThrottlingException";
1271
422
  const _TK = "TagKeys";
423
+ const _TR = "TagResource";
424
+ const _TRR = "TagResourceRequest";
425
+ const _TRRa = "TagResourceResponse";
426
+ const _TSS = "TerminateStreamSession";
427
+ const _TSSI = "TerminateStreamSessionInput";
428
+ const _Ty = "Type";
429
+ const _UA = "UpdateApplication";
430
+ const _UAI = "UpdateApplicationInput";
431
+ const _UAO = "UpdateApplicationOutput";
432
+ const _UI = "UserId";
433
+ const _UR = "UntagResource";
434
+ const _URR = "UntagResourceRequest";
435
+ const _URRn = "UntagResourceResponse";
436
+ const _USG = "UpdateStreamGroup";
437
+ const _USGI = "UpdateStreamGroupInput";
438
+ const _USGO = "UpdateStreamGroupOutput";
439
+ const _V = "Version";
440
+ const _VE = "ValidationException";
441
+ const _WSPU = "WebSdkProtocolUrl";
442
+ const _c = "client";
443
+ const _e = "error";
444
+ const _h = "http";
445
+ const _hE = "httpError";
446
+ const _hQ = "httpQuery";
1272
447
  const _l = "locations";
448
+ const _s = "server";
449
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.gameliftstreams";
1273
450
  const _tK = "tagKeys";
451
+ const n0 = "com.amazonaws.gameliftstreams";
452
+ var SignalRequest = [0, n0, _SR, 8, 0];
453
+ var SignalResponse = [0, n0, _SRi, 8, 0];
454
+ var AccessDeniedException = [
455
+ -3,
456
+ n0,
457
+ _ADE,
458
+ {
459
+ [_e]: _c,
460
+ [_hE]: 403,
461
+ },
462
+ [_M],
463
+ [0],
464
+ ];
465
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
466
+ var AddStreamGroupLocationsInput = [
467
+ 3,
468
+ n0,
469
+ _ASGLI,
470
+ 0,
471
+ [_I, _LC],
472
+ [[0, 1], () => LocationConfigurations],
473
+ ];
474
+ var AddStreamGroupLocationsOutput = [
475
+ 3,
476
+ n0,
477
+ _ASGLO,
478
+ 0,
479
+ [_I, _L],
480
+ [0, () => LocationStates],
481
+ ];
482
+ var ApplicationSummary = [
483
+ 3,
484
+ n0,
485
+ _AS,
486
+ 0,
487
+ [_A, _Id, _D, _S, _CA, _LUA, _RE],
488
+ [0, 0, 0, 0, 4, 4, () => RuntimeEnvironment],
489
+ ];
490
+ var AssociateApplicationsInput = [3, n0, _AAI, 0, [_I, _AI], [[0, 1], 64 | 0]];
491
+ var AssociateApplicationsOutput = [3, n0, _AAO, 0, [_A, _AA], [0, 64 | 0]];
492
+ var ConflictException = [
493
+ -3,
494
+ n0,
495
+ _CE,
496
+ {
497
+ [_e]: _c,
498
+ [_hE]: 409,
499
+ },
500
+ [_M],
501
+ [0],
502
+ ];
503
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
504
+ var CreateApplicationInput = [
505
+ 3,
506
+ n0,
507
+ _CAI,
508
+ 0,
509
+ [_D, _RE, _EP, _ASU, _ALP, _ALOU, _T, _CT],
510
+ [0, () => RuntimeEnvironment, 0, 0, 64 | 0, 0, 128 | 0, [0, 4]],
511
+ ];
512
+ var CreateApplicationOutput = [
513
+ 3,
514
+ n0,
515
+ _CAO,
516
+ 0,
517
+ [_A, _D, _RE, _EP, _ALP, _ALOU, _ASU, _Id, _S, _SRt, _RS, _CA, _LUA, _ASG],
518
+ [0, 0, () => RuntimeEnvironment, 0, 64 | 0, 0, 0, 0, 0, 0, () => ReplicationStatuses, 4, 4, 64 | 0],
519
+ ];
520
+ var CreateStreamGroupInput = [
521
+ 3,
522
+ n0,
523
+ _CSGI,
524
+ 0,
525
+ [_D, _SC, _DAI, _LC, _T, _CT],
526
+ [0, 0, 0, () => LocationConfigurations, 128 | 0, [0, 4]],
527
+ ];
528
+ var CreateStreamGroupOutput = [
529
+ 3,
530
+ n0,
531
+ _CSGO,
532
+ 0,
533
+ [_A, _D, _DA, _LS, _SC, _Id, _S, _SRt, _LUA, _CA, _EA, _AAs],
534
+ [0, 0, () => DefaultApplication, () => LocationStates, 0, 0, 0, 0, 4, 4, 4, 64 | 0],
535
+ ];
536
+ var CreateStreamSessionConnectionInput = [
537
+ 3,
538
+ n0,
539
+ _CSSCI,
540
+ 0,
541
+ [_CT, _I, _SSI, _SR],
542
+ [
543
+ [0, 4],
544
+ [0, 1],
545
+ [0, 1],
546
+ [() => SignalRequest, 0],
547
+ ],
548
+ ];
549
+ var CreateStreamSessionConnectionOutput = [
550
+ 3,
551
+ n0,
552
+ _CSSCO,
553
+ 0,
554
+ [_SRi],
555
+ [[() => SignalResponse, 0]],
556
+ ];
557
+ var DefaultApplication = [3, n0, _DA, 0, [_Id, _A], [0, 0]];
558
+ var DeleteApplicationInput = [3, n0, _DAIe, 0, [_I], [[0, 1]]];
559
+ var DeleteStreamGroupInput = [3, n0, _DSGI, 0, [_I], [[0, 1]]];
560
+ var DisassociateApplicationsInput = [3, n0, _DAIi, 0, [_I, _AI], [[0, 1], 64 | 0]];
561
+ var DisassociateApplicationsOutput = [3, n0, _DAO, 0, [_A, _AA], [0, 64 | 0]];
562
+ var ExportFilesMetadata = [3, n0, _EFM, 0, [_S, _SRt, _OU], [0, 0, 0]];
563
+ var ExportStreamSessionFilesInput = [
564
+ 3,
565
+ n0,
566
+ _ESSFI,
567
+ 0,
568
+ [_I, _SSI, _OU],
569
+ [[0, 1], [0, 1], 0],
570
+ ];
571
+ var ExportStreamSessionFilesOutput = [3, n0, _ESSFO, 0, [], []];
572
+ var GetApplicationInput = [3, n0, _GAI, 0, [_I], [[0, 1]]];
573
+ var GetApplicationOutput = [
574
+ 3,
575
+ n0,
576
+ _GAO,
577
+ 0,
578
+ [_A, _D, _RE, _EP, _ALP, _ALOU, _ASU, _Id, _S, _SRt, _RS, _CA, _LUA, _ASG],
579
+ [0, 0, () => RuntimeEnvironment, 0, 64 | 0, 0, 0, 0, 0, 0, () => ReplicationStatuses, 4, 4, 64 | 0],
580
+ ];
581
+ var GetStreamGroupInput = [3, n0, _GSGI, 0, [_I], [[0, 1]]];
582
+ var GetStreamGroupOutput = [
583
+ 3,
584
+ n0,
585
+ _GSGO,
586
+ 0,
587
+ [_A, _D, _DA, _LS, _SC, _Id, _S, _SRt, _LUA, _CA, _EA, _AAs],
588
+ [0, 0, () => DefaultApplication, () => LocationStates, 0, 0, 0, 0, 4, 4, 4, 64 | 0],
589
+ ];
590
+ var GetStreamSessionInput = [
591
+ 3,
592
+ n0,
593
+ _GSSI,
594
+ 0,
595
+ [_I, _SSI],
596
+ [
597
+ [0, 1],
598
+ [0, 1],
599
+ ],
600
+ ];
601
+ var GetStreamSessionOutput = [
602
+ 3,
603
+ n0,
604
+ _GSSO,
605
+ 0,
606
+ [_A, _D, _SGI, _UI, _S, _SRt, _P, _Lo, _SR, _SRi, _CTS, _SLS, _ALA, _AEV, _LFLU, _WSPU, _LUA, _CA, _AAp, _EFM],
607
+ [
608
+ 0,
609
+ 0,
610
+ 0,
611
+ 0,
612
+ 0,
613
+ 0,
614
+ 0,
615
+ 0,
616
+ [() => SignalRequest, 0],
617
+ [() => SignalResponse, 0],
618
+ 1,
619
+ 1,
620
+ 64 | 0,
621
+ 128 | 0,
622
+ 0,
623
+ 0,
624
+ 4,
625
+ 4,
626
+ 0,
627
+ () => ExportFilesMetadata,
628
+ ],
629
+ ];
630
+ var InternalServerException = [
631
+ -3,
632
+ n0,
633
+ _ISE,
634
+ {
635
+ [_e]: _s,
636
+ [_hE]: 500,
637
+ },
638
+ [_M],
639
+ [0],
640
+ ];
641
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
642
+ var ListApplicationsInput = [
643
+ 3,
644
+ n0,
645
+ _LAI,
646
+ 0,
647
+ [_NT, _MR],
648
+ [
649
+ [
650
+ 0,
651
+ {
652
+ [_hQ]: _NT,
653
+ },
654
+ ],
655
+ [
656
+ 1,
657
+ {
658
+ [_hQ]: _MR,
659
+ },
660
+ ],
661
+ ],
662
+ ];
663
+ var ListApplicationsOutput = [
664
+ 3,
665
+ n0,
666
+ _LAO,
667
+ 0,
668
+ [_It, _NT],
669
+ [() => ApplicationSummaryList, 0],
670
+ ];
671
+ var ListStreamGroupsInput = [
672
+ 3,
673
+ n0,
674
+ _LSGI,
675
+ 0,
676
+ [_NT, _MR],
677
+ [
678
+ [
679
+ 0,
680
+ {
681
+ [_hQ]: _NT,
682
+ },
683
+ ],
684
+ [
685
+ 1,
686
+ {
687
+ [_hQ]: _MR,
688
+ },
689
+ ],
690
+ ],
691
+ ];
692
+ var ListStreamGroupsOutput = [
693
+ 3,
694
+ n0,
695
+ _LSGO,
696
+ 0,
697
+ [_It, _NT],
698
+ [() => StreamGroupSummaryList, 0],
699
+ ];
700
+ var ListStreamSessionsByAccountInput = [
701
+ 3,
702
+ n0,
703
+ _LSSBAI,
704
+ 0,
705
+ [_S, _EFS, _NT, _MR],
706
+ [
707
+ [
708
+ 0,
709
+ {
710
+ [_hQ]: _S,
711
+ },
712
+ ],
713
+ [
714
+ 0,
715
+ {
716
+ [_hQ]: _EFS,
717
+ },
718
+ ],
719
+ [
720
+ 0,
721
+ {
722
+ [_hQ]: _NT,
723
+ },
724
+ ],
725
+ [
726
+ 1,
727
+ {
728
+ [_hQ]: _MR,
729
+ },
730
+ ],
731
+ ],
732
+ ];
733
+ var ListStreamSessionsByAccountOutput = [
734
+ 3,
735
+ n0,
736
+ _LSSBAO,
737
+ 0,
738
+ [_It, _NT],
739
+ [() => StreamSessionSummaryList, 0],
740
+ ];
741
+ var ListStreamSessionsInput = [
742
+ 3,
743
+ n0,
744
+ _LSSI,
745
+ 0,
746
+ [_S, _EFS, _NT, _MR, _I],
747
+ [
748
+ [
749
+ 0,
750
+ {
751
+ [_hQ]: _S,
752
+ },
753
+ ],
754
+ [
755
+ 0,
756
+ {
757
+ [_hQ]: _EFS,
758
+ },
759
+ ],
760
+ [
761
+ 0,
762
+ {
763
+ [_hQ]: _NT,
764
+ },
765
+ ],
766
+ [
767
+ 1,
768
+ {
769
+ [_hQ]: _MR,
770
+ },
771
+ ],
772
+ [0, 1],
773
+ ],
774
+ ];
775
+ var ListStreamSessionsOutput = [
776
+ 3,
777
+ n0,
778
+ _LSSO,
779
+ 0,
780
+ [_It, _NT],
781
+ [() => StreamSessionSummaryList, 0],
782
+ ];
783
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
784
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [128 | 0]];
785
+ var LocationConfiguration = [3, n0, _LCo, 0, [_LN, _AOC, _ODC], [0, 1, 1]];
786
+ var LocationState = [
787
+ 3,
788
+ n0,
789
+ _LSo,
790
+ 0,
791
+ [_LN, _S, _AOC, _ODC, _RC, _AC, _IC],
792
+ [0, 0, 1, 1, 1, 1, 1],
793
+ ];
794
+ var RemoveStreamGroupLocationsInput = [
795
+ 3,
796
+ n0,
797
+ _RSGLI,
798
+ 0,
799
+ [_I, _L],
800
+ [
801
+ [0, 1],
802
+ [
803
+ 64 | 0,
804
+ {
805
+ [_hQ]: _l,
806
+ },
807
+ ],
808
+ ],
809
+ ];
810
+ var ReplicationStatus = [3, n0, _RSe, 0, [_Lo, _S], [0, 0]];
811
+ var ResourceNotFoundException = [
812
+ -3,
813
+ n0,
814
+ _RNFE,
815
+ {
816
+ [_e]: _c,
817
+ [_hE]: 404,
818
+ },
819
+ [_M],
820
+ [0],
821
+ ];
822
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
823
+ var RuntimeEnvironment = [3, n0, _RE, 0, [_Ty, _V], [0, 0]];
824
+ var ServiceQuotaExceededException = [
825
+ -3,
826
+ n0,
827
+ _SQEE,
828
+ {
829
+ [_e]: _c,
830
+ [_hE]: 402,
831
+ },
832
+ [_M],
833
+ [0],
834
+ ];
835
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
836
+ var StartStreamSessionInput = [
837
+ 3,
838
+ n0,
839
+ _SSSI,
840
+ 0,
841
+ [_CT, _D, _I, _P, _SR, _AIp, _UI, _L, _CTS, _SLS, _ALA, _AEV],
842
+ [[0, 4], 0, [0, 1], 0, [() => SignalRequest, 0], 0, 0, 64 | 0, 1, 1, 64 | 0, 128 | 0],
843
+ ];
844
+ var StartStreamSessionOutput = [
845
+ 3,
846
+ n0,
847
+ _SSSO,
848
+ 0,
849
+ [_A, _D, _SGI, _UI, _S, _SRt, _P, _Lo, _SR, _SRi, _CTS, _SLS, _ALA, _AEV, _LFLU, _WSPU, _LUA, _CA, _AAp, _EFM],
850
+ [
851
+ 0,
852
+ 0,
853
+ 0,
854
+ 0,
855
+ 0,
856
+ 0,
857
+ 0,
858
+ 0,
859
+ [() => SignalRequest, 0],
860
+ [() => SignalResponse, 0],
861
+ 1,
862
+ 1,
863
+ 64 | 0,
864
+ 128 | 0,
865
+ 0,
866
+ 0,
867
+ 4,
868
+ 4,
869
+ 0,
870
+ () => ExportFilesMetadata,
871
+ ],
872
+ ];
873
+ var StreamGroupSummary = [
874
+ 3,
875
+ n0,
876
+ _SGS,
877
+ 0,
878
+ [_A, _Id, _D, _DA, _SC, _S, _CA, _LUA, _EA],
879
+ [0, 0, 0, () => DefaultApplication, 0, 0, 4, 4, 4],
880
+ ];
881
+ var StreamSessionSummary = [
882
+ 3,
883
+ n0,
884
+ _SSS,
885
+ 0,
886
+ [_A, _UI, _S, _P, _LUA, _CA, _AAp, _EFM, _Lo],
887
+ [0, 0, 0, 0, 4, 4, 0, () => ExportFilesMetadata, 0],
888
+ ];
889
+ var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _T], [[0, 1], 128 | 0]];
890
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
891
+ var TerminateStreamSessionInput = [
892
+ 3,
893
+ n0,
894
+ _TSSI,
895
+ 0,
896
+ [_I, _SSI],
897
+ [
898
+ [0, 1],
899
+ [0, 1],
900
+ ],
901
+ ];
902
+ var ThrottlingException = [
903
+ -3,
904
+ n0,
905
+ _TE,
906
+ {
907
+ [_e]: _c,
908
+ [_hE]: 429,
909
+ },
910
+ [_M],
911
+ [0],
912
+ ];
913
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
914
+ var UntagResourceRequest = [
915
+ 3,
916
+ n0,
917
+ _URR,
918
+ 0,
919
+ [_RA, _TK],
920
+ [
921
+ [0, 1],
922
+ [
923
+ 64 | 0,
924
+ {
925
+ [_hQ]: _tK,
926
+ },
927
+ ],
928
+ ],
929
+ ];
930
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
931
+ var UpdateApplicationInput = [
932
+ 3,
933
+ n0,
934
+ _UAI,
935
+ 0,
936
+ [_I, _D, _ALP, _ALOU],
937
+ [[0, 1], 0, 64 | 0, 0],
938
+ ];
939
+ var UpdateApplicationOutput = [
940
+ 3,
941
+ n0,
942
+ _UAO,
943
+ 0,
944
+ [_A, _D, _RE, _EP, _ALP, _ALOU, _ASU, _Id, _S, _SRt, _RS, _CA, _LUA, _ASG],
945
+ [0, 0, () => RuntimeEnvironment, 0, 64 | 0, 0, 0, 0, 0, 0, () => ReplicationStatuses, 4, 4, 64 | 0],
946
+ ];
947
+ var UpdateStreamGroupInput = [
948
+ 3,
949
+ n0,
950
+ _USGI,
951
+ 0,
952
+ [_I, _LC, _D, _DAI],
953
+ [[0, 1], () => LocationConfigurations, 0, 0],
954
+ ];
955
+ var UpdateStreamGroupOutput = [
956
+ 3,
957
+ n0,
958
+ _USGO,
959
+ 0,
960
+ [_A, _D, _DA, _LS, _SC, _Id, _S, _SRt, _LUA, _CA, _EA, _AAs],
961
+ [0, 0, () => DefaultApplication, () => LocationStates, 0, 0, 0, 0, 4, 4, 4, 64 | 0],
962
+ ];
963
+ var ValidationException = [
964
+ -3,
965
+ n0,
966
+ _VE,
967
+ {
968
+ [_e]: _c,
969
+ [_hE]: 400,
970
+ },
971
+ [_M],
972
+ [0],
973
+ ];
974
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
975
+ var __Unit = "unit";
976
+ var GameLiftStreamsServiceException = [-3, _sm, "GameLiftStreamsServiceException", 0, [], []];
977
+ schema.TypeRegistry.for(_sm).registerError(GameLiftStreamsServiceException, GameLiftStreamsServiceException$1);
978
+ var ApplicationSummaryList = [1, n0, _ASL, 0, () => ApplicationSummary];
979
+ var LocationConfigurations = [1, n0, _LC, 0, () => LocationConfiguration];
980
+ var LocationStates = [1, n0, _LS, 0, () => LocationState];
981
+ var ReplicationStatuses = [1, n0, _RS, 0, () => ReplicationStatus];
982
+ var StreamGroupSummaryList = [1, n0, _SGSL, 0, () => StreamGroupSummary];
983
+ var StreamSessionSummaryList = [1, n0, _SSSL, 0, () => StreamSessionSummary];
984
+ var AddStreamGroupLocations = [
985
+ 9,
986
+ n0,
987
+ _ASGL,
988
+ {
989
+ [_h]: ["POST", "/streamgroups/{Identifier}/locations", 200],
990
+ },
991
+ () => AddStreamGroupLocationsInput,
992
+ () => AddStreamGroupLocationsOutput,
993
+ ];
994
+ var AssociateApplications = [
995
+ 9,
996
+ n0,
997
+ _AAss,
998
+ {
999
+ [_h]: ["POST", "/streamgroups/{Identifier}/associations", 200],
1000
+ },
1001
+ () => AssociateApplicationsInput,
1002
+ () => AssociateApplicationsOutput,
1003
+ ];
1004
+ var CreateApplication = [
1005
+ 9,
1006
+ n0,
1007
+ _CAr,
1008
+ {
1009
+ [_h]: ["POST", "/applications", 201],
1010
+ },
1011
+ () => CreateApplicationInput,
1012
+ () => CreateApplicationOutput,
1013
+ ];
1014
+ var CreateStreamGroup = [
1015
+ 9,
1016
+ n0,
1017
+ _CSG,
1018
+ {
1019
+ [_h]: ["POST", "/streamgroups", 201],
1020
+ },
1021
+ () => CreateStreamGroupInput,
1022
+ () => CreateStreamGroupOutput,
1023
+ ];
1024
+ var CreateStreamSessionConnection = [
1025
+ 9,
1026
+ n0,
1027
+ _CSSC,
1028
+ {
1029
+ [_h]: ["POST", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections", 200],
1030
+ },
1031
+ () => CreateStreamSessionConnectionInput,
1032
+ () => CreateStreamSessionConnectionOutput,
1033
+ ];
1034
+ var DeleteApplication = [
1035
+ 9,
1036
+ n0,
1037
+ _DAe,
1038
+ {
1039
+ [_h]: ["DELETE", "/applications/{Identifier}", 204],
1040
+ },
1041
+ () => DeleteApplicationInput,
1042
+ () => __Unit,
1043
+ ];
1044
+ var DeleteStreamGroup = [
1045
+ 9,
1046
+ n0,
1047
+ _DSG,
1048
+ {
1049
+ [_h]: ["DELETE", "/streamgroups/{Identifier}", 204],
1050
+ },
1051
+ () => DeleteStreamGroupInput,
1052
+ () => __Unit,
1053
+ ];
1054
+ var DisassociateApplications = [
1055
+ 9,
1056
+ n0,
1057
+ _DAi,
1058
+ {
1059
+ [_h]: ["POST", "/streamgroups/{Identifier}/disassociations", 200],
1060
+ },
1061
+ () => DisassociateApplicationsInput,
1062
+ () => DisassociateApplicationsOutput,
1063
+ ];
1064
+ var ExportStreamSessionFiles = [
1065
+ 9,
1066
+ n0,
1067
+ _ESSF,
1068
+ {
1069
+ [_h]: ["PUT", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/exportfiles", 200],
1070
+ },
1071
+ () => ExportStreamSessionFilesInput,
1072
+ () => ExportStreamSessionFilesOutput,
1073
+ ];
1074
+ var GetApplication = [
1075
+ 9,
1076
+ n0,
1077
+ _GA,
1078
+ {
1079
+ [_h]: ["GET", "/applications/{Identifier}", 200],
1080
+ },
1081
+ () => GetApplicationInput,
1082
+ () => GetApplicationOutput,
1083
+ ];
1084
+ var GetStreamGroup = [
1085
+ 9,
1086
+ n0,
1087
+ _GSG,
1088
+ {
1089
+ [_h]: ["GET", "/streamgroups/{Identifier}", 200],
1090
+ },
1091
+ () => GetStreamGroupInput,
1092
+ () => GetStreamGroupOutput,
1093
+ ];
1094
+ var GetStreamSession = [
1095
+ 9,
1096
+ n0,
1097
+ _GSS,
1098
+ {
1099
+ [_h]: ["GET", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}", 200],
1100
+ },
1101
+ () => GetStreamSessionInput,
1102
+ () => GetStreamSessionOutput,
1103
+ ];
1104
+ var ListApplications = [
1105
+ 9,
1106
+ n0,
1107
+ _LA,
1108
+ {
1109
+ [_h]: ["GET", "/applications", 200],
1110
+ },
1111
+ () => ListApplicationsInput,
1112
+ () => ListApplicationsOutput,
1113
+ ];
1114
+ var ListStreamGroups = [
1115
+ 9,
1116
+ n0,
1117
+ _LSG,
1118
+ {
1119
+ [_h]: ["GET", "/streamgroups", 200],
1120
+ },
1121
+ () => ListStreamGroupsInput,
1122
+ () => ListStreamGroupsOutput,
1123
+ ];
1124
+ var ListStreamSessions = [
1125
+ 9,
1126
+ n0,
1127
+ _LSS,
1128
+ {
1129
+ [_h]: ["GET", "/streamgroups/{Identifier}/streamsessions", 200],
1130
+ },
1131
+ () => ListStreamSessionsInput,
1132
+ () => ListStreamSessionsOutput,
1133
+ ];
1134
+ var ListStreamSessionsByAccount = [
1135
+ 9,
1136
+ n0,
1137
+ _LSSBA,
1138
+ {
1139
+ [_h]: ["GET", "/streamsessions", 200],
1140
+ },
1141
+ () => ListStreamSessionsByAccountInput,
1142
+ () => ListStreamSessionsByAccountOutput,
1143
+ ];
1144
+ var ListTagsForResource = [
1145
+ 9,
1146
+ n0,
1147
+ _LTFR,
1148
+ {
1149
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
1150
+ },
1151
+ () => ListTagsForResourceRequest,
1152
+ () => ListTagsForResourceResponse,
1153
+ ];
1154
+ var RemoveStreamGroupLocations = [
1155
+ 9,
1156
+ n0,
1157
+ _RSGL,
1158
+ {
1159
+ [_h]: ["DELETE", "/streamgroups/{Identifier}/locations", 204],
1160
+ },
1161
+ () => RemoveStreamGroupLocationsInput,
1162
+ () => __Unit,
1163
+ ];
1164
+ var StartStreamSession = [
1165
+ 9,
1166
+ n0,
1167
+ _SSSt,
1168
+ {
1169
+ [_h]: ["POST", "/streamgroups/{Identifier}/streamsessions", 201],
1170
+ },
1171
+ () => StartStreamSessionInput,
1172
+ () => StartStreamSessionOutput,
1173
+ ];
1174
+ var TagResource = [
1175
+ 9,
1176
+ n0,
1177
+ _TR,
1178
+ {
1179
+ [_h]: ["POST", "/tags/{ResourceArn}", 200],
1180
+ },
1181
+ () => TagResourceRequest,
1182
+ () => TagResourceResponse,
1183
+ ];
1184
+ var TerminateStreamSession = [
1185
+ 9,
1186
+ n0,
1187
+ _TSS,
1188
+ {
1189
+ [_h]: ["DELETE", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}", 204],
1190
+ },
1191
+ () => TerminateStreamSessionInput,
1192
+ () => __Unit,
1193
+ ];
1194
+ var UntagResource = [
1195
+ 9,
1196
+ n0,
1197
+ _UR,
1198
+ {
1199
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 200],
1200
+ },
1201
+ () => UntagResourceRequest,
1202
+ () => UntagResourceResponse,
1203
+ ];
1204
+ var UpdateApplication = [
1205
+ 9,
1206
+ n0,
1207
+ _UA,
1208
+ {
1209
+ [_h]: ["PATCH", "/applications/{Identifier}", 200],
1210
+ },
1211
+ () => UpdateApplicationInput,
1212
+ () => UpdateApplicationOutput,
1213
+ ];
1214
+ var UpdateStreamGroup = [
1215
+ 9,
1216
+ n0,
1217
+ _USG,
1218
+ {
1219
+ [_h]: ["PATCH", "/streamgroups/{Identifier}", 200],
1220
+ },
1221
+ () => UpdateStreamGroupInput,
1222
+ () => UpdateStreamGroupOutput,
1223
+ ];
1274
1224
 
1275
1225
  class AddStreamGroupLocationsCommand extends smithyClient.Command
1276
1226
  .classBuilder()
1277
1227
  .ep(commonParams)
1278
1228
  .m(function (Command, cs, config, o) {
1279
- return [
1280
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1281
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1282
- ];
1229
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1283
1230
  })
1284
1231
  .s("GameLiftStreams", "AddStreamGroupLocations", {})
1285
1232
  .n("GameLiftStreamsClient", "AddStreamGroupLocationsCommand")
1286
- .f(void 0, void 0)
1287
- .ser(se_AddStreamGroupLocationsCommand)
1288
- .de(de_AddStreamGroupLocationsCommand)
1233
+ .sc(AddStreamGroupLocations)
1289
1234
  .build() {
1290
1235
  }
1291
1236
 
@@ -1293,16 +1238,11 @@ class AssociateApplicationsCommand extends smithyClient.Command
1293
1238
  .classBuilder()
1294
1239
  .ep(commonParams)
1295
1240
  .m(function (Command, cs, config, o) {
1296
- return [
1297
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1298
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1299
- ];
1241
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1300
1242
  })
1301
1243
  .s("GameLiftStreams", "AssociateApplications", {})
1302
1244
  .n("GameLiftStreamsClient", "AssociateApplicationsCommand")
1303
- .f(void 0, void 0)
1304
- .ser(se_AssociateApplicationsCommand)
1305
- .de(de_AssociateApplicationsCommand)
1245
+ .sc(AssociateApplications)
1306
1246
  .build() {
1307
1247
  }
1308
1248
 
@@ -1310,16 +1250,11 @@ class CreateApplicationCommand extends smithyClient.Command
1310
1250
  .classBuilder()
1311
1251
  .ep(commonParams)
1312
1252
  .m(function (Command, cs, config, o) {
1313
- return [
1314
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1315
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1316
- ];
1253
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1317
1254
  })
1318
1255
  .s("GameLiftStreams", "CreateApplication", {})
1319
1256
  .n("GameLiftStreamsClient", "CreateApplicationCommand")
1320
- .f(void 0, void 0)
1321
- .ser(se_CreateApplicationCommand)
1322
- .de(de_CreateApplicationCommand)
1257
+ .sc(CreateApplication)
1323
1258
  .build() {
1324
1259
  }
1325
1260
 
@@ -1327,16 +1262,11 @@ class CreateStreamGroupCommand extends smithyClient.Command
1327
1262
  .classBuilder()
1328
1263
  .ep(commonParams)
1329
1264
  .m(function (Command, cs, config, o) {
1330
- return [
1331
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1332
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1333
- ];
1265
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
1266
  })
1335
1267
  .s("GameLiftStreams", "CreateStreamGroup", {})
1336
1268
  .n("GameLiftStreamsClient", "CreateStreamGroupCommand")
1337
- .f(void 0, void 0)
1338
- .ser(se_CreateStreamGroupCommand)
1339
- .de(de_CreateStreamGroupCommand)
1269
+ .sc(CreateStreamGroup)
1340
1270
  .build() {
1341
1271
  }
1342
1272
 
@@ -1344,16 +1274,11 @@ class CreateStreamSessionConnectionCommand extends smithyClient.Command
1344
1274
  .classBuilder()
1345
1275
  .ep(commonParams)
1346
1276
  .m(function (Command, cs, config, o) {
1347
- return [
1348
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1349
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1350
- ];
1277
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1351
1278
  })
1352
1279
  .s("GameLiftStreams", "CreateStreamSessionConnection", {})
1353
1280
  .n("GameLiftStreamsClient", "CreateStreamSessionConnectionCommand")
1354
- .f(CreateStreamSessionConnectionInputFilterSensitiveLog, CreateStreamSessionConnectionOutputFilterSensitiveLog)
1355
- .ser(se_CreateStreamSessionConnectionCommand)
1356
- .de(de_CreateStreamSessionConnectionCommand)
1281
+ .sc(CreateStreamSessionConnection)
1357
1282
  .build() {
1358
1283
  }
1359
1284
 
@@ -1361,16 +1286,11 @@ class DeleteApplicationCommand extends smithyClient.Command
1361
1286
  .classBuilder()
1362
1287
  .ep(commonParams)
1363
1288
  .m(function (Command, cs, config, o) {
1364
- return [
1365
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1366
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1367
- ];
1289
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1368
1290
  })
1369
1291
  .s("GameLiftStreams", "DeleteApplication", {})
1370
1292
  .n("GameLiftStreamsClient", "DeleteApplicationCommand")
1371
- .f(void 0, void 0)
1372
- .ser(se_DeleteApplicationCommand)
1373
- .de(de_DeleteApplicationCommand)
1293
+ .sc(DeleteApplication)
1374
1294
  .build() {
1375
1295
  }
1376
1296
 
@@ -1378,16 +1298,11 @@ class DeleteStreamGroupCommand extends smithyClient.Command
1378
1298
  .classBuilder()
1379
1299
  .ep(commonParams)
1380
1300
  .m(function (Command, cs, config, o) {
1381
- return [
1382
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1383
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1384
- ];
1301
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1385
1302
  })
1386
1303
  .s("GameLiftStreams", "DeleteStreamGroup", {})
1387
1304
  .n("GameLiftStreamsClient", "DeleteStreamGroupCommand")
1388
- .f(void 0, void 0)
1389
- .ser(se_DeleteStreamGroupCommand)
1390
- .de(de_DeleteStreamGroupCommand)
1305
+ .sc(DeleteStreamGroup)
1391
1306
  .build() {
1392
1307
  }
1393
1308
 
@@ -1395,16 +1310,11 @@ class DisassociateApplicationsCommand extends smithyClient.Command
1395
1310
  .classBuilder()
1396
1311
  .ep(commonParams)
1397
1312
  .m(function (Command, cs, config, o) {
1398
- return [
1399
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1400
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1401
- ];
1313
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1402
1314
  })
1403
1315
  .s("GameLiftStreams", "DisassociateApplications", {})
1404
1316
  .n("GameLiftStreamsClient", "DisassociateApplicationsCommand")
1405
- .f(void 0, void 0)
1406
- .ser(se_DisassociateApplicationsCommand)
1407
- .de(de_DisassociateApplicationsCommand)
1317
+ .sc(DisassociateApplications)
1408
1318
  .build() {
1409
1319
  }
1410
1320
 
@@ -1412,16 +1322,11 @@ class ExportStreamSessionFilesCommand extends smithyClient.Command
1412
1322
  .classBuilder()
1413
1323
  .ep(commonParams)
1414
1324
  .m(function (Command, cs, config, o) {
1415
- return [
1416
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1417
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1418
- ];
1325
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1419
1326
  })
1420
1327
  .s("GameLiftStreams", "ExportStreamSessionFiles", {})
1421
1328
  .n("GameLiftStreamsClient", "ExportStreamSessionFilesCommand")
1422
- .f(void 0, void 0)
1423
- .ser(se_ExportStreamSessionFilesCommand)
1424
- .de(de_ExportStreamSessionFilesCommand)
1329
+ .sc(ExportStreamSessionFiles)
1425
1330
  .build() {
1426
1331
  }
1427
1332
 
@@ -1429,16 +1334,11 @@ class GetApplicationCommand extends smithyClient.Command
1429
1334
  .classBuilder()
1430
1335
  .ep(commonParams)
1431
1336
  .m(function (Command, cs, config, o) {
1432
- return [
1433
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1434
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1435
- ];
1337
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1436
1338
  })
1437
1339
  .s("GameLiftStreams", "GetApplication", {})
1438
1340
  .n("GameLiftStreamsClient", "GetApplicationCommand")
1439
- .f(void 0, void 0)
1440
- .ser(se_GetApplicationCommand)
1441
- .de(de_GetApplicationCommand)
1341
+ .sc(GetApplication)
1442
1342
  .build() {
1443
1343
  }
1444
1344
 
@@ -1446,16 +1346,11 @@ class GetStreamGroupCommand extends smithyClient.Command
1446
1346
  .classBuilder()
1447
1347
  .ep(commonParams)
1448
1348
  .m(function (Command, cs, config, o) {
1449
- return [
1450
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1451
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1452
- ];
1349
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1453
1350
  })
1454
1351
  .s("GameLiftStreams", "GetStreamGroup", {})
1455
1352
  .n("GameLiftStreamsClient", "GetStreamGroupCommand")
1456
- .f(void 0, void 0)
1457
- .ser(se_GetStreamGroupCommand)
1458
- .de(de_GetStreamGroupCommand)
1353
+ .sc(GetStreamGroup)
1459
1354
  .build() {
1460
1355
  }
1461
1356
 
@@ -1463,16 +1358,11 @@ class GetStreamSessionCommand extends smithyClient.Command
1463
1358
  .classBuilder()
1464
1359
  .ep(commonParams)
1465
1360
  .m(function (Command, cs, config, o) {
1466
- return [
1467
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1468
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1469
- ];
1361
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1470
1362
  })
1471
1363
  .s("GameLiftStreams", "GetStreamSession", {})
1472
1364
  .n("GameLiftStreamsClient", "GetStreamSessionCommand")
1473
- .f(void 0, GetStreamSessionOutputFilterSensitiveLog)
1474
- .ser(se_GetStreamSessionCommand)
1475
- .de(de_GetStreamSessionCommand)
1365
+ .sc(GetStreamSession)
1476
1366
  .build() {
1477
1367
  }
1478
1368
 
@@ -1480,16 +1370,11 @@ class ListApplicationsCommand extends smithyClient.Command
1480
1370
  .classBuilder()
1481
1371
  .ep(commonParams)
1482
1372
  .m(function (Command, cs, config, o) {
1483
- return [
1484
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1485
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1486
- ];
1373
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
1374
  })
1488
1375
  .s("GameLiftStreams", "ListApplications", {})
1489
1376
  .n("GameLiftStreamsClient", "ListApplicationsCommand")
1490
- .f(void 0, void 0)
1491
- .ser(se_ListApplicationsCommand)
1492
- .de(de_ListApplicationsCommand)
1377
+ .sc(ListApplications)
1493
1378
  .build() {
1494
1379
  }
1495
1380
 
@@ -1497,16 +1382,11 @@ class ListStreamGroupsCommand extends smithyClient.Command
1497
1382
  .classBuilder()
1498
1383
  .ep(commonParams)
1499
1384
  .m(function (Command, cs, config, o) {
1500
- return [
1501
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1502
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1503
- ];
1385
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1504
1386
  })
1505
1387
  .s("GameLiftStreams", "ListStreamGroups", {})
1506
1388
  .n("GameLiftStreamsClient", "ListStreamGroupsCommand")
1507
- .f(void 0, void 0)
1508
- .ser(se_ListStreamGroupsCommand)
1509
- .de(de_ListStreamGroupsCommand)
1389
+ .sc(ListStreamGroups)
1510
1390
  .build() {
1511
1391
  }
1512
1392
 
@@ -1514,16 +1394,11 @@ class ListStreamSessionsByAccountCommand extends smithyClient.Command
1514
1394
  .classBuilder()
1515
1395
  .ep(commonParams)
1516
1396
  .m(function (Command, cs, config, o) {
1517
- return [
1518
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1519
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1520
- ];
1397
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
1398
  })
1522
1399
  .s("GameLiftStreams", "ListStreamSessionsByAccount", {})
1523
1400
  .n("GameLiftStreamsClient", "ListStreamSessionsByAccountCommand")
1524
- .f(void 0, void 0)
1525
- .ser(se_ListStreamSessionsByAccountCommand)
1526
- .de(de_ListStreamSessionsByAccountCommand)
1401
+ .sc(ListStreamSessionsByAccount)
1527
1402
  .build() {
1528
1403
  }
1529
1404
 
@@ -1531,16 +1406,11 @@ class ListStreamSessionsCommand extends smithyClient.Command
1531
1406
  .classBuilder()
1532
1407
  .ep(commonParams)
1533
1408
  .m(function (Command, cs, config, o) {
1534
- return [
1535
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1536
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1537
- ];
1409
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1538
1410
  })
1539
1411
  .s("GameLiftStreams", "ListStreamSessions", {})
1540
1412
  .n("GameLiftStreamsClient", "ListStreamSessionsCommand")
1541
- .f(void 0, void 0)
1542
- .ser(se_ListStreamSessionsCommand)
1543
- .de(de_ListStreamSessionsCommand)
1413
+ .sc(ListStreamSessions)
1544
1414
  .build() {
1545
1415
  }
1546
1416
 
@@ -1548,16 +1418,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1548
1418
  .classBuilder()
1549
1419
  .ep(commonParams)
1550
1420
  .m(function (Command, cs, config, o) {
1551
- return [
1552
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1553
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1554
- ];
1421
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1555
1422
  })
1556
1423
  .s("GameLiftStreams", "ListTagsForResource", {})
1557
1424
  .n("GameLiftStreamsClient", "ListTagsForResourceCommand")
1558
- .f(void 0, void 0)
1559
- .ser(se_ListTagsForResourceCommand)
1560
- .de(de_ListTagsForResourceCommand)
1425
+ .sc(ListTagsForResource)
1561
1426
  .build() {
1562
1427
  }
1563
1428
 
@@ -1565,16 +1430,11 @@ class RemoveStreamGroupLocationsCommand extends smithyClient.Command
1565
1430
  .classBuilder()
1566
1431
  .ep(commonParams)
1567
1432
  .m(function (Command, cs, config, o) {
1568
- return [
1569
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1570
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1571
- ];
1433
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1572
1434
  })
1573
1435
  .s("GameLiftStreams", "RemoveStreamGroupLocations", {})
1574
1436
  .n("GameLiftStreamsClient", "RemoveStreamGroupLocationsCommand")
1575
- .f(void 0, void 0)
1576
- .ser(se_RemoveStreamGroupLocationsCommand)
1577
- .de(de_RemoveStreamGroupLocationsCommand)
1437
+ .sc(RemoveStreamGroupLocations)
1578
1438
  .build() {
1579
1439
  }
1580
1440
 
@@ -1582,16 +1442,11 @@ class StartStreamSessionCommand extends smithyClient.Command
1582
1442
  .classBuilder()
1583
1443
  .ep(commonParams)
1584
1444
  .m(function (Command, cs, config, o) {
1585
- return [
1586
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1587
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1588
- ];
1445
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1589
1446
  })
1590
1447
  .s("GameLiftStreams", "StartStreamSession", {})
1591
1448
  .n("GameLiftStreamsClient", "StartStreamSessionCommand")
1592
- .f(StartStreamSessionInputFilterSensitiveLog, StartStreamSessionOutputFilterSensitiveLog)
1593
- .ser(se_StartStreamSessionCommand)
1594
- .de(de_StartStreamSessionCommand)
1449
+ .sc(StartStreamSession)
1595
1450
  .build() {
1596
1451
  }
1597
1452
 
@@ -1599,16 +1454,11 @@ class TagResourceCommand extends smithyClient.Command
1599
1454
  .classBuilder()
1600
1455
  .ep(commonParams)
1601
1456
  .m(function (Command, cs, config, o) {
1602
- return [
1603
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1604
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1605
- ];
1457
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
1458
  })
1607
1459
  .s("GameLiftStreams", "TagResource", {})
1608
1460
  .n("GameLiftStreamsClient", "TagResourceCommand")
1609
- .f(void 0, void 0)
1610
- .ser(se_TagResourceCommand)
1611
- .de(de_TagResourceCommand)
1461
+ .sc(TagResource)
1612
1462
  .build() {
1613
1463
  }
1614
1464
 
@@ -1616,16 +1466,11 @@ class TerminateStreamSessionCommand extends smithyClient.Command
1616
1466
  .classBuilder()
1617
1467
  .ep(commonParams)
1618
1468
  .m(function (Command, cs, config, o) {
1619
- return [
1620
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1621
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1622
- ];
1469
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1623
1470
  })
1624
1471
  .s("GameLiftStreams", "TerminateStreamSession", {})
1625
1472
  .n("GameLiftStreamsClient", "TerminateStreamSessionCommand")
1626
- .f(void 0, void 0)
1627
- .ser(se_TerminateStreamSessionCommand)
1628
- .de(de_TerminateStreamSessionCommand)
1473
+ .sc(TerminateStreamSession)
1629
1474
  .build() {
1630
1475
  }
1631
1476
 
@@ -1633,16 +1478,11 @@ class UntagResourceCommand extends smithyClient.Command
1633
1478
  .classBuilder()
1634
1479
  .ep(commonParams)
1635
1480
  .m(function (Command, cs, config, o) {
1636
- return [
1637
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1638
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1639
- ];
1481
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1640
1482
  })
1641
1483
  .s("GameLiftStreams", "UntagResource", {})
1642
1484
  .n("GameLiftStreamsClient", "UntagResourceCommand")
1643
- .f(void 0, void 0)
1644
- .ser(se_UntagResourceCommand)
1645
- .de(de_UntagResourceCommand)
1485
+ .sc(UntagResource)
1646
1486
  .build() {
1647
1487
  }
1648
1488
 
@@ -1650,16 +1490,11 @@ class UpdateApplicationCommand extends smithyClient.Command
1650
1490
  .classBuilder()
1651
1491
  .ep(commonParams)
1652
1492
  .m(function (Command, cs, config, o) {
1653
- return [
1654
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1655
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1656
- ];
1493
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1657
1494
  })
1658
1495
  .s("GameLiftStreams", "UpdateApplication", {})
1659
1496
  .n("GameLiftStreamsClient", "UpdateApplicationCommand")
1660
- .f(void 0, void 0)
1661
- .ser(se_UpdateApplicationCommand)
1662
- .de(de_UpdateApplicationCommand)
1497
+ .sc(UpdateApplication)
1663
1498
  .build() {
1664
1499
  }
1665
1500
 
@@ -1667,16 +1502,11 @@ class UpdateStreamGroupCommand extends smithyClient.Command
1667
1502
  .classBuilder()
1668
1503
  .ep(commonParams)
1669
1504
  .m(function (Command, cs, config, o) {
1670
- return [
1671
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1672
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1673
- ];
1505
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1674
1506
  })
1675
1507
  .s("GameLiftStreams", "UpdateStreamGroup", {})
1676
1508
  .n("GameLiftStreamsClient", "UpdateStreamGroupCommand")
1677
- .f(void 0, void 0)
1678
- .ser(se_UpdateStreamGroupCommand)
1679
- .de(de_UpdateStreamGroupCommand)
1509
+ .sc(UpdateStreamGroup)
1680
1510
  .build() {
1681
1511
  }
1682
1512
 
@@ -1909,17 +1739,15 @@ Object.defineProperty(exports, "__Client", {
1909
1739
  enumerable: true,
1910
1740
  get: function () { return smithyClient.Client; }
1911
1741
  });
1912
- exports.AccessDeniedException = AccessDeniedException;
1742
+ exports.AccessDeniedException = AccessDeniedException$1;
1913
1743
  exports.AddStreamGroupLocationsCommand = AddStreamGroupLocationsCommand;
1914
1744
  exports.ApplicationStatus = ApplicationStatus;
1915
1745
  exports.ApplicationStatusReason = ApplicationStatusReason;
1916
1746
  exports.AssociateApplicationsCommand = AssociateApplicationsCommand;
1917
- exports.ConflictException = ConflictException;
1747
+ exports.ConflictException = ConflictException$1;
1918
1748
  exports.CreateApplicationCommand = CreateApplicationCommand;
1919
1749
  exports.CreateStreamGroupCommand = CreateStreamGroupCommand;
1920
1750
  exports.CreateStreamSessionConnectionCommand = CreateStreamSessionConnectionCommand;
1921
- exports.CreateStreamSessionConnectionInputFilterSensitiveLog = CreateStreamSessionConnectionInputFilterSensitiveLog;
1922
- exports.CreateStreamSessionConnectionOutputFilterSensitiveLog = CreateStreamSessionConnectionOutputFilterSensitiveLog;
1923
1751
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
1924
1752
  exports.DeleteStreamGroupCommand = DeleteStreamGroupCommand;
1925
1753
  exports.DisassociateApplicationsCommand = DisassociateApplicationsCommand;
@@ -1927,12 +1755,11 @@ exports.ExportFilesStatus = ExportFilesStatus;
1927
1755
  exports.ExportStreamSessionFilesCommand = ExportStreamSessionFilesCommand;
1928
1756
  exports.GameLiftStreams = GameLiftStreams;
1929
1757
  exports.GameLiftStreamsClient = GameLiftStreamsClient;
1930
- exports.GameLiftStreamsServiceException = GameLiftStreamsServiceException;
1758
+ exports.GameLiftStreamsServiceException = GameLiftStreamsServiceException$1;
1931
1759
  exports.GetApplicationCommand = GetApplicationCommand;
1932
1760
  exports.GetStreamGroupCommand = GetStreamGroupCommand;
1933
1761
  exports.GetStreamSessionCommand = GetStreamSessionCommand;
1934
- exports.GetStreamSessionOutputFilterSensitiveLog = GetStreamSessionOutputFilterSensitiveLog;
1935
- exports.InternalServerException = InternalServerException;
1762
+ exports.InternalServerException = InternalServerException$1;
1936
1763
  exports.ListApplicationsCommand = ListApplicationsCommand;
1937
1764
  exports.ListStreamGroupsCommand = ListStreamGroupsCommand;
1938
1765
  exports.ListStreamSessionsByAccountCommand = ListStreamSessionsByAccountCommand;
@@ -1941,12 +1768,10 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1941
1768
  exports.Protocol = Protocol;
1942
1769
  exports.RemoveStreamGroupLocationsCommand = RemoveStreamGroupLocationsCommand;
1943
1770
  exports.ReplicationStatusType = ReplicationStatusType;
1944
- exports.ResourceNotFoundException = ResourceNotFoundException;
1771
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1945
1772
  exports.RuntimeEnvironmentType = RuntimeEnvironmentType;
1946
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1773
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1947
1774
  exports.StartStreamSessionCommand = StartStreamSessionCommand;
1948
- exports.StartStreamSessionInputFilterSensitiveLog = StartStreamSessionInputFilterSensitiveLog;
1949
- exports.StartStreamSessionOutputFilterSensitiveLog = StartStreamSessionOutputFilterSensitiveLog;
1950
1775
  exports.StreamClass = StreamClass;
1951
1776
  exports.StreamGroupLocationStatus = StreamGroupLocationStatus;
1952
1777
  exports.StreamGroupStatus = StreamGroupStatus;
@@ -1955,11 +1780,11 @@ exports.StreamSessionStatus = StreamSessionStatus;
1955
1780
  exports.StreamSessionStatusReason = StreamSessionStatusReason;
1956
1781
  exports.TagResourceCommand = TagResourceCommand;
1957
1782
  exports.TerminateStreamSessionCommand = TerminateStreamSessionCommand;
1958
- exports.ThrottlingException = ThrottlingException;
1783
+ exports.ThrottlingException = ThrottlingException$1;
1959
1784
  exports.UntagResourceCommand = UntagResourceCommand;
1960
1785
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
1961
1786
  exports.UpdateStreamGroupCommand = UpdateStreamGroupCommand;
1962
- exports.ValidationException = ValidationException;
1787
+ exports.ValidationException = ValidationException$1;
1963
1788
  exports.paginateListApplications = paginateListApplications;
1964
1789
  exports.paginateListStreamGroups = paginateListStreamGroups;
1965
1790
  exports.paginateListStreamSessions = paginateListStreamSessions;