@aws-sdk/client-ivs 3.927.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 (59) hide show
  1. package/dist-cjs/index.js +1235 -1566
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/IvsClient.js +2 -0
  4. package/dist-es/commands/BatchGetChannelCommand.js +3 -10
  5. package/dist-es/commands/BatchGetStreamKeyCommand.js +3 -10
  6. package/dist-es/commands/BatchStartViewerSessionRevocationCommand.js +3 -9
  7. package/dist-es/commands/CreateChannelCommand.js +3 -10
  8. package/dist-es/commands/CreatePlaybackRestrictionPolicyCommand.js +3 -9
  9. package/dist-es/commands/CreateRecordingConfigurationCommand.js +3 -9
  10. package/dist-es/commands/CreateStreamKeyCommand.js +3 -10
  11. package/dist-es/commands/DeleteChannelCommand.js +3 -9
  12. package/dist-es/commands/DeletePlaybackKeyPairCommand.js +3 -9
  13. package/dist-es/commands/DeletePlaybackRestrictionPolicyCommand.js +3 -9
  14. package/dist-es/commands/DeleteRecordingConfigurationCommand.js +3 -9
  15. package/dist-es/commands/DeleteStreamKeyCommand.js +3 -9
  16. package/dist-es/commands/GetChannelCommand.js +3 -10
  17. package/dist-es/commands/GetPlaybackKeyPairCommand.js +3 -9
  18. package/dist-es/commands/GetPlaybackRestrictionPolicyCommand.js +3 -9
  19. package/dist-es/commands/GetRecordingConfigurationCommand.js +3 -9
  20. package/dist-es/commands/GetStreamCommand.js +3 -9
  21. package/dist-es/commands/GetStreamKeyCommand.js +3 -10
  22. package/dist-es/commands/GetStreamSessionCommand.js +3 -10
  23. package/dist-es/commands/ImportPlaybackKeyPairCommand.js +3 -9
  24. package/dist-es/commands/ListChannelsCommand.js +3 -9
  25. package/dist-es/commands/ListPlaybackKeyPairsCommand.js +3 -9
  26. package/dist-es/commands/ListPlaybackRestrictionPoliciesCommand.js +3 -9
  27. package/dist-es/commands/ListRecordingConfigurationsCommand.js +3 -9
  28. package/dist-es/commands/ListStreamKeysCommand.js +3 -9
  29. package/dist-es/commands/ListStreamSessionsCommand.js +3 -9
  30. package/dist-es/commands/ListStreamsCommand.js +3 -9
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  32. package/dist-es/commands/PutMetadataCommand.js +3 -10
  33. package/dist-es/commands/StartViewerSessionRevocationCommand.js +3 -9
  34. package/dist-es/commands/StopStreamCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateChannelCommand.js +3 -10
  38. package/dist-es/commands/UpdatePlaybackRestrictionPolicyCommand.js +3 -9
  39. package/dist-es/models/models_0.js +0 -54
  40. package/dist-es/runtimeConfig.shared.js +2 -0
  41. package/dist-es/schemas/schemas_0.js +1142 -0
  42. package/dist-types/IvsClient.d.ts +10 -1
  43. package/dist-types/models/models_0.d.ts +0 -52
  44. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  45. package/dist-types/runtimeConfig.d.ts +1 -0
  46. package/dist-types/runtimeConfig.native.d.ts +1 -0
  47. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  48. package/dist-types/schemas/schemas_0.d.ts +168 -0
  49. package/dist-types/ts3.4/IvsClient.d.ts +4 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +0 -33
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  55. package/dist-types/ts3.4/schemas/schemas_0.d.ts +174 -0
  56. package/package.json +5 -5
  57. package/dist-es/protocols/Aws_restJson1.js +0 -1227
  58. package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
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,8 +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
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class IvsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class IvsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class IvsServiceException extends smithyClient.ServiceException {
113
+ let IvsServiceException$1 = class IvsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, IvsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends IvsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends IvsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  exceptionMessage;
@@ -130,7 +130,7 @@ class AccessDeniedException extends IvsServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.exceptionMessage = opts.exceptionMessage;
132
132
  }
