@aws-sdk/client-mediapackagev2 3.928.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist-cjs/index.js +1832 -1616
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MediaPackageV2Client.js +2 -0
  4. package/dist-es/commands/CancelHarvestJobCommand.js +3 -9
  5. package/dist-es/commands/CreateChannelCommand.js +3 -9
  6. package/dist-es/commands/CreateChannelGroupCommand.js +3 -9
  7. package/dist-es/commands/CreateHarvestJobCommand.js +3 -9
  8. package/dist-es/commands/CreateOriginEndpointCommand.js +3 -9
  9. package/dist-es/commands/DeleteChannelCommand.js +3 -9
  10. package/dist-es/commands/DeleteChannelGroupCommand.js +3 -9
  11. package/dist-es/commands/DeleteChannelPolicyCommand.js +3 -9
  12. package/dist-es/commands/DeleteOriginEndpointCommand.js +3 -9
  13. package/dist-es/commands/DeleteOriginEndpointPolicyCommand.js +3 -9
  14. package/dist-es/commands/GetChannelCommand.js +3 -9
  15. package/dist-es/commands/GetChannelGroupCommand.js +3 -9
  16. package/dist-es/commands/GetChannelPolicyCommand.js +3 -9
  17. package/dist-es/commands/GetHarvestJobCommand.js +3 -9
  18. package/dist-es/commands/GetOriginEndpointCommand.js +3 -9
  19. package/dist-es/commands/GetOriginEndpointPolicyCommand.js +3 -9
  20. package/dist-es/commands/ListChannelGroupsCommand.js +3 -9
  21. package/dist-es/commands/ListChannelsCommand.js +3 -9
  22. package/dist-es/commands/ListHarvestJobsCommand.js +3 -9
  23. package/dist-es/commands/ListOriginEndpointsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/PutChannelPolicyCommand.js +3 -9
  26. package/dist-es/commands/PutOriginEndpointPolicyCommand.js +3 -9
  27. package/dist-es/commands/ResetChannelStateCommand.js +3 -9
  28. package/dist-es/commands/ResetOriginEndpointStateCommand.js +3 -9
  29. package/dist-es/commands/TagResourceCommand.js +3 -9
  30. package/dist-es/commands/UntagResourceCommand.js +3 -9
  31. package/dist-es/commands/UpdateChannelCommand.js +3 -9
  32. package/dist-es/commands/UpdateChannelGroupCommand.js +3 -9
  33. package/dist-es/commands/UpdateOriginEndpointCommand.js +3 -9
  34. package/dist-es/runtimeConfig.shared.js +2 -0
  35. package/dist-es/schemas/schemas_0.js +1773 -0
  36. package/dist-types/MediaPackageV2Client.d.ts +10 -1
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/runtimeConfig.d.ts +1 -0
  39. package/dist-types/runtimeConfig.native.d.ts +1 -0
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  41. package/dist-types/schemas/schemas_0.d.ts +174 -0
  42. package/dist-types/ts3.4/MediaPackageV2Client.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +179 -0
  48. package/package.json +2 -3
  49. package/dist-es/protocols/Aws_restJson1.js +0 -1402
  50. package/dist-types/protocols/Aws_restJson1.d.ts +0 -272
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -365
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
  var utilWaiter = require('@smithy/util-waiter');
21
19
 
22
20
  const resolveClientEndpointParameters = (options) => {
@@ -93,6 +91,7 @@ class MediaPackageV2Client extends smithyClient.Client {
93
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
96
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -112,14 +111,14 @@ class MediaPackageV2Client extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class MediaPackageV2ServiceException extends smithyClient.ServiceException {
114
+ let MediaPackageV2ServiceException$1 = class MediaPackageV2ServiceException extends smithyClient.ServiceException {
116
115
  constructor(options) {
117
116
  super(options);
118
117
  Object.setPrototypeOf(this, MediaPackageV2ServiceException.prototype);
119
118
  }
120
- }
119
+ };
121
120
 
122
- class AccessDeniedException extends MediaPackageV2ServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends MediaPackageV2ServiceException$1 {
123
122
  name = "AccessDeniedException";
124
123
  $fault = "client";
125
124
  Message;
@@ -132,7 +131,7 @@ class AccessDeniedException extends MediaPackageV2ServiceException {
132
131
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
133
132
  this.Message = opts.Message;
134
133
  }
135
- }
134
+ };
136
135
  const AdMarkerDash = {
137
136
  BINARY: "BINARY",
138
137
  XML: "XML",
@@ -147,7 +146,7 @@ const ConflictExceptionType = {
147
146
  RESOURCE_ALREADY_EXISTS: "RESOURCE_ALREADY_EXISTS",
148
147
  RESOURCE_IN_USE: "RESOURCE_IN_USE",
149
148
  };
150
- class ConflictException extends MediaPackageV2ServiceException {
149
+ let ConflictException$1 = class ConflictException extends MediaPackageV2ServiceException$1 {
151
150
  name = "ConflictException";
152
151
  $fault = "client";
153
152
  Message;
@@ -162,8 +161,8 @@ class ConflictException extends MediaPackageV2ServiceException {
162
161
  this.Message = opts.Message;
163
162
  this.ConflictExceptionType = opts.ConflictExceptionType;
164
163
  }
165
- }
166
- class InternalServerException extends MediaPackageV2ServiceException {
164
+ };
165
+ let InternalServerException$1 = class InternalServerException extends MediaPackageV2ServiceException$1 {
167
166
  name = "InternalServerException";
168
167
  $fault = "server";
169
168
  Message;
@@ -176,14 +175,14 @@ class InternalServerException extends MediaPackageV2ServiceException {
176
175
  Object.setPrototypeOf(this, InternalServerException.prototype);
177
176
  this.Message = opts.Message;
178
177
  }
179
- }
178
+ };
180
179
  const ResourceTypeNotFound = {
181
180
  CHANNEL: "CHANNEL",
182
181
  CHANNEL_GROUP: "CHANNEL_GROUP",
183
182
  HARVEST_JOB: "HARVEST_JOB",
184
183
  ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT",
185
184
  };
186
- class ResourceNotFoundException extends MediaPackageV2ServiceException {
185
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends MediaPackageV2ServiceException$1 {
187
186
  name = "ResourceNotFoundException";
188
187
  $fault = "client";
189
188
  Message;
@@ -198,8 +197,8 @@ class ResourceNotFoundException extends MediaPackageV2ServiceException {
198
197
  this.Message = opts.Message;
199
198
  this.ResourceTypeNotFound = opts.ResourceTypeNotFound;
200
199
  }
201
- }
202
- class ThrottlingException extends MediaPackageV2ServiceException {
200
+ };
201
+ let ThrottlingException$1 = class ThrottlingException extends MediaPackageV2ServiceException$1 {
203
202
  name = "ThrottlingException";
204
203
  $fault = "client";
205
204
  Message;
@@ -212,7 +211,7 @@ class ThrottlingException extends MediaPackageV2ServiceException {
212
211
  Object.setPrototypeOf(this, ThrottlingException.prototype);
213
212
  this.Message = opts.Message;
214
213
  }
215
- }
214
+ };
216
215
  const ValidationExceptionType = {
217
216
  BATCH_GET_SECRET_VALUE_DENIED: "BATCH_GET_SECRET_VALUE_DENIED",
218
217
  CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
@@ -303,7 +302,7 @@ const ValidationExceptionType = {
303
302
  URL_UNKNOWN_HOST: "URL_UNKNOWN_HOST",
304
303
  URL_USER_INFO: "URL_USER_INFO",
305
304
  };
306
- class ValidationException extends MediaPackageV2ServiceException {
305
+ let ValidationException$1 = class ValidationException extends MediaPackageV2ServiceException$1 {
307
306
  name = "ValidationException";
308
307
  $fault = "client";
309
308
  Message;
@@ -318,12 +317,12 @@ class ValidationException extends MediaPackageV2ServiceException {
318
317
  this.Message = opts.Message;
319
318
  this.ValidationExceptionType = opts.ValidationExceptionType;
320
319
  }
321
- }
320
+ };
322
321
  const InputType = {
323
322
  CMAF: "CMAF",
324
323
  HLS: "HLS",
325
324
  };
326
- class ServiceQuotaExceededException extends MediaPackageV2ServiceException {
325
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MediaPackageV2ServiceException$1 {
327
326
  name = "ServiceQuotaExceededException";
328
327
  $fault = "client";
329
328
  Message;
@@ -336,7 +335,7 @@ class ServiceQuotaExceededException extends MediaPackageV2ServiceException {
336
335
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
337
336
  this.Message = opts.Message;
338
337
  }
339
- }
338
+ };
340
339
  const ContainerType = {
341
340
  CMAF: "CMAF",
342
341
  ISM: "ISM",
@@ -439,1416 +438,1778 @@ const HarvestJobStatus = {
439
438
  QUEUED: "QUEUED",
440
439
  };
441
440
 
442
- const se_CancelHarvestJobCommand = async (input, context) => {
443
- const b = core.requestBuilder(input, context);
444
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
445
- [_xauim]: input[_ET],
446
- });
447
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}");
448
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
449
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
450
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
451
- b.p("HarvestJobName", () => input.HarvestJobName, "{HarvestJobName}", false);
452
- let body;
453
- b.m("PUT").h(headers).b(body);
454
- return b.build();
455
- };
456
- const se_CreateChannelCommand = async (input, context) => {
457
- const b = core.requestBuilder(input, context);
458
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
459
- "content-type": "application/json",
460
- [_xact]: input[_CT] ?? uuid.v4(),
461
- });
462
- b.bp("/channelGroup/{ChannelGroupName}/channel");
463
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
464
- let body;
465
- body = JSON.stringify(smithyClient.take(input, {
466
- ChannelName: [],
467
- Description: [],
468
- InputSwitchConfiguration: (_) => smithyClient._json(_),
469
- InputType: [],
470
- OutputHeaderConfiguration: (_) => smithyClient._json(_),
471
- tags: [, (_) => smithyClient._json(_), `Tags`],
472
- }));
473
- b.m("POST").h(headers).b(body);
474
- return b.build();
475
- };
476
- const se_CreateChannelGroupCommand = async (input, context) => {
477
- const b = core.requestBuilder(input, context);
478
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
479
- "content-type": "application/json",
480
- [_xact]: input[_CT] ?? uuid.v4(),
481
- });
482
- b.bp("/channelGroup");
483
- let body;
484
- body = JSON.stringify(smithyClient.take(input, {
485
- ChannelGroupName: [],
486
- Description: [],
487
- tags: [, (_) => smithyClient._json(_), `Tags`],
488
- }));
489
- b.m("POST").h(headers).b(body);
490
- return b.build();
491
- };
492
- const se_CreateHarvestJobCommand = async (input, context) => {
493
- const b = core.requestBuilder(input, context);
494
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
495
- "content-type": "application/json",
496
- [_xact]: input[_CT] ?? uuid.v4(),
497
- });
498
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob");
499
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
500
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
501
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
502
- let body;
503
- body = JSON.stringify(smithyClient.take(input, {
504
- Description: [],
505
- Destination: (_) => smithyClient._json(_),
506
- HarvestJobName: [],
507
- HarvestedManifests: (_) => smithyClient._json(_),
508
- ScheduleConfiguration: (_) => se_HarvesterScheduleConfiguration(_),
509
- Tags: (_) => smithyClient._json(_),
510
- }));
511
- b.m("POST").h(headers).b(body);
512
- return b.build();
513
- };
514
- const se_CreateOriginEndpointCommand = async (input, context) => {
515
- const b = core.requestBuilder(input, context);
516
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
517
- "content-type": "application/json",
518
- [_xact]: input[_CT] ?? uuid.v4(),
519
- });
520
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint");
521
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
522
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
523
- let body;
524
- body = JSON.stringify(smithyClient.take(input, {
525
- ContainerType: [],
526
- DashManifests: (_) => se_CreateDashManifests(_),
527
- Description: [],
528
- ForceEndpointErrorConfiguration: (_) => smithyClient._json(_),
529
- HlsManifests: (_) => se_CreateHlsManifests(_),
530
- LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_),
531
- MssManifests: (_) => se_CreateMssManifests(_),
532
- OriginEndpointName: [],
533
- Segment: (_) => smithyClient._json(_),
534
- StartoverWindowSeconds: [],
535
- Tags: (_) => smithyClient._json(_),
536
- }));
537
- b.m("POST").h(headers).b(body);
538
- return b.build();
539
- };
540
- const se_DeleteChannelCommand = async (input, context) => {
541
- const b = core.requestBuilder(input, context);
542
- const headers = {};
543
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}");
544
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
545
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
546
- let body;
547
- b.m("DELETE").h(headers).b(body);
548
- return b.build();
549
- };
550
- const se_DeleteChannelGroupCommand = async (input, context) => {
551
- const b = core.requestBuilder(input, context);
552
- const headers = {};
553
- b.bp("/channelGroup/{ChannelGroupName}");
554
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
555
- let body;
556
- b.m("DELETE").h(headers).b(body);
557
- return b.build();
558
- };
559
- const se_DeleteChannelPolicyCommand = async (input, context) => {
560
- const b = core.requestBuilder(input, context);
561
- const headers = {};
562
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy");
563
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
564
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
565
- let body;
566
- b.m("DELETE").h(headers).b(body);
567
- return b.build();
568
- };
569
- const se_DeleteOriginEndpointCommand = async (input, context) => {
570
- const b = core.requestBuilder(input, context);
571
- const headers = {};
572
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}");
573
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
574
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
575
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
576
- let body;
577
- b.m("DELETE").h(headers).b(body);
578
- return b.build();
579
- };
580
- const se_DeleteOriginEndpointPolicyCommand = async (input, context) => {
581
- const b = core.requestBuilder(input, context);
582
- const headers = {};
583
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy");
584
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
585
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
586
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
587
- let body;
588
- b.m("DELETE").h(headers).b(body);
589
- return b.build();
590
- };
591
- const se_GetChannelCommand = async (input, context) => {
592
- const b = core.requestBuilder(input, context);
593
- const headers = {};
594
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}");
595
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
596
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
597
- let body;
598
- b.m("GET").h(headers).b(body);
599
- return b.build();
600
- };
601
- const se_GetChannelGroupCommand = async (input, context) => {
602
- const b = core.requestBuilder(input, context);
603
- const headers = {};
604
- b.bp("/channelGroup/{ChannelGroupName}");
605
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
606
- let body;
607
- b.m("GET").h(headers).b(body);
608
- return b.build();
609
- };
610
- const se_GetChannelPolicyCommand = async (input, context) => {
611
- const b = core.requestBuilder(input, context);
612
- const headers = {};
613
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy");
614
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
615
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
616
- let body;
617
- b.m("GET").h(headers).b(body);
618
- return b.build();
619
- };
620
- const se_GetHarvestJobCommand = async (input, context) => {
621
- const b = core.requestBuilder(input, context);
622
- const headers = {};
623
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}");
624
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
625
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
626
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
627
- b.p("HarvestJobName", () => input.HarvestJobName, "{HarvestJobName}", false);
628
- let body;
629
- b.m("GET").h(headers).b(body);
630
- return b.build();
631
- };
632
- const se_GetOriginEndpointCommand = async (input, context) => {
633
- const b = core.requestBuilder(input, context);
634
- const headers = {};
635
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}");
636
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
637
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
638
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
639
- let body;
640
- b.m("GET").h(headers).b(body);
641
- return b.build();
642
- };
643
- const se_GetOriginEndpointPolicyCommand = async (input, context) => {
644
- const b = core.requestBuilder(input, context);
645
- const headers = {};
646
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy");
647
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
648
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
649
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
650
- let body;
651
- b.m("GET").h(headers).b(body);
652
- return b.build();
653
- };
654
- const se_ListChannelGroupsCommand = async (input, context) => {
655
- const b = core.requestBuilder(input, context);
656
- const headers = {};
657
- b.bp("/channelGroup");
658
- const query = smithyClient.map({
659
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
660
- [_nT]: [, input[_NT]],
661
- });
662
- let body;
663
- b.m("GET").h(headers).q(query).b(body);
664
- return b.build();
665
- };
666
- const se_ListChannelsCommand = async (input, context) => {
667
- const b = core.requestBuilder(input, context);
668
- const headers = {};
669
- b.bp("/channelGroup/{ChannelGroupName}/channel");
670
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
671
- const query = smithyClient.map({
672
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
673
- [_nT]: [, input[_NT]],
674
- });
675
- let body;
676
- b.m("GET").h(headers).q(query).b(body);
677
- return b.build();
678
- };
679
- const se_ListHarvestJobsCommand = async (input, context) => {
680
- const b = core.requestBuilder(input, context);
681
- const headers = {};
682
- b.bp("/channelGroup/{ChannelGroupName}/harvestJob");
683
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
684
- const query = smithyClient.map({
685
- [_cN]: [, input[_CN]],
686
- [_oEN]: [, input[_OEN]],
687
- [_iS]: [, input[_S]],
688
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
689
- [_nT]: [, input[_NT]],
690
- });
691
- let body;
692
- b.m("GET").h(headers).q(query).b(body);
693
- return b.build();
694
- };
695
- const se_ListOriginEndpointsCommand = async (input, context) => {
696
- const b = core.requestBuilder(input, context);
697
- const headers = {};
698
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint");
699
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
700
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
701
- const query = smithyClient.map({
702
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
703
- [_nT]: [, input[_NT]],
704
- });
705
- let body;
706
- b.m("GET").h(headers).q(query).b(body);
707
- return b.build();
708
- };
709
- const se_ListTagsForResourceCommand = async (input, context) => {
710
- const b = core.requestBuilder(input, context);
711
- const headers = {};
712
- b.bp("/tags/{ResourceArn}");
713
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
714
- let body;
715
- b.m("GET").h(headers).b(body);
716
- return b.build();
717
- };
718
- const se_PutChannelPolicyCommand = async (input, context) => {
719
- const b = core.requestBuilder(input, context);
720
- const headers = {
721
- "content-type": "application/json",
722
- };
723
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy");
724
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
725
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
726
- let body;
727
- body = JSON.stringify(smithyClient.take(input, {
728
- Policy: [],
729
- }));
730
- b.m("PUT").h(headers).b(body);
731
- return b.build();
732
- };
733
- const se_PutOriginEndpointPolicyCommand = async (input, context) => {
734
- const b = core.requestBuilder(input, context);
735
- const headers = {
736
- "content-type": "application/json",
737
- };
738
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy");
739
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
740
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
741
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
742
- let body;
743
- body = JSON.stringify(smithyClient.take(input, {
744
- CdnAuthConfiguration: (_) => smithyClient._json(_),
745
- Policy: [],
746
- }));
747
- b.m("POST").h(headers).b(body);
748
- return b.build();
749
- };
750
- const se_ResetChannelStateCommand = async (input, context) => {
751
- const b = core.requestBuilder(input, context);
752
- const headers = {};
753
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/reset");
754
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
755
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
756
- let body;
757
- b.m("POST").h(headers).b(body);
758
- return b.build();
759
- };
760
- const se_ResetOriginEndpointStateCommand = async (input, context) => {
761
- const b = core.requestBuilder(input, context);
762
- const headers = {};
763
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/reset");
764
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
765
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
766
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
767
- let body;
768
- b.m("POST").h(headers).b(body);
769
- return b.build();
770
- };
771
- const se_TagResourceCommand = async (input, context) => {
772
- const b = core.requestBuilder(input, context);
773
- const headers = {
774
- "content-type": "application/json",
775
- };
776
- b.bp("/tags/{ResourceArn}");
777
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
778
- let body;
779
- body = JSON.stringify(smithyClient.take(input, {
780
- tags: [, (_) => smithyClient._json(_), `Tags`],
781
- }));
782
- b.m("POST").h(headers).b(body);
783
- return b.build();
784
- };
785
- const se_UntagResourceCommand = async (input, context) => {
786
- const b = core.requestBuilder(input, context);
787
- const headers = {};
788
- b.bp("/tags/{ResourceArn}");
789
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
790
- const query = smithyClient.map({
791
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
792
- });
793
- let body;
794
- b.m("DELETE").h(headers).q(query).b(body);
795
- return b.build();
796
- };
797
- const se_UpdateChannelCommand = async (input, context) => {
798
- const b = core.requestBuilder(input, context);
799
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
800
- "content-type": "application/json",
801
- [_xauim]: input[_ET],
802
- });
803
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}");
804
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
805
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
806
- let body;
807
- body = JSON.stringify(smithyClient.take(input, {
808
- Description: [],
809
- InputSwitchConfiguration: (_) => smithyClient._json(_),
810
- OutputHeaderConfiguration: (_) => smithyClient._json(_),
811
- }));
812
- b.m("PUT").h(headers).b(body);
813
- return b.build();
814
- };
815
- const se_UpdateChannelGroupCommand = async (input, context) => {
816
- const b = core.requestBuilder(input, context);
817
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
818
- "content-type": "application/json",
819
- [_xauim]: input[_ET],
820
- });
821
- b.bp("/channelGroup/{ChannelGroupName}");
822
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
823
- let body;
824
- body = JSON.stringify(smithyClient.take(input, {
825
- Description: [],
826
- }));
827
- b.m("PUT").h(headers).b(body);
828
- return b.build();
829
- };
830
- const se_UpdateOriginEndpointCommand = async (input, context) => {
831
- const b = core.requestBuilder(input, context);
832
- const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
833
- "content-type": "application/json",
834
- [_xauim]: input[_ET],
835
- });
836
- b.bp("/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}");
837
- b.p("ChannelGroupName", () => input.ChannelGroupName, "{ChannelGroupName}", false);
838
- b.p("ChannelName", () => input.ChannelName, "{ChannelName}", false);
839
- b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
840
- let body;
841
- body = JSON.stringify(smithyClient.take(input, {
842
- ContainerType: [],
843
- DashManifests: (_) => se_CreateDashManifests(_),
844
- Description: [],
845
- ForceEndpointErrorConfiguration: (_) => smithyClient._json(_),
846
- HlsManifests: (_) => se_CreateHlsManifests(_),
847
- LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_),
848
- MssManifests: (_) => se_CreateMssManifests(_),
849
- Segment: (_) => smithyClient._json(_),
850
- StartoverWindowSeconds: [],
851
- }));
852
- b.m("PUT").h(headers).b(body);
853
- return b.build();
854
- };
855
- const de_CancelHarvestJobCommand = async (output, context) => {
856
- if (output.statusCode !== 200 && output.statusCode >= 300) {
857
- return de_CommandError(output, context);
858
- }
859
- const contents = smithyClient.map({
860
- $metadata: deserializeMetadata(output),
861
- });
862
- await smithyClient.collectBody(output.body, context);
863
- return contents;
864
- };
865
- const de_CreateChannelCommand = async (output, context) => {
866
- if (output.statusCode !== 200 && output.statusCode >= 300) {
867
- return de_CommandError(output, context);
868
- }
869
- const contents = smithyClient.map({
870
- $metadata: deserializeMetadata(output),
871
- });
872
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
873
- const doc = smithyClient.take(data, {
874
- Arn: smithyClient.expectString,
875
- ChannelGroupName: smithyClient.expectString,
876
- ChannelName: smithyClient.expectString,
877
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
878
- Description: smithyClient.expectString,
879
- ETag: smithyClient.expectString,
880
- IngestEndpoints: smithyClient._json,
881
- InputSwitchConfiguration: smithyClient._json,
882
- InputType: smithyClient.expectString,
883
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
884
- OutputHeaderConfiguration: smithyClient._json,
885
- Tags: smithyClient._json,
886
- });
887
- Object.assign(contents, doc);
888
- return contents;
889
- };
890
- const de_CreateChannelGroupCommand = async (output, context) => {
891
- if (output.statusCode !== 200 && output.statusCode >= 300) {
892
- return de_CommandError(output, context);
893
- }
894
- const contents = smithyClient.map({
895
- $metadata: deserializeMetadata(output),
896
- });
897
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
898
- const doc = smithyClient.take(data, {
899
- Arn: smithyClient.expectString,
900
- ChannelGroupName: smithyClient.expectString,
901
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
902
- Description: smithyClient.expectString,
903
- ETag: smithyClient.expectString,
904
- EgressDomain: smithyClient.expectString,
905
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
906
- Tags: smithyClient._json,
907
- });
908
- Object.assign(contents, doc);
909
- return contents;
910
- };
911
- const de_CreateHarvestJobCommand = async (output, context) => {
912
- if (output.statusCode !== 200 && output.statusCode >= 300) {
913
- return de_CommandError(output, context);
914
- }
915
- const contents = smithyClient.map({
916
- $metadata: deserializeMetadata(output),
917
- });
918
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
919
- const doc = smithyClient.take(data, {
920
- Arn: smithyClient.expectString,
921
- ChannelGroupName: smithyClient.expectString,
922
- ChannelName: smithyClient.expectString,
923
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
924
- Description: smithyClient.expectString,
925
- Destination: smithyClient._json,
926
- ETag: smithyClient.expectString,
927
- ErrorMessage: smithyClient.expectString,
928
- HarvestJobName: smithyClient.expectString,
929
- HarvestedManifests: smithyClient._json,
930
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
931
- OriginEndpointName: smithyClient.expectString,
932
- ScheduleConfiguration: (_) => de_HarvesterScheduleConfiguration(_),
933
- Status: smithyClient.expectString,
934
- Tags: smithyClient._json,
935
- });
936
- Object.assign(contents, doc);
937
- return contents;
938
- };
939
- const de_CreateOriginEndpointCommand = async (output, context) => {
940
- if (output.statusCode !== 200 && output.statusCode >= 300) {
941
- return de_CommandError(output, context);
942
- }
943
- const contents = smithyClient.map({
944
- $metadata: deserializeMetadata(output),
945
- });
946
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
947
- const doc = smithyClient.take(data, {
948
- Arn: smithyClient.expectString,
949
- ChannelGroupName: smithyClient.expectString,
950
- ChannelName: smithyClient.expectString,
951
- ContainerType: smithyClient.expectString,
952
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
953
- DashManifests: (_) => de_GetDashManifests(_),
954
- Description: smithyClient.expectString,
955
- ETag: smithyClient.expectString,
956
- ForceEndpointErrorConfiguration: smithyClient._json,
957
- HlsManifests: (_) => de_GetHlsManifests(_),
958
- LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_),
959
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
960
- MssManifests: (_) => de_GetMssManifests(_),
961
- OriginEndpointName: smithyClient.expectString,
962
- Segment: smithyClient._json,
963
- StartoverWindowSeconds: smithyClient.expectInt32,
964
- Tags: smithyClient._json,
965
- });
966
- Object.assign(contents, doc);
967
- return contents;
968
- };
969
- const de_DeleteChannelCommand = async (output, context) => {
970
- if (output.statusCode !== 200 && output.statusCode >= 300) {
971
- return de_CommandError(output, context);
972
- }
973
- const contents = smithyClient.map({
974
- $metadata: deserializeMetadata(output),
975
- });
976
- await smithyClient.collectBody(output.body, context);
977
- return contents;
978
- };
979
- const de_DeleteChannelGroupCommand = async (output, context) => {
980
- if (output.statusCode !== 200 && output.statusCode >= 300) {
981
- return de_CommandError(output, context);
982
- }
983
- const contents = smithyClient.map({
984
- $metadata: deserializeMetadata(output),
985
- });
986
- await smithyClient.collectBody(output.body, context);
987
- return contents;
988
- };
989
- const de_DeleteChannelPolicyCommand = async (output, context) => {
990
- if (output.statusCode !== 200 && output.statusCode >= 300) {
991
- return de_CommandError(output, context);
992
- }
993
- const contents = smithyClient.map({
994
- $metadata: deserializeMetadata(output),
995
- });
996
- await smithyClient.collectBody(output.body, context);
997
- return contents;
998
- };
999
- const de_DeleteOriginEndpointCommand = async (output, context) => {
1000
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1001
- return de_CommandError(output, context);
1002
- }
1003
- const contents = smithyClient.map({
1004
- $metadata: deserializeMetadata(output),
1005
- });
1006
- await smithyClient.collectBody(output.body, context);
1007
- return contents;
1008
- };
1009
- const de_DeleteOriginEndpointPolicyCommand = async (output, context) => {
1010
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1011
- return de_CommandError(output, context);
1012
- }
1013
- const contents = smithyClient.map({
1014
- $metadata: deserializeMetadata(output),
1015
- });
1016
- await smithyClient.collectBody(output.body, context);
1017
- return contents;
1018
- };
1019
- const de_GetChannelCommand = async (output, context) => {
1020
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1021
- return de_CommandError(output, context);
1022
- }
1023
- const contents = smithyClient.map({
1024
- $metadata: deserializeMetadata(output),
1025
- });
1026
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1027
- const doc = smithyClient.take(data, {
1028
- Arn: smithyClient.expectString,
1029
- ChannelGroupName: smithyClient.expectString,
1030
- ChannelName: smithyClient.expectString,
1031
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1032
- Description: smithyClient.expectString,
1033
- ETag: smithyClient.expectString,
1034
- IngestEndpoints: smithyClient._json,
1035
- InputSwitchConfiguration: smithyClient._json,
1036
- InputType: smithyClient.expectString,
1037
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1038
- OutputHeaderConfiguration: smithyClient._json,
1039
- ResetAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1040
- Tags: smithyClient._json,
1041
- });
1042
- Object.assign(contents, doc);
1043
- return contents;
1044
- };
1045
- const de_GetChannelGroupCommand = async (output, context) => {
1046
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1047
- return de_CommandError(output, context);
1048
- }
1049
- const contents = smithyClient.map({
1050
- $metadata: deserializeMetadata(output),
1051
- });
1052
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1053
- const doc = smithyClient.take(data, {
1054
- Arn: smithyClient.expectString,
1055
- ChannelGroupName: smithyClient.expectString,
1056
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1057
- Description: smithyClient.expectString,
1058
- ETag: smithyClient.expectString,
1059
- EgressDomain: smithyClient.expectString,
1060
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1061
- Tags: [, smithyClient._json, `tags`],
1062
- });
1063
- Object.assign(contents, doc);
1064
- return contents;
1065
- };
1066
- const de_GetChannelPolicyCommand = async (output, context) => {
1067
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1068
- return de_CommandError(output, context);
1069
- }
1070
- const contents = smithyClient.map({
1071
- $metadata: deserializeMetadata(output),
1072
- });
1073
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1074
- const doc = smithyClient.take(data, {
1075
- ChannelGroupName: smithyClient.expectString,
1076
- ChannelName: smithyClient.expectString,
1077
- Policy: smithyClient.expectString,
1078
- });
1079
- Object.assign(contents, doc);
1080
- return contents;
1081
- };
1082
- const de_GetHarvestJobCommand = async (output, context) => {
1083
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1084
- return de_CommandError(output, context);
1085
- }
1086
- const contents = smithyClient.map({
1087
- $metadata: deserializeMetadata(output),
1088
- });
1089
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1090
- const doc = smithyClient.take(data, {
1091
- Arn: smithyClient.expectString,
1092
- ChannelGroupName: smithyClient.expectString,
1093
- ChannelName: smithyClient.expectString,
1094
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1095
- Description: smithyClient.expectString,
1096
- Destination: smithyClient._json,
1097
- ETag: smithyClient.expectString,
1098
- ErrorMessage: smithyClient.expectString,
1099
- HarvestJobName: smithyClient.expectString,
1100
- HarvestedManifests: smithyClient._json,
1101
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1102
- OriginEndpointName: smithyClient.expectString,
1103
- ScheduleConfiguration: (_) => de_HarvesterScheduleConfiguration(_),
1104
- Status: smithyClient.expectString,
1105
- Tags: smithyClient._json,
1106
- });
1107
- Object.assign(contents, doc);
1108
- return contents;
1109
- };
1110
- const de_GetOriginEndpointCommand = async (output, context) => {
1111
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1112
- return de_CommandError(output, context);
1113
- }
1114
- const contents = smithyClient.map({
1115
- $metadata: deserializeMetadata(output),
1116
- });
1117
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1118
- const doc = smithyClient.take(data, {
1119
- Arn: smithyClient.expectString,
1120
- ChannelGroupName: smithyClient.expectString,
1121
- ChannelName: smithyClient.expectString,
1122
- ContainerType: smithyClient.expectString,
1123
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1124
- DashManifests: (_) => de_GetDashManifests(_),
1125
- Description: smithyClient.expectString,
1126
- ETag: smithyClient.expectString,
1127
- ForceEndpointErrorConfiguration: smithyClient._json,
1128
- HlsManifests: (_) => de_GetHlsManifests(_),
1129
- LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_),
1130
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1131
- MssManifests: (_) => de_GetMssManifests(_),
1132
- OriginEndpointName: smithyClient.expectString,
1133
- ResetAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1134
- Segment: smithyClient._json,
1135
- StartoverWindowSeconds: smithyClient.expectInt32,
1136
- Tags: smithyClient._json,
1137
- });
1138
- Object.assign(contents, doc);
1139
- return contents;
1140
- };
1141
- const de_GetOriginEndpointPolicyCommand = async (output, context) => {
1142
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1143
- return de_CommandError(output, context);
1144
- }
1145
- const contents = smithyClient.map({
1146
- $metadata: deserializeMetadata(output),
1147
- });
1148
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1149
- const doc = smithyClient.take(data, {
1150
- CdnAuthConfiguration: smithyClient._json,
1151
- ChannelGroupName: smithyClient.expectString,
1152
- ChannelName: smithyClient.expectString,
1153
- OriginEndpointName: smithyClient.expectString,
1154
- Policy: smithyClient.expectString,
1155
- });
1156
- Object.assign(contents, doc);
1157
- return contents;
1158
- };
1159
- const de_ListChannelGroupsCommand = async (output, context) => {
1160
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1161
- return de_CommandError(output, context);
1162
- }
1163
- const contents = smithyClient.map({
1164
- $metadata: deserializeMetadata(output),
1165
- });
1166
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1167
- const doc = smithyClient.take(data, {
1168
- Items: (_) => de_ChannelGroupsList(_),
1169
- NextToken: smithyClient.expectString,
1170
- });
1171
- Object.assign(contents, doc);
1172
- return contents;
1173
- };
1174
- const de_ListChannelsCommand = async (output, context) => {
1175
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1176
- return de_CommandError(output, context);
1177
- }
1178
- const contents = smithyClient.map({
1179
- $metadata: deserializeMetadata(output),
1180
- });
1181
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1182
- const doc = smithyClient.take(data, {
1183
- Items: (_) => de_ChannelList(_),
1184
- NextToken: smithyClient.expectString,
1185
- });
1186
- Object.assign(contents, doc);
1187
- return contents;
1188
- };
1189
- const de_ListHarvestJobsCommand = async (output, context) => {
1190
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1191
- return de_CommandError(output, context);
1192
- }
1193
- const contents = smithyClient.map({
1194
- $metadata: deserializeMetadata(output),
1195
- });
1196
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1197
- const doc = smithyClient.take(data, {
1198
- Items: (_) => de_HarvestJobsList(_),
1199
- NextToken: smithyClient.expectString,
1200
- });
1201
- Object.assign(contents, doc);
1202
- return contents;
1203
- };
1204
- const de_ListOriginEndpointsCommand = async (output, context) => {
1205
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1206
- return de_CommandError(output, context);
1207
- }
1208
- const contents = smithyClient.map({
1209
- $metadata: deserializeMetadata(output),
1210
- });
1211
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1212
- const doc = smithyClient.take(data, {
1213
- Items: (_) => de_OriginEndpointsList(_),
1214
- NextToken: smithyClient.expectString,
1215
- });
1216
- Object.assign(contents, doc);
1217
- return contents;
1218
- };
1219
- const de_ListTagsForResourceCommand = async (output, context) => {
1220
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1221
- return de_CommandError(output, context);
1222
- }
1223
- const contents = smithyClient.map({
1224
- $metadata: deserializeMetadata(output),
1225
- });
1226
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1227
- const doc = smithyClient.take(data, {
1228
- Tags: [, smithyClient._json, `tags`],
1229
- });
1230
- Object.assign(contents, doc);
1231
- return contents;
1232
- };
1233
- const de_PutChannelPolicyCommand = async (output, context) => {
1234
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1235
- return de_CommandError(output, context);
1236
- }
1237
- const contents = smithyClient.map({
1238
- $metadata: deserializeMetadata(output),
1239
- });
1240
- await smithyClient.collectBody(output.body, context);
1241
- return contents;
1242
- };
1243
- const de_PutOriginEndpointPolicyCommand = async (output, context) => {
1244
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1245
- return de_CommandError(output, context);
1246
- }
1247
- const contents = smithyClient.map({
1248
- $metadata: deserializeMetadata(output),
1249
- });
1250
- await smithyClient.collectBody(output.body, context);
1251
- return contents;
1252
- };
1253
- const de_ResetChannelStateCommand = async (output, context) => {
1254
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1255
- return de_CommandError(output, context);
1256
- }
1257
- const contents = smithyClient.map({
1258
- $metadata: deserializeMetadata(output),
1259
- });
1260
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1261
- const doc = smithyClient.take(data, {
1262
- Arn: smithyClient.expectString,
1263
- ChannelGroupName: smithyClient.expectString,
1264
- ChannelName: smithyClient.expectString,
1265
- ResetAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1266
- });
1267
- Object.assign(contents, doc);
1268
- return contents;
1269
- };
1270
- const de_ResetOriginEndpointStateCommand = async (output, context) => {
1271
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1272
- return de_CommandError(output, context);
1273
- }
1274
- const contents = smithyClient.map({
1275
- $metadata: deserializeMetadata(output),
1276
- });
1277
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1278
- const doc = smithyClient.take(data, {
1279
- Arn: smithyClient.expectString,
1280
- ChannelGroupName: smithyClient.expectString,
1281
- ChannelName: smithyClient.expectString,
1282
- OriginEndpointName: smithyClient.expectString,
1283
- ResetAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1284
- });
1285
- Object.assign(contents, doc);
1286
- return contents;
1287
- };
1288
- const de_TagResourceCommand = async (output, context) => {
1289
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1290
- return de_CommandError(output, context);
1291
- }
1292
- const contents = smithyClient.map({
1293
- $metadata: deserializeMetadata(output),
1294
- });
1295
- await smithyClient.collectBody(output.body, context);
1296
- return contents;
1297
- };
1298
- const de_UntagResourceCommand = async (output, context) => {
1299
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1300
- return de_CommandError(output, context);
1301
- }
1302
- const contents = smithyClient.map({
1303
- $metadata: deserializeMetadata(output),
1304
- });
1305
- await smithyClient.collectBody(output.body, context);
1306
- return contents;
1307
- };
1308
- const de_UpdateChannelCommand = async (output, context) => {
1309
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1310
- return de_CommandError(output, context);
1311
- }
1312
- const contents = smithyClient.map({
1313
- $metadata: deserializeMetadata(output),
1314
- });
1315
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1316
- const doc = smithyClient.take(data, {
1317
- Arn: smithyClient.expectString,
1318
- ChannelGroupName: smithyClient.expectString,
1319
- ChannelName: smithyClient.expectString,
1320
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1321
- Description: smithyClient.expectString,
1322
- ETag: smithyClient.expectString,
1323
- IngestEndpoints: smithyClient._json,
1324
- InputSwitchConfiguration: smithyClient._json,
1325
- InputType: smithyClient.expectString,
1326
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1327
- OutputHeaderConfiguration: smithyClient._json,
1328
- Tags: [, smithyClient._json, `tags`],
1329
- });
1330
- Object.assign(contents, doc);
1331
- return contents;
1332
- };
1333
- const de_UpdateChannelGroupCommand = async (output, context) => {
1334
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1335
- return de_CommandError(output, context);
1336
- }
1337
- const contents = smithyClient.map({
1338
- $metadata: deserializeMetadata(output),
1339
- });
1340
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1341
- const doc = smithyClient.take(data, {
1342
- Arn: smithyClient.expectString,
1343
- ChannelGroupName: smithyClient.expectString,
1344
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1345
- Description: smithyClient.expectString,
1346
- ETag: smithyClient.expectString,
1347
- EgressDomain: smithyClient.expectString,
1348
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1349
- Tags: [, smithyClient._json, `tags`],
1350
- });
1351
- Object.assign(contents, doc);
1352
- return contents;
1353
- };
1354
- const de_UpdateOriginEndpointCommand = async (output, context) => {
1355
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1356
- return de_CommandError(output, context);
1357
- }
1358
- const contents = smithyClient.map({
1359
- $metadata: deserializeMetadata(output),
1360
- });
1361
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1362
- const doc = smithyClient.take(data, {
1363
- Arn: smithyClient.expectString,
1364
- ChannelGroupName: smithyClient.expectString,
1365
- ChannelName: smithyClient.expectString,
1366
- ContainerType: smithyClient.expectString,
1367
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1368
- DashManifests: (_) => de_GetDashManifests(_),
1369
- Description: smithyClient.expectString,
1370
- ETag: smithyClient.expectString,
1371
- ForceEndpointErrorConfiguration: smithyClient._json,
1372
- HlsManifests: (_) => de_GetHlsManifests(_),
1373
- LowLatencyHlsManifests: (_) => de_GetLowLatencyHlsManifests(_),
1374
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1375
- MssManifests: (_) => de_GetMssManifests(_),
1376
- OriginEndpointName: smithyClient.expectString,
1377
- Segment: smithyClient._json,
1378
- StartoverWindowSeconds: smithyClient.expectInt32,
1379
- Tags: [, smithyClient._json, `tags`],
1380
- });
1381
- Object.assign(contents, doc);
1382
- return contents;
1383
- };
1384
- const de_CommandError = async (output, context) => {
1385
- const parsedOutput = {
1386
- ...output,
1387
- body: await core$1.parseJsonErrorBody(output.body, context),
1388
- };
1389
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1390
- switch (errorCode) {
1391
- case "AccessDeniedException":
1392
- case "com.amazonaws.mediapackagev2#AccessDeniedException":
1393
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1394
- case "ConflictException":
1395
- case "com.amazonaws.mediapackagev2#ConflictException":
1396
- throw await de_ConflictExceptionRes(parsedOutput);
1397
- case "InternalServerException":
1398
- case "com.amazonaws.mediapackagev2#InternalServerException":
1399
- throw await de_InternalServerExceptionRes(parsedOutput);
1400
- case "ResourceNotFoundException":
1401
- case "com.amazonaws.mediapackagev2#ResourceNotFoundException":
1402
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1403
- case "ThrottlingException":
1404
- case "com.amazonaws.mediapackagev2#ThrottlingException":
1405
- throw await de_ThrottlingExceptionRes(parsedOutput);
1406
- case "ValidationException":
1407
- case "com.amazonaws.mediapackagev2#ValidationException":
1408
- throw await de_ValidationExceptionRes(parsedOutput);
1409
- case "ServiceQuotaExceededException":
1410
- case "com.amazonaws.mediapackagev2#ServiceQuotaExceededException":
1411
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1412
- default:
1413
- const parsedBody = parsedOutput.body;
1414
- return throwDefaultError({
1415
- output,
1416
- parsedBody,
1417
- errorCode,
1418
- });
1419
- }
1420
- };
1421
- const throwDefaultError = smithyClient.withBaseException(MediaPackageV2ServiceException);
1422
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1423
- const contents = smithyClient.map({});
1424
- const data = parsedOutput.body;
1425
- const doc = smithyClient.take(data, {
1426
- Message: smithyClient.expectString,
1427
- });
1428
- Object.assign(contents, doc);
1429
- const exception = new AccessDeniedException({
1430
- $metadata: deserializeMetadata(parsedOutput),
1431
- ...contents,
1432
- });
1433
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1434
- };
1435
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1436
- const contents = smithyClient.map({});
1437
- const data = parsedOutput.body;
1438
- const doc = smithyClient.take(data, {
1439
- ConflictExceptionType: smithyClient.expectString,
1440
- Message: smithyClient.expectString,
1441
- });
1442
- Object.assign(contents, doc);
1443
- const exception = new ConflictException({
1444
- $metadata: deserializeMetadata(parsedOutput),
1445
- ...contents,
1446
- });
1447
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1448
- };
1449
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1450
- const contents = smithyClient.map({});
1451
- const data = parsedOutput.body;
1452
- const doc = smithyClient.take(data, {
1453
- Message: smithyClient.expectString,
1454
- });
1455
- Object.assign(contents, doc);
1456
- const exception = new InternalServerException({
1457
- $metadata: deserializeMetadata(parsedOutput),
1458
- ...contents,
1459
- });
1460
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1461
- };
1462
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1463
- const contents = smithyClient.map({});
1464
- const data = parsedOutput.body;
1465
- const doc = smithyClient.take(data, {
1466
- Message: smithyClient.expectString,
1467
- ResourceTypeNotFound: smithyClient.expectString,
1468
- });
1469
- Object.assign(contents, doc);
1470
- const exception = new ResourceNotFoundException({
1471
- $metadata: deserializeMetadata(parsedOutput),
1472
- ...contents,
1473
- });
1474
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1475
- };
1476
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1477
- const contents = smithyClient.map({});
1478
- const data = parsedOutput.body;
1479
- const doc = smithyClient.take(data, {
1480
- Message: smithyClient.expectString,
1481
- });
1482
- Object.assign(contents, doc);
1483
- const exception = new ServiceQuotaExceededException({
1484
- $metadata: deserializeMetadata(parsedOutput),
1485
- ...contents,
1486
- });
1487
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1488
- };
1489
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1490
- const contents = smithyClient.map({});
1491
- const data = parsedOutput.body;
1492
- const doc = smithyClient.take(data, {
1493
- Message: smithyClient.expectString,
1494
- });
1495
- Object.assign(contents, doc);
1496
- const exception = new ThrottlingException({
1497
- $metadata: deserializeMetadata(parsedOutput),
1498
- ...contents,
1499
- });
1500
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1501
- };
1502
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1503
- const contents = smithyClient.map({});
1504
- const data = parsedOutput.body;
1505
- const doc = smithyClient.take(data, {
1506
- Message: smithyClient.expectString,
1507
- ValidationExceptionType: smithyClient.expectString,
1508
- });
1509
- Object.assign(contents, doc);
1510
- const exception = new ValidationException({
1511
- $metadata: deserializeMetadata(parsedOutput),
1512
- ...contents,
1513
- });
1514
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1515
- };
1516
- const se_CreateDashManifestConfiguration = (input, context) => {
1517
- return smithyClient.take(input, {
1518
- BaseUrls: smithyClient._json,
1519
- Compactness: [],
1520
- DrmSignaling: [],
1521
- DvbSettings: smithyClient._json,
1522
- FilterConfiguration: (_) => se_FilterConfiguration(_),
1523
- ManifestName: [],
1524
- ManifestWindowSeconds: [],
1525
- MinBufferTimeSeconds: [],
1526
- MinUpdatePeriodSeconds: [],
1527
- PeriodTriggers: smithyClient._json,
1528
- Profiles: smithyClient._json,
1529
- ProgramInformation: smithyClient._json,
1530
- ScteDash: smithyClient._json,
1531
- SegmentTemplateFormat: [],
1532
- SubtitleConfiguration: smithyClient._json,
1533
- SuggestedPresentationDelaySeconds: [],
1534
- UtcTiming: smithyClient._json,
1535
- });
1536
- };
1537
- const se_CreateDashManifests = (input, context) => {
1538
- return input
1539
- .filter((e) => e != null)
1540
- .map((entry) => {
1541
- return se_CreateDashManifestConfiguration(entry);
1542
- });
1543
- };
1544
- const se_CreateHlsManifestConfiguration = (input, context) => {
1545
- return smithyClient.take(input, {
1546
- ChildManifestName: [],
1547
- FilterConfiguration: (_) => se_FilterConfiguration(_),
1548
- ManifestName: [],
1549
- ManifestWindowSeconds: [],
1550
- ProgramDateTimeIntervalSeconds: [],
1551
- ScteHls: smithyClient._json,
1552
- StartTag: (_) => se_StartTag(_),
1553
- UrlEncodeChildManifest: [],
1554
- });
1555
- };
1556
- const se_CreateHlsManifests = (input, context) => {
1557
- return input
1558
- .filter((e) => e != null)
1559
- .map((entry) => {
1560
- return se_CreateHlsManifestConfiguration(entry);
1561
- });
1562
- };
1563
- const se_CreateLowLatencyHlsManifestConfiguration = (input, context) => {
1564
- return smithyClient.take(input, {
1565
- ChildManifestName: [],
1566
- FilterConfiguration: (_) => se_FilterConfiguration(_),
1567
- ManifestName: [],
1568
- ManifestWindowSeconds: [],
1569
- ProgramDateTimeIntervalSeconds: [],
1570
- ScteHls: smithyClient._json,
1571
- StartTag: (_) => se_StartTag(_),
1572
- UrlEncodeChildManifest: [],
1573
- });
1574
- };
1575
- const se_CreateLowLatencyHlsManifests = (input, context) => {
1576
- return input
1577
- .filter((e) => e != null)
1578
- .map((entry) => {
1579
- return se_CreateLowLatencyHlsManifestConfiguration(entry);
1580
- });
1581
- };
1582
- const se_CreateMssManifestConfiguration = (input, context) => {
1583
- return smithyClient.take(input, {
1584
- FilterConfiguration: (_) => se_FilterConfiguration(_),
1585
- ManifestLayout: [],
1586
- ManifestName: [],
1587
- ManifestWindowSeconds: [],
1588
- });
1589
- };
1590
- const se_CreateMssManifests = (input, context) => {
1591
- return input
1592
- .filter((e) => e != null)
1593
- .map((entry) => {
1594
- return se_CreateMssManifestConfiguration(entry);
1595
- });
1596
- };
1597
- const se_FilterConfiguration = (input, context) => {
1598
- return smithyClient.take(input, {
1599
- ClipStartTime: (_) => _.getTime() / 1_000,
1600
- End: (_) => _.getTime() / 1_000,
1601
- ManifestFilter: [],
1602
- Start: (_) => _.getTime() / 1_000,
1603
- TimeDelaySeconds: [],
1604
- });
1605
- };
1606
- const se_HarvesterScheduleConfiguration = (input, context) => {
1607
- return smithyClient.take(input, {
1608
- EndTime: (_) => _.getTime() / 1_000,
1609
- StartTime: (_) => _.getTime() / 1_000,
1610
- });
1611
- };
1612
- const se_StartTag = (input, context) => {
1613
- return smithyClient.take(input, {
1614
- Precise: [],
1615
- TimeOffset: smithyClient.serializeFloat,
1616
- });
1617
- };
1618
- const de_ChannelGroupListConfiguration = (output, context) => {
1619
- return smithyClient.take(output, {
1620
- Arn: smithyClient.expectString,
1621
- ChannelGroupName: smithyClient.expectString,
1622
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1623
- Description: smithyClient.expectString,
1624
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1625
- });
1626
- };
1627
- const de_ChannelGroupsList = (output, context) => {
1628
- const retVal = (output || [])
1629
- .filter((e) => e != null)
1630
- .map((entry) => {
1631
- return de_ChannelGroupListConfiguration(entry);
1632
- });
1633
- return retVal;
1634
- };
1635
- const de_ChannelList = (output, context) => {
1636
- const retVal = (output || [])
1637
- .filter((e) => e != null)
1638
- .map((entry) => {
1639
- return de_ChannelListConfiguration(entry);
1640
- });
1641
- return retVal;
1642
- };
1643
- const de_ChannelListConfiguration = (output, context) => {
1644
- return smithyClient.take(output, {
1645
- Arn: smithyClient.expectString,
1646
- ChannelGroupName: smithyClient.expectString,
1647
- ChannelName: smithyClient.expectString,
1648
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1649
- Description: smithyClient.expectString,
1650
- InputType: smithyClient.expectString,
1651
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1652
- });
1653
- };
1654
- const de_FilterConfiguration = (output, context) => {
1655
- return smithyClient.take(output, {
1656
- ClipStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1657
- End: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1658
- ManifestFilter: smithyClient.expectString,
1659
- Start: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1660
- TimeDelaySeconds: smithyClient.expectInt32,
1661
- });
1662
- };
1663
- const de_GetDashManifestConfiguration = (output, context) => {
1664
- return smithyClient.take(output, {
1665
- BaseUrls: smithyClient._json,
1666
- Compactness: smithyClient.expectString,
1667
- DrmSignaling: smithyClient.expectString,
1668
- DvbSettings: smithyClient._json,
1669
- FilterConfiguration: (_) => de_FilterConfiguration(_),
1670
- ManifestName: smithyClient.expectString,
1671
- ManifestWindowSeconds: smithyClient.expectInt32,
1672
- MinBufferTimeSeconds: smithyClient.expectInt32,
1673
- MinUpdatePeriodSeconds: smithyClient.expectInt32,
1674
- PeriodTriggers: smithyClient._json,
1675
- Profiles: smithyClient._json,
1676
- ProgramInformation: smithyClient._json,
1677
- ScteDash: smithyClient._json,
1678
- SegmentTemplateFormat: smithyClient.expectString,
1679
- SubtitleConfiguration: smithyClient._json,
1680
- SuggestedPresentationDelaySeconds: smithyClient.expectInt32,
1681
- Url: smithyClient.expectString,
1682
- UtcTiming: smithyClient._json,
1683
- });
1684
- };
1685
- const de_GetDashManifests = (output, context) => {
1686
- const retVal = (output || [])
1687
- .filter((e) => e != null)
1688
- .map((entry) => {
1689
- return de_GetDashManifestConfiguration(entry);
1690
- });
1691
- return retVal;
1692
- };
1693
- const de_GetHlsManifestConfiguration = (output, context) => {
1694
- return smithyClient.take(output, {
1695
- ChildManifestName: smithyClient.expectString,
1696
- FilterConfiguration: (_) => de_FilterConfiguration(_),
1697
- ManifestName: smithyClient.expectString,
1698
- ManifestWindowSeconds: smithyClient.expectInt32,
1699
- ProgramDateTimeIntervalSeconds: smithyClient.expectInt32,
1700
- ScteHls: smithyClient._json,
1701
- StartTag: (_) => de_StartTag(_),
1702
- Url: smithyClient.expectString,
1703
- UrlEncodeChildManifest: smithyClient.expectBoolean,
1704
- });
1705
- };
1706
- const de_GetHlsManifests = (output, context) => {
1707
- const retVal = (output || [])
1708
- .filter((e) => e != null)
1709
- .map((entry) => {
1710
- return de_GetHlsManifestConfiguration(entry);
1711
- });
1712
- return retVal;
1713
- };
1714
- const de_GetLowLatencyHlsManifestConfiguration = (output, context) => {
1715
- return smithyClient.take(output, {
1716
- ChildManifestName: smithyClient.expectString,
1717
- FilterConfiguration: (_) => de_FilterConfiguration(_),
1718
- ManifestName: smithyClient.expectString,
1719
- ManifestWindowSeconds: smithyClient.expectInt32,
1720
- ProgramDateTimeIntervalSeconds: smithyClient.expectInt32,
1721
- ScteHls: smithyClient._json,
1722
- StartTag: (_) => de_StartTag(_),
1723
- Url: smithyClient.expectString,
1724
- UrlEncodeChildManifest: smithyClient.expectBoolean,
1725
- });
1726
- };
1727
- const de_GetLowLatencyHlsManifests = (output, context) => {
1728
- const retVal = (output || [])
1729
- .filter((e) => e != null)
1730
- .map((entry) => {
1731
- return de_GetLowLatencyHlsManifestConfiguration(entry);
1732
- });
1733
- return retVal;
1734
- };
1735
- const de_GetMssManifestConfiguration = (output, context) => {
1736
- return smithyClient.take(output, {
1737
- FilterConfiguration: (_) => de_FilterConfiguration(_),
1738
- ManifestLayout: smithyClient.expectString,
1739
- ManifestName: smithyClient.expectString,
1740
- ManifestWindowSeconds: smithyClient.expectInt32,
1741
- Url: smithyClient.expectString,
1742
- });
1743
- };
1744
- const de_GetMssManifests = (output, context) => {
1745
- const retVal = (output || [])
1746
- .filter((e) => e != null)
1747
- .map((entry) => {
1748
- return de_GetMssManifestConfiguration(entry);
1749
- });
1750
- return retVal;
1751
- };
1752
- const de_HarvesterScheduleConfiguration = (output, context) => {
1753
- return smithyClient.take(output, {
1754
- EndTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1755
- StartTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1756
- });
1757
- };
1758
- const de_HarvestJob = (output, context) => {
1759
- return smithyClient.take(output, {
1760
- Arn: smithyClient.expectString,
1761
- ChannelGroupName: smithyClient.expectString,
1762
- ChannelName: smithyClient.expectString,
1763
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1764
- Description: smithyClient.expectString,
1765
- Destination: smithyClient._json,
1766
- ETag: smithyClient.expectString,
1767
- ErrorMessage: smithyClient.expectString,
1768
- HarvestJobName: smithyClient.expectString,
1769
- HarvestedManifests: smithyClient._json,
1770
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1771
- OriginEndpointName: smithyClient.expectString,
1772
- ScheduleConfiguration: (_) => de_HarvesterScheduleConfiguration(_),
1773
- Status: smithyClient.expectString,
1774
- });
1775
- };
1776
- const de_HarvestJobsList = (output, context) => {
1777
- const retVal = (output || [])
1778
- .filter((e) => e != null)
1779
- .map((entry) => {
1780
- return de_HarvestJob(entry);
1781
- });
1782
- return retVal;
1783
- };
1784
- const de_OriginEndpointListConfiguration = (output, context) => {
1785
- return smithyClient.take(output, {
1786
- Arn: smithyClient.expectString,
1787
- ChannelGroupName: smithyClient.expectString,
1788
- ChannelName: smithyClient.expectString,
1789
- ContainerType: smithyClient.expectString,
1790
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1791
- DashManifests: smithyClient._json,
1792
- Description: smithyClient.expectString,
1793
- ForceEndpointErrorConfiguration: smithyClient._json,
1794
- HlsManifests: smithyClient._json,
1795
- LowLatencyHlsManifests: smithyClient._json,
1796
- ModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1797
- MssManifests: smithyClient._json,
1798
- OriginEndpointName: smithyClient.expectString,
1799
- });
1800
- };
1801
- const de_OriginEndpointsList = (output, context) => {
1802
- const retVal = (output || [])
1803
- .filter((e) => e != null)
1804
- .map((entry) => {
1805
- return de_OriginEndpointListConfiguration(entry);
1806
- });
1807
- return retVal;
1808
- };
1809
- const de_StartTag = (output, context) => {
1810
- return smithyClient.take(output, {
1811
- Precise: smithyClient.expectBoolean,
1812
- TimeOffset: smithyClient.limitedParseFloat32,
1813
- });
1814
- };
1815
- const deserializeMetadata = (output) => ({
1816
- httpStatusCode: output.statusCode,
1817
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1818
- extendedRequestId: output.headers["x-amz-id-2"],
1819
- cfId: output.headers["x-amz-cf-id"],
1820
- });
441
+ const _A = "Arn";
442
+ const _ADE = "AccessDeniedException";
443
+ const _AMD = "AdMarkerDash";
444
+ const _AMH = "AdMarkerHls";
445
+ const _BN = "BucketName";
446
+ const _BU = "BaseUrls";
447
+ const _C = "Compactness";
448
+ const _CA = "CreatedAt";
449
+ const _CAC = "CdnAuthConfiguration";
450
+ const _CC = "CreateChannel";
451
+ const _CCG = "CreateChannelGroup";
452
+ const _CCGR = "CreateChannelGroupRequest";
453
+ const _CCGRr = "CreateChannelGroupResponse";
454
+ const _CCR = "CreateChannelRequest";
455
+ const _CCRr = "CreateChannelResponse";
456
+ const _CDM = "CreateDashManifests";
457
+ const _CDMC = "CreateDashManifestConfiguration";
458
+ const _CE = "ConflictException";
459
+ const _CEM = "CmafEncryptionMethod";
460
+ const _CESDM = "CmafExcludeSegmentDrmMetadata";
461
+ const _CET = "ConflictExceptionType";
462
+ const _CGL = "ChannelGroupsList";
463
+ const _CGLC = "ChannelGroupListConfiguration";
464
+ const _CGN = "ChannelGroupName";
465
+ const _CHJ = "CancelHarvestJob";
466
+ const _CHJR = "CancelHarvestJobRequest";
467
+ const _CHJRa = "CancelHarvestJobResponse";
468
+ const _CHJRr = "CreateHarvestJobRequest";
469
+ const _CHJRre = "CreateHarvestJobResponse";
470
+ const _CHJr = "CreateHarvestJob";
471
+ const _CHM = "CreateHlsManifests";
472
+ const _CHMC = "CreateHlsManifestConfiguration";
473
+ const _CISA = "CdnIdentifierSecretArns";
474
+ const _CIV = "ConstantInitializationVector";
475
+ const _CL = "ChannelList";
476
+ const _CLC = "ChannelListConfiguration";
477
+ const _CLLHM = "CreateLowLatencyHlsManifests";
478
+ const _CLLHMC = "CreateLowLatencyHlsManifestConfiguration";
479
+ const _CMM = "CreateMssManifests";
480
+ const _CMMC = "CreateMssManifestConfiguration";
481
+ const _CMN = "ChildManifestName";
1821
482
  const _CN = "ChannelName";