133
- }
133
+ };
134
134
  const ContainerFormat = {
135
135
  FragmentedMP4: "FRAGMENTED_MP4",
136
136
  TS: "TS",
@@ -158,7 +158,7 @@ const ChannelType = {
158
158
  BasicChannelType: "BASIC",
159
159
  StandardChannelType: "STANDARD",
160
160
  };
161
- class PendingVerification extends IvsServiceException {
161
+ let PendingVerification$1 = class PendingVerification extends IvsServiceException$1 {
162
162
  name = "PendingVerification";
163
163
  $fault = "client";
164
164
  exceptionMessage;
@@ -171,8 +171,8 @@ class PendingVerification extends IvsServiceException {
171
171
  Object.setPrototypeOf(this, PendingVerification.prototype);
172
172
  this.exceptionMessage = opts.exceptionMessage;
173
173
  }
174
- }
175
- class ThrottlingException extends IvsServiceException {
174
+ };
175
+ let ThrottlingException$1 = class ThrottlingException extends IvsServiceException$1 {
176
176
  name = "ThrottlingException";
177
177
  $fault = "client";
178
178
  exceptionMessage;
@@ -185,8 +185,8 @@ class ThrottlingException extends IvsServiceException {
185
185
  Object.setPrototypeOf(this, ThrottlingException.prototype);
186
186
  this.exceptionMessage = opts.exceptionMessage;
187
187
  }
188
- }
189
- class ValidationException extends IvsServiceException {
188
+ };
189
+ let ValidationException$1 = class ValidationException extends IvsServiceException$1 {
190
190
  name = "ValidationException";
191
191
  $fault = "client";
192
192
  exceptionMessage;
@@ -199,8 +199,8 @@ class ValidationException extends IvsServiceException {
199
199
  Object.setPrototypeOf(this, ValidationException.prototype);
200
200
  this.exceptionMessage = opts.exceptionMessage;
201
201
  }
202
- }
203
- class ResourceNotFoundException extends IvsServiceException {
202
+ };
203
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IvsServiceException$1 {
204
204
  name = "ResourceNotFoundException";
205
205
  $fault = "client";
206
206
  exceptionMessage;
@@ -213,8 +213,8 @@ class ResourceNotFoundException extends IvsServiceException {
213
213
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
214
214
  this.exceptionMessage = opts.exceptionMessage;
215
215
  }
216
- }
217
- class ServiceQuotaExceededException extends IvsServiceException {
216
+ };
217
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends IvsServiceException$1 {
218
218
  name = "ServiceQuotaExceededException";
219
219
  $fault = "client";
220
220
  exceptionMessage;
@@ -227,8 +227,8 @@ class ServiceQuotaExceededException extends IvsServiceException {
227
227
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
228
228
  this.exceptionMessage = opts.exceptionMessage;
229
229
  }
230
- }
231
- class ConflictException extends IvsServiceException {
230
+ };
231
+ let ConflictException$1 = class ConflictException extends IvsServiceException$1 {
232
232
  name = "ConflictException";
233
233
  $fault = "client";
234
234
  exceptionMessage;
@@ -241,7 +241,7 @@ class ConflictException extends IvsServiceException {
241
241
  Object.setPrototypeOf(this, ConflictException.prototype);
242
242
  this.exceptionMessage = opts.exceptionMessage;
243
243
  }
244
- }
244
+ };
245
245
  const RenditionConfigurationRendition = {
246
246
  FULL_HD: "FULL_HD",
247
247
  HD: "HD",
@@ -272,7 +272,7 @@ const RecordingConfigurationState = {
272
272
  CreateFailed: "CREATE_FAILED",
273
273
  Creating: "CREATING",
274
274
  };
275
- class InternalServerException extends IvsServiceException {
275
+ let InternalServerException$1 = class InternalServerException extends IvsServiceException$1 {
276
276
  name = "InternalServerException";
277
277
  $fault = "server";
278
278
  exceptionMessage;
@@ -285,8 +285,8 @@ class InternalServerException extends IvsServiceException {
285
285
  Object.setPrototypeOf(this, InternalServerException.prototype);
286
286
  this.exceptionMessage = opts.exceptionMessage;
287
287
  }
288
- }
289
- class ChannelNotBroadcasting extends IvsServiceException {
288
+ };
289
+ let ChannelNotBroadcasting$1 = class ChannelNotBroadcasting extends IvsServiceException$1 {
290
290
  name = "ChannelNotBroadcasting";
291
291
  $fault = "client";
292
292
  exceptionMessage;
@@ -299,7 +299,7 @@ class ChannelNotBroadcasting extends IvsServiceException {
299
299
  Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
300
300
  this.exceptionMessage = opts.exceptionMessage;
301
301
  }
302
- }
302
+ };
303
303
  const StreamHealth = {
304
304
  Starving: "STARVING",
305
305
  StreamHealthy: "HEALTHY",
@@ -309,7 +309,7 @@ const StreamState = {
309
309
  StreamLive: "LIVE",
310
310
  StreamOffline: "OFFLINE",
311
311
  };
312
- class StreamUnavailable extends IvsServiceException {
312
+ let StreamUnavailable$1 = class StreamUnavailable extends IvsServiceException$1 {
313
313
  name = "StreamUnavailable";
314
314
  $fault = "server";
315
315
  exceptionMessage;
@@ -322,1297 +322,1149 @@ class StreamUnavailable extends IvsServiceException {
322
322
  Object.setPrototypeOf(this, StreamUnavailable.prototype);
323
323
  this.exceptionMessage = opts.exceptionMessage;
324
324
  }
325
- }
326
- const SrtFilterSensitiveLog = (obj) => ({
327
- ...obj,
328
- ...(obj.passphrase && { passphrase: smithyClient.SENSITIVE_STRING }),
329
- });
330
- const ChannelFilterSensitiveLog = (obj) => ({
331
- ...obj,
332
- ...(obj.srt && { srt: SrtFilterSensitiveLog(obj.srt) }),
333
- });
334
- const BatchGetChannelResponseFilterSensitiveLog = (obj) => ({
335
- ...obj,
336
- ...(obj.channels && { channels: obj.channels.map((item) => ChannelFilterSensitiveLog(item)) }),
337
- });
338
- const StreamKeyFilterSensitiveLog = (obj) => ({
339
- ...obj,
340
- ...(obj.value && { value: smithyClient.SENSITIVE_STRING }),
341
- });
342
- const BatchGetStreamKeyResponseFilterSensitiveLog = (obj) => ({
343
- ...obj,
344
- ...(obj.streamKeys && { streamKeys: obj.streamKeys.map((item) => StreamKeyFilterSensitiveLog(item)) }),
345
- });
346
- const CreateChannelResponseFilterSensitiveLog = (obj) => ({
347
- ...obj,
348
- ...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
349
- ...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
350
- });
351
- const CreateStreamKeyResponseFilterSensitiveLog = (obj) => ({
352
- ...obj,
353
- ...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
354
- });
355
- const GetChannelResponseFilterSensitiveLog = (obj) => ({
356
- ...obj,
357
- ...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
358
- });
359
- const GetStreamKeyResponseFilterSensitiveLog = (obj) => ({
360
- ...obj,
361
- ...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
362
- });
363
- const StreamSessionFilterSensitiveLog = (obj) => ({
364
- ...obj,
365
- ...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
366
- });
367
- const GetStreamSessionResponseFilterSensitiveLog = (obj) => ({
368
- ...obj,
369
- ...(obj.streamSession && { streamSession: StreamSessionFilterSensitiveLog(obj.streamSession) }),
370
- });
371
- const PutMetadataRequestFilterSensitiveLog = (obj) => ({
372
- ...obj,
373
- ...(obj.metadata && { metadata: smithyClient.SENSITIVE_STRING }),
374
- });
375
- const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
376
- ...obj,
377
- ...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
378
- });
379
-
380
- const se_BatchGetChannelCommand = async (input, context) => {
381
- const b = core.requestBuilder(input, context);
382
- const headers = {
383
- "content-type": "application/json",
384
- };
385
- b.bp("/BatchGetChannel");
386
- let body;
387
- body = JSON.stringify(smithyClient.take(input, {
388
- arns: (_) => smithyClient._json(_),
389
- }));
390
- b.m("POST").h(headers).b(body);
391
- return b.build();
392
- };
393
- const se_BatchGetStreamKeyCommand = async (input, context) => {
394
- const b = core.requestBuilder(input, context);
395
- const headers = {
396
- "content-type": "application/json",
397
- };
398
- b.bp("/BatchGetStreamKey");
399
- let body;
400
- body = JSON.stringify(smithyClient.take(input, {
401
- arns: (_) => smithyClient._json(_),
402
- }));
403
- b.m("POST").h(headers).b(body);
404
- return b.build();
405
- };
406
- const se_BatchStartViewerSessionRevocationCommand = async (input, context) => {
407
- const b = core.requestBuilder(input, context);
408
- const headers = {
409
- "content-type": "application/json",
410
- };
411
- b.bp("/BatchStartViewerSessionRevocation");
412
- let body;
413
- body = JSON.stringify(smithyClient.take(input, {
414
- viewerSessions: (_) => smithyClient._json(_),
415
- }));
416
- b.m("POST").h(headers).b(body);
417
- return b.build();
418
- };
419
- const se_CreateChannelCommand = async (input, context) => {
420
- const b = core.requestBuilder(input, context);
421
- const headers = {
422
- "content-type": "application/json",
423
- };
424
- b.bp("/CreateChannel");
425
- let body;
426
- body = JSON.stringify(smithyClient.take(input, {
427
- authorized: [],
428
- containerFormat: [],
429
- insecureIngest: [],
430
- latencyMode: [],
431
- multitrackInputConfiguration: (_) => smithyClient._json(_),
432
- name: [],
433
- playbackRestrictionPolicyArn: [],
434
- preset: [],
435
- recordingConfigurationArn: [],
436
- tags: (_) => smithyClient._json(_),
437
- type: [],
438
- }));
439
- b.m("POST").h(headers).b(body);
440
- return b.build();
441
- };
442
- const se_CreatePlaybackRestrictionPolicyCommand = async (input, context) => {
443
- const b = core.requestBuilder(input, context);
444
- const headers = {
445
- "content-type": "application/json",
446
- };
447
- b.bp("/CreatePlaybackRestrictionPolicy");
448
- let body;
449
- body = JSON.stringify(smithyClient.take(input, {
450
- allowedCountries: (_) => smithyClient._json(_),
451
- allowedOrigins: (_) => smithyClient._json(_),
452
- enableStrictOriginEnforcement: [],
453
- name: [],
454
- tags: (_) => smithyClient._json(_),
455
- }));
456
- b.m("POST").h(headers).b(body);
457
- return b.build();
458
- };
459
- const se_CreateRecordingConfigurationCommand = async (input, context) => {
460
- const b = core.requestBuilder(input, context);
461
- const headers = {
462
- "content-type": "application/json",
463
- };
464
- b.bp("/CreateRecordingConfiguration");
465
- let body;
466
- body = JSON.stringify(smithyClient.take(input, {
467
- destinationConfiguration: (_) => smithyClient._json(_),
468
- name: [],
469
- recordingReconnectWindowSeconds: [],
470
- renditionConfiguration: (_) => smithyClient._json(_),
471
- tags: (_) => smithyClient._json(_),
472
- thumbnailConfiguration: (_) => smithyClient._json(_),
473
- }));
474
- b.m("POST").h(headers).b(body);
475
- return b.build();
476
- };
477
- const se_CreateStreamKeyCommand = async (input, context) => {
478
- const b = core.requestBuilder(input, context);
479
- const headers = {
480
- "content-type": "application/json",
481
- };
482
- b.bp("/CreateStreamKey");
483
- let body;
484
- body = JSON.stringify(smithyClient.take(input, {
485
- channelArn: [],
486
- tags: (_) => smithyClient._json(_),
487
- }));
488
- b.m("POST").h(headers).b(body);
489
- return b.build();
490
- };
491
- const se_DeleteChannelCommand = async (input, context) => {
492
- const b = core.requestBuilder(input, context);
493
- const headers = {
494
- "content-type": "application/json",
495
- };
496
- b.bp("/DeleteChannel");
497
- let body;
498
- body = JSON.stringify(smithyClient.take(input, {
499
- arn: [],
500
- }));
501
- b.m("POST").h(headers).b(body);
502
- return b.build();
503
- };
504
- const se_DeletePlaybackKeyPairCommand = async (input, context) => {
505
- const b = core.requestBuilder(input, context);
506
- const headers = {
507
- "content-type": "application/json",
508
- };
509
- b.bp("/DeletePlaybackKeyPair");
510
- let body;
511
- body = JSON.stringify(smithyClient.take(input, {
512
- arn: [],
513
- }));
514
- b.m("POST").h(headers).b(body);
515
- return b.build();
516
- };
517
- const se_DeletePlaybackRestrictionPolicyCommand = async (input, context) => {
518
- const b = core.requestBuilder(input, context);
519
- const headers = {
520
- "content-type": "application/json",
521
- };
522
- b.bp("/DeletePlaybackRestrictionPolicy");
523
- let body;
524
- body = JSON.stringify(smithyClient.take(input, {
525
- arn: [],
526
- }));
527
- b.m("POST").h(headers).b(body);
528
- return b.build();
529
- };
530
- const se_DeleteRecordingConfigurationCommand = async (input, context) => {
531
- const b = core.requestBuilder(input, context);
532
- const headers = {
533
- "content-type": "application/json",
534
- };
535
- b.bp("/DeleteRecordingConfiguration");
536
- let body;
537
- body = JSON.stringify(smithyClient.take(input, {
538
- arn: [],
539
- }));
540
- b.m("POST").h(headers).b(body);
541
- return b.build();
542
- };
543
- const se_DeleteStreamKeyCommand = async (input, context) => {
544
- const b = core.requestBuilder(input, context);
545
- const headers = {
546
- "content-type": "application/json",
547
- };
548
- b.bp("/DeleteStreamKey");
549
- let body;
550
- body = JSON.stringify(smithyClient.take(input, {
551
- arn: [],
552
- }));
553
- b.m("POST").h(headers).b(body);
554
- return b.build();
555
- };
556
- const se_GetChannelCommand = async (input, context) => {
557
- const b = core.requestBuilder(input, context);
558
- const headers = {
559
- "content-type": "application/json",
560
- };
561
- b.bp("/GetChannel");
562
- let body;
563
- body = JSON.stringify(smithyClient.take(input, {
564
- arn: [],
565
- }));
566
- b.m("POST").h(headers).b(body);
567
- return b.build();
568
- };
569
- const se_GetPlaybackKeyPairCommand = async (input, context) => {
570
- const b = core.requestBuilder(input, context);
571
- const headers = {
572
- "content-type": "application/json",
573
- };
574
- b.bp("/GetPlaybackKeyPair");
575
- let body;
576
- body = JSON.stringify(smithyClient.take(input, {
577
- arn: [],
578
- }));
579
- b.m("POST").h(headers).b(body);
580
- return b.build();
581
- };
582
- const se_GetPlaybackRestrictionPolicyCommand = async (input, context) => {
583
- const b = core.requestBuilder(input, context);
584
- const headers = {
585
- "content-type": "application/json",
586
- };
587
- b.bp("/GetPlaybackRestrictionPolicy");
588
- let body;
589
- body = JSON.stringify(smithyClient.take(input, {
590
- arn: [],
591
- }));
592
- b.m("POST").h(headers).b(body);
593
- return b.build();
594
- };
595
- const se_GetRecordingConfigurationCommand = async (input, context) => {
596
- const b = core.requestBuilder(input, context);
597
- const headers = {
598
- "content-type": "application/json",
599
- };
600
- b.bp("/GetRecordingConfiguration");
601
- let body;
602
- body = JSON.stringify(smithyClient.take(input, {
603
- arn: [],
604
- }));
605
- b.m("POST").h(headers).b(body);
606
- return b.build();
607
- };
608
- const se_GetStreamCommand = async (input, context) => {
609
- const b = core.requestBuilder(input, context);
610
- const headers = {
611
- "content-type": "application/json",
612
- };
613
- b.bp("/GetStream");
614
- let body;
615
- body = JSON.stringify(smithyClient.take(input, {
616
- channelArn: [],
617
- }));
618
- b.m("POST").h(headers).b(body);
619
- return b.build();
620
- };
621
- const se_GetStreamKeyCommand = async (input, context) => {
622
- const b = core.requestBuilder(input, context);
623
- const headers = {
624
- "content-type": "application/json",
625
- };
626
- b.bp("/GetStreamKey");
627
- let body;
628
- body = JSON.stringify(smithyClient.take(input, {
629
- arn: [],
630
- }));
631
- b.m("POST").h(headers).b(body);
632
- return b.build();
633
- };
634
- const se_GetStreamSessionCommand = async (input, context) => {
635
- const b = core.requestBuilder(input, context);
636
- const headers = {
637
- "content-type": "application/json",
638
- };
639
- b.bp("/GetStreamSession");
640
- let body;
641
- body = JSON.stringify(smithyClient.take(input, {
642
- channelArn: [],
643
- streamId: [],
644
- }));
645
- b.m("POST").h(headers).b(body);
646
- return b.build();
647
- };
648
- const se_ImportPlaybackKeyPairCommand = async (input, context) => {
649
- const b = core.requestBuilder(input, context);
650
- const headers = {
651
- "content-type": "application/json",
652
- };
653
- b.bp("/ImportPlaybackKeyPair");
654
- let body;
655
- body = JSON.stringify(smithyClient.take(input, {
656
- name: [],
657
- publicKeyMaterial: [],
658
- tags: (_) => smithyClient._json(_),
659
- }));
660
- b.m("POST").h(headers).b(body);
661
- return b.build();
662
- };
663
- const se_ListChannelsCommand = async (input, context) => {
664
- const b = core.requestBuilder(input, context);
665
- const headers = {
666
- "content-type": "application/json",
667
- };
668
- b.bp("/ListChannels");
669
- let body;
670
- body = JSON.stringify(smithyClient.take(input, {
671
- filterByName: [],
672
- filterByPlaybackRestrictionPolicyArn: [],
673
- filterByRecordingConfigurationArn: [],
674
- maxResults: [],
675
- nextToken: [],
676
- }));
677
- b.m("POST").h(headers).b(body);
678
- return b.build();
679
- };
680
- const se_ListPlaybackKeyPairsCommand = async (input, context) => {
681
- const b = core.requestBuilder(input, context);
682
- const headers = {
683
- "content-type": "application/json",
684
- };
685
- b.bp("/ListPlaybackKeyPairs");
686
- let body;
687
- body = JSON.stringify(smithyClient.take(input, {
688
- maxResults: [],
689
- nextToken: [],
690
- }));
691
- b.m("POST").h(headers).b(body);
692
- return b.build();
693
- };
694
- const se_ListPlaybackRestrictionPoliciesCommand = async (input, context) => {
695
- const b = core.requestBuilder(input, context);
696
- const headers = {
697
- "content-type": "application/json",
698
- };
699
- b.bp("/ListPlaybackRestrictionPolicies");
700
- let body;
701
- body = JSON.stringify(smithyClient.take(input, {
702
- maxResults: [],
703
- nextToken: [],
704
- }));
705
- b.m("POST").h(headers).b(body);
706
- return b.build();
707
- };
708
- const se_ListRecordingConfigurationsCommand = async (input, context) => {
709
- const b = core.requestBuilder(input, context);
710
- const headers = {
711
- "content-type": "application/json",
712
- };
713
- b.bp("/ListRecordingConfigurations");
714
- let body;
715
- body = JSON.stringify(smithyClient.take(input, {
716
- maxResults: [],
717
- nextToken: [],
718
- }));
719
- b.m("POST").h(headers).b(body);
720
- return b.build();
721
- };
722
- const se_ListStreamKeysCommand = async (input, context) => {
723
- const b = core.requestBuilder(input, context);
724
- const headers = {
725
- "content-type": "application/json",
726
- };
727
- b.bp("/ListStreamKeys");
728
- let body;
729
- body = JSON.stringify(smithyClient.take(input, {
730
- channelArn: [],
731
- maxResults: [],
732
- nextToken: [],
733
- }));
734
- b.m("POST").h(headers).b(body);
735
- return b.build();
736
- };
737
- const se_ListStreamsCommand = async (input, context) => {
738
- const b = core.requestBuilder(input, context);
739
- const headers = {
740
- "content-type": "application/json",
741
- };
742
- b.bp("/ListStreams");
743
- let body;
744
- body = JSON.stringify(smithyClient.take(input, {
745
- filterBy: (_) => smithyClient._json(_),
746
- maxResults: [],
747
- nextToken: [],
748
- }));
749
- b.m("POST").h(headers).b(body);
750
- return b.build();
751
- };
752
- const se_ListStreamSessionsCommand = async (input, context) => {
753
- const b = core.requestBuilder(input, context);
754
- const headers = {
755
- "content-type": "application/json",
756
- };
757
- b.bp("/ListStreamSessions");
758
- let body;
759
- body = JSON.stringify(smithyClient.take(input, {
760
- channelArn: [],
761
- maxResults: [],
762
- nextToken: [],
763
- }));
764
- b.m("POST").h(headers).b(body);
765
- return b.build();
766
- };
767
- const se_ListTagsForResourceCommand = async (input, context) => {
768
- const b = core.requestBuilder(input, context);
769
- const headers = {};
770
- b.bp("/tags/{resourceArn}");
771
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
772
- let body;
773
- b.m("GET").h(headers).b(body);
774
- return b.build();
775
- };
776
- const se_PutMetadataCommand = async (input, context) => {
777
- const b = core.requestBuilder(input, context);
778
- const headers = {
779
- "content-type": "application/json",
780
- };
781
- b.bp("/PutMetadata");
782
- let body;
783
- body = JSON.stringify(smithyClient.take(input, {
784
- channelArn: [],
785
- metadata: [],
786
- }));
787
- b.m("POST").h(headers).b(body);
788
- return b.build();
789
- };
790
- const se_StartViewerSessionRevocationCommand = async (input, context) => {
791
- const b = core.requestBuilder(input, context);
792
- const headers = {
793
- "content-type": "application/json",
794
- };
795
- b.bp("/StartViewerSessionRevocation");
796
- let body;
797
- body = JSON.stringify(smithyClient.take(input, {
798
- channelArn: [],
799
- viewerId: [],
800
- viewerSessionVersionsLessThanOrEqualTo: [],
801
- }));
802
- b.m("POST").h(headers).b(body);
803
- return b.build();
804
- };
805
- const se_StopStreamCommand = async (input, context) => {
806
- const b = core.requestBuilder(input, context);
807
- const headers = {
808
- "content-type": "application/json",
809
- };
810
- b.bp("/StopStream");
811
- let body;
812
- body = JSON.stringify(smithyClient.take(input, {
813
- channelArn: [],
814
- }));
815
- b.m("POST").h(headers).b(body);
816
- return b.build();
817
- };
818
- const se_TagResourceCommand = async (input, context) => {
819
- const b = core.requestBuilder(input, context);
820
- const headers = {
821
- "content-type": "application/json",
822
- };
823
- b.bp("/tags/{resourceArn}");
824
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
825
- let body;
826
- body = JSON.stringify(smithyClient.take(input, {
827
- tags: (_) => smithyClient._json(_),
828
- }));
829
- b.m("POST").h(headers).b(body);
830
- return b.build();
831
- };
832
- const se_UntagResourceCommand = async (input, context) => {
833
- const b = core.requestBuilder(input, context);
834
- const headers = {};
835
- b.bp("/tags/{resourceArn}");
836
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
837
- const query = smithyClient.map({
838
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
839
- });
840
- let body;
841
- b.m("DELETE").h(headers).q(query).b(body);
842
- return b.build();
843
- };
844
- const se_UpdateChannelCommand = async (input, context) => {
845
- const b = core.requestBuilder(input, context);
846
- const headers = {
847
- "content-type": "application/json",
848
- };
849
- b.bp("/UpdateChannel");
850
- let body;
851
- body = JSON.stringify(smithyClient.take(input, {
852
- arn: [],
853
- authorized: [],
854
- containerFormat: [],
855
- insecureIngest: [],
856
- latencyMode: [],
857
- multitrackInputConfiguration: (_) => smithyClient._json(_),
858
- name: [],
859
- playbackRestrictionPolicyArn: [],
860
- preset: [],
861
- recordingConfigurationArn: [],
862
- type: [],
863
- }));
864
- b.m("POST").h(headers).b(body);
865
- return b.build();
866
- };
867
- const se_UpdatePlaybackRestrictionPolicyCommand = async (input, context) => {
868
- const b = core.requestBuilder(input, context);
869
- const headers = {
870
- "content-type": "application/json",
871
- };
872
- b.bp("/UpdatePlaybackRestrictionPolicy");
873
- let body;
874
- body = JSON.stringify(smithyClient.take(input, {
875
- allowedCountries: (_) => smithyClient._json(_),
876
- allowedOrigins: (_) => smithyClient._json(_),
877
- arn: [],
878
- enableStrictOriginEnforcement: [],
879
- name: [],
880
- }));
881
- b.m("POST").h(headers).b(body);
882
- return b.build();
883
- };
884
- const de_BatchGetChannelCommand = async (output, context) => {
885
- if (output.statusCode !== 200 && output.statusCode >= 300) {
886
- return de_CommandError(output, context);
887
- }
888
- const contents = smithyClient.map({
889
- $metadata: deserializeMetadata(output),
890
- });
891
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
892
- const doc = smithyClient.take(data, {
893
- channels: smithyClient._json,
894
- errors: smithyClient._json,
895
- });
896
- Object.assign(contents, doc);
897
- return contents;
898
- };
899
- const de_BatchGetStreamKeyCommand = async (output, context) => {
900
- if (output.statusCode !== 200 && output.statusCode >= 300) {
901
- return de_CommandError(output, context);
902
- }
903
- const contents = smithyClient.map({
904
- $metadata: deserializeMetadata(output),
905
- });
906
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
907
- const doc = smithyClient.take(data, {
908
- errors: smithyClient._json,
909
- streamKeys: smithyClient._json,
910
- });
911
- Object.assign(contents, doc);
912
- return contents;
913
- };
914
- const de_BatchStartViewerSessionRevocationCommand = async (output, context) => {
915
- if (output.statusCode !== 200 && output.statusCode >= 300) {
916
- return de_CommandError(output, context);
917
- }
918
- const contents = smithyClient.map({
919
- $metadata: deserializeMetadata(output),
920
- });
921
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
922
- const doc = smithyClient.take(data, {
923
- errors: smithyClient._json,
924
- });
925
- Object.assign(contents, doc);
926
- return contents;
927
- };
928
- const de_CreateChannelCommand = async (output, context) => {
929
- if (output.statusCode !== 200 && output.statusCode >= 300) {
930
- return de_CommandError(output, context);
931
- }
932
- const contents = smithyClient.map({
933
- $metadata: deserializeMetadata(output),
934
- });
935
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
936
- const doc = smithyClient.take(data, {
937
- channel: smithyClient._json,
938
- streamKey: smithyClient._json,
939
- });
940
- Object.assign(contents, doc);
941
- return contents;
942
- };
943
- const de_CreatePlaybackRestrictionPolicyCommand = async (output, context) => {
944
- if (output.statusCode !== 200 && output.statusCode >= 300) {
945
- return de_CommandError(output, context);
946
- }
947
- const contents = smithyClient.map({
948
- $metadata: deserializeMetadata(output),
949
- });
950
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
951
- const doc = smithyClient.take(data, {
952
- playbackRestrictionPolicy: smithyClient._json,
953
- });
954
- Object.assign(contents, doc);
955
- return contents;
956
- };
957
- const de_CreateRecordingConfigurationCommand = async (output, context) => {
958
- if (output.statusCode !== 200 && output.statusCode >= 300) {
959
- return de_CommandError(output, context);
960
- }
961
- const contents = smithyClient.map({
962
- $metadata: deserializeMetadata(output),
963
- });
964
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
965
- const doc = smithyClient.take(data, {
966
- recordingConfiguration: smithyClient._json,
967
- });
968
- Object.assign(contents, doc);
969
- return contents;
970
- };
971
- const de_CreateStreamKeyCommand = async (output, context) => {
972
- if (output.statusCode !== 200 && output.statusCode >= 300) {
973
- return de_CommandError(output, context);
974
- }
975
- const contents = smithyClient.map({
976
- $metadata: deserializeMetadata(output),
977
- });
978
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
979
- const doc = smithyClient.take(data, {
980
- streamKey: smithyClient._json,
981
- });
982
- Object.assign(contents, doc);
983
- return contents;
984
- };
985
- const de_DeleteChannelCommand = async (output, context) => {
986
- if (output.statusCode !== 204 && output.statusCode >= 300) {
987
- return de_CommandError(output, context);
988
- }
989
- const contents = smithyClient.map({
990
- $metadata: deserializeMetadata(output),
991
- });
992
- await smithyClient.collectBody(output.body, context);
993
- return contents;
994
- };
995
- const de_DeletePlaybackKeyPairCommand = async (output, context) => {
996
- if (output.statusCode !== 200 && output.statusCode >= 300) {
997
- return de_CommandError(output, context);
998
- }
999
- const contents = smithyClient.map({
1000
- $metadata: deserializeMetadata(output),
1001
- });
1002
- await smithyClient.collectBody(output.body, context);
1003
- return contents;
1004
- };
1005
- const de_DeletePlaybackRestrictionPolicyCommand = async (output, context) => {
1006
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1007
- return de_CommandError(output, context);
1008
- }
1009
- const contents = smithyClient.map({
1010
- $metadata: deserializeMetadata(output),
1011
- });
1012
- await smithyClient.collectBody(output.body, context);
1013
- return contents;
1014
- };
1015
- const de_DeleteRecordingConfigurationCommand = async (output, context) => {
1016
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1017
- return de_CommandError(output, context);
1018
- }
1019
- const contents = smithyClient.map({
1020
- $metadata: deserializeMetadata(output),
1021
- });
1022
- await smithyClient.collectBody(output.body, context);
1023
- return contents;
1024
- };
1025
- const de_DeleteStreamKeyCommand = async (output, context) => {
1026
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1027
- return de_CommandError(output, context);
1028
- }
1029
- const contents = smithyClient.map({
1030
- $metadata: deserializeMetadata(output),
1031
- });
1032
- await smithyClient.collectBody(output.body, context);
1033
- return contents;
1034
- };
1035
- const de_GetChannelCommand = async (output, context) => {
1036
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1037
- return de_CommandError(output, context);
1038
- }
1039
- const contents = smithyClient.map({
1040
- $metadata: deserializeMetadata(output),
1041
- });
1042
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1043
- const doc = smithyClient.take(data, {
1044
- channel: smithyClient._json,
1045
- });
1046
- Object.assign(contents, doc);
1047
- return contents;
1048
- };
1049
- const de_GetPlaybackKeyPairCommand = async (output, context) => {
1050
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1051
- return de_CommandError(output, context);
1052
- }
1053
- const contents = smithyClient.map({
1054
- $metadata: deserializeMetadata(output),
1055
- });
1056
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1057
- const doc = smithyClient.take(data, {
1058
- keyPair: smithyClient._json,
1059
- });
1060
- Object.assign(contents, doc);
1061
- return contents;
1062
- };
1063
- const de_GetPlaybackRestrictionPolicyCommand = async (output, context) => {
1064
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1065
- return de_CommandError(output, context);
1066
- }
1067
- const contents = smithyClient.map({
1068
- $metadata: deserializeMetadata(output),
1069
- });
1070
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1071
- const doc = smithyClient.take(data, {
1072
- playbackRestrictionPolicy: smithyClient._json,
1073
- });
1074
- Object.assign(contents, doc);
1075
- return contents;
1076
- };
1077
- const de_GetRecordingConfigurationCommand = async (output, context) => {
1078
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1079
- return de_CommandError(output, context);
1080
- }
1081
- const contents = smithyClient.map({
1082
- $metadata: deserializeMetadata(output),
1083
- });
1084
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1085
- const doc = smithyClient.take(data, {
1086
- recordingConfiguration: smithyClient._json,
1087
- });
1088
- Object.assign(contents, doc);
1089
- return contents;
1090
- };
1091
- const de_GetStreamCommand = async (output, context) => {
1092
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1093
- return de_CommandError(output, context);
1094
- }
1095
- const contents = smithyClient.map({
1096
- $metadata: deserializeMetadata(output),
1097
- });
1098
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1099
- const doc = smithyClient.take(data, {
1100
- stream: (_) => de__Stream(_),
1101
- });
1102
- Object.assign(contents, doc);
1103
- return contents;
1104
- };
1105
- const de_GetStreamKeyCommand = async (output, context) => {
1106
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1107
- return de_CommandError(output, context);
1108
- }
1109
- const contents = smithyClient.map({
1110
- $metadata: deserializeMetadata(output),
1111
- });
1112
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1113
- const doc = smithyClient.take(data, {
1114
- streamKey: smithyClient._json,
1115
- });
1116
- Object.assign(contents, doc);
1117
- return contents;
1118
- };
1119
- const de_GetStreamSessionCommand = async (output, context) => {
1120
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1121
- return de_CommandError(output, context);
1122
- }
1123
- const contents = smithyClient.map({
1124
- $metadata: deserializeMetadata(output),
1125
- });
1126
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1127
- const doc = smithyClient.take(data, {
1128
- streamSession: (_) => de_StreamSession(_),
1129
- });
1130
- Object.assign(contents, doc);
1131
- return contents;
1132
- };
1133
- const de_ImportPlaybackKeyPairCommand = async (output, context) => {
1134
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1135
- return de_CommandError(output, context);
1136
- }
1137
- const contents = smithyClient.map({
1138
- $metadata: deserializeMetadata(output),
1139
- });
1140
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1141
- const doc = smithyClient.take(data, {
1142
- keyPair: smithyClient._json,
1143
- });
1144
- Object.assign(contents, doc);
1145
- return contents;
1146
- };
1147
- const de_ListChannelsCommand = async (output, context) => {
1148
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1149
- return de_CommandError(output, context);
1150
- }
1151
- const contents = smithyClient.map({
1152
- $metadata: deserializeMetadata(output),
1153
- });
1154
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1155
- const doc = smithyClient.take(data, {
1156
- channels: smithyClient._json,
1157
- nextToken: smithyClient.expectString,
1158
- });
1159
- Object.assign(contents, doc);
1160
- return contents;
1161
- };
1162
- const de_ListPlaybackKeyPairsCommand = async (output, context) => {
1163
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1164
- return de_CommandError(output, context);
1165
- }
1166
- const contents = smithyClient.map({
1167
- $metadata: deserializeMetadata(output),
1168
- });
1169
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1170
- const doc = smithyClient.take(data, {
1171
- keyPairs: smithyClient._json,
1172
- nextToken: smithyClient.expectString,
1173
- });
1174
- Object.assign(contents, doc);
1175
- return contents;
1176
- };
1177
- const de_ListPlaybackRestrictionPoliciesCommand = async (output, context) => {
1178
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1179
- return de_CommandError(output, context);
1180
- }
1181
- const contents = smithyClient.map({
1182
- $metadata: deserializeMetadata(output),
1183
- });
1184
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1185
- const doc = smithyClient.take(data, {
1186
- nextToken: smithyClient.expectString,
1187
- playbackRestrictionPolicies: smithyClient._json,
1188
- });
1189
- Object.assign(contents, doc);
1190
- return contents;
1191
- };
1192
- const de_ListRecordingConfigurationsCommand = async (output, context) => {
1193
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1194
- return de_CommandError(output, context);
1195
- }
1196
- const contents = smithyClient.map({
1197
- $metadata: deserializeMetadata(output),
1198
- });
1199
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1200
- const doc = smithyClient.take(data, {
1201
- nextToken: smithyClient.expectString,
1202
- recordingConfigurations: smithyClient._json,
1203
- });
1204
- Object.assign(contents, doc);
1205
- return contents;
1206
- };
1207
- const de_ListStreamKeysCommand = async (output, context) => {
1208
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1209
- return de_CommandError(output, context);
1210
- }
1211
- const contents = smithyClient.map({
1212
- $metadata: deserializeMetadata(output),
1213
- });
1214
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1215
- const doc = smithyClient.take(data, {
1216
- nextToken: smithyClient.expectString,
1217
- streamKeys: smithyClient._json,
1218
- });
1219
- Object.assign(contents, doc);
1220
- return contents;
1221
- };
1222
- const de_ListStreamsCommand = async (output, context) => {
1223
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1224
- return de_CommandError(output, context);
1225
- }
1226
- const contents = smithyClient.map({
1227
- $metadata: deserializeMetadata(output),
1228
- });
1229
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1230
- const doc = smithyClient.take(data, {
1231
- nextToken: smithyClient.expectString,
1232
- streams: (_) => de_StreamList(_),
1233
- });
1234
- Object.assign(contents, doc);
1235
- return contents;
1236
- };
1237
- const de_ListStreamSessionsCommand = async (output, context) => {
1238
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1239
- return de_CommandError(output, context);
1240
- }
1241
- const contents = smithyClient.map({
1242
- $metadata: deserializeMetadata(output),
1243
- });
1244
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1245
- const doc = smithyClient.take(data, {
1246
- nextToken: smithyClient.expectString,
1247
- streamSessions: (_) => de_StreamSessionList(_),
1248
- });
1249
- Object.assign(contents, doc);
1250
- return contents;
1251
- };
1252
- const de_ListTagsForResourceCommand = async (output, context) => {
1253
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1254
- return de_CommandError(output, context);
1255
- }
1256
- const contents = smithyClient.map({
1257
- $metadata: deserializeMetadata(output),
1258
- });
1259
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1260
- const doc = smithyClient.take(data, {
1261
- tags: smithyClient._json,
1262
- });
1263
- Object.assign(contents, doc);
1264
- return contents;
1265
- };
1266
- const de_PutMetadataCommand = async (output, context) => {
1267
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1268
- return de_CommandError(output, context);
1269
- }
1270
- const contents = smithyClient.map({
1271
- $metadata: deserializeMetadata(output),
1272
- });
1273
- await smithyClient.collectBody(output.body, context);
1274
- return contents;
1275
325
  };