483
+ const _COE = "CreateOriginEndpoint";
484
+ const _COER = "CreateOriginEndpointRequest";
485
+ const _COERr = "CreateOriginEndpointResponse";
486
+ const _CST = "ClipStartTime";
1822
487
  const _CT = "ClientToken";
488
+ const _CTo = "ContainerType";
489
+ const _Co = "Copyright";
490
+ const _D = "Description";
491
+ const _DBU = "DashBaseUrl";
492
+ const _DBUa = "DashBaseUrls";
493
+ const _DC = "DeleteChannel";
494
+ const _DCG = "DeleteChannelGroup";
495
+ const _DCGR = "DeleteChannelGroupRequest";
496
+ const _DCGRe = "DeleteChannelGroupResponse";
497
+ const _DCP = "DeleteChannelPolicy";
498
+ const _DCPR = "DeleteChannelPolicyRequest";
499
+ const _DCPRe = "DeleteChannelPolicyResponse";
500
+ const _DCR = "DeleteChannelRequest";
501
+ const _DCRe = "DeleteChannelResponse";
502
+ const _DDEM = "DashDvbErrorMetrics";
503
+ const _DDFD = "DashDvbFontDownload";
504
+ const _DDMR = "DashDvbMetricsReporting";
505
+ const _DDS = "DashDvbSettings";
506
+ const _DM = "DashManifests";
507
+ const _DOE = "DeleteOriginEndpoint";
508
+ const _DOEP = "DeleteOriginEndpointPolicy";
509
+ const _DOEPR = "DeleteOriginEndpointPolicyRequest";
510
+ const _DOEPRe = "DeleteOriginEndpointPolicyResponse";
511
+ const _DOER = "DeleteOriginEndpointRequest";
512
+ const _DOERe = "DeleteOriginEndpointResponse";
513
+ const _DP = "DvbPriority";
514
+ const _DPI = "DashProgramInformation";
515
+ const _DPe = "DestinationPath";
516
+ const _DS = "DrmSignaling";
517
+ const _DSC = "DashSubtitleConfiguration";
518
+ const _DSr = "DrmSystems";
519
+ const _DSv = "DvbSettings";
520
+ const _DTC = "DashTtmlConfiguration";
521
+ const _DUT = "DashUtcTiming";
522
+ const _DW = "DvbWeight";
523
+ const _De = "Destination";
524
+ const _E = "Encryption";
525
+ const _ECC = "EncryptionContractConfiguration";
526
+ const _ED = "EgressDomain";
527
+ const _EEC = "EndpointErrorConditions";
528
+ const _EM = "ErrorMessage";
529
+ const _EMn = "EncryptionMethod";
530
+ const _EMr = "ErrorMetrics";
1823
531
  const _ET = "ETag";