1276
- const de_StartViewerSessionRevocationCommand = async (output, context) => {
1277
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1278
- return de_CommandError(output, context);
1279
- }
1280
- const contents = smithyClient.map({
1281
- $metadata: deserializeMetadata(output),
1282
- });
1283
- await smithyClient.collectBody(output.body, context);
1284
- return contents;
1285
- };
1286
- const de_StopStreamCommand = async (output, context) => {
1287
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1288
- return de_CommandError(output, context);
1289
- }
1290
- const contents = smithyClient.map({
1291
- $metadata: deserializeMetadata(output),
1292
- });
1293
- await smithyClient.collectBody(output.body, context);
1294
- return contents;
1295
- };
1296
- const de_TagResourceCommand = async (output, context) => {
1297
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1298
- return de_CommandError(output, context);
1299
- }
1300
- const contents = smithyClient.map({
1301
- $metadata: deserializeMetadata(output),
1302
- });
1303
- await smithyClient.collectBody(output.body, context);
1304
- return contents;
1305
- };
1306
- const de_UntagResourceCommand = async (output, context) => {
1307
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1308
- return de_CommandError(output, context);
1309
- }
1310
- const contents = smithyClient.map({
1311
- $metadata: deserializeMetadata(output),
1312
- });
1313
- await smithyClient.collectBody(output.body, context);
1314
- return contents;
1315
- };
1316
- const de_UpdateChannelCommand = async (output, context) => {
1317
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1318
- return de_CommandError(output, context);
1319
- }
1320
- const contents = smithyClient.map({
1321
- $metadata: deserializeMetadata(output),
1322
- });
1323
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1324
- const doc = smithyClient.take(data, {
1325
- channel: smithyClient._json,
1326
- });
1327
- Object.assign(contents, doc);
1328
- return contents;
1329
- };
1330
- const de_UpdatePlaybackRestrictionPolicyCommand = async (output, context) => {
1331
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1332
- return de_CommandError(output, context);
1333
- }
1334
- const contents = smithyClient.map({
1335
- $metadata: deserializeMetadata(output),
1336
- });
1337
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1338
- const doc = smithyClient.take(data, {
1339
- playbackRestrictionPolicy: smithyClient._json,
1340
- });
1341
- Object.assign(contents, doc);
1342
- return contents;
1343
- };
1344
- const de_CommandError = async (output, context) => {
1345
- const parsedOutput = {
1346
- ...output,
1347
- body: await core$1.parseJsonErrorBody(output.body, context),
1348
- };
1349
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1350
- switch (errorCode) {
1351
- case "AccessDeniedException":
1352
- case "com.amazonaws.ivs#AccessDeniedException":
1353
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1354
- case "PendingVerification":
1355
- case "com.amazonaws.ivs#PendingVerification":
1356
- throw await de_PendingVerificationRes(parsedOutput);
1357
- case "ThrottlingException":
1358
- case "com.amazonaws.ivs#ThrottlingException":
1359
- throw await de_ThrottlingExceptionRes(parsedOutput);
1360
- case "ValidationException":
1361
- case "com.amazonaws.ivs#ValidationException":
1362
- throw await de_ValidationExceptionRes(parsedOutput);
1363
- case "ResourceNotFoundException":
1364
- case "com.amazonaws.ivs#ResourceNotFoundException":
1365
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1366
- case "ServiceQuotaExceededException":
1367
- case "com.amazonaws.ivs#ServiceQuotaExceededException":
1368
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1369
- case "ConflictException":
1370
- case "com.amazonaws.ivs#ConflictException":
1371
- throw await de_ConflictExceptionRes(parsedOutput);
1372
- case "InternalServerException":
1373
- case "com.amazonaws.ivs#InternalServerException":
1374
- throw await de_InternalServerExceptionRes(parsedOutput);
1375
- case "ChannelNotBroadcasting":
1376
- case "com.amazonaws.ivs#ChannelNotBroadcasting":
1377
- throw await de_ChannelNotBroadcastingRes(parsedOutput);
1378
- case "StreamUnavailable":
1379
- case "com.amazonaws.ivs#StreamUnavailable":
1380
- throw await de_StreamUnavailableRes(parsedOutput);
1381
- default:
1382
- const parsedBody = parsedOutput.body;
1383
- return throwDefaultError({
1384
- output,
1385
- parsedBody,
1386
- errorCode,
1387
- });
1388
- }
1389
- };
1390
- const throwDefaultError = smithyClient.withBaseException(IvsServiceException);
1391
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1392
- const contents = smithyClient.map({});
1393
- const data = parsedOutput.body;
1394
- const doc = smithyClient.take(data, {
1395
- exceptionMessage: smithyClient.expectString,
1396
- });
1397
- Object.assign(contents, doc);
1398
- const exception = new AccessDeniedException({
1399
- $metadata: deserializeMetadata(parsedOutput),
1400
- ...contents,
1401
- });
1402
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1403
- };
1404
- const de_ChannelNotBroadcastingRes = async (parsedOutput, context) => {
1405
- const contents = smithyClient.map({});
1406
- const data = parsedOutput.body;
1407
- const doc = smithyClient.take(data, {
1408
- exceptionMessage: smithyClient.expectString,
1409
- });
1410
- Object.assign(contents, doc);
1411
- const exception = new ChannelNotBroadcasting({
1412
- $metadata: deserializeMetadata(parsedOutput),
1413
- ...contents,
1414
- });
1415
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1416
- };
1417
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1418
- const contents = smithyClient.map({});
1419
- const data = parsedOutput.body;
1420
- const doc = smithyClient.take(data, {
1421
- exceptionMessage: smithyClient.expectString,
1422
- });
1423
- Object.assign(contents, doc);
1424
- const exception = new ConflictException({
1425
- $metadata: deserializeMetadata(parsedOutput),
1426
- ...contents,
1427
- });
1428
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1429
- };
1430
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1431
- const contents = smithyClient.map({});
1432
- const data = parsedOutput.body;
1433
- const doc = smithyClient.take(data, {
1434
- exceptionMessage: smithyClient.expectString,
1435
- });
1436
- Object.assign(contents, doc);
1437
- const exception = new InternalServerException({
1438
- $metadata: deserializeMetadata(parsedOutput),
1439
- ...contents,
1440
- });
1441
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1442
- };
1443
- const de_PendingVerificationRes = async (parsedOutput, context) => {
1444
- const contents = smithyClient.map({});
1445
- const data = parsedOutput.body;
1446
- const doc = smithyClient.take(data, {
1447
- exceptionMessage: smithyClient.expectString,
1448
- });
1449
- Object.assign(contents, doc);
1450
- const exception = new PendingVerification({
1451
- $metadata: deserializeMetadata(parsedOutput),
1452
- ...contents,
1453
- });
1454
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1455
- };
1456
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1457
- const contents = smithyClient.map({});
1458
- const data = parsedOutput.body;
1459
- const doc = smithyClient.take(data, {
1460
- exceptionMessage: smithyClient.expectString,
1461
- });
1462
- Object.assign(contents, doc);
1463
- const exception = new ResourceNotFoundException({
1464
- $metadata: deserializeMetadata(parsedOutput),
1465
- ...contents,
1466
- });
1467
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1468
- };
1469
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1470
- const contents = smithyClient.map({});
1471
- const data = parsedOutput.body;
1472
- const doc = smithyClient.take(data, {
1473
- exceptionMessage: smithyClient.expectString,
1474
- });
1475
- Object.assign(contents, doc);
1476
- const exception = new ServiceQuotaExceededException({
1477
- $metadata: deserializeMetadata(parsedOutput),
1478
- ...contents,
1479
- });
1480
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1481
- };
1482
- const de_StreamUnavailableRes = async (parsedOutput, context) => {
1483
- const contents = smithyClient.map({});
1484
- const data = parsedOutput.body;
1485
- const doc = smithyClient.take(data, {
1486
- exceptionMessage: smithyClient.expectString,
1487
- });
1488
- Object.assign(contents, doc);
1489
- const exception = new StreamUnavailable({
1490
- $metadata: deserializeMetadata(parsedOutput),
1491
- ...contents,
1492
- });
1493
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1494
- };
1495
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1496
- const contents = smithyClient.map({});
1497
- const data = parsedOutput.body;
1498
- const doc = smithyClient.take(data, {
1499
- exceptionMessage: smithyClient.expectString,
1500
- });
1501
- Object.assign(contents, doc);
1502
- const exception = new ThrottlingException({
1503
- $metadata: deserializeMetadata(parsedOutput),
1504
- ...contents,
1505
- });
1506
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1507
- };
1508
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1509
- const contents = smithyClient.map({});
1510
- const data = parsedOutput.body;
1511
- const doc = smithyClient.take(data, {
1512
- exceptionMessage: smithyClient.expectString,
1513
- });
1514
- Object.assign(contents, doc);
1515
- const exception = new ValidationException({
1516
- $metadata: deserializeMetadata(parsedOutput),
1517
- ...contents,
1518
- });
1519
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1520
- };
1521
- const de__Stream = (output, context) => {
1522
- return smithyClient.take(output, {
1523
- channelArn: smithyClient.expectString,
1524
- health: smithyClient.expectString,
1525
- playbackUrl: smithyClient.expectString,
1526
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1527
- state: smithyClient.expectString,
1528
- streamId: smithyClient.expectString,
1529
- viewerCount: smithyClient.expectLong,
1530
- });
1531
- };
1532
- const de_StreamEvent = (output, context) => {
1533
- return smithyClient.take(output, {
1534
- code: smithyClient.expectString,
1535
- eventTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1536
- name: smithyClient.expectString,
1537
- type: smithyClient.expectString,
1538
- });
1539
- };
1540
- const de_StreamEvents = (output, context) => {
1541
- const retVal = (output || [])
1542
- .filter((e) => e != null)
1543
- .map((entry) => {
1544
- return de_StreamEvent(entry);
1545
- });
1546
- return retVal;
1547
- };
1548
- const de_StreamList = (output, context) => {
1549
- const retVal = (output || [])
1550
- .filter((e) => e != null)
1551
- .map((entry) => {
1552
- return de_StreamSummary(entry);
1553
- });
1554
- return retVal;
1555
- };
1556
- const de_StreamSession = (output, context) => {
1557
- return smithyClient.take(output, {
1558
- channel: smithyClient._json,
1559
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1560
- ingestConfiguration: smithyClient._json,
1561
- ingestConfigurations: smithyClient._json,
1562
- recordingConfiguration: smithyClient._json,
1563
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1564
- streamId: smithyClient.expectString,
1565
- truncatedEvents: (_) => de_StreamEvents(_),
1566
- });
1567
- };
1568
- const de_StreamSessionList = (output, context) => {
1569
- const retVal = (output || [])
1570
- .filter((e) => e != null)
1571
- .map((entry) => {
1572
- return de_StreamSessionSummary(entry);
1573
- });
1574
- return retVal;
1575
- };
1576
- const de_StreamSessionSummary = (output, context) => {
1577
- return smithyClient.take(output, {
1578
- endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1579
- hasErrorEvent: smithyClient.expectBoolean,
1580
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1581
- streamId: smithyClient.expectString,
1582
- });
1583
- };
1584
- const de_StreamSummary = (output, context) => {
1585
- return smithyClient.take(output, {
1586
- channelArn: smithyClient.expectString,
1587
- health: smithyClient.expectString,
1588
- startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1589
- state: smithyClient.expectString,
1590
- streamId: smithyClient.expectString,
1591
- viewerCount: smithyClient.expectLong,
1592
- });
1593
- };
1594
- const deserializeMetadata = (output) => ({
1595
- httpStatusCode: output.statusCode,
1596
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1597
- extendedRequestId: output.headers["x-amz-id-2"],
1598
- cfId: output.headers["x-amz-cf-id"],
1599
- });
326
+
327
+ const _AC = "AudioConfiguration";
328
+ const _ACL = "AudioConfigurationList";
329
+ const _ADE = "AccessDeniedException";
330
+ const _BE = "BatchError";
331
+ const _BEa = "BatchErrors";
332
+ const _BGC = "BatchGetChannel";
333
+ const _BGCR = "BatchGetChannelRequest";
334
+ const _BGCRa = "BatchGetChannelResponse";
335
+ const _BGSK = "BatchGetStreamKey";
336
+ const _BGSKR = "BatchGetStreamKeyRequest";
337
+ const _BGSKRa = "BatchGetStreamKeyResponse";
338
+ const _BSVSR = "BatchStartViewerSessionRevocation";
339
+ const _BSVSRE = "BatchStartViewerSessionRevocationError";
340
+ const _BSVSREa = "BatchStartViewerSessionRevocationErrors";
341
+ const _BSVSRR = "BatchStartViewerSessionRevocationRequest";
342
+ const _BSVSRRa = "BatchStartViewerSessionRevocationResponse";
343
+ const _BSVSRVS = "BatchStartViewerSessionRevocationViewerSession";
344
+ const _BSVSRVSL = "BatchStartViewerSessionRevocationViewerSessionList";
345
+ const _C = "Channel";
346
+ const _CC = "CreateChannel";
347
+ const _CCR = "CreateChannelRequest";
348
+ const _CCRr = "CreateChannelResponse";
349
+ const _CE = "ConflictException";
350
+ const _CL = "ChannelList";
351
+ const _CNB = "ChannelNotBroadcasting";
352
+ const _CPRP = "CreatePlaybackRestrictionPolicy";
353
+ const _CPRPR = "CreatePlaybackRestrictionPolicyRequest";
354
+ const _CPRPRr = "CreatePlaybackRestrictionPolicyResponse";
355
+ const _CRC = "CreateRecordingConfiguration";
356
+ const _CRCR = "CreateRecordingConfigurationRequest";
357
+ const _CRCRr = "CreateRecordingConfigurationResponse";
358
+ const _CS = "ChannelSummary";
359
+ const _CSK = "CreateStreamKey";
360
+ const _CSKR = "CreateStreamKeyRequest";
361
+ const _CSKRr = "CreateStreamKeyResponse";
362
+ const _Ch = "Channels";
363
+ const _DC = "DestinationConfiguration";
364
+ const _DCR = "DeleteChannelRequest";
365
+ const _DCe = "DeleteChannel";
366
+ const _DPKP = "DeletePlaybackKeyPair";
367
+ const _DPKPR = "DeletePlaybackKeyPairRequest";
368
+ const _DPKPRe = "DeletePlaybackKeyPairResponse";
369
+ const _DPRP = "DeletePlaybackRestrictionPolicy";
370
+ const _DPRPR = "DeletePlaybackRestrictionPolicyRequest";
371
+ const _DRC = "DeleteRecordingConfiguration";
372
+ const _DRCR = "DeleteRecordingConfigurationRequest";
373
+ const _DSK = "DeleteStreamKey";
374
+ const _DSKR = "DeleteStreamKeyRequest";
375
+ const _GC = "GetChannel";
376
+ const _GCR = "GetChannelRequest";
377
+ const _GCRe = "GetChannelResponse";
378
+ const _GPKP = "GetPlaybackKeyPair";
379
+ const _GPKPR = "GetPlaybackKeyPairRequest";
380
+ const _GPKPRe = "GetPlaybackKeyPairResponse";
381
+ const _GPRP = "GetPlaybackRestrictionPolicy";
382
+ const _GPRPR = "GetPlaybackRestrictionPolicyRequest";
383
+ const _GPRPRe = "GetPlaybackRestrictionPolicyResponse";
384
+ const _GRC = "GetRecordingConfiguration";
385
+ const _GRCR = "GetRecordingConfigurationRequest";
386
+ const _GRCRe = "GetRecordingConfigurationResponse";
387
+ const _GS = "GetStream";
388
+ const _GSK = "GetStreamKey";
389
+ const _GSKR = "GetStreamKeyRequest";
390
+ const _GSKRe = "GetStreamKeyResponse";
391
+ const _GSR = "GetStreamRequest";
392
+ const _GSRe = "GetStreamResponse";
393
+ const _GSS = "GetStreamSession";
394
+ const _GSSR = "GetStreamSessionRequest";
395
+ const _GSSRe = "GetStreamSessionResponse";
396
+ const _IC = "IngestConfiguration";
397
+ const _ICn = "IngestConfigurations";
398
+ const _IPKP = "ImportPlaybackKeyPair";
399
+ const _IPKPR = "ImportPlaybackKeyPairRequest";
400
+ const _IPKPRm = "ImportPlaybackKeyPairResponse";
401
+ const _ISE = "InternalServerException";
402
+ const _LC = "ListChannels";
403
+ const _LCR = "ListChannelsRequest";
404
+ const _LCRi = "ListChannelsResponse";
405
+ const _LPKP = "ListPlaybackKeyPairs";
406
+ const _LPKPR = "ListPlaybackKeyPairsRequest";
407
+ const _LPKPRi = "ListPlaybackKeyPairsResponse";
408
+ const _LPRP = "ListPlaybackRestrictionPolicies";
409
+ const _LPRPR = "ListPlaybackRestrictionPoliciesRequest";
410
+ const _LPRPRi = "ListPlaybackRestrictionPoliciesResponse";
411
+ const _LRC = "ListRecordingConfigurations";
412
+ const _LRCR = "ListRecordingConfigurationsRequest";
413
+ const _LRCRi = "ListRecordingConfigurationsResponse";
414
+ const _LS = "ListStreams";
415
+ const _LSK = "ListStreamKeys";
416
+ const _LSKR = "ListStreamKeysRequest";
417
+ const _LSKRi = "ListStreamKeysResponse";
418
+ const _LSR = "ListStreamsRequest";
419
+ const _LSRi = "ListStreamsResponse";
420
+ const _LSS = "ListStreamSessions";
421
+ const _LSSR = "ListStreamSessionsRequest";
422
+ const _LSSRi = "ListStreamSessionsResponse";
423
+ const _LTFR = "ListTagsForResource";
424
+ const _LTFRR = "ListTagsForResourceRequest";
425
+ const _LTFRRi = "ListTagsForResourceResponse";
426
+ const _MIC = "MultitrackInputConfiguration";
427
+ const _PKP = "PlaybackKeyPair";
428
+ const _PKPL = "PlaybackKeyPairList";
429
+ const _PKPS = "PlaybackKeyPairSummary";
430
+ const _PM = "PutMetadata";
431
+ const _PMR = "PutMetadataRequest";
432
+ const _PRP = "PlaybackRestrictionPolicy";
433
+ const _PRPL = "PlaybackRestrictionPolicyList";
434
+ const _PRPS = "PlaybackRestrictionPolicySummary";
435
+ const _PV = "PendingVerification";
436
+ const _RC = "RecordingConfiguration";
437
+ const _RCL = "RecordingConfigurationList";
438
+ const _RCS = "RecordingConfigurationSummary";
439
+ const _RCe = "RenditionConfiguration";
440
+ const _RNFE = "ResourceNotFoundException";
441
+ const _S = "Srt";
442
+ const _SDC = "S3DestinationConfiguration";
443
+ const _SE = "StreamEvent";
444
+ const _SEt = "StreamEvents";
445
+ const _SF = "StreamFilters";
446
+ const _SK = "StreamKey";
447
+ const _SKL = "StreamKeyList";
448
+ const _SKS = "StreamKeySummary";
449
+ const _SKV = "StreamKeyValue";
450
+ const _SKt = "StreamKeys";
451
+ const _SL = "StreamList";
452
+ const _SM = "StreamMetadata";
453
+ const _SP = "SrtPassphrase";
454
+ const _SQEE = "ServiceQuotaExceededException";
455
+ const _SS = "StreamSession";
456
+ const _SSL = "StreamSessionList";
457
+ const _SSR = "StopStreamRequest";
458
+ const _SSRt = "StopStreamResponse";
459
+ const _SSS = "StreamSessionSummary";
460
+ const _SSt = "StreamSummary";
461
+ const _SSto = "StopStream";
462
+ const _SU = "StreamUnavailable";
463
+ const _SVSR = "StartViewerSessionRevocation";
464
+ const _SVSRR = "StartViewerSessionRevocationRequest";
465
+ const _SVSRRt = "StartViewerSessionRevocationResponse";
466
+ const _St = "Stream";
467
+ const _TC = "ThumbnailConfiguration";
468
+ const _TE = "ThrottlingException";
469
+ const _TR = "TagResource";
470
+ const _TRR = "TagResourceRequest";
471
+ const _TRRa = "TagResourceResponse";
472
+ const _UC = "UpdateChannel";
473
+ const _UCR = "UpdateChannelRequest";
474
+ const _UCRp = "UpdateChannelResponse";
475
+ const _UPRP = "UpdatePlaybackRestrictionPolicy";
476
+ const _UPRPR = "UpdatePlaybackRestrictionPolicyRequest";
477
+ const _UPRPRp = "UpdatePlaybackRestrictionPolicyResponse";
478
+ const _UR = "UntagResource";
479
+ const _URR = "UntagResourceRequest";
480
+ const _URRn = "UntagResourceResponse";
481
+ const _VC = "VideoConfiguration";
482
+ const _VCL = "VideoConfigurationList";
483
+ const _VE = "ValidationException";
484
+ const _a = "arn";
485
+ const _aC = "allowedCountries";
486
+ const _aCu = "audioConfigurations";
487
+ const _aL = "avcLevel";
488
+ const _aO = "allowedOrigins";
489
+ const _aP = "avcProfile";
490
+ const _ar = "arns";
491
+ const _au = "authorized";
492
+ const _aud = "audio";
493
+ const _bN = "bucketName";
494
+ const _c = "client";
495
+ const _cA = "channelArn";
496
+ const _cF = "containerFormat";
497
+ const _ch = "channels";
498
+ const _cha = "channel";
499
+ const _co = "codec";
500
+ const _cod = "code";
501
+ const _dC = "destinationConfiguration";
502
+ const _e = "error";
503
+ const _eM = "exceptionMessage";
504
+ const _eSOE = "enableStrictOriginEnforcement";
505
+ const _eT = "eventTime";
506
+ const _eTn = "endTime";
507
+ const _en = "enabled";
508
+ const _enc = "encoder";
509
+ const _end = "endpoint";
510
+ const _er = "errors";
511
+ const _f = "fingerprint";
512
+ const _fB = "filterBy";
513
+ const _fBN = "filterByName";
514
+ const _fBPRPA = "filterByPlaybackRestrictionPolicyArn";
515
+ const _fBRCA = "filterByRecordingConfigurationArn";
516
+ const _h = "health";
517
+ const _hE = "httpError";
518
+ const _hEE = "hasErrorEvent";
519
+ const _hQ = "httpQuery";
520
+ const _ht = "http";
521
+ const _iC = "ingestConfiguration";
522
+ const _iCn = "ingestConfigurations";
523
+ const _iE = "ingestEndpoint";
524
+ const _iI = "insecureIngest";
525
+ const _kP = "keyPair";
526
+ const _kPe = "keyPairs";
527
+ const _l = "level";
528
+ const _lM = "latencyMode";
529
+ const _m = "message";
530
+ const _mIC = "multitrackInputConfiguration";
531
+ const _mR = "maxResults";
532
+ const _mRa = "maximumResolution";
533
+ const _me = "metadata";
534
+ const _n = "name";
535
+ const _nT = "nextToken";
536
+ const _p = "preset";
537
+ const _pKM = "publicKeyMaterial";
538
+ const _pRP = "playbackRestrictionPolicy";
539
+ const _pRPA = "playbackRestrictionPolicyArn";
540
+ const _pRPl = "playbackRestrictionPolicies";
541
+ const _pU = "playbackUrl";
542
+ const _pa = "passphrase";
543
+ const _po = "policy";
544
+ const _pr = "profile";
545
+ const _r = "renditions";
546
+ const _rA = "resourceArn";
547
+ const _rC = "renditionConfiguration";
548
+ const _rCA = "recordingConfigurationArn";
549
+ const _rCe = "recordingConfiguration";
550
+ const _rCec = "recordingConfigurations";
551
+ const _rM = "recordingMode";
552
+ const _rRWS = "recordingReconnectWindowSeconds";
553
+ const _rS = "renditionSelection";
554
+ const _re = "resolution";
555
+ const _s = "srt";
556
+ const _sI = "streamId";
557
+ const _sK = "streamKeys";
558
+ const _sKt = "streamKey";
559
+ const _sR = "sampleRate";
560
+ const _sS = "streamSession";
561
+ const _sSt = "streamSessions";
562
+ const _sT = "startTime";
563
+ const _s_ = "s3";
564
+ const _se = "server";
565
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ivs";
566
+ const _st = "stream";
567
+ const _sta = "state";
568
+ const _sto = "storage";
569
+ const _str = "streams";
570
+ const _t = "track";
571
+ const _tB = "targetBitrate";
572
+ const _tC = "thumbnailConfiguration";
573
+ const _tE = "truncatedEvents";
574
+ const _tF = "targetFramerate";
575
+ const _tIS = "targetIntervalSeconds";
1600
576
  const _tK = "tagKeys";
577
+ const _ta = "tags";
578
+ const _ty = "type";
579
+ const _v = "video";
580
+ const _vC = "videoConfigurations";
581
+ const _vCi = "viewerCount";
582
+ const _vH = "videoHeight";
583
+ const _vI = "viewerId";
584
+ const _vS = "viewerSessions";
585
+ const _vSVLTOET = "viewerSessionVersionsLessThanOrEqualTo";
586
+ const _vW = "videoWidth";
587
+ const _va = "value";
588
+ const n0 = "com.amazonaws.ivs";
589
+ var SrtPassphrase = [0, n0, _SP, 8, 0];
590
+ var StreamKeyValue = [0, n0, _SKV, 8, 0];
591
+ var StreamMetadata = [0, n0, _SM, 8, 0];
592
+ var AccessDeniedException = [
593
+ -3,
594
+ n0,
595
+ _ADE,
596
+ {
597
+ [_e]: _c,
598
+ [_hE]: 403,
599
+ },
600
+ [_eM],
601
+ [0],
602
+ ];
603
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
604
+ var AudioConfiguration = [3, n0, _AC, 0, [_co, _tB, _sR, _ch, _t], [0, 1, 1, 1, 0]];
605
+ var BatchError = [3, n0, _BE, 0, [_a, _cod, _m], [0, 0, 0]];
606
+ var BatchGetChannelRequest = [3, n0, _BGCR, 0, [_ar], [64 | 0]];
607
+ var BatchGetChannelResponse = [
608
+ 3,
609
+ n0,
610
+ _BGCRa,
611
+ 0,
612
+ [_ch, _er],
613
+ [[() => Channels, 0], () => BatchErrors],
614
+ ];
615
+ var BatchGetStreamKeyRequest = [3, n0, _BGSKR, 0, [_ar], [64 | 0]];
616
+ var BatchGetStreamKeyResponse = [
617
+ 3,
618
+ n0,
619
+ _BGSKRa,
620
+ 0,
621
+ [_sK, _er],
622
+ [[() => StreamKeys, 0], () => BatchErrors],
623
+ ];
624
+ var BatchStartViewerSessionRevocationError = [
625
+ 3,
626
+ n0,
627
+ _BSVSRE,
628
+ 0,
629
+ [_cA, _vI, _cod, _m],
630
+ [0, 0, 0, 0],
631
+ ];
632
+ var BatchStartViewerSessionRevocationRequest = [
633
+ 3,
634
+ n0,
635
+ _BSVSRR,
636
+ 0,
637
+ [_vS],
638
+ [() => BatchStartViewerSessionRevocationViewerSessionList],
639
+ ];
640
+ var BatchStartViewerSessionRevocationResponse = [
641
+ 3,
642
+ n0,
643
+ _BSVSRRa,
644
+ 0,
645
+ [_er],
646
+ [() => BatchStartViewerSessionRevocationErrors],
647
+ ];
648
+ var BatchStartViewerSessionRevocationViewerSession = [
649
+ 3,
650
+ n0,
651
+ _BSVSRVS,
652
+ 0,
653
+ [_cA, _vI, _vSVLTOET],
654
+ [0, 0, 1],
655
+ ];
656
+ var Channel = [
657
+ 3,
658
+ n0,
659
+ _C,
660
+ 0,
661
+ [_a, _n, _lM, _ty, _rCA, _iE, _pU, _au, _ta, _iI, _p, _s, _pRPA, _mIC, _cF],
662
+ [0, 0, 0, 0, 0, 0, 0, 2, 128 | 0, 2, 0, [() => Srt, 0], 0, () => MultitrackInputConfiguration, 0],
663
+ ];
664
+ var ChannelNotBroadcasting = [
665
+ -3,
666
+ n0,
667
+ _CNB,
668
+ {
669
+ [_e]: _c,
670
+ [_hE]: 404,
671
+ },
672
+ [_eM],
673
+ [0],
674
+ ];
675
+ schema.TypeRegistry.for(n0).registerError(ChannelNotBroadcasting, ChannelNotBroadcasting$1);
676
+ var ChannelSummary = [
677
+ 3,
678
+ n0,
679
+ _CS,
680
+ 0,
681
+ [_a, _n, _lM, _au, _rCA, _ta, _iI, _ty, _p, _pRPA],
682
+ [0, 0, 0, 2, 0, 128 | 0, 2, 0, 0, 0],
683
+ ];
684
+ var ConflictException = [
685
+ -3,
686
+ n0,
687
+ _CE,
688
+ {
689
+ [_e]: _c,
690
+ [_hE]: 409,
691
+ },
692
+ [_eM],
693
+ [0],
694
+ ];
695
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
696
+ var CreateChannelRequest = [
697
+ 3,
698
+ n0,
699
+ _CCR,
700
+ 0,
701
+ [_n, _lM, _ty, _au, _rCA, _ta, _iI, _p, _pRPA, _mIC, _cF],
702
+ [0, 0, 0, 2, 0, 128 | 0, 2, 0, 0, () => MultitrackInputConfiguration, 0],
703
+ ];
704
+ var CreateChannelResponse = [
705
+ 3,
706
+ n0,
707
+ _CCRr,
708
+ 0,
709
+ [_cha, _sKt],
710
+ [
711
+ [() => Channel, 0],
712
+ [() => StreamKey, 0],
713
+ ],
714
+ ];
715
+ var CreatePlaybackRestrictionPolicyRequest = [
716
+ 3,
717
+ n0,
718
+ _CPRPR,
719
+ 0,
720
+ [_aC, _aO, _eSOE, _n, _ta],
721
+ [64 | 0, 64 | 0, 2, 0, 128 | 0],
722
+ ];
723
+ var CreatePlaybackRestrictionPolicyResponse = [
724
+ 3,
725
+ n0,
726
+ _CPRPRr,
727
+ 0,
728
+ [_pRP],
729
+ [() => PlaybackRestrictionPolicy],
730
+ ];
731
+ var CreateRecordingConfigurationRequest = [
732
+ 3,
733
+ n0,
734
+ _CRCR,
735
+ 0,
736
+ [_n, _dC, _ta, _tC, _rRWS, _rC],
737
+ [0, () => DestinationConfiguration, 128 | 0, () => ThumbnailConfiguration, 1, () => RenditionConfiguration],
738
+ ];
739
+ var CreateRecordingConfigurationResponse = [
740
+ 3,
741
+ n0,
742
+ _CRCRr,
743
+ 0,
744
+ [_rCe],
745
+ [() => RecordingConfiguration],
746
+ ];
747
+ var CreateStreamKeyRequest = [3, n0, _CSKR, 0, [_cA, _ta], [0, 128 | 0]];
748
+ var CreateStreamKeyResponse = [3, n0, _CSKRr, 0, [_sKt], [[() => StreamKey, 0]]];
749
+ var DeleteChannelRequest = [3, n0, _DCR, 0, [_a], [0]];
750
+ var DeletePlaybackKeyPairRequest = [3, n0, _DPKPR, 0, [_a], [0]];
751
+ var DeletePlaybackKeyPairResponse = [3, n0, _DPKPRe, 0, [], []];
752
+ var DeletePlaybackRestrictionPolicyRequest = [3, n0, _DPRPR, 0, [_a], [0]];
753
+ var DeleteRecordingConfigurationRequest = [3, n0, _DRCR, 0, [_a], [0]];
754
+ var DeleteStreamKeyRequest = [3, n0, _DSKR, 0, [_a], [0]];
755
+ var DestinationConfiguration = [3, n0, _DC, 0, [_s_], [() => S3DestinationConfiguration]];
756
+ var GetChannelRequest = [3, n0, _GCR, 0, [_a], [0]];
757
+ var GetChannelResponse = [3, n0, _GCRe, 0, [_cha], [[() => Channel, 0]]];
758
+ var GetPlaybackKeyPairRequest = [3, n0, _GPKPR, 0, [_a], [0]];
759
+ var GetPlaybackKeyPairResponse = [3, n0, _GPKPRe, 0, [_kP], [() => PlaybackKeyPair]];
760
+ var GetPlaybackRestrictionPolicyRequest = [3, n0, _GPRPR, 0, [_a], [0]];
761
+ var GetPlaybackRestrictionPolicyResponse = [
762
+ 3,
763
+ n0,
764
+ _GPRPRe,
765
+ 0,
766
+ [_pRP],
767
+ [() => PlaybackRestrictionPolicy],
768
+ ];
769
+ var GetRecordingConfigurationRequest = [3, n0, _GRCR, 0, [_a], [0]];
770
+ var GetRecordingConfigurationResponse = [
771
+ 3,
772
+ n0,
773
+ _GRCRe,
774
+ 0,
775
+ [_rCe],
776
+ [() => RecordingConfiguration],
777
+ ];
778
+ var GetStreamKeyRequest = [3, n0, _GSKR, 0, [_a], [0]];
779
+ var GetStreamKeyResponse = [3, n0, _GSKRe, 0, [_sKt], [[() => StreamKey, 0]]];
780
+ var GetStreamRequest = [3, n0, _GSR, 0, [_cA], [0]];
781
+ var GetStreamResponse = [3, n0, _GSRe, 0, [_st], [() => _Stream]];
782
+ var GetStreamSessionRequest = [3, n0, _GSSR, 0, [_cA, _sI], [0, 0]];
783
+ var GetStreamSessionResponse = [3, n0, _GSSRe, 0, [_sS], [[() => StreamSession, 0]]];
784
+ var ImportPlaybackKeyPairRequest = [3, n0, _IPKPR, 0, [_pKM, _n, _ta], [0, 0, 128 | 0]];
785
+ var ImportPlaybackKeyPairResponse = [3, n0, _IPKPRm, 0, [_kP], [() => PlaybackKeyPair]];
786
+ var IngestConfiguration = [
787
+ 3,
788
+ n0,
789
+ _IC,
790
+ 0,
791
+ [_v, _aud],
792
+ [() => VideoConfiguration, () => AudioConfiguration],
793
+ ];
794
+ var IngestConfigurations = [
795
+ 3,
796
+ n0,
797
+ _ICn,
798
+ 0,
799
+ [_vC, _aCu],
800
+ [() => VideoConfigurationList, () => AudioConfigurationList],
801
+ ];
802
+ var InternalServerException = [
803
+ -3,
804
+ n0,
805
+ _ISE,
806
+ {
807
+ [_e]: _se,
808
+ [_hE]: 500,
809
+ },
810
+ [_eM],
811
+ [0],
812
+ ];
813
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
814
+ var ListChannelsRequest = [
815
+ 3,
816
+ n0,
817
+ _LCR,
818
+ 0,
819
+ [_fBN, _fBRCA, _fBPRPA, _nT, _mR],
820
+ [0, 0, 0, 0, 1],
821
+ ];
822
+ var ListChannelsResponse = [3, n0, _LCRi, 0, [_ch, _nT], [() => ChannelList, 0]];
823
+ var ListPlaybackKeyPairsRequest = [3, n0, _LPKPR, 0, [_nT, _mR], [0, 1]];
824
+ var ListPlaybackKeyPairsResponse = [
825
+ 3,
826
+ n0,
827
+ _LPKPRi,
828
+ 0,
829
+ [_kPe, _nT],
830
+ [() => PlaybackKeyPairList, 0],
831
+ ];
832
+ var ListPlaybackRestrictionPoliciesRequest = [3, n0, _LPRPR, 0, [_nT, _mR], [0, 1]];
833
+ var ListPlaybackRestrictionPoliciesResponse = [
834
+ 3,
835
+ n0,
836
+ _LPRPRi,
837
+ 0,
838
+ [_pRPl, _nT],
839
+ [() => PlaybackRestrictionPolicyList, 0],
840
+ ];
841
+ var ListRecordingConfigurationsRequest = [3, n0, _LRCR, 0, [_nT, _mR], [0, 1]];
842
+ var ListRecordingConfigurationsResponse = [
843
+ 3,
844
+ n0,
845
+ _LRCRi,
846
+ 0,
847
+ [_rCec, _nT],
848
+ [() => RecordingConfigurationList, 0],
849
+ ];
850
+ var ListStreamKeysRequest = [3, n0, _LSKR, 0, [_cA, _nT, _mR], [0, 0, 1]];
851
+ var ListStreamKeysResponse = [3, n0, _LSKRi, 0, [_sK, _nT], [() => StreamKeyList, 0]];
852
+ var ListStreamSessionsRequest = [3, n0, _LSSR, 0, [_cA, _nT, _mR], [0, 0, 1]];
853
+ var ListStreamSessionsResponse = [
854
+ 3,
855
+ n0,
856
+ _LSSRi,
857
+ 0,
858
+ [_sSt, _nT],
859
+ [() => StreamSessionList, 0],
860
+ ];
861
+ var ListStreamsRequest = [3, n0, _LSR, 0, [_fB, _nT, _mR], [() => StreamFilters, 0, 1]];
862
+ var ListStreamsResponse = [3, n0, _LSRi, 0, [_str, _nT], [() => StreamList, 0]];
863
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
864
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
865
+ var MultitrackInputConfiguration = [3, n0, _MIC, 0, [_en, _po, _mRa], [2, 0, 0]];
866
+ var PendingVerification = [
867
+ -3,
868
+ n0,
869
+ _PV,
870
+ {
871
+ [_e]: _c,
872
+ [_hE]: 403,
873
+ },
874
+ [_eM],
875
+ [0],
876
+ ];
877
+ schema.TypeRegistry.for(n0).registerError(PendingVerification, PendingVerification$1);
878
+ var PlaybackKeyPair = [3, n0, _PKP, 0, [_a, _n, _f, _ta], [0, 0, 0, 128 | 0]];
879
+ var PlaybackKeyPairSummary = [3, n0, _PKPS, 0, [_a, _n, _ta], [0, 0, 128 | 0]];
880
+ var PlaybackRestrictionPolicy = [
881
+ 3,
882
+ n0,
883
+ _PRP,
884
+ 0,
885
+ [_a, _aC, _aO, _eSOE, _n, _ta],
886
+ [0, 64 | 0, 64 | 0, 2, 0, 128 | 0],
887
+ ];
888
+ var PlaybackRestrictionPolicySummary = [
889
+ 3,
890
+ n0,
891
+ _PRPS,
892
+ 0,
893
+ [_a, _aC, _aO, _eSOE, _n, _ta],
894
+ [0, 64 | 0, 64 | 0, 2, 0, 128 | 0],
895
+ ];
896
+ var PutMetadataRequest = [3, n0, _PMR, 0, [_cA, _me], [0, [() => StreamMetadata, 0]]];
897
+ var RecordingConfiguration = [
898
+ 3,
899
+ n0,
900
+ _RC,
901
+ 0,
902
+ [_a, _n, _dC, _sta, _ta, _tC, _rRWS, _rC],
903
+ [0, 0, () => DestinationConfiguration, 0, 128 | 0, () => ThumbnailConfiguration, 1, () => RenditionConfiguration],
904
+ ];
905
+ var RecordingConfigurationSummary = [
906
+ 3,
907
+ n0,
908
+ _RCS,
909
+ 0,
910
+ [_a, _n, _dC, _sta, _ta],
911
+ [0, 0, () => DestinationConfiguration, 0, 128 | 0],
912
+ ];
913
+ var RenditionConfiguration = [3, n0, _RCe, 0, [_rS, _r], [0, 64 | 0]];
914
+ var ResourceNotFoundException = [
915
+ -3,
916
+ n0,
917
+ _RNFE,
918
+ {
919
+ [_e]: _c,
920
+ [_hE]: 404,
921
+ },
922
+ [_eM],
923
+ [0],
924
+ ];
925
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
926
+ var S3DestinationConfiguration = [3, n0, _SDC, 0, [_bN], [0]];
927
+ var ServiceQuotaExceededException = [
928
+ -3,
929
+ n0,
930
+ _SQEE,
931
+ {
932
+ [_e]: _c,
933
+ [_hE]: 402,
934
+ },
935
+ [_eM],
936
+ [0],
937
+ ];
938
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
939
+ var Srt = [3, n0, _S, 0, [_end, _pa], [0, [() => SrtPassphrase, 0]]];
940
+ var StartViewerSessionRevocationRequest = [
941
+ 3,
942
+ n0,
943
+ _SVSRR,
944
+ 0,
945
+ [_cA, _vI, _vSVLTOET],
946
+ [0, 0, 1],
947
+ ];
948
+ var StartViewerSessionRevocationResponse = [3, n0, _SVSRRt, 0, [], []];
949
+ var StopStreamRequest = [3, n0, _SSR, 0, [_cA], [0]];
950
+ var StopStreamResponse = [3, n0, _SSRt, 0, [], []];
951
+ var _Stream = [
952
+ 3,
953
+ n0,
954
+ _St,
955
+ 0,
956
+ [_cA, _sI, _pU, _sT, _sta, _h, _vCi],
957
+ [0, 0, 0, 5, 0, 0, 1],
958
+ ];
959
+ var StreamEvent = [3, n0, _SE, 0, [_n, _ty, _eT, _cod], [0, 0, 5, 0]];
960
+ var StreamFilters = [3, n0, _SF, 0, [_h], [0]];
961
+ var StreamKey = [
962
+ 3,
963
+ n0,
964
+ _SK,
965
+ 0,
966
+ [_a, _va, _cA, _ta],
967
+ [0, [() => StreamKeyValue, 0], 0, 128 | 0],
968
+ ];
969
+ var StreamKeySummary = [3, n0, _SKS, 0, [_a, _cA, _ta], [0, 0, 128 | 0]];
970
+ var StreamSession = [
971
+ 3,
972
+ n0,
973
+ _SS,
974
+ 0,
975
+ [_sI, _sT, _eTn, _cha, _iC, _iCn, _rCe, _tE],
976
+ [
977
+ 0,
978
+ 5,
979
+ 5,
980
+ [() => Channel, 0],
981
+ () => IngestConfiguration,
982
+ () => IngestConfigurations,
983
+ () => RecordingConfiguration,
984
+ () => StreamEvents,
985
+ ],
986
+ ];
987
+ var StreamSessionSummary = [3, n0, _SSS, 0, [_sI, _sT, _eTn, _hEE], [0, 5, 5, 2]];
988
+ var StreamSummary = [3, n0, _SSt, 0, [_cA, _sI, _sta, _h, _vCi, _sT], [0, 0, 0, 0, 1, 5]];
989
+ var StreamUnavailable = [
990
+ -3,
991
+ n0,
992
+ _SU,
993
+ {
994
+ [_e]: _se,
995
+ [_hE]: 503,
996
+ },
997
+ [_eM],
998
+ [0],
999
+ ];
1000
+ schema.TypeRegistry.for(n0).registerError(StreamUnavailable, StreamUnavailable$1);
1001
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _ta], [[0, 1], 128 | 0]];
1002
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1003
+ var ThrottlingException = [
1004
+ -3,
1005
+ n0,
1006
+ _TE,
1007
+ {
1008
+ [_e]: _c,
1009
+ [_hE]: 429,
1010
+ },
1011
+ [_eM],
1012
+ [0],
1013
+ ];
1014
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1015
+ var ThumbnailConfiguration = [3, n0, _TC, 0, [_rM, _tIS, _re, _sto], [0, 1, 0, 64 | 0]];
1016
+ var UntagResourceRequest = [
1017
+ 3,
1018
+ n0,
1019
+ _URR,
1020
+ 0,
1021
+ [_rA, _tK],
1022
+ [
1023
+ [0, 1],
1024
+ [
1025
+ 64 | 0,
1026
+ {
1027
+ [_hQ]: _tK,
1028
+ },
1029
+ ],
1030
+ ],
1031
+ ];
1032
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1033
+ var UpdateChannelRequest = [
1034
+ 3,
1035
+ n0,
1036
+ _UCR,
1037
+ 0,
1038
+ [_a, _n, _lM, _ty, _au, _rCA, _iI, _p, _pRPA, _mIC, _cF],
1039
+ [0, 0, 0, 0, 2, 0, 2, 0, 0, () => MultitrackInputConfiguration, 0],
1040
+ ];
1041
+ var UpdateChannelResponse = [3, n0, _UCRp, 0, [_cha], [[() => Channel, 0]]];
1042
+ var UpdatePlaybackRestrictionPolicyRequest = [
1043
+ 3,
1044
+ n0,
1045
+ _UPRPR,
1046
+ 0,
1047
+ [_a, _aC, _aO, _eSOE, _n],
1048
+ [0, 64 | 0, 64 | 0, 2, 0],
1049
+ ];
1050
+ var UpdatePlaybackRestrictionPolicyResponse = [
1051
+ 3,
1052
+ n0,
1053
+ _UPRPRp,
1054
+ 0,
1055
+ [_pRP],
1056
+ [() => PlaybackRestrictionPolicy],
1057
+ ];
1058
+ var ValidationException = [
1059
+ -3,
1060
+ n0,
1061
+ _VE,
1062
+ {
1063
+ [_e]: _c,
1064
+ [_hE]: 400,
1065
+ },
1066
+ [_eM],
1067
+ [0],
1068
+ ];
1069
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1070
+ var VideoConfiguration = [
1071
+ 3,
1072
+ n0,
1073
+ _VC,
1074
+ 0,
1075
+ [_aP, _aL, _co, _enc, _tB, _tF, _vH, _vW, _l, _t, _pr],
1076
+ [0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0],
1077
+ ];
1078
+ var __Unit = "unit";
1079
+ var IvsServiceException = [-3, _sm, "IvsServiceException", 0, [], []];
1080
+ schema.TypeRegistry.for(_sm).registerError(IvsServiceException, IvsServiceException$1);
1081
+ var AudioConfigurationList = [1, n0, _ACL, 0, () => AudioConfiguration];
1082
+ var BatchErrors = [1, n0, _BEa, 0, () => BatchError];
1083
+ var BatchStartViewerSessionRevocationErrors = [
1084
+ 1,
1085
+ n0,
1086
+ _BSVSREa,
1087
+ 0,
1088
+ () => BatchStartViewerSessionRevocationError,
1089
+ ];
1090
+ var BatchStartViewerSessionRevocationViewerSessionList = [
1091
+ 1,
1092
+ n0,
1093
+ _BSVSRVSL,
1094
+ 0,
1095
+ () => BatchStartViewerSessionRevocationViewerSession,
1096
+ ];
1097
+ var ChannelList = [1, n0, _CL, 0, () => ChannelSummary];
1098
+ var Channels = [1, n0, _Ch, 0, [() => Channel, 0]];
1099
+ var PlaybackKeyPairList = [1, n0, _PKPL, 0, () => PlaybackKeyPairSummary];
1100
+ var PlaybackRestrictionPolicyList = [1, n0, _PRPL, 0, () => PlaybackRestrictionPolicySummary];
1101
+ var RecordingConfigurationList = [1, n0, _RCL, 0, () => RecordingConfigurationSummary];
1102
+ var StreamEvents = [1, n0, _SEt, 0, () => StreamEvent];
1103
+ var StreamKeyList = [1, n0, _SKL, 0, () => StreamKeySummary];
1104
+ var StreamKeys = [1, n0, _SKt, 0, [() => StreamKey, 0]];
1105
+ var StreamList = [1, n0, _SL, 0, () => StreamSummary];
1106
+ var StreamSessionList = [1, n0, _SSL, 0, () => StreamSessionSummary];
1107
+ var VideoConfigurationList = [1, n0, _VCL, 0, () => VideoConfiguration];
1108
+ var BatchGetChannel = [
1109
+ 9,
1110
+ n0,
1111
+ _BGC,
1112
+ {
1113
+ [_ht]: ["POST", "/BatchGetChannel", 200],
1114
+ },
1115
+ () => BatchGetChannelRequest,
1116
+ () => BatchGetChannelResponse,
1117
+ ];
1118
+ var BatchGetStreamKey = [
1119
+ 9,
1120
+ n0,
1121
+ _BGSK,
1122
+ {
1123
+ [_ht]: ["POST", "/BatchGetStreamKey", 200],
1124
+ },
1125
+ () => BatchGetStreamKeyRequest,
1126
+ () => BatchGetStreamKeyResponse,
1127
+ ];
1128
+ var BatchStartViewerSessionRevocation = [
1129
+ 9,
1130
+ n0,
1131
+ _BSVSR,
1132
+ {
1133
+ [_ht]: ["POST", "/BatchStartViewerSessionRevocation", 200],
1134
+ },
1135
+ () => BatchStartViewerSessionRevocationRequest,
1136
+ () => BatchStartViewerSessionRevocationResponse,
1137
+ ];
1138
+ var CreateChannel = [
1139
+ 9,
1140
+ n0,
1141
+ _CC,
1142
+ {
1143
+ [_ht]: ["POST", "/CreateChannel", 200],
1144
+ },
1145
+ () => CreateChannelRequest,
1146
+ () => CreateChannelResponse,
1147
+ ];
1148
+ var CreatePlaybackRestrictionPolicy = [
1149
+ 9,
1150
+ n0,
1151
+ _CPRP,
1152
+ {
1153
+ [_ht]: ["POST", "/CreatePlaybackRestrictionPolicy", 200],
1154
+ },
1155
+ () => CreatePlaybackRestrictionPolicyRequest,
1156
+ () => CreatePlaybackRestrictionPolicyResponse,
1157
+ ];
1158
+ var CreateRecordingConfiguration = [
1159
+ 9,
1160
+ n0,
1161
+ _CRC,
1162
+ {
1163
+ [_ht]: ["POST", "/CreateRecordingConfiguration", 200],
1164
+ },
1165
+ () => CreateRecordingConfigurationRequest,
1166
+ () => CreateRecordingConfigurationResponse,
1167
+ ];
1168
+ var CreateStreamKey = [
1169
+ 9,
1170
+ n0,
1171
+ _CSK,
1172
+ {
1173
+ [_ht]: ["POST", "/CreateStreamKey", 200],
1174
+ },
1175
+ () => CreateStreamKeyRequest,
1176
+ () => CreateStreamKeyResponse,
1177
+ ];
1178
+ var DeleteChannel = [
1179
+ 9,
1180
+ n0,
1181
+ _DCe,
1182
+ {
1183
+ [_ht]: ["POST", "/DeleteChannel", 204],
1184
+ },
1185
+ () => DeleteChannelRequest,
1186
+ () => __Unit,
1187
+ ];
1188
+ var DeletePlaybackKeyPair = [
1189
+ 9,
1190
+ n0,
1191
+ _DPKP,
1192
+ {
1193
+ [_ht]: ["POST", "/DeletePlaybackKeyPair", 200],
1194
+ },
1195
+ () => DeletePlaybackKeyPairRequest,
1196
+ () => DeletePlaybackKeyPairResponse,
1197
+ ];
1198
+ var DeletePlaybackRestrictionPolicy = [
1199
+ 9,
1200
+ n0,
1201
+ _DPRP,
1202
+ {
1203
+ [_ht]: ["POST", "/DeletePlaybackRestrictionPolicy", 204],
1204
+ },
1205
+ () => DeletePlaybackRestrictionPolicyRequest,
1206
+ () => __Unit,
1207
+ ];
1208
+ var DeleteRecordingConfiguration = [
1209
+ 9,
1210
+ n0,
1211
+ _DRC,
1212
+ {
1213
+ [_ht]: ["POST", "/DeleteRecordingConfiguration", 204],
1214
+ },
1215
+ () => DeleteRecordingConfigurationRequest,
1216
+ () => __Unit,
1217
+ ];
1218
+ var DeleteStreamKey = [
1219
+ 9,
1220
+ n0,
1221
+ _DSK,
1222
+ {
1223
+ [_ht]: ["POST", "/DeleteStreamKey", 204],
1224
+ },
1225
+ () => DeleteStreamKeyRequest,
1226
+ () => __Unit,
1227
+ ];
1228
+ var GetChannel = [
1229
+ 9,
1230
+ n0,
1231
+ _GC,
1232
+ {
1233
+ [_ht]: ["POST", "/GetChannel", 200],
1234
+ },
1235
+ () => GetChannelRequest,
1236
+ () => GetChannelResponse,
1237
+ ];
1238
+ var GetPlaybackKeyPair = [
1239
+ 9,
1240
+ n0,
1241
+ _GPKP,
1242
+ {
1243
+ [_ht]: ["POST", "/GetPlaybackKeyPair", 200],
1244
+ },
1245
+ () => GetPlaybackKeyPairRequest,
1246
+ () => GetPlaybackKeyPairResponse,
1247
+ ];
1248
+ var GetPlaybackRestrictionPolicy = [
1249
+ 9,
1250
+ n0,
1251
+ _GPRP,
1252
+ {
1253
+ [_ht]: ["POST", "/GetPlaybackRestrictionPolicy", 200],
1254
+ },
1255
+ () => GetPlaybackRestrictionPolicyRequest,
1256
+ () => GetPlaybackRestrictionPolicyResponse,
1257
+ ];
1258
+ var GetRecordingConfiguration = [
1259
+ 9,
1260
+ n0,
1261
+ _GRC,
1262
+ {
1263
+ [_ht]: ["POST", "/GetRecordingConfiguration", 200],
1264
+ },
1265
+ () => GetRecordingConfigurationRequest,
1266
+ () => GetRecordingConfigurationResponse,
1267
+ ];
1268
+ var GetStream = [
1269
+ 9,
1270
+ n0,
1271
+ _GS,
1272
+ {
1273
+ [_ht]: ["POST", "/GetStream", 200],
1274
+ },
1275
+ () => GetStreamRequest,
1276
+ () => GetStreamResponse,
1277
+ ];
1278
+ var GetStreamKey = [
1279
+ 9,
1280
+ n0,
1281
+ _GSK,
1282
+ {
1283
+ [_ht]: ["POST", "/GetStreamKey", 200],
1284
+ },
1285
+ () => GetStreamKeyRequest,
1286
+ () => GetStreamKeyResponse,
1287
+ ];
1288
+ var GetStreamSession = [
1289
+ 9,
1290
+ n0,
1291
+ _GSS,
1292
+ {
1293
+ [_ht]: ["POST", "/GetStreamSession", 200],
1294
+ },
1295
+ () => GetStreamSessionRequest,
1296
+ () => GetStreamSessionResponse,
1297
+ ];
1298
+ var ImportPlaybackKeyPair = [
1299
+ 9,
1300
+ n0,
1301
+ _IPKP,
1302
+ {
1303
+ [_ht]: ["POST", "/ImportPlaybackKeyPair", 200],
1304
+ },
1305
+ () => ImportPlaybackKeyPairRequest,
1306
+ () => ImportPlaybackKeyPairResponse,
1307
+ ];
1308
+ var ListChannels = [
1309
+ 9,
1310
+ n0,
1311
+ _LC,
1312
+ {
1313
+ [_ht]: ["POST", "/ListChannels", 200],
1314
+ },
1315
+ () => ListChannelsRequest,
1316
+ () => ListChannelsResponse,
1317
+ ];
1318
+ var ListPlaybackKeyPairs = [
1319
+ 9,
1320
+ n0,
1321
+ _LPKP,
1322
+ {
1323
+ [_ht]: ["POST", "/ListPlaybackKeyPairs", 200],
1324
+ },
1325
+ () => ListPlaybackKeyPairsRequest,
1326
+ () => ListPlaybackKeyPairsResponse,
1327
+ ];
1328
+ var ListPlaybackRestrictionPolicies = [
1329
+ 9,
1330
+ n0,
1331
+ _LPRP,
1332
+ {
1333
+ [_ht]: ["POST", "/ListPlaybackRestrictionPolicies", 200],
1334
+ },
1335
+ () => ListPlaybackRestrictionPoliciesRequest,
1336
+ () => ListPlaybackRestrictionPoliciesResponse,
1337
+ ];
1338
+ var ListRecordingConfigurations = [
1339
+ 9,
1340
+ n0,
1341
+ _LRC,
1342
+ {
1343
+ [_ht]: ["POST", "/ListRecordingConfigurations", 200],
1344
+ },
1345
+ () => ListRecordingConfigurationsRequest,
1346
+ () => ListRecordingConfigurationsResponse,
1347
+ ];
1348
+ var ListStreamKeys = [
1349
+ 9,
1350
+ n0,
1351
+ _LSK,
1352
+ {
1353
+ [_ht]: ["POST", "/ListStreamKeys", 200],
1354
+ },
1355
+ () => ListStreamKeysRequest,
1356
+ () => ListStreamKeysResponse,
1357
+ ];
1358
+ var ListStreams = [
1359
+ 9,
1360
+ n0,
1361
+ _LS,
1362
+ {
1363
+ [_ht]: ["POST", "/ListStreams", 200],
1364
+ },
1365
+ () => ListStreamsRequest,
1366
+ () => ListStreamsResponse,
1367
+ ];
1368
+ var ListStreamSessions = [
1369
+ 9,
1370
+ n0,
1371
+ _LSS,
1372
+ {
1373
+ [_ht]: ["POST", "/ListStreamSessions", 200],
1374
+ },
1375
+ () => ListStreamSessionsRequest,
1376
+ () => ListStreamSessionsResponse,
1377
+ ];
1378
+ var ListTagsForResource = [
1379
+ 9,
1380
+ n0,
1381
+ _LTFR,
1382
+ {
1383
+ [_ht]: ["GET", "/tags/{resourceArn}", 200],
1384
+ },
1385
+ () => ListTagsForResourceRequest,
1386
+ () => ListTagsForResourceResponse,
1387
+ ];
1388
+ var PutMetadata = [
1389
+ 9,
1390
+ n0,
1391
+ _PM,
1392
+ {
1393
+ [_ht]: ["POST", "/PutMetadata", 204],
1394
+ },
1395
+ () => PutMetadataRequest,
1396
+ () => __Unit,
1397
+ ];
1398
+ var StartViewerSessionRevocation = [
1399
+ 9,
1400
+ n0,
1401
+ _SVSR,
1402
+ {
1403
+ [_ht]: ["POST", "/StartViewerSessionRevocation", 200],
1404
+ },
1405
+ () => StartViewerSessionRevocationRequest,
1406
+ () => StartViewerSessionRevocationResponse,
1407
+ ];
1408
+ var StopStream = [
1409
+ 9,
1410
+ n0,
1411
+ _SSto,
1412
+ {
1413
+ [_ht]: ["POST", "/StopStream", 200],
1414
+ },
1415
+ () => StopStreamRequest,
1416
+ () => StopStreamResponse,
1417
+ ];
1418
+ var TagResource = [
1419
+ 9,
1420
+ n0,
1421
+ _TR,
1422
+ {
1423
+ [_ht]: ["POST", "/tags/{resourceArn}", 200],
1424
+ },
1425
+ () => TagResourceRequest,
1426
+ () => TagResourceResponse,
1427
+ ];
1428
+ var UntagResource = [
1429
+ 9,
1430
+ n0,
1431
+ _UR,
1432
+ {
1433
+ [_ht]: ["DELETE", "/tags/{resourceArn}", 200],
1434
+ },
1435
+ () => UntagResourceRequest,
1436
+ () => UntagResourceResponse,
1437
+ ];
1438
+ var UpdateChannel = [
1439
+ 9,
1440
+ n0,
1441
+ _UC,
1442
+ {
1443
+ [_ht]: ["POST", "/UpdateChannel", 200],
1444
+ },
1445
+ () => UpdateChannelRequest,
1446
+ () => UpdateChannelResponse,
1447
+ ];
1448
+ var UpdatePlaybackRestrictionPolicy = [
1449
+ 9,
1450
+ n0,
1451
+ _UPRP,
1452
+ {
1453
+ [_ht]: ["POST", "/UpdatePlaybackRestrictionPolicy", 200],
1454
+ },
1455
+ () => UpdatePlaybackRestrictionPolicyRequest,
1456
+ () => UpdatePlaybackRestrictionPolicyResponse,
1457
+ ];
1601
1458
 