532
+ const _ETn = "EndTime";
533
+ const _En = "End";
534
+ const _FC = "FilterConfiguration";
535
+ const _FD = "FontDownload";
536
+ const _FEEC = "ForceEndpointErrorConfiguration";
537
+ const _FF = "FontFamily";
538
+ const _GC = "GetChannel";
539
+ const _GCG = "GetChannelGroup";
540
+ const _GCGR = "GetChannelGroupRequest";
541
+ const _GCGRe = "GetChannelGroupResponse";
542
+ const _GCP = "GetChannelPolicy";
543
+ const _GCPR = "GetChannelPolicyRequest";
544
+ const _GCPRe = "GetChannelPolicyResponse";
545
+ const _GCR = "GetChannelRequest";
546
+ const _GCRe = "GetChannelResponse";
547
+ const _GDM = "GetDashManifests";
548
+ const _GDMC = "GetDashManifestConfiguration";
549
+ const _GHJ = "GetHarvestJob";
550
+ const _GHJR = "GetHarvestJobRequest";
551
+ const _GHJRe = "GetHarvestJobResponse";
552
+ const _GHM = "GetHlsManifests";
553
+ const _GHMC = "GetHlsManifestConfiguration";
554
+ const _GLLHM = "GetLowLatencyHlsManifests";
555
+ const _GLLHMC = "GetLowLatencyHlsManifestConfiguration";
556
+ const _GMM = "GetMssManifests";
557
+ const _GMMC = "GetMssManifestConfiguration";
558
+ const _GOE = "GetOriginEndpoint";
559
+ const _GOEP = "GetOriginEndpointPolicy";
560
+ const _GOEPR = "GetOriginEndpointPolicyRequest";
561
+ const _GOEPRe = "GetOriginEndpointPolicyResponse";
562
+ const _GOER = "GetOriginEndpointRequest";
563
+ const _GOERe = "GetOriginEndpointResponse";
564
+ const _HDM = "HarvestedDashManifest";
565
+ const _HDML = "HarvestedDashManifestsList";
566
+ const _HHM = "HarvestedHlsManifest";
567
+ const _HHML = "HarvestedHlsManifestsList";
568
+ const _HJ = "HarvestJob";
569
+ const _HJL = "HarvestJobsList";
570
+ const _HJN = "HarvestJobName";
571
+ const _HLLHM = "HarvestedLowLatencyHlsManifest";
572
+ const _HLLHML = "HarvestedLowLatencyHlsManifestsList";
573
+ const _HM = "HarvestedManifests";
574
+ const _HMl = "HlsManifests";
575
+ const _HSC = "HarvesterScheduleConfiguration";
576
+ const _I = "Id";
577
+ const _IE = "IngestEndpoints";
578
+ const _IEL = "IngestEndpointList";
579
+ const _IEM = "IsmEncryptionMethod";
580
+ const _IEn = "IngestEndpoint";
581
+ const _IIOS = "IncludeIframeOnlyStreams";
582
+ const _ISC = "InputSwitchConfiguration";
583
+ const _ISE = "InternalServerException";
584
+ const _IT = "InputType";
585
+ const _It = "Items";
586
+ const _KRIS = "KeyRotationIntervalSeconds";
587
+ const _LC = "LanguageCode";
588
+ const _LCG = "ListChannelGroups";
589
+ const _LCGR = "ListChannelGroupsRequest";
590
+ const _LCGRi = "ListChannelGroupsResponse";
591
+ const _LCR = "ListChannelsRequest";
592
+ const _LCRi = "ListChannelsResponse";
593
+ const _LCi = "ListChannels";
594
+ const _LDM = "ListDashManifests";
595
+ const _LDMC = "ListDashManifestConfiguration";
596
+ const _LHJ = "ListHarvestJobs";
597
+ const _LHJR = "ListHarvestJobsRequest";
598
+ const _LHJRi = "ListHarvestJobsResponse";
599
+ const _LHM = "ListHlsManifests";
600
+ const _LHMC = "ListHlsManifestConfiguration";
601
+ const _LLHM = "LowLatencyHlsManifests";
602
+ const _LLLHM = "ListLowLatencyHlsManifests";
603
+ const _LLLHMC = "ListLowLatencyHlsManifestConfiguration";
604
+ const _LMM = "ListMssManifests";
605
+ const _LMMC = "ListMssManifestConfiguration";
606
+ const _LOE = "ListOriginEndpoints";
607
+ const _LOER = "ListOriginEndpointsRequest";
608
+ const _LOERi = "ListOriginEndpointsResponse";
609
+ const _LTFR = "ListTagsForResource";
610
+ const _LTFRR = "ListTagsForResourceRequest";
611
+ const _LTFRRi = "ListTagsForResourceResponse";
612
+ const _M = "Message";
613
+ const _MA = "ModifiedAt";
614
+ const _MBTS = "MinBufferTimeSeconds";
615
+ const _MF = "ManifestFilter";
616
+ const _MIU = "MoreInformationUrl";
617
+ const _ML = "ManifestLayout";
618
+ const _MM = "MssManifests";
619
+ const _MN = "ManifestName";
620
+ const _MQCSIS = "MQCSInputSwitching";
1824
621
  const _MR = "MaxResults";
622
+ const _MT = "MimeType";
623
+ const _MUPS = "MinUpdatePeriodSeconds";
624
+ const _MWS = "ManifestWindowSeconds";
1825
625
  const _NT = "NextToken";
626
+ const _OEL = "OriginEndpointsList";
627
+ const _OELC = "OriginEndpointListConfiguration";
1826
628
  const _OEN = "OriginEndpointName";
629
+ const _OHC = "OutputHeaderConfiguration";
630
+ const _P = "Profiles";
631
+ const _PCP = "PutChannelPolicy";
632
+ const _PCPR = "PutChannelPolicyRequest";
633
+ const _PCPRu = "PutChannelPolicyResponse";
634
+ const _PDTIS = "ProgramDateTimeIntervalSeconds";
635
+ const _PI = "ProgramInformation";
636
+ const _PIr = "PreferredInput";
637
+ const _PMQCS = "PublishMQCS";
638
+ const _POEP = "PutOriginEndpointPolicy";
639
+ const _POEPR = "PutOriginEndpointPolicyRequest";
640
+ const _POEPRu = "PutOriginEndpointPolicyResponse";
641
+ const _PSA = "PresetSpeke20Audio";
642
+ const _PSV = "PresetSpeke20Video";
643
+ const _PT = "PeriodTriggers";
644
+ const _Po = "Policy";
645
+ const _Pr = "Probability";
646
+ const _Pre = "Precise";
647
+ const _RA = "ResetAt";
648
+ const _RAe = "ResourceArn";
649
+ const _RAo = "RoleArn";
650
+ const _RCS = "ResetChannelState";
651
+ const _RCSR = "ResetChannelStateRequest";
652
+ const _RCSRe = "ResetChannelStateResponse";
653
+ const _RI = "ResourceId";
654
+ const _RNFE = "ResourceNotFoundException";
655
+ const _ROES = "ResetOriginEndpointState";
656
+ const _ROESR = "ResetOriginEndpointStateRequest";
657
+ const _ROESRe = "ResetOriginEndpointStateResponse";
658
+ const _RTNF = "ResourceTypeNotFound";
659
+ const _RU = "ReportingUrl";
1827
660
  const _S = "Status";
661
+ const _SC = "SubtitleConfiguration";
662
+ const _SCc = "ScheduleConfiguration";
663
+ const _SD = "ScteDash";
664
+ const _SDC = "S3DestinationConfig";
665
+ const _SDS = "SegmentDurationSeconds";
666
+ const _SDe = "S3Destination";
667
+ const _SF = "ScteFilter";
668
+ const _SH = "ScteHls";
669
+ const _SKP = "SpekeKeyProvider";
670
+ const _SL = "ServiceLocation";
671
+ const _SN = "SegmentName";
672
+ const _SPDS = "SuggestedPresentationDelaySeconds";
673
+ const _SQEE = "ServiceQuotaExceededException";
674
+ const _SRA = "SecretsRoleArn";
675
+ const _ST = "StartTag";
676
+ const _STF = "SegmentTemplateFormat";
677
+ const _STt = "StartTime";
678
+ const _SWS = "StartoverWindowSeconds";
679
+ const _Sc = "Scte";
680
+ const _Se = "Segment";
681
+ const _So = "Source";
682
+ const _St = "Start";
683
+ const _T = "Tags";
684
+ const _TC = "TtmlConfiguration";
685
+ const _TDS = "TimeDelaySeconds";
686
+ const _TE = "ThrottlingException";
687
+ const _TEM = "TsEncryptionMethod";
688
+ const _TIDS = "TsIncludeDvbSubtitles";
1828
689
  const _TK = "TagKeys";
690
+ const _TM = "TimingMode";
691
+ const _TO = "TimeOffset";
692
+ const _TP = "TtmlProfile";
693
+ const _TR = "TagResource";
694
+ const _TRR = "TagResourceRequest";
695
+ const _TS = "TimingSource";
696
+ const _TUARG = "TsUseAudioRenditionGroup";
697
+ const _Ti = "Title";
698
+ const _U = "Url";
699
+ const _UC = "UpdateChannel";
700
+ const _UCG = "UpdateChannelGroup";
701
+ const _UCGR = "UpdateChannelGroupRequest";
702
+ const _UCGRp = "UpdateChannelGroupResponse";
703
+ const _UCR = "UpdateChannelRequest";
704
+ const _UCRp = "UpdateChannelResponse";
705
+ const _UECM = "UrlEncodeChildManifest";
706
+ const _UOE = "UpdateOriginEndpoint";
707
+ const _UOER = "UpdateOriginEndpointRequest";
708
+ const _UOERp = "UpdateOriginEndpointResponse";
709
+ const _UR = "UntagResource";
710
+ const _URR = "UntagResourceRequest";
711
+ const _UT = "UtcTiming";
712
+ const _VE = "ValidationException";
713
+ const _VET = "ValidationExceptionType";
714
+ const _c = "client";
1829
715
  const _cN = "channelName";
716
+ const _e = "error";
717
+ const _h = "http";
718
+ const _hE = "httpError";
719
+ const _hH = "httpHeader";
720
+ const _hQ = "httpQuery";
1830
721
  const _iS = "includeStatus";
722
+ const _iT = "idempotencyToken";
723
+ const _jN = "jsonName";
1831
724
  const _mR = "maxResults";
1832
725
  const _nT = "nextToken";
1833
726
  const _oEN = "originEndpointName";
727
+ const _s = "server";
728
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mediapackagev2";
729
+ const _t = "tags";
1834
730
  const _tK = "tagKeys";
1835
731
  const _xact = "x-amzn-client-token";
1836
732
  const _xauim = "x-amzn-update-if-match";