1602
1459
  class BatchGetChannelCommand extends smithyClient.Command
1603
1460
  .classBuilder()
1604
1461
  .ep(commonParams)
1605
1462
  .m(function (Command, cs, config, o) {
1606
- return [
1607
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1608
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1609
- ];
1463
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
1464
  })
1611
1465
  .s("AmazonInteractiveVideoService", "BatchGetChannel", {})
1612
1466
  .n("IvsClient", "BatchGetChannelCommand")
1613
- .f(void 0, BatchGetChannelResponseFilterSensitiveLog)
1614
- .ser(se_BatchGetChannelCommand)
1615
- .de(de_BatchGetChannelCommand)
1467
+ .sc(BatchGetChannel)
1616
1468
  .build() {
1617
1469
  }
1618
1470
 
@@ -1620,16 +1472,11 @@ class BatchGetStreamKeyCommand extends smithyClient.Command
1620
1472
  .classBuilder()
1621
1473
  .ep(commonParams)
1622
1474
  .m(function (Command, cs, config, o) {
1623
- return [
1624
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1625
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1626
- ];
1475
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1627
1476
  })
1628
1477
  .s("AmazonInteractiveVideoService", "BatchGetStreamKey", {})
1629
1478
  .n("IvsClient", "BatchGetStreamKeyCommand")
1630
- .f(void 0, BatchGetStreamKeyResponseFilterSensitiveLog)
1631
- .ser(se_BatchGetStreamKeyCommand)
1632
- .de(de_BatchGetStreamKeyCommand)
1479
+ .sc(BatchGetStreamKey)
1633
1480
  .build() {
1634
1481
  }
1635
1482
 
@@ -1637,16 +1484,11 @@ class BatchStartViewerSessionRevocationCommand extends smithyClient.Command
1637
1484
  .classBuilder()
1638
1485
  .ep(commonParams)
1639
1486
  .m(function (Command, cs, config, o) {
1640
- return [
1641
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1642
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1643
- ];
1487
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1644
1488
  })
1645
1489
  .s("AmazonInteractiveVideoService", "BatchStartViewerSessionRevocation", {})
1646
1490
  .n("IvsClient", "BatchStartViewerSessionRevocationCommand")
1647
- .f(void 0, void 0)
1648
- .ser(se_BatchStartViewerSessionRevocationCommand)
1649
- .de(de_BatchStartViewerSessionRevocationCommand)
1491
+ .sc(BatchStartViewerSessionRevocation)
1650
1492
  .build() {
1651
1493
  }
1652
1494
 
@@ -1654,16 +1496,11 @@ class CreateChannelCommand extends smithyClient.Command
1654
1496
  .classBuilder()