733
+ const n0 = "com.amazonaws.mediapackagev2";
734
+ var AccessDeniedException = [
735
+ -3,
736
+ n0,
737
+ _ADE,
738
+ {
739
+ [_e]: _c,
740
+ [_hE]: 403,
741
+ },
742
+ [_M],
743
+ [0],
744
+ ];
745
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
746
+ var CancelHarvestJobRequest = [
747
+ 3,
748
+ n0,
749
+ _CHJR,
750
+ 0,
751
+ [_CGN, _CN, _OEN, _HJN, _ET],
752
+ [
753
+ [0, 1],
754
+ [0, 1],
755
+ [0, 1],
756
+ [0, 1],
757
+ [
758
+ 0,
759
+ {
760
+ [_hH]: _xauim,
761
+ },
762
+ ],
763
+ ],
764
+ ];
765
+ var CancelHarvestJobResponse = [3, n0, _CHJRa, 0, [], []];
766
+ var CdnAuthConfiguration = [3, n0, _CAC, 0, [_CISA, _SRA], [64 | 0, 0]];
767
+ var ChannelGroupListConfiguration = [
768
+ 3,
769
+ n0,
770
+ _CGLC,
771
+ 0,
772
+ [_CGN, _A, _CA, _MA, _D],
773
+ [0, 0, 4, 4, 0],
774
+ ];
775
+ var ChannelListConfiguration = [
776
+ 3,
777
+ n0,
778
+ _CLC,
779
+ 0,
780
+ [_A, _CN, _CGN, _CA, _MA, _D, _IT],
781
+ [0, 0, 0, 4, 4, 0, 0],
782
+ ];
783
+ var ConflictException = [
784
+ -3,
785
+ n0,
786
+ _CE,
787
+ {
788
+ [_e]: _c,
789
+ [_hE]: 409,
790
+ },
791
+ [_M, _CET],
792
+ [0, 0],
793
+ ];
794
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
795
+ var CreateChannelGroupRequest = [
796
+ 3,
797
+ n0,
798
+ _CCGR,
799
+ 0,
800
+ [_CGN, _CT, _D, _T],
801
+ [
802
+ 0,
803
+ [
804
+ 0,
805
+ {
806
+ [_hH]: _xact,
807
+ [_iT]: 1,
808
+ },
809
+ ],
810
+ 0,
811
+ [
812
+ 128 | 0,
813
+ {
814
+ [_jN]: _t,
815
+ },
816
+ ],
817
+ ],
818
+ ];
819
+ var CreateChannelGroupResponse = [
820
+ 3,
821
+ n0,
822
+ _CCGRr,
823
+ 0,
824
+ [_CGN, _A, _ED, _CA, _MA, _ET, _D, _T],
825
+ [0, 0, 0, 4, 4, 0, 0, 128 | 0],
826
+ ];
827
+ var CreateChannelRequest = [
828
+ 3,
829
+ n0,
830
+ _CCR,
831
+ 0,
832
+ [_CGN, _CN, _CT, _IT, _D, _ISC, _OHC, _T],
833
+ [
834
+ [0, 1],
835
+ 0,
836
+ [
837
+ 0,
838
+ {
839
+ [_hH]: _xact,
840
+ [_iT]: 1,
841
+ },
842
+ ],
843
+ 0,
844
+ 0,
845
+ () => InputSwitchConfiguration,
846
+ () => OutputHeaderConfiguration,
847
+ [
848
+ 128 | 0,
849
+ {
850
+ [_jN]: _t,
851
+ },
852
+ ],
853
+ ],
854
+ ];
855
+ var CreateChannelResponse = [
856
+ 3,
857
+ n0,
858
+ _CCRr,
859
+ 0,
860
+ [_A, _CN, _CGN, _CA, _MA, _D, _IE, _IT, _ET, _T, _ISC, _OHC],
861
+ [
862
+ 0,
863
+ 0,
864
+ 0,
865
+ 4,
866
+ 4,
867
+ 0,
868
+ () => IngestEndpointList,
869
+ 0,
870
+ 0,
871
+ 128 | 0,
872
+ () => InputSwitchConfiguration,
873
+ () => OutputHeaderConfiguration,
874
+ ],
875
+ ];
876
+ var CreateDashManifestConfiguration = [
877
+ 3,
878
+ n0,
879
+ _CDMC,
880
+ 0,
881
+ [_MN, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC],
882
+ [
883
+ 0,
884
+ 1,
885
+ () => FilterConfiguration,
886
+ 1,
887
+ 1,
888
+ 1,
889
+ 0,
890
+ 64 | 0,
891
+ () => ScteDash,
892
+ 0,
893
+ () => DashUtcTiming,
894
+ 64 | 0,
895
+ () => DashBaseUrls,
896
+ () => DashProgramInformation,
897
+ () => DashDvbSettings,
898
+ 0,
899
+ () => DashSubtitleConfiguration,
900
+ ],
901
+ ];
902
+ var CreateHarvestJobRequest = [
903
+ 3,
904
+ n0,
905
+ _CHJRr,
906
+ 0,
907
+ [_CGN, _CN, _OEN, _D, _HM, _SCc, _De, _CT, _HJN, _T],
908
+ [
909
+ [0, 1],
910
+ [0, 1],
911
+ [0, 1],
912
+ 0,
913
+ () => HarvestedManifests,
914
+ () => HarvesterScheduleConfiguration,
915
+ () => Destination,
916
+ [
917
+ 0,
918
+ {
919
+ [_hH]: _xact,
920
+ [_iT]: 1,
921
+ },
922
+ ],
923
+ 0,
924
+ 128 | 0,
925
+ ],
926
+ ];
927
+ var CreateHarvestJobResponse = [
928
+ 3,
929
+ n0,
930
+ _CHJRre,
931
+ 0,
932
+ [_CGN, _CN, _OEN, _De, _HJN, _HM, _D, _SCc, _A, _CA, _MA, _S, _EM, _ET, _T],
933
+ [
934
+ 0,
935
+ 0,
936
+ 0,
937
+ () => Destination,
938
+ 0,
939
+ () => HarvestedManifests,
940
+ 0,
941
+ () => HarvesterScheduleConfiguration,
942
+ 0,
943
+ 4,
944
+ 4,
945
+ 0,
946
+ 0,
947
+ 0,
948
+ 128 | 0,
949
+ ],
950
+ ];
951
+ var CreateHlsManifestConfiguration = [
952
+ 3,
953
+ n0,
954
+ _CHMC,
955
+ 0,
956
+ [_MN, _CMN, _SH, _ST, _MWS, _PDTIS, _FC, _UECM],
957
+ [0, 0, () => ScteHls, () => StartTag, 1, 1, () => FilterConfiguration, 2],
958
+ ];
959
+ var CreateLowLatencyHlsManifestConfiguration = [
960
+ 3,
961
+ n0,
962
+ _CLLHMC,
963
+ 0,
964
+ [_MN, _CMN, _SH, _ST, _MWS, _PDTIS, _FC, _UECM],
965
+ [0, 0, () => ScteHls, () => StartTag, 1, 1, () => FilterConfiguration, 2],
966
+ ];
967
+ var CreateMssManifestConfiguration = [
968
+ 3,
969
+ n0,
970
+ _CMMC,
971
+ 0,
972
+ [_MN, _MWS, _FC, _ML],
973
+ [0, 1, () => FilterConfiguration, 0],
974
+ ];
975
+ var CreateOriginEndpointRequest = [
976
+ 3,
977
+ n0,
978
+ _COER,
979
+ 0,
980
+ [_CGN, _CN, _OEN, _CTo, _Se, _CT, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _T],
981
+ [
982
+ [0, 1],
983
+ [0, 1],
984
+ 0,
985
+ 0,
986
+ () => Segment,
987
+ [
988
+ 0,
989
+ {
990
+ [_hH]: _xact,
991
+ [_iT]: 1,
992
+ },
993
+ ],
994
+ 0,
995
+ 1,
996
+ () => CreateHlsManifests,
997
+ () => CreateLowLatencyHlsManifests,
998
+ () => CreateDashManifests,
999
+ () => CreateMssManifests,
1000
+ () => ForceEndpointErrorConfiguration,
1001
+ 128 | 0,
1002
+ ],
1003
+ ];
1004
+ var CreateOriginEndpointResponse = [
1005
+ 3,
1006
+ n0,
1007
+ _COERr,
1008
+ 0,
1009
+ [_A, _CGN, _CN, _OEN, _CTo, _Se, _CA, _MA, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _ET, _T],
1010
+ [
1011
+ 0,
1012
+ 0,
1013
+ 0,
1014
+ 0,
1015
+ 0,
1016
+ () => Segment,
1017
+ 4,
1018
+ 4,
1019
+ 0,
1020
+ 1,
1021
+ () => GetHlsManifests,
1022
+ () => GetLowLatencyHlsManifests,
1023
+ () => GetDashManifests,
1024
+ () => GetMssManifests,
1025
+ () => ForceEndpointErrorConfiguration,
1026
+ 0,
1027
+ 128 | 0,
1028
+ ],
1029
+ ];
1030
+ var DashBaseUrl = [3, n0, _DBU, 0, [_U, _SL, _DP, _DW], [0, 0, 1, 1]];
1031
+ var DashDvbFontDownload = [3, n0, _DDFD, 0, [_U, _MT, _FF], [0, 0, 0]];
1032
+ var DashDvbMetricsReporting = [3, n0, _DDMR, 0, [_RU, _Pr], [0, 1]];
1033
+ var DashDvbSettings = [
1034
+ 3,
1035
+ n0,
1036
+ _DDS,
1037
+ 0,
1038
+ [_FD, _EMr],
1039
+ [() => DashDvbFontDownload, () => DashDvbErrorMetrics],
1040
+ ];
1041
+ var DashProgramInformation = [
1042
+ 3,
1043
+ n0,
1044
+ _DPI,
1045
+ 0,
1046
+ [_Ti, _So, _Co, _LC, _MIU],
1047
+ [0, 0, 0, 0, 0],
1048
+ ];
1049
+ var DashSubtitleConfiguration = [3, n0, _DSC, 0, [_TC], [() => DashTtmlConfiguration]];
1050
+ var DashTtmlConfiguration = [3, n0, _DTC, 0, [_TP], [0]];
1051
+ var DashUtcTiming = [3, n0, _DUT, 0, [_TM, _TS], [0, 0]];
1052
+ var DeleteChannelGroupRequest = [3, n0, _DCGR, 0, [_CGN], [[0, 1]]];
1053
+ var DeleteChannelGroupResponse = [3, n0, _DCGRe, 0, [], []];
1054
+ var DeleteChannelPolicyRequest = [
1055
+ 3,
1056
+ n0,
1057
+ _DCPR,
1058
+ 0,
1059
+ [_CGN, _CN],
1060
+ [
1061
+ [0, 1],
1062
+ [0, 1],
1063
+ ],
1064
+ ];
1065
+ var DeleteChannelPolicyResponse = [3, n0, _DCPRe, 0, [], []];
1066
+ var DeleteChannelRequest = [
1067
+ 3,
1068
+ n0,
1069
+ _DCR,
1070
+ 0,
1071
+ [_CGN, _CN],
1072
+ [
1073
+ [0, 1],
1074
+ [0, 1],
1075
+ ],
1076
+ ];
1077
+ var DeleteChannelResponse = [3, n0, _DCRe, 0, [], []];
1078
+ var DeleteOriginEndpointPolicyRequest = [
1079
+ 3,
1080
+ n0,
1081
+ _DOEPR,
1082
+ 0,
1083
+ [_CGN, _CN, _OEN],
1084
+ [
1085
+ [0, 1],
1086
+ [0, 1],
1087
+ [0, 1],
1088
+ ],
1089
+ ];
1090
+ var DeleteOriginEndpointPolicyResponse = [3, n0, _DOEPRe, 0, [], []];
1091
+ var DeleteOriginEndpointRequest = [
1092
+ 3,
1093
+ n0,
1094
+ _DOER,
1095
+ 0,
1096
+ [_CGN, _CN, _OEN],
1097
+ [
1098
+ [0, 1],
1099
+ [0, 1],
1100
+ [0, 1],
1101
+ ],
1102
+ ];
1103
+ var DeleteOriginEndpointResponse = [3, n0, _DOERe, 0, [], []];
1104
+ var Destination = [3, n0, _De, 0, [_SDe], [() => S3DestinationConfig]];
1105
+ var Encryption = [
1106
+ 3,
1107
+ n0,
1108
+ _E,
1109
+ 0,
1110
+ [_CIV, _EMn, _KRIS, _CESDM, _SKP],
1111
+ [0, () => EncryptionMethod, 1, 2, () => SpekeKeyProvider],
1112
+ ];
1113
+ var EncryptionContractConfiguration = [3, n0, _ECC, 0, [_PSA, _PSV], [0, 0]];
1114
+ var EncryptionMethod = [3, n0, _EMn, 0, [_TEM, _CEM, _IEM], [0, 0, 0]];
1115
+ var FilterConfiguration = [3, n0, _FC, 0, [_MF, _St, _En, _TDS, _CST], [0, 4, 4, 1, 4]];
1116
+ var ForceEndpointErrorConfiguration = [3, n0, _FEEC, 0, [_EEC], [64 | 0]];
1117
+ var GetChannelGroupRequest = [3, n0, _GCGR, 0, [_CGN], [[0, 1]]];
1118
+ var GetChannelGroupResponse = [
1119
+ 3,
1120
+ n0,
1121
+ _GCGRe,
1122
+ 0,
1123
+ [_CGN, _A, _ED, _CA, _MA, _D, _ET, _T],
1124
+ [
1125
+ 0,
1126
+ 0,
1127
+ 0,
1128
+ 4,
1129
+ 4,
1130
+ 0,
1131
+ 0,
1132
+ [
1133
+ 128 | 0,
1134
+ {
1135
+ [_jN]: _t,
1136
+ },
1137
+ ],
1138
+ ],
1139
+ ];
1140
+ var GetChannelPolicyRequest = [
1141
+ 3,
1142
+ n0,
1143
+ _GCPR,
1144
+ 0,
1145
+ [_CGN, _CN],
1146
+ [
1147
+ [0, 1],
1148
+ [0, 1],
1149
+ ],
1150
+ ];
1151
+ var GetChannelPolicyResponse = [3, n0, _GCPRe, 0, [_CGN, _CN, _Po], [0, 0, 0]];
1152
+ var GetChannelRequest = [
1153
+ 3,
1154
+ n0,
1155
+ _GCR,
1156
+ 0,
1157
+ [_CGN, _CN],
1158
+ [
1159
+ [0, 1],
1160
+ [0, 1],
1161
+ ],
1162
+ ];
1163
+ var GetChannelResponse = [
1164
+ 3,
1165
+ n0,
1166
+ _GCRe,
1167
+ 0,
1168
+ [_A, _CN, _CGN, _CA, _MA, _RA, _D, _IE, _IT, _ET, _T, _ISC, _OHC],
1169
+ [
1170
+ 0,
1171
+ 0,
1172
+ 0,
1173
+ 4,
1174
+ 4,
1175
+ 4,
1176
+ 0,
1177
+ () => IngestEndpointList,
1178
+ 0,
1179
+ 0,
1180
+ 128 | 0,
1181
+ () => InputSwitchConfiguration,
1182
+ () => OutputHeaderConfiguration,
1183
+ ],
1184
+ ];
1185
+ var GetDashManifestConfiguration = [
1186
+ 3,
1187
+ n0,
1188
+ _GDMC,
1189
+ 0,
1190
+ [_MN, _U, _MWS, _FC, _MUPS, _MBTS, _SPDS, _STF, _PT, _SD, _DS, _UT, _P, _BU, _PI, _DSv, _C, _SC],
1191
+ [
1192
+ 0,
1193
+ 0,
1194
+ 1,
1195
+ () => FilterConfiguration,
1196
+ 1,
1197
+ 1,
1198
+ 1,
1199
+ 0,
1200
+ 64 | 0,
1201
+ () => ScteDash,
1202
+ 0,
1203
+ () => DashUtcTiming,
1204
+ 64 | 0,
1205
+ () => DashBaseUrls,
1206
+ () => DashProgramInformation,
1207
+ () => DashDvbSettings,
1208
+ 0,
1209
+ () => DashSubtitleConfiguration,
1210
+ ],
1211
+ ];
1212
+ var GetHarvestJobRequest = [
1213
+ 3,
1214
+ n0,
1215
+ _GHJR,
1216
+ 0,
1217
+ [_CGN, _CN, _OEN, _HJN],
1218
+ [
1219
+ [0, 1],
1220
+ [0, 1],
1221
+ [0, 1],
1222
+ [0, 1],
1223
+ ],
1224
+ ];
1225
+ var GetHarvestJobResponse = [
1226
+ 3,
1227
+ n0,
1228
+ _GHJRe,
1229
+ 0,
1230
+ [_CGN, _CN, _OEN, _De, _HJN, _HM, _D, _SCc, _A, _CA, _MA, _S, _EM, _ET, _T],
1231
+ [
1232
+ 0,
1233
+ 0,
1234
+ 0,
1235
+ () => Destination,
1236
+ 0,
1237
+ () => HarvestedManifests,
1238
+ 0,
1239
+ () => HarvesterScheduleConfiguration,
1240
+ 0,
1241
+ 4,
1242
+ 4,
1243
+ 0,
1244
+ 0,
1245
+ 0,
1246
+ 128 | 0,
1247
+ ],
1248
+ ];
1249
+ var GetHlsManifestConfiguration = [
1250
+ 3,
1251
+ n0,
1252
+ _GHMC,
1253
+ 0,
1254
+ [_MN, _U, _CMN, _MWS, _PDTIS, _SH, _FC, _ST, _UECM],
1255
+ [0, 0, 0, 1, 1, () => ScteHls, () => FilterConfiguration, () => StartTag, 2],
1256
+ ];
1257
+ var GetLowLatencyHlsManifestConfiguration = [
1258
+ 3,
1259
+ n0,
1260
+ _GLLHMC,
1261
+ 0,
1262
+ [_MN, _U, _CMN, _MWS, _PDTIS, _SH, _FC, _ST, _UECM],
1263
+ [0, 0, 0, 1, 1, () => ScteHls, () => FilterConfiguration, () => StartTag, 2],
1264
+ ];
1265
+ var GetMssManifestConfiguration = [
1266
+ 3,
1267
+ n0,
1268
+ _GMMC,
1269
+ 0,
1270
+ [_MN, _U, _FC, _MWS, _ML],
1271
+ [0, 0, () => FilterConfiguration, 1, 0],
1272
+ ];
1273
+ var GetOriginEndpointPolicyRequest = [
1274
+ 3,
1275
+ n0,
1276
+ _GOEPR,
1277
+ 0,
1278
+ [_CGN, _CN, _OEN],
1279
+ [
1280
+ [0, 1],
1281
+ [0, 1],
1282
+ [0, 1],
1283
+ ],
1284
+ ];
1285
+ var GetOriginEndpointPolicyResponse = [
1286
+ 3,
1287
+ n0,
1288
+ _GOEPRe,
1289
+ 0,
1290
+ [_CGN, _CN, _OEN, _Po, _CAC],
1291
+ [0, 0, 0, 0, () => CdnAuthConfiguration],
1292
+ ];
1293
+ var GetOriginEndpointRequest = [
1294
+ 3,
1295
+ n0,
1296
+ _GOER,
1297
+ 0,
1298
+ [_CGN, _CN, _OEN],
1299
+ [
1300
+ [0, 1],
1301
+ [0, 1],
1302
+ [0, 1],
1303
+ ],
1304
+ ];
1305
+ var GetOriginEndpointResponse = [
1306
+ 3,
1307
+ n0,
1308
+ _GOERe,
1309
+ 0,
1310
+ [_A, _CGN, _CN, _OEN, _CTo, _Se, _CA, _MA, _RA, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _ET, _T],
1311
+ [
1312
+ 0,
1313
+ 0,
1314
+ 0,
1315
+ 0,
1316
+ 0,
1317
+ () => Segment,
1318
+ 4,
1319
+ 4,
1320
+ 4,
1321
+ 0,
1322
+ 1,
1323
+ () => GetHlsManifests,
1324
+ () => GetLowLatencyHlsManifests,
1325
+ () => GetDashManifests,
1326
+ () => GetMssManifests,
1327
+ () => ForceEndpointErrorConfiguration,
1328
+ 0,
1329
+ 128 | 0,
1330
+ ],
1331
+ ];
1332
+ var HarvestedDashManifest = [3, n0, _HDM, 0, [_MN], [0]];
1333
+ var HarvestedHlsManifest = [3, n0, _HHM, 0, [_MN], [0]];
1334
+ var HarvestedLowLatencyHlsManifest = [3, n0, _HLLHM, 0, [_MN], [0]];
1335
+ var HarvestedManifests = [
1336
+ 3,
1337
+ n0,
1338
+ _HM,
1339
+ 0,
1340
+ [_HMl, _DM, _LLHM],
1341
+ [() => HarvestedHlsManifestsList, () => HarvestedDashManifestsList, () => HarvestedLowLatencyHlsManifestsList],
1342
+ ];
1343
+ var HarvesterScheduleConfiguration = [3, n0, _HSC, 0, [_STt, _ETn], [4, 4]];
1344
+ var HarvestJob = [
1345
+ 3,
1346
+ n0,
1347
+ _HJ,
1348
+ 0,
1349
+ [_CGN, _CN, _OEN, _De, _HJN, _HM, _D, _SCc, _A, _CA, _MA, _S, _EM, _ET],
1350
+ [0, 0, 0, () => Destination, 0, () => HarvestedManifests, 0, () => HarvesterScheduleConfiguration, 0, 4, 4, 0, 0, 0],
1351
+ ];
1352
+ var IngestEndpoint = [3, n0, _IEn, 0, [_I, _U], [0, 0]];
1353
+ var InputSwitchConfiguration = [3, n0, _ISC, 0, [_MQCSIS, _PIr], [2, 1]];
1354
+ var InternalServerException = [
1355
+ -3,
1356
+ n0,
1357
+ _ISE,
1358
+ {
1359
+ [_e]: _s,
1360
+ [_hE]: 500,
1361
+ },
1362
+ [_M],
1363
+ [0],
1364
+ ];
1365
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1366
+ var ListChannelGroupsRequest = [
1367
+ 3,
1368
+ n0,
1369
+ _LCGR,
1370
+ 0,
1371
+ [_MR, _NT],
1372
+ [
1373
+ [
1374
+ 1,
1375
+ {
1376
+ [_hQ]: _mR,
1377
+ },
1378
+ ],
1379
+ [
1380
+ 0,
1381
+ {
1382
+ [_hQ]: _nT,
1383
+ },
1384
+ ],
1385
+ ],
1386
+ ];
1387
+ var ListChannelGroupsResponse = [
1388
+ 3,
1389
+ n0,
1390
+ _LCGRi,
1391
+ 0,
1392
+ [_It, _NT],
1393
+ [() => ChannelGroupsList, 0],
1394
+ ];
1395
+ var ListChannelsRequest = [
1396
+ 3,
1397
+ n0,
1398
+ _LCR,
1399
+ 0,
1400
+ [_CGN, _MR, _NT],
1401
+ [
1402
+ [0, 1],
1403
+ [
1404
+ 1,
1405
+ {
1406
+ [_hQ]: _mR,
1407
+ },
1408
+ ],
1409
+ [
1410
+ 0,
1411
+ {
1412
+ [_hQ]: _nT,
1413
+ },
1414
+ ],
1415
+ ],
1416
+ ];
1417
+ var ListChannelsResponse = [3, n0, _LCRi, 0, [_It, _NT], [() => ChannelList, 0]];
1418
+ var ListDashManifestConfiguration = [3, n0, _LDMC, 0, [_MN, _U], [0, 0]];
1419
+ var ListHarvestJobsRequest = [
1420
+ 3,
1421
+ n0,
1422
+ _LHJR,
1423
+ 0,
1424
+ [_CGN, _CN, _OEN, _S, _MR, _NT],
1425
+ [
1426
+ [0, 1],
1427
+ [
1428
+ 0,
1429
+ {
1430
+ [_hQ]: _cN,
1431
+ },
1432
+ ],
1433
+ [
1434
+ 0,
1435
+ {
1436
+ [_hQ]: _oEN,
1437
+ },
1438
+ ],
1439
+ [
1440
+ 0,
1441
+ {
1442
+ [_hQ]: _iS,
1443
+ },
1444
+ ],
1445
+ [
1446
+ 1,
1447
+ {
1448
+ [_hQ]: _mR,
1449
+ },
1450
+ ],
1451
+ [
1452
+ 0,
1453
+ {
1454
+ [_hQ]: _nT,
1455
+ },
1456
+ ],
1457
+ ],
1458
+ ];
1459
+ var ListHarvestJobsResponse = [3, n0, _LHJRi, 0, [_It, _NT], [() => HarvestJobsList, 0]];
1460
+ var ListHlsManifestConfiguration = [3, n0, _LHMC, 0, [_MN, _CMN, _U], [0, 0, 0]];
1461
+ var ListLowLatencyHlsManifestConfiguration = [
1462
+ 3,
1463
+ n0,
1464
+ _LLLHMC,
1465
+ 0,
1466
+ [_MN, _CMN, _U],
1467
+ [0, 0, 0],
1468
+ ];
1469
+ var ListMssManifestConfiguration = [3, n0, _LMMC, 0, [_MN, _U], [0, 0]];
1470
+ var ListOriginEndpointsRequest = [
1471
+ 3,
1472
+ n0,
1473
+ _LOER,
1474
+ 0,
1475
+ [_CGN, _CN, _MR, _NT],
1476
+ [
1477
+ [0, 1],
1478
+ [0, 1],
1479
+ [
1480
+ 1,
1481
+ {
1482
+ [_hQ]: _mR,
1483
+ },
1484
+ ],
1485
+ [
1486
+ 0,
1487
+ {
1488
+ [_hQ]: _nT,
1489
+ },
1490
+ ],
1491
+ ],
1492
+ ];
1493
+ var ListOriginEndpointsResponse = [
1494
+ 3,
1495
+ n0,
1496
+ _LOERi,
1497
+ 0,
1498
+ [_It, _NT],
1499
+ [() => OriginEndpointsList, 0],
1500
+ ];
1501
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
1502
+ var ListTagsForResourceResponse = [
1503
+ 3,
1504
+ n0,
1505
+ _LTFRRi,
1506
+ 0,
1507
+ [_T],
1508
+ [
1509
+ [
1510
+ 128 | 0,
1511
+ {
1512
+ [_jN]: _t,
1513
+ },
1514
+ ],
1515
+ ],
1516
+ ];
1517
+ var OriginEndpointListConfiguration = [
1518
+ 3,
1519
+ n0,
1520
+ _OELC,
1521
+ 0,
1522
+ [_A, _CGN, _CN, _OEN, _CTo, _D, _CA, _MA, _HMl, _LLHM, _DM, _MM, _FEEC],
1523
+ [
1524
+ 0,
1525
+ 0,
1526
+ 0,
1527
+ 0,
1528
+ 0,
1529
+ 0,
1530
+ 4,
1531
+ 4,
1532
+ () => ListHlsManifests,
1533
+ () => ListLowLatencyHlsManifests,
1534
+ () => ListDashManifests,
1535
+ () => ListMssManifests,
1536
+ () => ForceEndpointErrorConfiguration,
1537
+ ],
1538
+ ];
1539
+ var OutputHeaderConfiguration = [3, n0, _OHC, 0, [_PMQCS], [2]];
1540
+ var PutChannelPolicyRequest = [3, n0, _PCPR, 0, [_CGN, _CN, _Po], [[0, 1], [0, 1], 0]];
1541
+ var PutChannelPolicyResponse = [3, n0, _PCPRu, 0, [], []];
1542
+ var PutOriginEndpointPolicyRequest = [
1543
+ 3,
1544
+ n0,
1545
+ _POEPR,
1546
+ 0,
1547
+ [_CGN, _CN, _OEN, _Po, _CAC],
1548
+ [[0, 1], [0, 1], [0, 1], 0, () => CdnAuthConfiguration],
1549
+ ];
1550
+ var PutOriginEndpointPolicyResponse = [3, n0, _POEPRu, 0, [], []];
1551
+ var ResetChannelStateRequest = [
1552
+ 3,
1553
+ n0,
1554
+ _RCSR,
1555
+ 0,
1556
+ [_CGN, _CN],
1557
+ [
1558
+ [0, 1],
1559
+ [0, 1],
1560
+ ],
1561
+ ];
1562
+ var ResetChannelStateResponse = [3, n0, _RCSRe, 0, [_CGN, _CN, _A, _RA], [0, 0, 0, 4]];
1563
+ var ResetOriginEndpointStateRequest = [
1564
+ 3,
1565
+ n0,
1566
+ _ROESR,
1567
+ 0,
1568
+ [_CGN, _CN, _OEN],
1569
+ [
1570
+ [0, 1],
1571
+ [0, 1],
1572
+ [0, 1],
1573
+ ],
1574
+ ];
1575
+ var ResetOriginEndpointStateResponse = [
1576
+ 3,
1577
+ n0,
1578
+ _ROESRe,
1579
+ 0,
1580
+ [_CGN, _CN, _OEN, _A, _RA],
1581
+ [0, 0, 0, 0, 4],
1582
+ ];
1583
+ var ResourceNotFoundException = [
1584
+ -3,
1585
+ n0,
1586
+ _RNFE,
1587
+ {
1588
+ [_e]: _c,
1589
+ [_hE]: 404,
1590
+ },
1591
+ [_M, _RTNF],
1592
+ [0, 0],
1593
+ ];
1594
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1595
+ var S3DestinationConfig = [3, n0, _SDC, 0, [_BN, _DPe], [0, 0]];
1596
+ var Scte = [3, n0, _Sc, 0, [_SF], [64 | 0]];
1597
+ var ScteDash = [3, n0, _SD, 0, [_AMD], [0]];
1598
+ var ScteHls = [3, n0, _SH, 0, [_AMH], [0]];
1599
+ var Segment = [
1600
+ 3,
1601
+ n0,
1602
+ _Se,
1603
+ 0,
1604
+ [_SDS, _SN, _TUARG, _IIOS, _TIDS, _Sc, _E],
1605
+ [1, 0, 2, 2, 2, () => Scte, () => Encryption],
1606
+ ];
1607
+ var ServiceQuotaExceededException = [
1608
+ -3,
1609
+ n0,
1610
+ _SQEE,
1611
+ {
1612
+ [_e]: _c,
1613
+ [_hE]: 402,
1614
+ },
1615
+ [_M],
1616
+ [0],
1617
+ ];
1618
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1619
+ var SpekeKeyProvider = [
1620
+ 3,
1621
+ n0,
1622
+ _SKP,
1623
+ 0,
1624
+ [_ECC, _RI, _DSr, _RAo, _U],
1625
+ [() => EncryptionContractConfiguration, 0, 64 | 0, 0, 0],
1626
+ ];
1627
+ var StartTag = [3, n0, _ST, 0, [_TO, _Pre], [1, 2]];
1628
+ var TagResourceRequest = [
1629
+ 3,
1630
+ n0,
1631
+ _TRR,
1632
+ 0,
1633
+ [_RAe, _T],
1634
+ [
1635
+ [0, 1],
1636
+ [
1637
+ 128 | 0,
1638
+ {
1639
+ [_jN]: _t,
1640
+ },
1641
+ ],
1642
+ ],
1643
+ ];
1644
+ var ThrottlingException = [
1645
+ -3,
1646
+ n0,
1647
+ _TE,
1648
+ {
1649
+ [_e]: _c,
1650
+ [_hE]: 429,
1651
+ },
1652
+ [_M],
1653
+ [0],
1654
+ ];
1655
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1656
+ var UntagResourceRequest = [
1657
+ 3,
1658
+ n0,
1659
+ _URR,
1660
+ 0,
1661
+ [_RAe, _TK],
1662
+ [
1663
+ [0, 1],
1664
+ [
1665
+ 64 | 0,
1666
+ {
1667
+ [_hQ]: _tK,
1668
+ },
1669
+ ],
1670
+ ],
1671
+ ];
1672
+ var UpdateChannelGroupRequest = [
1673
+ 3,
1674
+ n0,
1675
+ _UCGR,
1676
+ 0,
1677
+ [_CGN, _ET, _D],
1678
+ [
1679
+ [0, 1],
1680
+ [
1681
+ 0,
1682
+ {
1683
+ [_hH]: _xauim,
1684
+ },
1685
+ ],
1686
+ 0,
1687
+ ],
1688
+ ];
1689
+ var UpdateChannelGroupResponse = [
1690
+ 3,
1691
+ n0,
1692
+ _UCGRp,
1693
+ 0,
1694
+ [_CGN, _A, _ED, _CA, _MA, _D, _ET, _T],
1695
+ [
1696
+ 0,
1697
+ 0,
1698
+ 0,
1699
+ 4,
1700
+ 4,
1701
+ 0,
1702
+ 0,
1703
+ [
1704
+ 128 | 0,
1705
+ {
1706
+ [_jN]: _t,
1707
+ },
1708
+ ],
1709
+ ],
1710
+ ];
1711
+ var UpdateChannelRequest = [
1712
+ 3,
1713
+ n0,
1714
+ _UCR,
1715
+ 0,
1716
+ [_CGN, _CN, _ET, _D, _ISC, _OHC],
1717
+ [
1718
+ [0, 1],
1719
+ [0, 1],
1720
+ [
1721
+ 0,
1722
+ {
1723
+ [_hH]: _xauim,
1724
+ },
1725
+ ],
1726
+ 0,
1727
+ () => InputSwitchConfiguration,
1728
+ () => OutputHeaderConfiguration,
1729
+ ],
1730
+ ];
1731
+ var UpdateChannelResponse = [
1732
+ 3,
1733
+ n0,
1734
+ _UCRp,
1735
+ 0,
1736
+ [_A, _CN, _CGN, _CA, _MA, _D, _IE, _IT, _ET, _T, _ISC, _OHC],
1737
+ [
1738
+ 0,
1739
+ 0,
1740
+ 0,
1741
+ 4,
1742
+ 4,
1743
+ 0,
1744
+ () => IngestEndpointList,
1745
+ 0,
1746
+ 0,
1747
+ [
1748
+ 128 | 0,
1749
+ {
1750
+ [_jN]: _t,
1751
+ },
1752
+ ],
1753
+ () => InputSwitchConfiguration,
1754
+ () => OutputHeaderConfiguration,
1755
+ ],
1756
+ ];
1757
+ var UpdateOriginEndpointRequest = [
1758
+ 3,
1759
+ n0,
1760
+ _UOER,
1761
+ 0,
1762
+ [_CGN, _CN, _OEN, _CTo, _Se, _D, _SWS, _HMl, _LLHM, _DM, _MM, _FEEC, _ET],
1763
+ [
1764
+ [0, 1],
1765
+ [0, 1],
1766
+ [0, 1],
1767
+ 0,
1768
+ () => Segment,
1769
+ 0,
1770
+ 1,
1771
+ () => CreateHlsManifests,
1772
+ () => CreateLowLatencyHlsManifests,
1773
+ () => CreateDashManifests,
1774
+ () => CreateMssManifests,
1775
+ () => ForceEndpointErrorConfiguration,
1776
+ [
1777
+ 0,
1778
+ {
1779
+ [_hH]: _xauim,
1780
+ },
1781
+ ],
1782
+ ],
1783
+ ];
1784
+ var UpdateOriginEndpointResponse = [
1785
+ 3,
1786
+ n0,
1787
+ _UOERp,
1788
+ 0,
1789
+ [_A, _CGN, _CN, _OEN, _CTo, _Se, _CA, _MA, _D, _SWS, _HMl, _LLHM, _MM, _FEEC, _ET, _T, _DM],
1790
+ [
1791
+ 0,
1792
+ 0,
1793
+ 0,
1794
+ 0,
1795
+ 0,
1796
+ () => Segment,
1797
+ 4,
1798
+ 4,
1799
+ 0,
1800
+ 1,
1801
+ () => GetHlsManifests,
1802
+ () => GetLowLatencyHlsManifests,
1803
+ () => GetMssManifests,
1804
+ () => ForceEndpointErrorConfiguration,
1805
+ 0,
1806
+ [
1807
+ 128 | 0,
1808
+ {
1809
+ [_jN]: _t,
1810
+ },
1811
+ ],
1812
+ () => GetDashManifests,
1813
+ ],
1814
+ ];
1815
+ var ValidationException = [
1816
+ -3,
1817
+ n0,
1818
+ _VE,
1819
+ {
1820
+ [_e]: _c,
1821
+ },
1822
+ [_M, _VET],
1823
+ [0, 0],
1824
+ ];
1825
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1826
+ var __Unit = "unit";
1827
+ var MediaPackageV2ServiceException = [-3, _sm, "MediaPackageV2ServiceException", 0, [], []];
1828
+ schema.TypeRegistry.for(_sm).registerError(MediaPackageV2ServiceException, MediaPackageV2ServiceException$1);
1829
+ var ChannelGroupsList = [1, n0, _CGL, 0, () => ChannelGroupListConfiguration];
1830
+ var ChannelList = [1, n0, _CL, 0, () => ChannelListConfiguration];
1831
+ var CreateDashManifests = [1, n0, _CDM, 0, () => CreateDashManifestConfiguration];
1832
+ var CreateHlsManifests = [1, n0, _CHM, 0, () => CreateHlsManifestConfiguration];
1833
+ var CreateLowLatencyHlsManifests = [
1834
+ 1,
1835
+ n0,
1836
+ _CLLHM,
1837
+ 0,
1838
+ () => CreateLowLatencyHlsManifestConfiguration,
1839
+ ];
1840
+ var CreateMssManifests = [1, n0, _CMM, 0, () => CreateMssManifestConfiguration];
1841
+ var DashBaseUrls = [1, n0, _DBUa, 0, () => DashBaseUrl];
1842
+ var DashDvbErrorMetrics = [1, n0, _DDEM, 0, () => DashDvbMetricsReporting];
1843
+ var GetDashManifests = [1, n0, _GDM, 0, () => GetDashManifestConfiguration];
1844
+ var GetHlsManifests = [1, n0, _GHM, 0, () => GetHlsManifestConfiguration];
1845
+ var GetLowLatencyHlsManifests = [
1846
+ 1,
1847
+ n0,
1848
+ _GLLHM,
1849
+ 0,
1850
+ () => GetLowLatencyHlsManifestConfiguration,
1851
+ ];
1852
+ var GetMssManifests = [1, n0, _GMM, 0, () => GetMssManifestConfiguration];
1853
+ var HarvestedDashManifestsList = [1, n0, _HDML, 0, () => HarvestedDashManifest];
1854
+ var HarvestedHlsManifestsList = [1, n0, _HHML, 0, () => HarvestedHlsManifest];
1855
+ var HarvestedLowLatencyHlsManifestsList = [
1856
+ 1,
1857
+ n0,
1858
+ _HLLHML,
1859
+ 0,
1860
+ () => HarvestedLowLatencyHlsManifest,
1861
+ ];
1862
+ var HarvestJobsList = [1, n0, _HJL, 0, () => HarvestJob];
1863
+ var IngestEndpointList = [1, n0, _IEL, 0, () => IngestEndpoint];
1864
+ var ListDashManifests = [1, n0, _LDM, 0, () => ListDashManifestConfiguration];
1865
+ var ListHlsManifests = [1, n0, _LHM, 0, () => ListHlsManifestConfiguration];
1866
+ var ListLowLatencyHlsManifests = [
1867
+ 1,
1868
+ n0,
1869
+ _LLLHM,
1870
+ 0,
1871
+ () => ListLowLatencyHlsManifestConfiguration,
1872
+ ];
1873
+ var ListMssManifests = [1, n0, _LMM, 0, () => ListMssManifestConfiguration];
1874
+ var OriginEndpointsList = [1, n0, _OEL, 0, () => OriginEndpointListConfiguration];
1875
+ var CancelHarvestJob = [
1876
+ 9,
1877
+ n0,
1878
+ _CHJ,
1879
+ {
1880
+ [_h]: [
1881
+ "PUT",
1882
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}",
1883
+ 200,
1884
+ ],
1885
+ },
1886
+ () => CancelHarvestJobRequest,
1887
+ () => CancelHarvestJobResponse,
1888
+ ];
1889
+ var CreateChannel = [
1890
+ 9,
1891
+ n0,
1892
+ _CC,
1893
+ {
1894
+ [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel", 200],
1895
+ },
1896
+ () => CreateChannelRequest,
1897
+ () => CreateChannelResponse,
1898
+ ];
1899
+ var CreateChannelGroup = [
1900
+ 9,
1901
+ n0,
1902
+ _CCG,
1903
+ {
1904
+ [_h]: ["POST", "/channelGroup", 200],
1905
+ },
1906
+ () => CreateChannelGroupRequest,
1907
+ () => CreateChannelGroupResponse,
1908
+ ];
1909
+ var CreateHarvestJob = [
1910
+ 9,
1911
+ n0,
1912
+ _CHJr,
1913
+ {
1914
+ [_h]: [
1915
+ "POST",
1916
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob",
1917
+ 200,
1918
+ ],
1919
+ },
1920
+ () => CreateHarvestJobRequest,
1921
+ () => CreateHarvestJobResponse,
1922
+ ];
1923
+ var CreateOriginEndpoint = [
1924
+ 9,
1925
+ n0,
1926
+ _COE,
1927
+ {
1928
+ [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", 200],
1929
+ },
1930
+ () => CreateOriginEndpointRequest,
1931
+ () => CreateOriginEndpointResponse,
1932
+ ];
1933
+ var DeleteChannel = [
1934
+ 9,
1935
+ n0,
1936
+ _DC,
1937
+ {
1938
+ [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/", 200],
1939
+ },
1940
+ () => DeleteChannelRequest,
1941
+ () => DeleteChannelResponse,
1942
+ ];
1943
+ var DeleteChannelGroup = [
1944
+ 9,
1945
+ n0,
1946
+ _DCG,
1947
+ {
1948
+ [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}", 200],
1949
+ },
1950
+ () => DeleteChannelGroupRequest,
1951
+ () => DeleteChannelGroupResponse,
1952
+ ];
1953
+ var DeleteChannelPolicy = [
1954
+ 9,
1955
+ n0,
1956
+ _DCP,
1957
+ {
1958
+ [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", 200],
1959
+ },
1960
+ () => DeleteChannelPolicyRequest,
1961
+ () => DeleteChannelPolicyResponse,
1962
+ ];
1963
+ var DeleteOriginEndpoint = [
1964
+ 9,
1965
+ n0,
1966
+ _DOE,
1967
+ {
1968
+ [_h]: ["DELETE", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", 200],
1969
+ },
1970
+ () => DeleteOriginEndpointRequest,
1971
+ () => DeleteOriginEndpointResponse,
1972
+ ];
1973
+ var DeleteOriginEndpointPolicy = [
1974
+ 9,
1975
+ n0,
1976
+ _DOEP,
1977
+ {
1978
+ [_h]: [
1979
+ "DELETE",
1980
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy",
1981
+ 200,
1982
+ ],
1983
+ },
1984
+ () => DeleteOriginEndpointPolicyRequest,
1985
+ () => DeleteOriginEndpointPolicyResponse,
1986
+ ];
1987
+ var GetChannel = [
1988
+ 9,
1989
+ n0,
1990
+ _GC,
1991
+ {
1992
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/", 200],
1993
+ },
1994
+ () => GetChannelRequest,
1995
+ () => GetChannelResponse,
1996
+ ];
1997
+ var GetChannelGroup = [
1998
+ 9,
1999
+ n0,
2000
+ _GCG,
2001
+ {
2002
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}", 200],
2003
+ },
2004
+ () => GetChannelGroupRequest,
2005
+ () => GetChannelGroupResponse,
2006
+ ];
2007
+ var GetChannelPolicy = [
2008
+ 9,
2009
+ n0,
2010
+ _GCP,
2011
+ {
2012
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", 200],
2013
+ },
2014
+ () => GetChannelPolicyRequest,
2015
+ () => GetChannelPolicyResponse,
2016
+ ];
2017
+ var GetHarvestJob = [
2018
+ 9,
2019
+ n0,
2020
+ _GHJ,
2021
+ {
2022
+ [_h]: [
2023
+ "GET",
2024
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}",
2025
+ 200,
2026
+ ],
2027
+ },
2028
+ () => GetHarvestJobRequest,
2029
+ () => GetHarvestJobResponse,
2030
+ ];
2031
+ var GetOriginEndpoint = [
2032
+ 9,
2033
+ n0,
2034
+ _GOE,
2035
+ {
2036
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", 200],
2037
+ },
2038
+ () => GetOriginEndpointRequest,
2039
+ () => GetOriginEndpointResponse,
2040
+ ];
2041
+ var GetOriginEndpointPolicy = [
2042
+ 9,
2043
+ n0,
2044
+ _GOEP,
2045
+ {
2046
+ [_h]: [
2047
+ "GET",
2048
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy",
2049
+ 200,
2050
+ ],
2051
+ },
2052
+ () => GetOriginEndpointPolicyRequest,
2053
+ () => GetOriginEndpointPolicyResponse,
2054
+ ];
2055
+ var ListChannelGroups = [
2056
+ 9,
2057
+ n0,
2058
+ _LCG,
2059
+ {
2060
+ [_h]: ["GET", "/channelGroup", 200],
2061
+ },
2062
+ () => ListChannelGroupsRequest,
2063
+ () => ListChannelGroupsResponse,
2064
+ ];
2065
+ var ListChannels = [
2066
+ 9,
2067
+ n0,
2068
+ _LCi,
2069
+ {
2070
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel", 200],
2071
+ },
2072
+ () => ListChannelsRequest,
2073
+ () => ListChannelsResponse,
2074
+ ];
2075
+ var ListHarvestJobs = [
2076
+ 9,
2077
+ n0,
2078
+ _LHJ,
2079
+ {
2080
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}/harvestJob", 200],
2081
+ },
2082
+ () => ListHarvestJobsRequest,
2083
+ () => ListHarvestJobsResponse,
2084
+ ];
2085
+ var ListOriginEndpoints = [
2086
+ 9,
2087
+ n0,
2088
+ _LOE,
2089
+ {
2090
+ [_h]: ["GET", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", 200],
2091
+ },
2092
+ () => ListOriginEndpointsRequest,
2093
+ () => ListOriginEndpointsResponse,
2094
+ ];
2095
+ var ListTagsForResource = [
2096
+ 9,
2097
+ n0,
2098
+ _LTFR,
2099
+ {
2100
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
2101
+ },
2102
+ () => ListTagsForResourceRequest,
2103
+ () => ListTagsForResourceResponse,
2104
+ ];
2105
+ var PutChannelPolicy = [
2106
+ 9,
2107
+ n0,
2108
+ _PCP,
2109
+ {
2110
+ [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", 200],
2111
+ },
2112
+ () => PutChannelPolicyRequest,
2113
+ () => PutChannelPolicyResponse,
2114
+ ];
2115
+ var PutOriginEndpointPolicy = [
2116
+ 9,
2117
+ n0,
2118
+ _POEP,
2119
+ {
2120
+ [_h]: [
2121
+ "POST",
2122
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy",
2123
+ 200,
2124
+ ],
2125
+ },
2126
+ () => PutOriginEndpointPolicyRequest,
2127
+ () => PutOriginEndpointPolicyResponse,
2128
+ ];
2129
+ var ResetChannelState = [
2130
+ 9,
2131
+ n0,
2132
+ _RCS,
2133
+ {
2134
+ [_h]: ["POST", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/reset", 200],
2135
+ },
2136
+ () => ResetChannelStateRequest,
2137
+ () => ResetChannelStateResponse,
2138
+ ];
2139
+ var ResetOriginEndpointState = [
2140
+ 9,
2141
+ n0,
2142
+ _ROES,
2143
+ {
2144
+ [_h]: [
2145
+ "POST",
2146
+ "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/reset",
2147
+ 200,
2148
+ ],
2149
+ },
2150
+ () => ResetOriginEndpointStateRequest,
2151
+ () => ResetOriginEndpointStateResponse,
2152
+ ];
2153
+ var TagResource = [
2154
+ 9,
2155
+ n0,
2156
+ _TR,
2157
+ {
2158
+ [_h]: ["POST", "/tags/{ResourceArn}", 204],
2159
+ },
2160
+ () => TagResourceRequest,
2161
+ () => __Unit,
2162
+ ];
2163
+ var UntagResource = [
2164
+ 9,
2165
+ n0,
2166
+ _UR,
2167
+ {
2168
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
2169
+ },
2170
+ () => UntagResourceRequest,
2171
+ () => __Unit,
2172
+ ];
2173
+ var UpdateChannel = [
2174
+ 9,
2175
+ n0,
2176
+ _UC,
2177
+ {
2178
+ [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/", 200],
2179
+ },
2180
+ () => UpdateChannelRequest,
2181
+ () => UpdateChannelResponse,
2182
+ ];
2183
+ var UpdateChannelGroup = [
2184
+ 9,
2185
+ n0,
2186
+ _UCG,
2187
+ {
2188
+ [_h]: ["PUT", "/channelGroup/{ChannelGroupName}", 200],
2189
+ },
2190
+ () => UpdateChannelGroupRequest,
2191
+ () => UpdateChannelGroupResponse,
2192
+ ];
2193
+ var UpdateOriginEndpoint = [
2194
+ 9,
2195
+ n0,
2196
+ _UOE,
2197
+ {
2198
+ [_h]: ["PUT", "/channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", 200],
2199
+ },
2200
+ () => UpdateOriginEndpointRequest,
2201
+ () => UpdateOriginEndpointResponse,
2202
+ ];
1837
2203
 
1838
2204
  class CancelHarvestJobCommand extends smithyClient.Command
1839
2205
  .classBuilder()
1840
2206
  .ep(commonParams)
1841
2207
  .m(function (Command, cs, config, o) {
1842
- return [
1843
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1844
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1845
- ];
2208
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1846
2209
  })
1847
2210
  .s("mediapackagev2", "CancelHarvestJob", {})
1848
2211
  .n("MediaPackageV2Client", "CancelHarvestJobCommand")
1849
- .f(void 0, void 0)
1850
- .ser(se_CancelHarvestJobCommand)
1851
- .de(de_CancelHarvestJobCommand)
2212
+ .sc(CancelHarvestJob)
1852
2213
  .build() {
1853
2214
  }
1854
2215
 
@@ -1856,16 +2217,11 @@ class CreateChannelCommand extends smithyClient.Command
1856
2217
  .classBuilder()
1857
2218
  .ep(commonParams)
1858
2219
  .m(function (Command, cs, config, o) {
1859
- return [
1860
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1861
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1862
- ];
2220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1863
2221
  })
1864
2222
  .s("mediapackagev2", "CreateChannel", {})
1865
2223
  .n("MediaPackageV2Client", "CreateChannelCommand")
1866
- .f(void 0, void 0)
1867
- .ser(se_CreateChannelCommand)
1868
- .de(de_CreateChannelCommand)
2224
+ .sc(CreateChannel)
1869
2225
  .build() {
1870
2226
  }
1871
2227
 
@@ -1873,16 +2229,11 @@ class CreateChannelGroupCommand extends smithyClient.Command
1873
2229
  .classBuilder()
1874
2230
  .ep(commonParams)
1875
2231
  .m(function (Command, cs, config, o) {
1876
- return [
1877
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1878
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1879
- ];
2232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1880
2233
  })
1881
2234
  .s("mediapackagev2", "CreateChannelGroup", {})
1882
2235
  .n("MediaPackageV2Client", "CreateChannelGroupCommand")
1883
- .f(void 0, void 0)
1884
- .ser(se_CreateChannelGroupCommand)
1885
- .de(de_CreateChannelGroupCommand)
2236
+ .sc(CreateChannelGroup)
1886
2237
  .build() {
1887
2238
  }
1888
2239
 
@@ -1890,16 +2241,11 @@ class CreateHarvestJobCommand extends smithyClient.Command
1890
2241
  .classBuilder()
1891
2242
  .ep(commonParams)
1892
2243
  .m(function (Command, cs, config, o) {
1893
- return [
1894
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1895
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1896
- ];
2244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1897
2245
  })
1898
2246
  .s("mediapackagev2", "CreateHarvestJob", {})
1899
2247
  .n("MediaPackageV2Client", "CreateHarvestJobCommand")
1900
- .f(void 0, void 0)
1901
- .ser(se_CreateHarvestJobCommand)
1902
- .de(de_CreateHarvestJobCommand)
2248
+ .sc(CreateHarvestJob)
1903
2249
  .build() {
1904
2250
  }
1905
2251
 
@@ -1907,16 +2253,11 @@ class CreateOriginEndpointCommand extends smithyClient.Command
1907
2253
  .classBuilder()
1908
2254
  .ep(commonParams)
1909
2255
  .m(function (Command, cs, config, o) {
1910
- return [
1911
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1912
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1913
- ];
2256
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1914
2257
  })
1915
2258
  .s("mediapackagev2", "CreateOriginEndpoint", {})
1916
2259
  .n("MediaPackageV2Client", "CreateOriginEndpointCommand")
1917
- .f(void 0, void 0)
1918
- .ser(se_CreateOriginEndpointCommand)
1919
- .de(de_CreateOriginEndpointCommand)
2260
+ .sc(CreateOriginEndpoint)
1920
2261
  .build() {
1921
2262
  }
1922
2263
 
@@ -1924,16 +2265,11 @@ class DeleteChannelCommand extends smithyClient.Command
1924
2265
  .classBuilder()
1925
2266
  .ep(commonParams)
1926
2267
  .m(function (Command, cs, config, o) {
1927
- return [
1928
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1929
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1930
- ];
2268
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1931
2269
  })
1932
2270
  .s("mediapackagev2", "DeleteChannel", {})
1933
2271
  .n("MediaPackageV2Client", "DeleteChannelCommand")
1934
- .f(void 0, void 0)
1935
- .ser(se_DeleteChannelCommand)
1936
- .de(de_DeleteChannelCommand)
2272
+ .sc(DeleteChannel)
1937
2273
  .build() {
1938
2274
  }
1939
2275
 
@@ -1941,16 +2277,11 @@ class DeleteChannelGroupCommand extends smithyClient.Command
1941
2277
  .classBuilder()
1942
2278
  .ep(commonParams)
1943
2279
  .m(function (Command, cs, config, o) {
1944
- return [
1945
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1946
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1947
- ];
2280
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1948
2281
  })
1949
2282
  .s("mediapackagev2", "DeleteChannelGroup", {})
1950
2283
  .n("MediaPackageV2Client", "DeleteChannelGroupCommand")
1951
- .f(void 0, void 0)
1952
- .ser(se_DeleteChannelGroupCommand)
1953
- .de(de_DeleteChannelGroupCommand)
2284
+ .sc(DeleteChannelGroup)
1954
2285
  .build() {
1955
2286
  }
1956
2287
 
@@ -1958,16 +2289,11 @@ class DeleteChannelPolicyCommand extends smithyClient.Command
1958
2289
  .classBuilder()
1959
2290
  .ep(commonParams)
1960
2291
  .m(function (Command, cs, config, o) {
1961
- return [
1962
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1963
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1964
- ];
2292
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1965
2293
  })
1966
2294
  .s("mediapackagev2", "DeleteChannelPolicy", {})
1967
2295
  .n("MediaPackageV2Client", "DeleteChannelPolicyCommand")
1968
- .f(void 0, void 0)
1969
- .ser(se_DeleteChannelPolicyCommand)
1970
- .de(de_DeleteChannelPolicyCommand)
2296
+ .sc(DeleteChannelPolicy)
1971
2297
  .build() {
1972
2298
  }
1973
2299
 
@@ -1975,16 +2301,11 @@ class DeleteOriginEndpointCommand extends smithyClient.Command
1975
2301
  .classBuilder()
1976
2302
  .ep(commonParams)
1977
2303
  .m(function (Command, cs, config, o) {
1978
- return [
1979
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1980
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1981
- ];
2304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1982
2305
  })
1983
2306
  .s("mediapackagev2", "DeleteOriginEndpoint", {})
1984
2307
  .n("MediaPackageV2Client", "DeleteOriginEndpointCommand")
1985
- .f(void 0, void 0)
1986
- .ser(se_DeleteOriginEndpointCommand)
1987
- .de(de_DeleteOriginEndpointCommand)
2308
+ .sc(DeleteOriginEndpoint)
1988
2309
  .build() {
1989
2310
  }
1990
2311
 
@@ -1992,16 +2313,11 @@ class DeleteOriginEndpointPolicyCommand extends smithyClient.Command
1992
2313
  .classBuilder()
1993
2314
  .ep(commonParams)
1994
2315
  .m(function (Command, cs, config, o) {
1995
- return [
1996
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1997
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1998
- ];
2316
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1999
2317
  })
2000
2318
  .s("mediapackagev2", "DeleteOriginEndpointPolicy", {})
2001
2319
  .n("MediaPackageV2Client", "DeleteOriginEndpointPolicyCommand")
2002
- .f(void 0, void 0)
2003
- .ser(se_DeleteOriginEndpointPolicyCommand)
2004
- .de(de_DeleteOriginEndpointPolicyCommand)
2320
+ .sc(DeleteOriginEndpointPolicy)
2005
2321
  .build() {
2006
2322
  }
2007
2323
 
@@ -2009,16 +2325,11 @@ class GetChannelCommand extends smithyClient.Command
2009
2325
  .classBuilder()
2010
2326
  .ep(commonParams)
2011
2327
  .m(function (Command, cs, config, o) {
2012
- return [
2013
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2014
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2015
- ];
2328
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2016
2329
  })
2017
2330
  .s("mediapackagev2", "GetChannel", {})
2018
2331
  .n("MediaPackageV2Client", "GetChannelCommand")
2019
- .f(void 0, void 0)
2020
- .ser(se_GetChannelCommand)
2021
- .de(de_GetChannelCommand)
2332
+ .sc(GetChannel)
2022
2333
  .build() {
2023
2334
  }
2024
2335
 
@@ -2026,16 +2337,11 @@ class GetChannelGroupCommand extends smithyClient.Command
2026
2337
  .classBuilder()
2027
2338
  .ep(commonParams)
2028
2339
  .m(function (Command, cs, config, o) {
2029
- return [
2030
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2031
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2032
- ];
2340
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2033
2341
  })
2034
2342
  .s("mediapackagev2", "GetChannelGroup", {})
2035
2343
  .n("MediaPackageV2Client", "GetChannelGroupCommand")
2036
- .f(void 0, void 0)
2037
- .ser(se_GetChannelGroupCommand)
2038
- .de(de_GetChannelGroupCommand)
2344
+ .sc(GetChannelGroup)
2039
2345
  .build() {
2040
2346
  }
2041
2347
 
@@ -2043,16 +2349,11 @@ class GetChannelPolicyCommand extends smithyClient.Command
2043
2349
  .classBuilder()
2044
2350
  .ep(commonParams)
2045
2351
  .m(function (Command, cs, config, o) {
2046
- return [
2047
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2048
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2049
- ];
2352
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2050
2353
  })
2051
2354
  .s("mediapackagev2", "GetChannelPolicy", {})
2052
2355
  .n("MediaPackageV2Client", "GetChannelPolicyCommand")
2053
- .f(void 0, void 0)
2054
- .ser(se_GetChannelPolicyCommand)
2055
- .de(de_GetChannelPolicyCommand)
2356
+ .sc(GetChannelPolicy)
2056
2357
  .build() {
2057
2358
  }
2058
2359
 
@@ -2060,16 +2361,11 @@ class GetHarvestJobCommand extends smithyClient.Command
2060
2361
  .classBuilder()
2061
2362
  .ep(commonParams)
2062
2363
  .m(function (Command, cs, config, o) {
2063
- return [
2064
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2065
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2066
- ];
2364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2067
2365
  })
2068
2366
  .s("mediapackagev2", "GetHarvestJob", {})
2069
2367
  .n("MediaPackageV2Client", "GetHarvestJobCommand")
2070
- .f(void 0, void 0)
2071
- .ser(se_GetHarvestJobCommand)
2072
- .de(de_GetHarvestJobCommand)
2368
+ .sc(GetHarvestJob)
2073
2369
  .build() {
2074
2370
  }
2075
2371
 
@@ -2077,16 +2373,11 @@ class GetOriginEndpointCommand extends smithyClient.Command
2077
2373
  .classBuilder()
2078
2374
  .ep(commonParams)
2079
2375
  .m(function (Command, cs, config, o) {
2080
- return [
2081
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2082
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2083
- ];
2376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2084
2377
  })
2085
2378
  .s("mediapackagev2", "GetOriginEndpoint", {})
2086
2379
  .n("MediaPackageV2Client", "GetOriginEndpointCommand")
2087
- .f(void 0, void 0)
2088
- .ser(se_GetOriginEndpointCommand)
2089
- .de(de_GetOriginEndpointCommand)
2380
+ .sc(GetOriginEndpoint)
2090
2381
  .build() {
2091
2382
  }
2092
2383
 
@@ -2094,16 +2385,11 @@ class GetOriginEndpointPolicyCommand extends smithyClient.Command
2094
2385
  .classBuilder()
2095
2386
  .ep(commonParams)
2096
2387
  .m(function (Command, cs, config, o) {
2097
- return [
2098
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2099
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2100
- ];
2388
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2101
2389
  })
2102
2390
  .s("mediapackagev2", "GetOriginEndpointPolicy", {})
2103
2391
  .n("MediaPackageV2Client", "GetOriginEndpointPolicyCommand")
2104
- .f(void 0, void 0)
2105
- .ser(se_GetOriginEndpointPolicyCommand)
2106
- .de(de_GetOriginEndpointPolicyCommand)
2392
+ .sc(GetOriginEndpointPolicy)
2107
2393
  .build() {
2108
2394
  }
2109
2395
 
@@ -2111,16 +2397,11 @@ class ListChannelGroupsCommand extends smithyClient.Command
2111
2397
  .classBuilder()
2112
2398
  .ep(commonParams)
2113
2399
  .m(function (Command, cs, config, o) {
2114
- return [
2115
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2116
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2117
- ];
2400
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2118
2401
  })
2119
2402
  .s("mediapackagev2", "ListChannelGroups", {})
2120
2403
  .n("MediaPackageV2Client", "ListChannelGroupsCommand")
2121
- .f(void 0, void 0)
2122
- .ser(se_ListChannelGroupsCommand)
2123
- .de(de_ListChannelGroupsCommand)
2404
+ .sc(ListChannelGroups)
2124
2405
  .build() {
2125
2406
  }
2126
2407
 
@@ -2128,16 +2409,11 @@ class ListChannelsCommand extends smithyClient.Command
2128
2409
  .classBuilder()
2129
2410
  .ep(commonParams)
2130
2411
  .m(function (Command, cs, config, o) {
2131
- return [
2132
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2133
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2134
- ];
2412
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2135
2413
  })
2136
2414
  .s("mediapackagev2", "ListChannels", {})
2137
2415
  .n("MediaPackageV2Client", "ListChannelsCommand")
2138
- .f(void 0, void 0)
2139
- .ser(se_ListChannelsCommand)
2140
- .de(de_ListChannelsCommand)
2416
+ .sc(ListChannels)
2141
2417
  .build() {
2142
2418
  }
2143
2419
 
@@ -2145,16 +2421,11 @@ class ListHarvestJobsCommand extends smithyClient.Command
2145
2421
  .classBuilder()
2146
2422
  .ep(commonParams)
2147
2423
  .m(function (Command, cs, config, o) {
2148
- return [
2149
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2150
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2151
- ];
2424
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2152
2425
  })
2153
2426
  .s("mediapackagev2", "ListHarvestJobs", {})
2154
2427
  .n("MediaPackageV2Client", "ListHarvestJobsCommand")
2155
- .f(void 0, void 0)
2156
- .ser(se_ListHarvestJobsCommand)
2157
- .de(de_ListHarvestJobsCommand)
2428
+ .sc(ListHarvestJobs)
2158
2429
  .build() {
2159
2430
  }
2160
2431
 
@@ -2162,16 +2433,11 @@ class ListOriginEndpointsCommand extends smithyClient.Command
2162
2433
  .classBuilder()
2163
2434
  .ep(commonParams)
2164
2435
  .m(function (Command, cs, config, o) {
2165
- return [
2166
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2167
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2168
- ];
2436
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2169
2437
  })
2170
2438
  .s("mediapackagev2", "ListOriginEndpoints", {})
2171
2439
  .n("MediaPackageV2Client", "ListOriginEndpointsCommand")
2172
- .f(void 0, void 0)
2173
- .ser(se_ListOriginEndpointsCommand)
2174
- .de(de_ListOriginEndpointsCommand)
2440
+ .sc(ListOriginEndpoints)
2175
2441
  .build() {
2176
2442
  }
2177
2443
 
@@ -2179,16 +2445,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2179
2445
  .classBuilder()
2180
2446
  .ep(commonParams)
2181
2447
  .m(function (Command, cs, config, o) {
2182
- return [
2183
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2184
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2185
- ];
2448
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2186
2449
  })
2187
2450
  .s("mediapackagev2", "ListTagsForResource", {})
2188
2451
  .n("MediaPackageV2Client", "ListTagsForResourceCommand")
2189
- .f(void 0, void 0)
2190
- .ser(se_ListTagsForResourceCommand)
2191
- .de(de_ListTagsForResourceCommand)
2452
+ .sc(ListTagsForResource)
2192
2453
  .build() {
2193
2454
  }
2194
2455
 
@@ -2196,16 +2457,11 @@ class PutChannelPolicyCommand extends smithyClient.Command
2196
2457
  .classBuilder()
2197
2458
  .ep(commonParams)
2198
2459
  .m(function (Command, cs, config, o) {
2199
- return [
2200
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2201
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2202
- ];
2460
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2203
2461
  })
2204
2462
  .s("mediapackagev2", "PutChannelPolicy", {})
2205
2463
  .n("MediaPackageV2Client", "PutChannelPolicyCommand")
2206
- .f(void 0, void 0)
2207
- .ser(se_PutChannelPolicyCommand)
2208
- .de(de_PutChannelPolicyCommand)
2464
+ .sc(PutChannelPolicy)
2209
2465
  .build() {
2210
2466
  }
2211
2467
 
@@ -2213,16 +2469,11 @@ class PutOriginEndpointPolicyCommand extends smithyClient.Command
2213
2469
  .classBuilder()
2214
2470
  .ep(commonParams)
2215
2471
  .m(function (Command, cs, config, o) {
2216
- return [
2217
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2218
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2219
- ];
2472
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2220
2473
  })
2221
2474
  .s("mediapackagev2", "PutOriginEndpointPolicy", {})
2222
2475
  .n("MediaPackageV2Client", "PutOriginEndpointPolicyCommand")
2223
- .f(void 0, void 0)
2224
- .ser(se_PutOriginEndpointPolicyCommand)
2225
- .de(de_PutOriginEndpointPolicyCommand)
2476
+ .sc(PutOriginEndpointPolicy)
2226
2477
  .build() {
2227
2478
  }
2228
2479
 
@@ -2230,16 +2481,11 @@ class ResetChannelStateCommand extends smithyClient.Command
2230
2481
  .classBuilder()
2231
2482
  .ep(commonParams)
2232
2483
  .m(function (Command, cs, config, o) {
2233
- return [
2234
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2235
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2236
- ];
2484
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2237
2485
  })
2238
2486
  .s("mediapackagev2", "ResetChannelState", {})
2239
2487
  .n("MediaPackageV2Client", "ResetChannelStateCommand")
2240
- .f(void 0, void 0)
2241
- .ser(se_ResetChannelStateCommand)
2242
- .de(de_ResetChannelStateCommand)
2488
+ .sc(ResetChannelState)
2243
2489
  .build() {
2244
2490
  }
2245
2491
 
@@ -2247,16 +2493,11 @@ class ResetOriginEndpointStateCommand extends smithyClient.Command
2247
2493
  .classBuilder()
2248
2494
  .ep(commonParams)
2249
2495
  .m(function (Command, cs, config, o) {
2250
- return [
2251
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2252
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2253
- ];
2496
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2254
2497
  })
2255
2498
  .s("mediapackagev2", "ResetOriginEndpointState", {})
2256
2499
  .n("MediaPackageV2Client", "ResetOriginEndpointStateCommand")
2257
- .f(void 0, void 0)
2258
- .ser(se_ResetOriginEndpointStateCommand)
2259
- .de(de_ResetOriginEndpointStateCommand)
2500
+ .sc(ResetOriginEndpointState)
2260
2501
  .build() {
2261
2502
  }
2262
2503
 
@@ -2264,16 +2505,11 @@ class TagResourceCommand extends smithyClient.Command
2264
2505
  .classBuilder()
2265
2506
  .ep(commonParams)
2266
2507
  .m(function (Command, cs, config, o) {
2267
- return [
2268
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2269
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2270
- ];
2508
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2271
2509
  })
2272
2510
  .s("mediapackagev2", "TagResource", {})
2273
2511
  .n("MediaPackageV2Client", "TagResourceCommand")
2274
- .f(void 0, void 0)
2275
- .ser(se_TagResourceCommand)
2276
- .de(de_TagResourceCommand)
2512
+ .sc(TagResource)
2277
2513
  .build() {
2278
2514
  }
2279
2515
 
@@ -2281,16 +2517,11 @@ class UntagResourceCommand extends smithyClient.Command
2281
2517
  .classBuilder()
2282
2518
  .ep(commonParams)
2283
2519
  .m(function (Command, cs, config, o) {
2284
- return [
2285
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2286
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2287
- ];
2520
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2288
2521
  })
2289
2522
  .s("mediapackagev2", "UntagResource", {})
2290
2523
  .n("MediaPackageV2Client", "UntagResourceCommand")
2291
- .f(void 0, void 0)
2292
- .ser(se_UntagResourceCommand)
2293
- .de(de_UntagResourceCommand)
2524
+ .sc(UntagResource)
2294
2525
  .build() {
2295
2526
  }
2296
2527
 
@@ -2298,16 +2529,11 @@ class UpdateChannelCommand extends smithyClient.Command
2298
2529
  .classBuilder()
2299
2530
  .ep(commonParams)
2300
2531
  .m(function (Command, cs, config, o) {
2301
- return [
2302
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2303
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2304
- ];
2532
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2305
2533
  })
2306
2534
  .s("mediapackagev2", "UpdateChannel", {})
2307
2535
  .n("MediaPackageV2Client", "UpdateChannelCommand")
2308
- .f(void 0, void 0)
2309
- .ser(se_UpdateChannelCommand)
2310
- .de(de_UpdateChannelCommand)
2536
+ .sc(UpdateChannel)
2311
2537
  .build() {
2312
2538
  }
2313
2539
 
@@ -2315,16 +2541,11 @@ class UpdateChannelGroupCommand extends smithyClient.Command
2315
2541
  .classBuilder()
2316
2542
  .ep(commonParams)
2317
2543
  .m(function (Command, cs, config, o) {
2318
- return [
2319
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2320
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2321
- ];
2544
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2322
2545
  })
2323
2546
  .s("mediapackagev2", "UpdateChannelGroup", {})
2324
2547
  .n("MediaPackageV2Client", "UpdateChannelGroupCommand")
2325
- .f(void 0, void 0)
2326
- .ser(se_UpdateChannelGroupCommand)
2327
- .de(de_UpdateChannelGroupCommand)
2548
+ .sc(UpdateChannelGroup)
2328
2549
  .build() {
2329
2550
  }
2330
2551
 
@@ -2332,16 +2553,11 @@ class UpdateOriginEndpointCommand extends smithyClient.Command
2332
2553
  .classBuilder()
2333
2554
  .ep(commonParams)
2334
2555
  .m(function (Command, cs, config, o) {
2335
- return [
2336
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2337
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2338
- ];
2556
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2339
2557
  })
2340
2558
  .s("mediapackagev2", "UpdateOriginEndpoint", {})
2341
2559
  .n("MediaPackageV2Client", "UpdateOriginEndpointCommand")
2342
- .f(void 0, void 0)
2343
- .ser(se_UpdateOriginEndpointCommand)
2344
- .de(de_UpdateOriginEndpointCommand)
2560
+ .sc(UpdateOriginEndpoint)
2345
2561
  .build() {
2346
2562
  }
2347
2563
 
@@ -2463,12 +2679,12 @@ Object.defineProperty(exports, "__Client", {
2463
2679
  enumerable: true,
2464
2680
  get: function () { return smithyClient.Client; }
2465
2681
  });
2466
- exports.AccessDeniedException = AccessDeniedException;
2682
+ exports.AccessDeniedException = AccessDeniedException$1;
2467
2683
  exports.AdMarkerDash = AdMarkerDash;
2468
2684
  exports.AdMarkerHls = AdMarkerHls;
2469
2685
  exports.CancelHarvestJobCommand = CancelHarvestJobCommand;
2470
2686
  exports.CmafEncryptionMethod = CmafEncryptionMethod;
2471
- exports.ConflictException = ConflictException;
2687
+ exports.ConflictException = ConflictException$1;
2472
2688
  exports.ConflictExceptionType = ConflictExceptionType;
2473
2689
  exports.ContainerType = ContainerType;
2474
2690
  exports.CreateChannelCommand = CreateChannelCommand;
@@ -2497,7 +2713,7 @@ exports.GetOriginEndpointCommand = GetOriginEndpointCommand;
2497
2713
  exports.GetOriginEndpointPolicyCommand = GetOriginEndpointPolicyCommand;
2498
2714
  exports.HarvestJobStatus = HarvestJobStatus;
2499
2715
  exports.InputType = InputType;
2500
- exports.InternalServerException = InternalServerException;
2716
+ exports.InternalServerException = InternalServerException$1;
2501
2717
  exports.IsmEncryptionMethod = IsmEncryptionMethod;
2502
2718
  exports.ListChannelGroupsCommand = ListChannelGroupsCommand;
2503
2719
  exports.ListChannelsCommand = ListChannelsCommand;
@@ -2506,7 +2722,7 @@ exports.ListOriginEndpointsCommand = ListOriginEndpointsCommand;
2506
2722
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2507
2723
  exports.MediaPackageV2 = MediaPackageV2;
2508
2724
  exports.MediaPackageV2Client = MediaPackageV2Client;
2509
- exports.MediaPackageV2ServiceException = MediaPackageV2ServiceException;
2725
+ exports.MediaPackageV2ServiceException = MediaPackageV2ServiceException$1;
2510
2726
  exports.MssManifestLayout = MssManifestLayout;
2511
2727
  exports.PresetSpeke20Audio = PresetSpeke20Audio;
2512
2728
  exports.PresetSpeke20Video = PresetSpeke20Video;
@@ -2514,18 +2730,18 @@ exports.PutChannelPolicyCommand = PutChannelPolicyCommand;
2514
2730
  exports.PutOriginEndpointPolicyCommand = PutOriginEndpointPolicyCommand;
2515
2731
  exports.ResetChannelStateCommand = ResetChannelStateCommand;
2516
2732
  exports.ResetOriginEndpointStateCommand = ResetOriginEndpointStateCommand;
2517
- exports.ResourceNotFoundException = ResourceNotFoundException;
2733
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2518
2734
  exports.ResourceTypeNotFound = ResourceTypeNotFound;
2519
2735
  exports.ScteFilter = ScteFilter;
2520
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2736
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2521
2737
  exports.TagResourceCommand = TagResourceCommand;
2522
- exports.ThrottlingException = ThrottlingException;
2738
+ exports.ThrottlingException = ThrottlingException$1;
2523
2739
  exports.TsEncryptionMethod = TsEncryptionMethod;
2524
2740
  exports.UntagResourceCommand = UntagResourceCommand;
2525
2741
  exports.UpdateChannelCommand = UpdateChannelCommand;
2526
2742
  exports.UpdateChannelGroupCommand = UpdateChannelGroupCommand;
2527
2743
  exports.UpdateOriginEndpointCommand = UpdateOriginEndpointCommand;
2528
- exports.ValidationException = ValidationException;
2744
+ exports.ValidationException = ValidationException$1;
2529
2745
  exports.ValidationExceptionType = ValidationExceptionType;
2530
2746
  exports.paginateListChannelGroups = paginateListChannelGroups;
2531
2747
  exports.paginateListChannels = paginateListChannels;