1655
1497
  .ep(commonParams)
1656
1498
  .m(function (Command, cs, config, o) {
1657
- return [
1658
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1659
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1660
- ];
1499
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1661
1500
  })
1662
1501
  .s("AmazonInteractiveVideoService", "CreateChannel", {})
1663
1502
  .n("IvsClient", "CreateChannelCommand")
1664
- .f(void 0, CreateChannelResponseFilterSensitiveLog)
1665
- .ser(se_CreateChannelCommand)
1666
- .de(de_CreateChannelCommand)
1503
+ .sc(CreateChannel)
1667
1504
  .build() {
1668
1505
  }
1669
1506
 
@@ -1671,16 +1508,11 @@ class CreatePlaybackRestrictionPolicyCommand extends smithyClient.Command
1671
1508
  .classBuilder()
1672
1509
  .ep(commonParams)
1673
1510
  .m(function (Command, cs, config, o) {
1674
- return [
1675
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1676
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1677
- ];
1511
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
1512
  })
1679
1513
  .s("AmazonInteractiveVideoService", "CreatePlaybackRestrictionPolicy", {})
1680
1514
  .n("IvsClient", "CreatePlaybackRestrictionPolicyCommand")
1681
- .f(void 0, void 0)
1682
- .ser(se_CreatePlaybackRestrictionPolicyCommand)
1683
- .de(de_CreatePlaybackRestrictionPolicyCommand)
1515
+ .sc(CreatePlaybackRestrictionPolicy)
1684
1516
  .build() {
1685
1517
  }
1686
1518
 
@@ -1688,16 +1520,11 @@ class CreateRecordingConfigurationCommand extends smithyClient.Command
1688
1520
  .classBuilder()
1689
1521
  .ep(commonParams)
1690
1522
  .m(function (Command, cs, config, o) {
1691
- return [
1692
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1693
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1694
- ];
1523
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1695
1524
  })
1696
1525
  .s("AmazonInteractiveVideoService", "CreateRecordingConfiguration", {})
1697
1526
  .n("IvsClient", "CreateRecordingConfigurationCommand")
1698
- .f(void 0, void 0)
1699
- .ser(se_CreateRecordingConfigurationCommand)
1700
- .de(de_CreateRecordingConfigurationCommand)
1527
+ .sc(CreateRecordingConfiguration)
1701
1528
  .build() {
1702
1529
  }
1703
1530
 
@@ -1705,16 +1532,11 @@ class CreateStreamKeyCommand extends smithyClient.Command
1705
1532
  .classBuilder()
1706
1533
  .ep(commonParams)
1707
1534
  .m(function (Command, cs, config, o) {
1708
- return [
1709
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1710
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1711
- ];
1535
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1712
1536
  })
1713
1537
  .s("AmazonInteractiveVideoService", "CreateStreamKey", {})
1714
1538
  .n("IvsClient", "CreateStreamKeyCommand")
1715
- .f(void 0, CreateStreamKeyResponseFilterSensitiveLog)
1716
- .ser(se_CreateStreamKeyCommand)
1717
- .de(de_CreateStreamKeyCommand)
1539
+ .sc(CreateStreamKey)
1718
1540
  .build() {
1719
1541
  }
1720
1542
 
@@ -1722,16 +1544,11 @@ class DeleteChannelCommand extends smithyClient.Command
1722
1544
  .classBuilder()
1723
1545
  .ep(commonParams)
1724
1546
  .m(function (Command, cs, config, o) {
1725
- return [
1726
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1727
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1728
- ];
1547
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1729
1548
  })
1730
1549
  .s("AmazonInteractiveVideoService", "DeleteChannel", {})
1731
1550
  .n("IvsClient", "DeleteChannelCommand")
1732
- .f(void 0, void 0)
1733
- .ser(se_DeleteChannelCommand)
1734
- .de(de_DeleteChannelCommand)
1551
+ .sc(DeleteChannel)
1735
1552
  .build() {
1736
1553
  }
1737
1554
 
@@ -1739,16 +1556,11 @@ class DeletePlaybackKeyPairCommand extends smithyClient.Command
1739
1556
  .classBuilder()
1740
1557
  .ep(commonParams)
1741
1558
  .m(function (Command, cs, config, o) {
1742
- return [
1743
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1744
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1745
- ];
1559
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1746
1560
  })
1747
1561
  .s("AmazonInteractiveVideoService", "DeletePlaybackKeyPair", {})
1748
1562
  .n("IvsClient", "DeletePlaybackKeyPairCommand")
1749
- .f(void 0, void 0)
1750
- .ser(se_DeletePlaybackKeyPairCommand)
1751
- .de(de_DeletePlaybackKeyPairCommand)
1563
+ .sc(DeletePlaybackKeyPair)
1752
1564
  .build() {
1753
1565
  }
1754
1566
 
@@ -1756,16 +1568,11 @@ class DeletePlaybackRestrictionPolicyCommand extends smithyClient.Command
1756
1568
  .classBuilder()
1757
1569
  .ep(commonParams)
1758
1570
  .m(function (Command, cs, config, o) {
1759
- return [
1760
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1761
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1762
- ];
1571
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
1572
  })
1764
1573
  .s("AmazonInteractiveVideoService", "DeletePlaybackRestrictionPolicy", {})
1765
1574
  .n("IvsClient", "DeletePlaybackRestrictionPolicyCommand")
1766
- .f(void 0, void 0)
1767
- .ser(se_DeletePlaybackRestrictionPolicyCommand)
1768
- .de(de_DeletePlaybackRestrictionPolicyCommand)
1575
+ .sc(DeletePlaybackRestrictionPolicy)
1769
1576
  .build() {
1770
1577
  }
1771
1578
 
@@ -1773,16 +1580,11 @@ class DeleteRecordingConfigurationCommand extends smithyClient.Command
1773
1580
  .classBuilder()
1774
1581
  .ep(commonParams)
1775
1582
  .m(function (Command, cs, config, o) {
1776
- return [
1777
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1778
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1779
- ];
1583
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1780
1584
  })
1781
1585
  .s("AmazonInteractiveVideoService", "DeleteRecordingConfiguration", {})
1782
1586
  .n("IvsClient", "DeleteRecordingConfigurationCommand")
1783
- .f(void 0, void 0)
1784
- .ser(se_DeleteRecordingConfigurationCommand)
1785
- .de(de_DeleteRecordingConfigurationCommand)
1587
+ .sc(DeleteRecordingConfiguration)
1786
1588
  .build() {
1787
1589
  }
1788
1590
 
@@ -1790,16 +1592,11 @@ class DeleteStreamKeyCommand extends smithyClient.Command
1790
1592
  .classBuilder()
1791
1593
  .ep(commonParams)
1792
1594
  .m(function (Command, cs, config, o) {
1793
- return [
1794
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1795
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1796
- ];
1595
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
1596
  })
1798
1597
  .s("AmazonInteractiveVideoService", "DeleteStreamKey", {})
1799
1598
  .n("IvsClient", "DeleteStreamKeyCommand")
1800
- .f(void 0, void 0)
1801
- .ser(se_DeleteStreamKeyCommand)
1802
- .de(de_DeleteStreamKeyCommand)
1599
+ .sc(DeleteStreamKey)
1803
1600
  .build() {
1804
1601
  }
1805
1602
 
@@ -1807,16 +1604,11 @@ class GetChannelCommand extends smithyClient.Command
1807
1604
  .classBuilder()
1808
1605
  .ep(commonParams)
1809
1606
  .m(function (Command, cs, config, o) {
1810
- return [
1811
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1812
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1813
- ];
1607
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1814
1608
  })
1815
1609
  .s("AmazonInteractiveVideoService", "GetChannel", {})
1816
1610
  .n("IvsClient", "GetChannelCommand")
1817
- .f(void 0, GetChannelResponseFilterSensitiveLog)
1818
- .ser(se_GetChannelCommand)
1819
- .de(de_GetChannelCommand)
1611
+ .sc(GetChannel)
1820
1612
  .build() {
1821
1613
  }
1822
1614
 
@@ -1824,16 +1616,11 @@ class GetPlaybackKeyPairCommand extends smithyClient.Command
1824
1616
  .classBuilder()
1825
1617
  .ep(commonParams)
1826
1618
  .m(function (Command, cs, config, o) {
1827
- return [
1828
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1829
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1830
- ];
1619
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1831
1620
  })
1832
1621
  .s("AmazonInteractiveVideoService", "GetPlaybackKeyPair", {})
1833
1622
  .n("IvsClient", "GetPlaybackKeyPairCommand")
1834
- .f(void 0, void 0)
1835
- .ser(se_GetPlaybackKeyPairCommand)
1836
- .de(de_GetPlaybackKeyPairCommand)
1623
+ .sc(GetPlaybackKeyPair)
1837
1624
  .build() {
1838
1625
  }
1839
1626
 
@@ -1841,16 +1628,11 @@ class GetPlaybackRestrictionPolicyCommand extends smithyClient.Command
1841
1628
  .classBuilder()
1842
1629
  .ep(commonParams)
1843
1630
  .m(function (Command, cs, config, o) {
1844
- return [
1845
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1846
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1847
- ];
1631
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1848
1632
  })
1849
1633
  .s("AmazonInteractiveVideoService", "GetPlaybackRestrictionPolicy", {})
1850
1634
  .n("IvsClient", "GetPlaybackRestrictionPolicyCommand")
1851
- .f(void 0, void 0)
1852
- .ser(se_GetPlaybackRestrictionPolicyCommand)
1853
- .de(de_GetPlaybackRestrictionPolicyCommand)
1635
+ .sc(GetPlaybackRestrictionPolicy)
1854
1636
  .build() {
1855
1637
  }
1856
1638
 
@@ -1858,16 +1640,11 @@ class GetRecordingConfigurationCommand extends smithyClient.Command
1858
1640
  .classBuilder()
1859
1641
  .ep(commonParams)
1860
1642
  .m(function (Command, cs, config, o) {
1861
- return [
1862
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1863
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1864
- ];
1643
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1865
1644
  })
1866
1645
  .s("AmazonInteractiveVideoService", "GetRecordingConfiguration", {})
1867
1646
  .n("IvsClient", "GetRecordingConfigurationCommand")
1868
- .f(void 0, void 0)
1869
- .ser(se_GetRecordingConfigurationCommand)
1870
- .de(de_GetRecordingConfigurationCommand)
1647
+ .sc(GetRecordingConfiguration)
1871
1648
  .build() {
1872
1649
  }
1873
1650
 
@@ -1875,16 +1652,11 @@ class GetStreamCommand extends smithyClient.Command
1875
1652
  .classBuilder()
1876
1653
  .ep(commonParams)
1877
1654
  .m(function (Command, cs, config, o) {
1878
- return [
1879
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1880
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1881
- ];
1655
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1882
1656
  })
1883
1657
  .s("AmazonInteractiveVideoService", "GetStream", {})
1884
1658
  .n("IvsClient", "GetStreamCommand")
1885
- .f(void 0, void 0)
1886
- .ser(se_GetStreamCommand)
1887
- .de(de_GetStreamCommand)
1659
+ .sc(GetStream)
1888
1660
  .build() {
1889
1661
  }
1890
1662
 
@@ -1892,16 +1664,11 @@ class GetStreamKeyCommand extends smithyClient.Command
1892
1664
  .classBuilder()
1893
1665
  .ep(commonParams)
1894
1666
  .m(function (Command, cs, config, o) {
1895
- return [
1896
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1897
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1898
- ];
1667
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1899
1668
  })
1900
1669
  .s("AmazonInteractiveVideoService", "GetStreamKey", {})
1901
1670
  .n("IvsClient", "GetStreamKeyCommand")
1902
- .f(void 0, GetStreamKeyResponseFilterSensitiveLog)
1903
- .ser(se_GetStreamKeyCommand)
1904
- .de(de_GetStreamKeyCommand)
1671
+ .sc(GetStreamKey)
1905
1672
  .build() {
1906
1673
  }
1907
1674
 
@@ -1909,16 +1676,11 @@ class GetStreamSessionCommand extends smithyClient.Command
1909
1676
  .classBuilder()
1910
1677
  .ep(commonParams)
1911
1678
  .m(function (Command, cs, config, o) {
1912
- return [
1913
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1914
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1915
- ];
1679
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1916
1680
  })
1917
1681
  .s("AmazonInteractiveVideoService", "GetStreamSession", {})
1918
1682
  .n("IvsClient", "GetStreamSessionCommand")
1919
- .f(void 0, GetStreamSessionResponseFilterSensitiveLog)
1920
- .ser(se_GetStreamSessionCommand)
1921
- .de(de_GetStreamSessionCommand)
1683
+ .sc(GetStreamSession)
1922
1684
  .build() {
1923
1685
  }
1924
1686
 
@@ -1926,16 +1688,11 @@ class ImportPlaybackKeyPairCommand extends smithyClient.Command
1926
1688
  .classBuilder()
1927
1689
  .ep(commonParams)
1928
1690
  .m(function (Command, cs, config, o) {
1929
- return [
1930
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1931
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1932
- ];
1691
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1933
1692
  })
1934
1693
  .s("AmazonInteractiveVideoService", "ImportPlaybackKeyPair", {})
1935
1694
  .n("IvsClient", "ImportPlaybackKeyPairCommand")
1936
- .f(void 0, void 0)
1937
- .ser(se_ImportPlaybackKeyPairCommand)
1938
- .de(de_ImportPlaybackKeyPairCommand)
1695
+ .sc(ImportPlaybackKeyPair)
1939
1696
  .build() {
1940
1697
  }
1941
1698
 
@@ -1943,16 +1700,11 @@ class ListChannelsCommand extends smithyClient.Command
1943
1700
  .classBuilder()
1944
1701
  .ep(commonParams)
1945
1702
  .m(function (Command, cs, config, o) {
1946
- return [
1947
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1948
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1949
- ];
1703
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1950
1704
  })
1951
1705
  .s("AmazonInteractiveVideoService", "ListChannels", {})
1952
1706
  .n("IvsClient", "ListChannelsCommand")
1953
- .f(void 0, void 0)
1954
- .ser(se_ListChannelsCommand)
1955
- .de(de_ListChannelsCommand)
1707
+ .sc(ListChannels)
1956
1708
  .build() {
1957
1709
  }
1958
1710
 
@@ -1960,16 +1712,11 @@ class ListPlaybackKeyPairsCommand extends smithyClient.Command
1960
1712
  .classBuilder()
1961
1713
  .ep(commonParams)
1962
1714
  .m(function (Command, cs, config, o) {
1963
- return [
1964
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1965
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1966
- ];
1715
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1967
1716
  })
1968
1717
  .s("AmazonInteractiveVideoService", "ListPlaybackKeyPairs", {})
1969
1718
  .n("IvsClient", "ListPlaybackKeyPairsCommand")
1970
- .f(void 0, void 0)
1971
- .ser(se_ListPlaybackKeyPairsCommand)
1972
- .de(de_ListPlaybackKeyPairsCommand)
1719
+ .sc(ListPlaybackKeyPairs)
1973
1720
  .build() {
1974
1721
  }
1975
1722
 
@@ -1977,16 +1724,11 @@ class ListPlaybackRestrictionPoliciesCommand extends smithyClient.Command
1977
1724
  .classBuilder()
1978
1725
  .ep(commonParams)
1979
1726
  .m(function (Command, cs, config, o) {
1980
- return [
1981
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1982
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1983
- ];
1727
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1984
1728
  })
1985
1729
  .s("AmazonInteractiveVideoService", "ListPlaybackRestrictionPolicies", {})
1986
1730
  .n("IvsClient", "ListPlaybackRestrictionPoliciesCommand")
1987
- .f(void 0, void 0)
1988
- .ser(se_ListPlaybackRestrictionPoliciesCommand)
1989
- .de(de_ListPlaybackRestrictionPoliciesCommand)
1731
+ .sc(ListPlaybackRestrictionPolicies)
1990
1732
  .build() {
1991
1733
  }
1992
1734
 
@@ -1994,16 +1736,11 @@ class ListRecordingConfigurationsCommand extends smithyClient.Command
1994
1736
  .classBuilder()
1995
1737
  .ep(commonParams)
1996
1738
  .m(function (Command, cs, config, o) {
1997
- return [
1998
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1999
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2000
- ];
1739
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2001
1740
  })
2002
1741
  .s("AmazonInteractiveVideoService", "ListRecordingConfigurations", {})
2003
1742
  .n("IvsClient", "ListRecordingConfigurationsCommand")
2004
- .f(void 0, void 0)
2005
- .ser(se_ListRecordingConfigurationsCommand)
2006
- .de(de_ListRecordingConfigurationsCommand)
1743
+ .sc(ListRecordingConfigurations)
2007
1744
  .build() {
2008
1745
  }
2009
1746
 
@@ -2011,16 +1748,11 @@ class ListStreamKeysCommand extends smithyClient.Command
2011
1748
  .classBuilder()
2012
1749
  .ep(commonParams)
2013
1750
  .m(function (Command, cs, config, o) {
2014
- return [
2015
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2016
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2017
- ];
1751
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2018
1752
  })
2019
1753
  .s("AmazonInteractiveVideoService", "ListStreamKeys", {})
2020
1754
  .n("IvsClient", "ListStreamKeysCommand")
2021
- .f(void 0, void 0)
2022
- .ser(se_ListStreamKeysCommand)
2023
- .de(de_ListStreamKeysCommand)
1755
+ .sc(ListStreamKeys)
2024
1756
  .build() {
2025
1757
  }
2026
1758
 
@@ -2028,16 +1760,11 @@ class ListStreamsCommand extends smithyClient.Command
2028
1760
  .classBuilder()
2029
1761
  .ep(commonParams)
2030
1762
  .m(function (Command, cs, config, o) {
2031
- return [
2032
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2033
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2034
- ];
1763
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2035
1764
  })
2036
1765
  .s("AmazonInteractiveVideoService", "ListStreams", {})
2037
1766
  .n("IvsClient", "ListStreamsCommand")
2038
- .f(void 0, void 0)
2039
- .ser(se_ListStreamsCommand)
2040
- .de(de_ListStreamsCommand)
1767
+ .sc(ListStreams)
2041
1768
  .build() {
2042
1769
  }
2043
1770
 
@@ -2045,16 +1772,11 @@ class ListStreamSessionsCommand extends smithyClient.Command
2045
1772
  .classBuilder()
2046
1773
  .ep(commonParams)
2047
1774
  .m(function (Command, cs, config, o) {
2048
- return [
2049
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2050
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2051
- ];
1775
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2052
1776
  })
2053
1777
  .s("AmazonInteractiveVideoService", "ListStreamSessions", {})
2054
1778
  .n("IvsClient", "ListStreamSessionsCommand")
2055
- .f(void 0, void 0)
2056
- .ser(se_ListStreamSessionsCommand)
2057
- .de(de_ListStreamSessionsCommand)
1779
+ .sc(ListStreamSessions)
2058
1780
  .build() {
2059
1781
  }
2060
1782
 
@@ -2062,16 +1784,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2062
1784
  .classBuilder()
2063
1785
  .ep(commonParams)
2064
1786
  .m(function (Command, cs, config, o) {
2065
- return [
2066
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2067
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2068
- ];
1787
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2069
1788
  })
2070
1789
  .s("AmazonInteractiveVideoService", "ListTagsForResource", {})
2071
1790
  .n("IvsClient", "ListTagsForResourceCommand")
2072
- .f(void 0, void 0)
2073
- .ser(se_ListTagsForResourceCommand)
2074
- .de(de_ListTagsForResourceCommand)
1791
+ .sc(ListTagsForResource)
2075
1792
  .build() {
2076
1793
  }
2077
1794
 
@@ -2079,16 +1796,11 @@ class PutMetadataCommand extends smithyClient.Command
2079
1796
  .classBuilder()
2080
1797
  .ep(commonParams)
2081
1798
  .m(function (Command, cs, config, o) {
2082
- return [
2083
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2084
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2085
- ];
1799
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2086
1800
  })
2087
1801
  .s("AmazonInteractiveVideoService", "PutMetadata", {})
2088
1802
  .n("IvsClient", "PutMetadataCommand")
2089
- .f(PutMetadataRequestFilterSensitiveLog, void 0)
2090
- .ser(se_PutMetadataCommand)
2091
- .de(de_PutMetadataCommand)
1803
+ .sc(PutMetadata)
2092
1804
  .build() {
2093
1805
  }
2094
1806
 
@@ -2096,16 +1808,11 @@ class StartViewerSessionRevocationCommand extends smithyClient.Command
2096
1808
  .classBuilder()
2097
1809
  .ep(commonParams)
2098
1810
  .m(function (Command, cs, config, o) {
2099
- return [
2100
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2101
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2102
- ];
1811
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2103
1812
  })
2104
1813
  .s("AmazonInteractiveVideoService", "StartViewerSessionRevocation", {})
2105
1814
  .n("IvsClient", "StartViewerSessionRevocationCommand")
2106
- .f(void 0, void 0)
2107
- .ser(se_StartViewerSessionRevocationCommand)
2108
- .de(de_StartViewerSessionRevocationCommand)
1815
+ .sc(StartViewerSessionRevocation)
2109
1816
  .build() {
2110
1817
  }
2111
1818
 
@@ -2113,16 +1820,11 @@ class StopStreamCommand extends smithyClient.Command
2113
1820
  .classBuilder()
2114
1821
  .ep(commonParams)
2115
1822
  .m(function (Command, cs, config, o) {
2116
- return [
2117
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2118
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2119
- ];
1823
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2120
1824
  })
2121
1825
  .s("AmazonInteractiveVideoService", "StopStream", {})
2122
1826
  .n("IvsClient", "StopStreamCommand")
2123
- .f(void 0, void 0)
2124
- .ser(se_StopStreamCommand)
2125
- .de(de_StopStreamCommand)
1827
+ .sc(StopStream)
2126
1828
  .build() {
2127
1829
  }
2128
1830
 
@@ -2130,16 +1832,11 @@ class TagResourceCommand extends smithyClient.Command
2130
1832
  .classBuilder()
2131
1833
  .ep(commonParams)
2132
1834
  .m(function (Command, cs, config, o) {
2133
- return [
2134
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2135
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2136
- ];
1835
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2137
1836
  })
2138
1837
  .s("AmazonInteractiveVideoService", "TagResource", {})
2139
1838
  .n("IvsClient", "TagResourceCommand")
2140
- .f(void 0, void 0)
2141
- .ser(se_TagResourceCommand)
2142
- .de(de_TagResourceCommand)
1839
+ .sc(TagResource)
2143
1840
  .build() {
2144
1841
  }
2145
1842
 
@@ -2147,16 +1844,11 @@ class UntagResourceCommand extends smithyClient.Command
2147
1844
  .classBuilder()
2148
1845
  .ep(commonParams)
2149
1846
  .m(function (Command, cs, config, o) {
2150
- return [
2151
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2152
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2153
- ];
1847
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2154
1848
  })
2155
1849
  .s("AmazonInteractiveVideoService", "UntagResource", {})
2156
1850
  .n("IvsClient", "UntagResourceCommand")
2157
- .f(void 0, void 0)
2158
- .ser(se_UntagResourceCommand)
2159
- .de(de_UntagResourceCommand)
1851
+ .sc(UntagResource)
2160
1852
  .build() {
2161
1853
  }
2162
1854
 
@@ -2164,16 +1856,11 @@ class UpdateChannelCommand extends smithyClient.Command
2164
1856
  .classBuilder()
2165
1857
  .ep(commonParams)
2166
1858
  .m(function (Command, cs, config, o) {
2167
- return [
2168
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2169
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2170
- ];
1859
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2171
1860
  })
2172
1861
  .s("AmazonInteractiveVideoService", "UpdateChannel", {})
2173
1862
  .n("IvsClient", "UpdateChannelCommand")
2174
- .f(void 0, UpdateChannelResponseFilterSensitiveLog)
2175
- .ser(se_UpdateChannelCommand)
2176
- .de(de_UpdateChannelCommand)
1863
+ .sc(UpdateChannel)
2177
1864
  .build() {
2178
1865
  }
2179
1866
 
@@ -2181,16 +1868,11 @@ class UpdatePlaybackRestrictionPolicyCommand extends smithyClient.Command
2181
1868
  .classBuilder()
2182
1869
  .ep(commonParams)
2183
1870
  .m(function (Command, cs, config, o) {
2184
- return [
2185
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2186
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2187
- ];
1871
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2188
1872
  })
2189
1873
  .s("AmazonInteractiveVideoService", "UpdatePlaybackRestrictionPolicy", {})
2190
1874
  .n("IvsClient", "UpdatePlaybackRestrictionPolicyCommand")
2191
- .f(void 0, void 0)
2192
- .ser(se_UpdatePlaybackRestrictionPolicyCommand)
2193
- .de(de_UpdatePlaybackRestrictionPolicyCommand)
1875
+ .sc(UpdatePlaybackRestrictionPolicy)
2194
1876
  .build() {
2195
1877
  }
2196
1878
 
@@ -2257,44 +1939,36 @@ Object.defineProperty(exports, "__Client", {
2257
1939
  enumerable: true,
2258
1940
  get: function () { return smithyClient.Client; }
2259
1941
  });
2260
- exports.AccessDeniedException = AccessDeniedException;
1942
+ exports.AccessDeniedException = AccessDeniedException$1;
2261
1943
  exports.BatchGetChannelCommand = BatchGetChannelCommand;
2262
- exports.BatchGetChannelResponseFilterSensitiveLog = BatchGetChannelResponseFilterSensitiveLog;
2263
1944
  exports.BatchGetStreamKeyCommand = BatchGetStreamKeyCommand;
2264
- exports.BatchGetStreamKeyResponseFilterSensitiveLog = BatchGetStreamKeyResponseFilterSensitiveLog;
2265
1945
  exports.BatchStartViewerSessionRevocationCommand = BatchStartViewerSessionRevocationCommand;
2266
- exports.ChannelFilterSensitiveLog = ChannelFilterSensitiveLog;
2267
1946
  exports.ChannelLatencyMode = ChannelLatencyMode;
2268
- exports.ChannelNotBroadcasting = ChannelNotBroadcasting;
1947
+ exports.ChannelNotBroadcasting = ChannelNotBroadcasting$1;
2269
1948
  exports.ChannelType = ChannelType;
2270
- exports.ConflictException = ConflictException;
1949
+ exports.ConflictException = ConflictException$1;
2271
1950
  exports.ContainerFormat = ContainerFormat;
2272
1951
  exports.CreateChannelCommand = CreateChannelCommand;
2273
- exports.CreateChannelResponseFilterSensitiveLog = CreateChannelResponseFilterSensitiveLog;
2274
1952
  exports.CreatePlaybackRestrictionPolicyCommand = CreatePlaybackRestrictionPolicyCommand;
2275
1953
  exports.CreateRecordingConfigurationCommand = CreateRecordingConfigurationCommand;
2276
1954
  exports.CreateStreamKeyCommand = CreateStreamKeyCommand;
2277
- exports.CreateStreamKeyResponseFilterSensitiveLog = CreateStreamKeyResponseFilterSensitiveLog;
2278
1955
  exports.DeleteChannelCommand = DeleteChannelCommand;
2279
1956
  exports.DeletePlaybackKeyPairCommand = DeletePlaybackKeyPairCommand;
2280
1957
  exports.DeletePlaybackRestrictionPolicyCommand = DeletePlaybackRestrictionPolicyCommand;
2281
1958
  exports.DeleteRecordingConfigurationCommand = DeleteRecordingConfigurationCommand;
2282
1959
  exports.DeleteStreamKeyCommand = DeleteStreamKeyCommand;
2283
1960
  exports.GetChannelCommand = GetChannelCommand;
2284
- exports.GetChannelResponseFilterSensitiveLog = GetChannelResponseFilterSensitiveLog;
2285
1961
  exports.GetPlaybackKeyPairCommand = GetPlaybackKeyPairCommand;
2286
1962
  exports.GetPlaybackRestrictionPolicyCommand = GetPlaybackRestrictionPolicyCommand;
2287
1963
  exports.GetRecordingConfigurationCommand = GetRecordingConfigurationCommand;
2288
1964
  exports.GetStreamCommand = GetStreamCommand;
2289
1965
  exports.GetStreamKeyCommand = GetStreamKeyCommand;
2290
- exports.GetStreamKeyResponseFilterSensitiveLog = GetStreamKeyResponseFilterSensitiveLog;
2291
1966
  exports.GetStreamSessionCommand = GetStreamSessionCommand;
2292
- exports.GetStreamSessionResponseFilterSensitiveLog = GetStreamSessionResponseFilterSensitiveLog;
2293
1967
  exports.ImportPlaybackKeyPairCommand = ImportPlaybackKeyPairCommand;
2294
- exports.InternalServerException = InternalServerException;
1968
+ exports.InternalServerException = InternalServerException$1;
2295
1969
  exports.Ivs = Ivs;
2296
1970
  exports.IvsClient = IvsClient;
2297
- exports.IvsServiceException = IvsServiceException;
1971
+ exports.IvsServiceException = IvsServiceException$1;
2298
1972
  exports.ListChannelsCommand = ListChannelsCommand;
2299
1973
  exports.ListPlaybackKeyPairsCommand = ListPlaybackKeyPairsCommand;
2300
1974
  exports.ListPlaybackRestrictionPoliciesCommand = ListPlaybackRestrictionPoliciesCommand;
@@ -2305,33 +1979,28 @@ exports.ListStreamsCommand = ListStreamsCommand;
2305
1979
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2306
1980
  exports.MultitrackMaximumResolution = MultitrackMaximumResolution;
2307
1981
  exports.MultitrackPolicy = MultitrackPolicy;
2308
- exports.PendingVerification = PendingVerification;
1982
+ exports.PendingVerification = PendingVerification$1;
2309
1983
  exports.PutMetadataCommand = PutMetadataCommand;
2310
- exports.PutMetadataRequestFilterSensitiveLog = PutMetadataRequestFilterSensitiveLog;
2311
1984
  exports.RecordingConfigurationState = RecordingConfigurationState;
2312
1985
  exports.RecordingMode = RecordingMode;
2313
1986
  exports.RenditionConfigurationRendition = RenditionConfigurationRendition;
2314
1987
  exports.RenditionConfigurationRenditionSelection = RenditionConfigurationRenditionSelection;
2315
- exports.ResourceNotFoundException = ResourceNotFoundException;
2316
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2317
- exports.SrtFilterSensitiveLog = SrtFilterSensitiveLog;
1988
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1989
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2318
1990
  exports.StartViewerSessionRevocationCommand = StartViewerSessionRevocationCommand;
2319
1991
  exports.StopStreamCommand = StopStreamCommand;
2320
1992
  exports.StreamHealth = StreamHealth;
2321
- exports.StreamKeyFilterSensitiveLog = StreamKeyFilterSensitiveLog;
2322
- exports.StreamSessionFilterSensitiveLog = StreamSessionFilterSensitiveLog;
2323
1993
  exports.StreamState = StreamState;
2324
- exports.StreamUnavailable = StreamUnavailable;
1994
+ exports.StreamUnavailable = StreamUnavailable$1;
2325
1995
  exports.TagResourceCommand = TagResourceCommand;
2326
- exports.ThrottlingException = ThrottlingException;
1996
+ exports.ThrottlingException = ThrottlingException$1;
2327
1997
  exports.ThumbnailConfigurationResolution = ThumbnailConfigurationResolution;
2328
1998
  exports.ThumbnailConfigurationStorage = ThumbnailConfigurationStorage;
2329
1999
  exports.TranscodePreset = TranscodePreset;
2330
2000
  exports.UntagResourceCommand = UntagResourceCommand;
2331
2001
  exports.UpdateChannelCommand = UpdateChannelCommand;
2332
- exports.UpdateChannelResponseFilterSensitiveLog = UpdateChannelResponseFilterSensitiveLog;
2333
2002
  exports.UpdatePlaybackRestrictionPolicyCommand = UpdatePlaybackRestrictionPolicyCommand;
2334
- exports.ValidationException = ValidationException;
2003
+ exports.ValidationException = ValidationException$1;
2335
2004
  exports.paginateListChannels = paginateListChannels;
2336
2005
  exports.paginateListPlaybackKeyPairs = paginateListPlaybackKeyPairs;
2337
2006
  exports.paginateListPlaybackRestrictionPolicies = paginateListPlaybackRestrictionPolicies;