@aws-sdk/client-mediapackage-vod 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist-cjs/index.js +2032 -1109
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MediaPackageVodClient.js +2 -0
  4. package/dist-es/commands/ConfigureLogsCommand.js +3 -9
  5. package/dist-es/commands/CreateAssetCommand.js +3 -9
  6. package/dist-es/commands/CreatePackagingConfigurationCommand.js +3 -9
  7. package/dist-es/commands/CreatePackagingGroupCommand.js +3 -9
  8. package/dist-es/commands/DeleteAssetCommand.js +3 -9
  9. package/dist-es/commands/DeletePackagingConfigurationCommand.js +3 -9
  10. package/dist-es/commands/DeletePackagingGroupCommand.js +3 -9
  11. package/dist-es/commands/DescribeAssetCommand.js +3 -9
  12. package/dist-es/commands/DescribePackagingConfigurationCommand.js +3 -9
  13. package/dist-es/commands/DescribePackagingGroupCommand.js +3 -9
  14. package/dist-es/commands/ListAssetsCommand.js +3 -9
  15. package/dist-es/commands/ListPackagingConfigurationsCommand.js +3 -9
  16. package/dist-es/commands/ListPackagingGroupsCommand.js +3 -9
  17. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  18. package/dist-es/commands/TagResourceCommand.js +3 -9
  19. package/dist-es/commands/UntagResourceCommand.js +3 -9
  20. package/dist-es/commands/UpdatePackagingGroupCommand.js +3 -9
  21. package/dist-es/runtimeConfig.shared.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +1990 -0
  23. package/dist-types/MediaPackageVodClient.d.ts +10 -1
  24. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  25. package/dist-types/runtimeConfig.d.ts +1 -0
  26. package/dist-types/runtimeConfig.native.d.ts +1 -0
  27. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +89 -0
  29. package/dist-types/ts3.4/MediaPackageVodClient.d.ts +4 -0
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  34. package/dist-types/ts3.4/schemas/schemas_0.d.ts +94 -0
  35. package/package.json +5 -5
  36. package/dist-es/protocols/Aws_restJson1.js +0 -981
  37. package/dist-types/protocols/Aws_restJson1.d.ts +0 -155
  38. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -209
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class MediaPackageVodClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,12 +110,12 @@ class MediaPackageVodClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class MediaPackageVodServiceException extends smithyClient.ServiceException {
113
+ let MediaPackageVodServiceException$1 = class MediaPackageVodServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, MediaPackageVodServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
120
  const __PeriodTriggersElement = {
121
121
  ADS: "ADS",
@@ -170,7 +170,7 @@ const EncryptionMethod = {
170
170
  AES_128: "AES_128",
171
171
  SAMPLE_AES: "SAMPLE_AES",
172
172
  };
173
- class ForbiddenException extends MediaPackageVodServiceException {
173
+ let ForbiddenException$1 = class ForbiddenException extends MediaPackageVodServiceException$1 {
174
174
  name = "ForbiddenException";
175
175
  $fault = "client";
176
176
  Message;
@@ -183,8 +183,8 @@ class ForbiddenException extends MediaPackageVodServiceException {
183
183
  Object.setPrototypeOf(this, ForbiddenException.prototype);
184
184
  this.Message = opts.Message;
185
185
  }
186
- }
187
- class InternalServerErrorException extends MediaPackageVodServiceException {
186
+ };
187
+ let InternalServerErrorException$1 = class InternalServerErrorException extends MediaPackageVodServiceException$1 {
188
188
  name = "InternalServerErrorException";
189
189
  $fault = "server";
190
190
  Message;
@@ -197,8 +197,8 @@ class InternalServerErrorException extends MediaPackageVodServiceException {
197
197
  Object.setPrototypeOf(this, InternalServerErrorException.prototype);
198
198
  this.Message = opts.Message;
199
199
  }
200
- }
201
- class NotFoundException extends MediaPackageVodServiceException {
200
+ };
201
+ let NotFoundException$1 = class NotFoundException extends MediaPackageVodServiceException$1 {
202
202
  name = "NotFoundException";
203
203
  $fault = "client";
204
204
  Message;
@@ -211,8 +211,8 @@ class NotFoundException extends MediaPackageVodServiceException {
211
211
  Object.setPrototypeOf(this, NotFoundException.prototype);
212
212
  this.Message = opts.Message;
213
213
  }
214
- }
215
- class ServiceUnavailableException extends MediaPackageVodServiceException {
214
+ };
215
+ let ServiceUnavailableException$1 = class ServiceUnavailableException extends MediaPackageVodServiceException$1 {
216
216
  name = "ServiceUnavailableException";
217
217
  $fault = "server";
218
218
  Message;
@@ -225,8 +225,8 @@ class ServiceUnavailableException extends MediaPackageVodServiceException {
225
225
  Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
226
226
  this.Message = opts.Message;
227
227
  }
228
- }
229
- class TooManyRequestsException extends MediaPackageVodServiceException {
228
+ };
229
+ let TooManyRequestsException$1 = class TooManyRequestsException extends MediaPackageVodServiceException$1 {
230
230
  name = "TooManyRequestsException";
231
231
  $fault = "client";
232
232
  Message;
@@ -239,8 +239,8 @@ class TooManyRequestsException extends MediaPackageVodServiceException {
239
239
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
240
240
  this.Message = opts.Message;
241
241
  }
242
- }
243
- class UnprocessableEntityException extends MediaPackageVodServiceException {
242
+ };
243
+ let UnprocessableEntityException$1 = class UnprocessableEntityException extends MediaPackageVodServiceException$1 {
244
244
  name = "UnprocessableEntityException";
245
245
  $fault = "client";
246
246
  Message;
@@ -253,998 +253,2001 @@ class UnprocessableEntityException extends MediaPackageVodServiceException {
253
253
  Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
254
254
  this.Message = opts.Message;
255
255
  }
256
- }
257
-
258
- const se_ConfigureLogsCommand = async (input, context) => {
259
- const b = core.requestBuilder(input, context);
260
- const headers = {
261
- "content-type": "application/json",
262
- };
263
- b.bp("/packaging_groups/{Id}/configure_logs");
264
- b.p("Id", () => input.Id, "{Id}", false);
265
- let body;
266
- body = JSON.stringify(smithyClient.take(input, {
267
- egressAccessLogs: [, (_) => se_EgressAccessLogs(_), `EgressAccessLogs`],
268
- }));
269
- b.m("PUT").h(headers).b(body);
270
- return b.build();
271
- };
272
- const se_CreateAssetCommand = async (input, context) => {
273
- const b = core.requestBuilder(input, context);
274
- const headers = {
275
- "content-type": "application/json",
276
- };
277
- b.bp("/assets");
278
- let body;
279
- body = JSON.stringify(smithyClient.take(input, {
280
- id: [, , `Id`],
281
- packagingGroupId: [, , `PackagingGroupId`],
282
- resourceId: [, , `ResourceId`],
283
- sourceArn: [, , `SourceArn`],
284
- sourceRoleArn: [, , `SourceRoleArn`],
285
- tags: [, (_) => smithyClient._json(_), `Tags`],
286
- }));
287
- b.m("POST").h(headers).b(body);
288
- return b.build();
289
- };
290
- const se_CreatePackagingConfigurationCommand = async (input, context) => {
291
- const b = core.requestBuilder(input, context);
292
- const headers = {
293
- "content-type": "application/json",
294
- };
295
- b.bp("/packaging_configurations");
296
- let body;
297
- body = JSON.stringify(smithyClient.take(input, {
298
- cmafPackage: [, (_) => se_CmafPackage(_), `CmafPackage`],
299
- dashPackage: [, (_) => se_DashPackage(_), `DashPackage`],
300
- hlsPackage: [, (_) => se_HlsPackage(_), `HlsPackage`],
301
- id: [, , `Id`],
302
- mssPackage: [, (_) => se_MssPackage(_), `MssPackage`],
303
- packagingGroupId: [, , `PackagingGroupId`],
304
- tags: [, (_) => smithyClient._json(_), `Tags`],
305
- }));
306
- b.m("POST").h(headers).b(body);
307
- return b.build();
308
- };
309
- const se_CreatePackagingGroupCommand = async (input, context) => {
310
- const b = core.requestBuilder(input, context);
311
- const headers = {
312
- "content-type": "application/json",
313
- };
314
- b.bp("/packaging_groups");
315
- let body;
316
- body = JSON.stringify(smithyClient.take(input, {
317
- authorization: [, (_) => se_Authorization(_), `Authorization`],
318
- egressAccessLogs: [, (_) => se_EgressAccessLogs(_), `EgressAccessLogs`],
319
- id: [, , `Id`],
320
- tags: [, (_) => smithyClient._json(_), `Tags`],
321
- }));
322
- b.m("POST").h(headers).b(body);
323
- return b.build();
324
- };
325
- const se_DeleteAssetCommand = async (input, context) => {
326
- const b = core.requestBuilder(input, context);
327
- const headers = {};
328
- b.bp("/assets/{Id}");
329
- b.p("Id", () => input.Id, "{Id}", false);
330
- let body;
331
- b.m("DELETE").h(headers).b(body);
332
- return b.build();
333
- };
334
- const se_DeletePackagingConfigurationCommand = async (input, context) => {
335
- const b = core.requestBuilder(input, context);
336
- const headers = {};
337
- b.bp("/packaging_configurations/{Id}");
338
- b.p("Id", () => input.Id, "{Id}", false);
339
- let body;
340
- b.m("DELETE").h(headers).b(body);
341
- return b.build();
342
- };
343
- const se_DeletePackagingGroupCommand = async (input, context) => {
344
- const b = core.requestBuilder(input, context);
345
- const headers = {};
346
- b.bp("/packaging_groups/{Id}");
347
- b.p("Id", () => input.Id, "{Id}", false);
348
- let body;
349
- b.m("DELETE").h(headers).b(body);
350
- return b.build();
351
- };
352
- const se_DescribeAssetCommand = async (input, context) => {
353
- const b = core.requestBuilder(input, context);
354
- const headers = {};
355
- b.bp("/assets/{Id}");
356
- b.p("Id", () => input.Id, "{Id}", false);
357
- let body;
358
- b.m("GET").h(headers).b(body);
359
- return b.build();
360
- };
361
- const se_DescribePackagingConfigurationCommand = async (input, context) => {
362
- const b = core.requestBuilder(input, context);
363
- const headers = {};
364
- b.bp("/packaging_configurations/{Id}");
365
- b.p("Id", () => input.Id, "{Id}", false);
366
- let body;
367
- b.m("GET").h(headers).b(body);
368
- return b.build();
369
- };
370
- const se_DescribePackagingGroupCommand = async (input, context) => {
371
- const b = core.requestBuilder(input, context);
372
- const headers = {};
373
- b.bp("/packaging_groups/{Id}");
374
- b.p("Id", () => input.Id, "{Id}", false);
375
- let body;
376
- b.m("GET").h(headers).b(body);
377
- return b.build();
378
- };
379
- const se_ListAssetsCommand = async (input, context) => {
380
- const b = core.requestBuilder(input, context);
381
- const headers = {};
382
- b.bp("/assets");
383
- const query = smithyClient.map({
384
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
385
- [_nT]: [, input[_NT]],
386
- [_pGI]: [, input[_PGI]],
387
- });
388
- let body;
389
- b.m("GET").h(headers).q(query).b(body);
390
- return b.build();
391
- };
392
- const se_ListPackagingConfigurationsCommand = async (input, context) => {
393
- const b = core.requestBuilder(input, context);
394
- const headers = {};
395
- b.bp("/packaging_configurations");
396
- const query = smithyClient.map({
397
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
398
- [_nT]: [, input[_NT]],
399
- [_pGI]: [, input[_PGI]],
400
- });
401
- let body;
402
- b.m("GET").h(headers).q(query).b(body);
403
- return b.build();
404
- };
405
- const se_ListPackagingGroupsCommand = async (input, context) => {
406
- const b = core.requestBuilder(input, context);
407
- const headers = {};
408
- b.bp("/packaging_groups");
409
- const query = smithyClient.map({
410
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
411
- [_nT]: [, input[_NT]],
412
- });
413
- let body;
414
- b.m("GET").h(headers).q(query).b(body);
415
- return b.build();
416
- };
417
- const se_ListTagsForResourceCommand = async (input, context) => {
418
- const b = core.requestBuilder(input, context);
419
- const headers = {};
420
- b.bp("/tags/{ResourceArn}");
421
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
422
- let body;
423
- b.m("GET").h(headers).b(body);
424
- return b.build();
425
- };
426
- const se_TagResourceCommand = async (input, context) => {
427
- const b = core.requestBuilder(input, context);
428
- const headers = {
429
- "content-type": "application/json",
430
- };
431
- b.bp("/tags/{ResourceArn}");
432
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
433
- let body;
434
- body = JSON.stringify(smithyClient.take(input, {
435
- tags: [, (_) => smithyClient._json(_), `Tags`],
436
- }));
437
- b.m("POST").h(headers).b(body);
438
- return b.build();
439
- };
440
- const se_UntagResourceCommand = async (input, context) => {
441
- const b = core.requestBuilder(input, context);
442
- const headers = {};
443
- b.bp("/tags/{ResourceArn}");
444
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
445
- const query = smithyClient.map({
446
- [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
447
- });
448
- let body;
449
- b.m("DELETE").h(headers).q(query).b(body);
450
- return b.build();
451
- };
452
- const se_UpdatePackagingGroupCommand = async (input, context) => {
453
- const b = core.requestBuilder(input, context);
454
- const headers = {
455
- "content-type": "application/json",
456
- };
457
- b.bp("/packaging_groups/{Id}");
458
- b.p("Id", () => input.Id, "{Id}", false);
459
- let body;
460
- body = JSON.stringify(smithyClient.take(input, {
461
- authorization: [, (_) => se_Authorization(_), `Authorization`],
462
- }));
463
- b.m("PUT").h(headers).b(body);
464
- return b.build();
465
- };
466
- const de_ConfigureLogsCommand = async (output, context) => {
467
- if (output.statusCode !== 200 && output.statusCode >= 300) {
468
- return de_CommandError(output, context);
469
- }
470
- const contents = smithyClient.map({
471
- $metadata: deserializeMetadata(output),
472
- });
473
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
474
- const doc = smithyClient.take(data, {
475
- Arn: [, smithyClient.expectString, `arn`],
476
- Authorization: [, (_) => de_Authorization(_), `authorization`],
477
- CreatedAt: [, smithyClient.expectString, `createdAt`],
478
- DomainName: [, smithyClient.expectString, `domainName`],
479
- EgressAccessLogs: [, (_) => de_EgressAccessLogs(_), `egressAccessLogs`],
480
- Id: [, smithyClient.expectString, `id`],
481
- Tags: [, smithyClient._json, `tags`],
482
- });
483
- Object.assign(contents, doc);
484
- return contents;
485
- };
486
- const de_CreateAssetCommand = async (output, context) => {
487
- if (output.statusCode !== 200 && output.statusCode >= 300) {
488
- return de_CommandError(output, context);
489
- }
490
- const contents = smithyClient.map({
491
- $metadata: deserializeMetadata(output),
492
- });
493
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
494
- const doc = smithyClient.take(data, {
495
- Arn: [, smithyClient.expectString, `arn`],
496
- CreatedAt: [, smithyClient.expectString, `createdAt`],
497
- EgressEndpoints: [, (_) => de___listOfEgressEndpoint(_), `egressEndpoints`],
498
- Id: [, smithyClient.expectString, `id`],
499
- PackagingGroupId: [, smithyClient.expectString, `packagingGroupId`],
500
- ResourceId: [, smithyClient.expectString, `resourceId`],
501
- SourceArn: [, smithyClient.expectString, `sourceArn`],
502
- SourceRoleArn: [, smithyClient.expectString, `sourceRoleArn`],
503
- Tags: [, smithyClient._json, `tags`],
504
- });
505
- Object.assign(contents, doc);
506
- return contents;
507
- };
508
- const de_CreatePackagingConfigurationCommand = async (output, context) => {
509
- if (output.statusCode !== 200 && output.statusCode >= 300) {
510
- return de_CommandError(output, context);
511
- }
512
- const contents = smithyClient.map({
513
- $metadata: deserializeMetadata(output),
514
- });
515
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
516
- const doc = smithyClient.take(data, {
517
- Arn: [, smithyClient.expectString, `arn`],
518
- CmafPackage: [, (_) => de_CmafPackage(_), `cmafPackage`],
519
- CreatedAt: [, smithyClient.expectString, `createdAt`],
520
- DashPackage: [, (_) => de_DashPackage(_), `dashPackage`],
521
- HlsPackage: [, (_) => de_HlsPackage(_), `hlsPackage`],
522
- Id: [, smithyClient.expectString, `id`],
523
- MssPackage: [, (_) => de_MssPackage(_), `mssPackage`],
524
- PackagingGroupId: [, smithyClient.expectString, `packagingGroupId`],
525
- Tags: [, smithyClient._json, `tags`],
526
- });
527
- Object.assign(contents, doc);
528
- return contents;
529
- };
530
- const de_CreatePackagingGroupCommand = async (output, context) => {
531
- if (output.statusCode !== 200 && output.statusCode >= 300) {
532
- return de_CommandError(output, context);
533
- }
534
- const contents = smithyClient.map({
535
- $metadata: deserializeMetadata(output),
536
- });
537
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
538
- const doc = smithyClient.take(data, {
539
- Arn: [, smithyClient.expectString, `arn`],
540
- Authorization: [, (_) => de_Authorization(_), `authorization`],
541
- CreatedAt: [, smithyClient.expectString, `createdAt`],
542
- DomainName: [, smithyClient.expectString, `domainName`],
543
- EgressAccessLogs: [, (_) => de_EgressAccessLogs(_), `egressAccessLogs`],
544
- Id: [, smithyClient.expectString, `id`],
545
- Tags: [, smithyClient._json, `tags`],
546
- });
547
- Object.assign(contents, doc);
548
- return contents;
549
- };
550
- const de_DeleteAssetCommand = async (output, context) => {
551
- if (output.statusCode !== 202 && output.statusCode >= 300) {
552
- return de_CommandError(output, context);
553
- }
554
- const contents = smithyClient.map({
555
- $metadata: deserializeMetadata(output),
556
- });
557
- await smithyClient.collectBody(output.body, context);
558
- return contents;
559
- };
560
- const de_DeletePackagingConfigurationCommand = async (output, context) => {
561
- if (output.statusCode !== 202 && output.statusCode >= 300) {
562
- return de_CommandError(output, context);
563
- }
564
- const contents = smithyClient.map({
565
- $metadata: deserializeMetadata(output),
566
- });
567
- await smithyClient.collectBody(output.body, context);
568
- return contents;
569
- };
570
- const de_DeletePackagingGroupCommand = async (output, context) => {
571
- if (output.statusCode !== 202 && output.statusCode >= 300) {
572
- return de_CommandError(output, context);
573
- }
574
- const contents = smithyClient.map({
575
- $metadata: deserializeMetadata(output),
576
- });
577
- await smithyClient.collectBody(output.body, context);
578
- return contents;
579
- };
580
- const de_DescribeAssetCommand = async (output, context) => {
581
- if (output.statusCode !== 200 && output.statusCode >= 300) {
582
- return de_CommandError(output, context);
583
- }
584
- const contents = smithyClient.map({
585
- $metadata: deserializeMetadata(output),
586
- });
587
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
588
- const doc = smithyClient.take(data, {
589
- Arn: [, smithyClient.expectString, `arn`],
590
- CreatedAt: [, smithyClient.expectString, `createdAt`],
591
- EgressEndpoints: [, (_) => de___listOfEgressEndpoint(_), `egressEndpoints`],
592
- Id: [, smithyClient.expectString, `id`],
593
- PackagingGroupId: [, smithyClient.expectString, `packagingGroupId`],
594
- ResourceId: [, smithyClient.expectString, `resourceId`],
595
- SourceArn: [, smithyClient.expectString, `sourceArn`],
596
- SourceRoleArn: [, smithyClient.expectString, `sourceRoleArn`],
597
- Tags: [, smithyClient._json, `tags`],
598
- });
599
- Object.assign(contents, doc);
600
- return contents;
601
- };
602
- const de_DescribePackagingConfigurationCommand = async (output, context) => {
603
- if (output.statusCode !== 200 && output.statusCode >= 300) {
604
- return de_CommandError(output, context);
605
- }
606
- const contents = smithyClient.map({
607
- $metadata: deserializeMetadata(output),
608
- });
609
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
610
- const doc = smithyClient.take(data, {
611
- Arn: [, smithyClient.expectString, `arn`],
612
- CmafPackage: [, (_) => de_CmafPackage(_), `cmafPackage`],
613
- CreatedAt: [, smithyClient.expectString, `createdAt`],
614
- DashPackage: [, (_) => de_DashPackage(_), `dashPackage`],
615
- HlsPackage: [, (_) => de_HlsPackage(_), `hlsPackage`],
616
- Id: [, smithyClient.expectString, `id`],
617
- MssPackage: [, (_) => de_MssPackage(_), `mssPackage`],
618
- PackagingGroupId: [, smithyClient.expectString, `packagingGroupId`],
619
- Tags: [, smithyClient._json, `tags`],
620
- });
621
- Object.assign(contents, doc);
622
- return contents;
623
- };
624
- const de_DescribePackagingGroupCommand = async (output, context) => {
625
- if (output.statusCode !== 200 && output.statusCode >= 300) {
626
- return de_CommandError(output, context);
627
- }
628
- const contents = smithyClient.map({
629
- $metadata: deserializeMetadata(output),
630
- });
631
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
632
- const doc = smithyClient.take(data, {
633
- ApproximateAssetCount: [, smithyClient.expectInt32, `approximateAssetCount`],
634
- Arn: [, smithyClient.expectString, `arn`],
635
- Authorization: [, (_) => de_Authorization(_), `authorization`],
636
- CreatedAt: [, smithyClient.expectString, `createdAt`],
637
- DomainName: [, smithyClient.expectString, `domainName`],
638
- EgressAccessLogs: [, (_) => de_EgressAccessLogs(_), `egressAccessLogs`],
639
- Id: [, smithyClient.expectString, `id`],
640
- Tags: [, smithyClient._json, `tags`],
641
- });
642
- Object.assign(contents, doc);
643
- return contents;
644
- };
645
- const de_ListAssetsCommand = async (output, context) => {
646
- if (output.statusCode !== 200 && output.statusCode >= 300) {
647
- return de_CommandError(output, context);
648
- }
649
- const contents = smithyClient.map({
650
- $metadata: deserializeMetadata(output),
651
- });
652
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
653
- const doc = smithyClient.take(data, {
654
- Assets: [, (_) => de___listOfAssetShallow(_), `assets`],
655
- NextToken: [, smithyClient.expectString, `nextToken`],
656
- });
657
- Object.assign(contents, doc);
658
- return contents;
659
- };
660
- const de_ListPackagingConfigurationsCommand = async (output, context) => {
661
- if (output.statusCode !== 200 && output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const contents = smithyClient.map({
665
- $metadata: deserializeMetadata(output),
666
- });
667
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
668
- const doc = smithyClient.take(data, {
669
- NextToken: [, smithyClient.expectString, `nextToken`],
670
- PackagingConfigurations: [, (_) => de___listOfPackagingConfiguration(_), `packagingConfigurations`],
671
- });
672
- Object.assign(contents, doc);
673
- return contents;
674
- };
675
- const de_ListPackagingGroupsCommand = async (output, context) => {
676
- if (output.statusCode !== 200 && output.statusCode >= 300) {
677
- return de_CommandError(output, context);
678
- }
679
- const contents = smithyClient.map({
680
- $metadata: deserializeMetadata(output),
681
- });
682
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
683
- const doc = smithyClient.take(data, {
684
- NextToken: [, smithyClient.expectString, `nextToken`],
685
- PackagingGroups: [, (_) => de___listOfPackagingGroup(_), `packagingGroups`],
686
- });
687
- Object.assign(contents, doc);
688
- return contents;
689
- };
690
- const de_ListTagsForResourceCommand = async (output, context) => {
691
- if (output.statusCode !== 200 && output.statusCode >= 300) {
692
- return de_CommandError(output, context);
693
- }
694
- const contents = smithyClient.map({
695
- $metadata: deserializeMetadata(output),
696
- });
697
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
698
- const doc = smithyClient.take(data, {
699
- Tags: [, smithyClient._json, `tags`],
700
- });
701
- Object.assign(contents, doc);
702
- return contents;
703
- };
704
- const de_TagResourceCommand = async (output, context) => {
705
- if (output.statusCode !== 204 && output.statusCode >= 300) {
706
- return de_CommandError(output, context);
707
- }
708
- const contents = smithyClient.map({
709
- $metadata: deserializeMetadata(output),
710
- });
711
- await smithyClient.collectBody(output.body, context);
712
- return contents;
713
- };
714
- const de_UntagResourceCommand = async (output, context) => {
715
- if (output.statusCode !== 204 && output.statusCode >= 300) {
716
- return de_CommandError(output, context);
717
- }
718
- const contents = smithyClient.map({
719
- $metadata: deserializeMetadata(output),
720
- });
721
- await smithyClient.collectBody(output.body, context);
722
- return contents;
723
- };
724
- const de_UpdatePackagingGroupCommand = async (output, context) => {
725
- if (output.statusCode !== 200 && output.statusCode >= 300) {
726
- return de_CommandError(output, context);
727
- }
728
- const contents = smithyClient.map({
729
- $metadata: deserializeMetadata(output),
730
- });
731
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
732
- const doc = smithyClient.take(data, {
733
- ApproximateAssetCount: [, smithyClient.expectInt32, `approximateAssetCount`],
734
- Arn: [, smithyClient.expectString, `arn`],
735
- Authorization: [, (_) => de_Authorization(_), `authorization`],
736
- CreatedAt: [, smithyClient.expectString, `createdAt`],
737
- DomainName: [, smithyClient.expectString, `domainName`],
738
- EgressAccessLogs: [, (_) => de_EgressAccessLogs(_), `egressAccessLogs`],
739
- Id: [, smithyClient.expectString, `id`],
740
- Tags: [, smithyClient._json, `tags`],
741
- });
742
- Object.assign(contents, doc);
743
- return contents;
744
- };
745
- const de_CommandError = async (output, context) => {
746
- const parsedOutput = {
747
- ...output,
748
- body: await core$1.parseJsonErrorBody(output.body, context),
749
- };
750
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
751
- switch (errorCode) {
752
- case "ForbiddenException":
753
- case "com.amazonaws.mediapackagevod#ForbiddenException":
754
- throw await de_ForbiddenExceptionRes(parsedOutput);
755
- case "InternalServerErrorException":
756
- case "com.amazonaws.mediapackagevod#InternalServerErrorException":
757
- throw await de_InternalServerErrorExceptionRes(parsedOutput);
758
- case "NotFoundException":
759
- case "com.amazonaws.mediapackagevod#NotFoundException":
760
- throw await de_NotFoundExceptionRes(parsedOutput);
761
- case "ServiceUnavailableException":
762
- case "com.amazonaws.mediapackagevod#ServiceUnavailableException":
763
- throw await de_ServiceUnavailableExceptionRes(parsedOutput);
764
- case "TooManyRequestsException":
765
- case "com.amazonaws.mediapackagevod#TooManyRequestsException":
766
- throw await de_TooManyRequestsExceptionRes(parsedOutput);
767
- case "UnprocessableEntityException":
768
- case "com.amazonaws.mediapackagevod#UnprocessableEntityException":
769
- throw await de_UnprocessableEntityExceptionRes(parsedOutput);
770
- default:
771
- const parsedBody = parsedOutput.body;
772
- return throwDefaultError({
773
- output,
774
- parsedBody,
775
- errorCode,
776
- });
777
- }
778
- };
779
- const throwDefaultError = smithyClient.withBaseException(MediaPackageVodServiceException);
780
- const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
781
- const contents = smithyClient.map({});
782
- const data = parsedOutput.body;
783
- const doc = smithyClient.take(data, {
784
- Message: [, smithyClient.expectString, `message`],
785
- });
786
- Object.assign(contents, doc);
787
- const exception = new ForbiddenException({
788
- $metadata: deserializeMetadata(parsedOutput),
789
- ...contents,
790
- });
791
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
792
- };
793
- const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
794
- const contents = smithyClient.map({});
795
- const data = parsedOutput.body;
796
- const doc = smithyClient.take(data, {
797
- Message: [, smithyClient.expectString, `message`],
798
- });
799
- Object.assign(contents, doc);
800
- const exception = new InternalServerErrorException({
801
- $metadata: deserializeMetadata(parsedOutput),
802
- ...contents,
803
- });
804
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
805
- };
806
- const de_NotFoundExceptionRes = async (parsedOutput, context) => {
807
- const contents = smithyClient.map({});
808
- const data = parsedOutput.body;
809
- const doc = smithyClient.take(data, {
810
- Message: [, smithyClient.expectString, `message`],
811
- });
812
- Object.assign(contents, doc);
813
- const exception = new NotFoundException({
814
- $metadata: deserializeMetadata(parsedOutput),
815
- ...contents,
816
- });
817
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
818
- };
819
- const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
820
- const contents = smithyClient.map({});
821
- const data = parsedOutput.body;
822
- const doc = smithyClient.take(data, {
823
- Message: [, smithyClient.expectString, `message`],
824
- });
825
- Object.assign(contents, doc);
826
- const exception = new ServiceUnavailableException({
827
- $metadata: deserializeMetadata(parsedOutput),
828
- ...contents,
829
- });
830
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
831
- };
832
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
833
- const contents = smithyClient.map({});
834
- const data = parsedOutput.body;
835
- const doc = smithyClient.take(data, {
836
- Message: [, smithyClient.expectString, `message`],
837
- });
838
- Object.assign(contents, doc);
839
- const exception = new TooManyRequestsException({
840
- $metadata: deserializeMetadata(parsedOutput),
841
- ...contents,
842
- });
843
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
844
- };
845
- const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
846
- const contents = smithyClient.map({});
847
- const data = parsedOutput.body;
848
- const doc = smithyClient.take(data, {
849
- Message: [, smithyClient.expectString, `message`],
850
- });
851
- Object.assign(contents, doc);
852
- const exception = new UnprocessableEntityException({
853
- $metadata: deserializeMetadata(parsedOutput),
854
- ...contents,
855
- });
856
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
857
- };
858
- const se___listOfDashManifest = (input, context) => {
859
- return input
860
- .filter((e) => e != null)
861
- .map((entry) => {
862
- return se_DashManifest(entry);
863
- });
864
- };
865
- const se___listOfHlsManifest = (input, context) => {
866
- return input
867
- .filter((e) => e != null)
868
- .map((entry) => {
869
- return se_HlsManifest(entry);
870
- });
871
- };
872
- const se___listOfMssManifest = (input, context) => {
873
- return input
874
- .filter((e) => e != null)
875
- .map((entry) => {
876
- return se_MssManifest(entry);
877
- });
878
- };
879
- const se_Authorization = (input, context) => {
880
- return smithyClient.take(input, {
881
- cdnIdentifierSecret: [, , `CdnIdentifierSecret`],
882
- secretsRoleArn: [, , `SecretsRoleArn`],
883
- });
884
- };
885
- const se_CmafEncryption = (input, context) => {
886
- return smithyClient.take(input, {
887
- constantInitializationVector: [, , `ConstantInitializationVector`],
888
- spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_), `SpekeKeyProvider`],
889
- });
890
- };
891
- const se_CmafPackage = (input, context) => {
892
- return smithyClient.take(input, {
893
- encryption: [, (_) => se_CmafEncryption(_), `Encryption`],
894
- hlsManifests: [, (_) => se___listOfHlsManifest(_), `HlsManifests`],
895
- includeEncoderConfigurationInSegments: [, , `IncludeEncoderConfigurationInSegments`],
896
- segmentDurationSeconds: [, , `SegmentDurationSeconds`],
897
- });
898
- };
899
- const se_DashEncryption = (input, context) => {
900
- return smithyClient.take(input, {
901
- spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_), `SpekeKeyProvider`],
902
- });
903
- };
904
- const se_DashManifest = (input, context) => {
905
- return smithyClient.take(input, {
906
- manifestLayout: [, , `ManifestLayout`],
907
- manifestName: [, , `ManifestName`],
908
- minBufferTimeSeconds: [, , `MinBufferTimeSeconds`],
909
- profile: [, , `Profile`],
910
- scteMarkersSource: [, , `ScteMarkersSource`],
911
- streamSelection: [, (_) => se_StreamSelection(_), `StreamSelection`],
912
- });
913
- };
914
- const se_DashPackage = (input, context) => {
915
- return smithyClient.take(input, {
916
- dashManifests: [, (_) => se___listOfDashManifest(_), `DashManifests`],
917
- encryption: [, (_) => se_DashEncryption(_), `Encryption`],
918
- includeEncoderConfigurationInSegments: [, , `IncludeEncoderConfigurationInSegments`],
919
- includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`],
920
- periodTriggers: [, smithyClient._json, `PeriodTriggers`],
921
- segmentDurationSeconds: [, , `SegmentDurationSeconds`],
922
- segmentTemplateFormat: [, , `SegmentTemplateFormat`],
923
- });
924
- };
925
- const se_EgressAccessLogs = (input, context) => {
926
- return smithyClient.take(input, {
927
- logGroupName: [, , `LogGroupName`],
928
- });
929
- };
930
- const se_EncryptionContractConfiguration = (input, context) => {
931
- return smithyClient.take(input, {
932
- presetSpeke20Audio: [, , `PresetSpeke20Audio`],
933
- presetSpeke20Video: [, , `PresetSpeke20Video`],
934
- });
935
- };
936
- const se_HlsEncryption = (input, context) => {
937
- return smithyClient.take(input, {
938
- constantInitializationVector: [, , `ConstantInitializationVector`],
939
- encryptionMethod: [, , `EncryptionMethod`],
940
- spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_), `SpekeKeyProvider`],
941
- });
942
- };
943
- const se_HlsManifest = (input, context) => {
944
- return smithyClient.take(input, {
945
- adMarkers: [, , `AdMarkers`],
946
- includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`],
947
- manifestName: [, , `ManifestName`],
948
- programDateTimeIntervalSeconds: [, , `ProgramDateTimeIntervalSeconds`],
949
- repeatExtXKey: [, , `RepeatExtXKey`],
950
- streamSelection: [, (_) => se_StreamSelection(_), `StreamSelection`],
951
- });
952
- };
953
- const se_HlsPackage = (input, context) => {
954
- return smithyClient.take(input, {
955
- encryption: [, (_) => se_HlsEncryption(_), `Encryption`],
956
- hlsManifests: [, (_) => se___listOfHlsManifest(_), `HlsManifests`],
957
- includeDvbSubtitles: [, , `IncludeDvbSubtitles`],
958
- segmentDurationSeconds: [, , `SegmentDurationSeconds`],
959
- useAudioRenditionGroup: [, , `UseAudioRenditionGroup`],
960
- });
961
- };
962
- const se_MssEncryption = (input, context) => {
963
- return smithyClient.take(input, {
964
- spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_), `SpekeKeyProvider`],
965
- });
966
- };
967
- const se_MssManifest = (input, context) => {
968
- return smithyClient.take(input, {
969
- manifestName: [, , `ManifestName`],
970
- streamSelection: [, (_) => se_StreamSelection(_), `StreamSelection`],
971
- });
972
- };
973
- const se_MssPackage = (input, context) => {
974
- return smithyClient.take(input, {
975
- encryption: [, (_) => se_MssEncryption(_), `Encryption`],
976
- mssManifests: [, (_) => se___listOfMssManifest(_), `MssManifests`],
977
- segmentDurationSeconds: [, , `SegmentDurationSeconds`],
978
- });
979
- };
980
- const se_SpekeKeyProvider = (input, context) => {
981
- return smithyClient.take(input, {
982
- encryptionContractConfiguration: [
983
- ,
984
- (_) => se_EncryptionContractConfiguration(_),
985
- `EncryptionContractConfiguration`,
986
- ],
987
- roleArn: [, , `RoleArn`],
988
- systemIds: [, smithyClient._json, `SystemIds`],
989
- url: [, , `Url`],
990
- });
991
- };
992
- const se_StreamSelection = (input, context) => {
993
- return smithyClient.take(input, {
994
- maxVideoBitsPerSecond: [, , `MaxVideoBitsPerSecond`],
995
- minVideoBitsPerSecond: [, , `MinVideoBitsPerSecond`],
996
- streamOrder: [, , `StreamOrder`],
997
- });
998
- };
999
- const de___listOfAssetShallow = (output, context) => {
1000
- const retVal = (output || [])
1001
- .filter((e) => e != null)
1002
- .map((entry) => {
1003
- return de_AssetShallow(entry);
1004
- });
1005
- return retVal;
1006
- };
1007
- const de___listOfDashManifest = (output, context) => {
1008
- const retVal = (output || [])
1009
- .filter((e) => e != null)
1010
- .map((entry) => {
1011
- return de_DashManifest(entry);
1012
- });
1013
- return retVal;
1014
- };
1015
- const de___listOfEgressEndpoint = (output, context) => {
1016
- const retVal = (output || [])
1017
- .filter((e) => e != null)
1018
- .map((entry) => {
1019
- return de_EgressEndpoint(entry);
1020
- });
1021
- return retVal;
1022
- };
1023
- const de___listOfHlsManifest = (output, context) => {
1024
- const retVal = (output || [])
1025
- .filter((e) => e != null)
1026
- .map((entry) => {
1027
- return de_HlsManifest(entry);
1028
- });
1029
- return retVal;
1030
- };
1031
- const de___listOfMssManifest = (output, context) => {
1032
- const retVal = (output || [])
1033
- .filter((e) => e != null)
1034
- .map((entry) => {
1035
- return de_MssManifest(entry);
1036
- });
1037
- return retVal;
1038
- };
1039
- const de___listOfPackagingConfiguration = (output, context) => {
1040
- const retVal = (output || [])
1041
- .filter((e) => e != null)
1042
- .map((entry) => {
1043
- return de_PackagingConfiguration(entry);
1044
- });
1045
- return retVal;
1046
- };
1047
- const de___listOfPackagingGroup = (output, context) => {
1048
- const retVal = (output || [])
1049
- .filter((e) => e != null)
1050
- .map((entry) => {
1051
- return de_PackagingGroup(entry);
1052
- });
1053
- return retVal;
1054
- };
1055
- const de_AssetShallow = (output, context) => {
1056
- return smithyClient.take(output, {
1057
- Arn: [, smithyClient.expectString, `arn`],
1058
- CreatedAt: [, smithyClient.expectString, `createdAt`],
1059
- Id: [, smithyClient.expectString, `id`],
1060
- PackagingGroupId: [, smithyClient.expectString, `packagingGroupId`],
1061
- ResourceId: [, smithyClient.expectString, `resourceId`],
1062
- SourceArn: [, smithyClient.expectString, `sourceArn`],
1063
- SourceRoleArn: [, smithyClient.expectString, `sourceRoleArn`],
1064
- Tags: [, smithyClient._json, `tags`],
1065
- });
1066
- };
1067
- const de_Authorization = (output, context) => {
1068
- return smithyClient.take(output, {
1069
- CdnIdentifierSecret: [, smithyClient.expectString, `cdnIdentifierSecret`],
1070
- SecretsRoleArn: [, smithyClient.expectString, `secretsRoleArn`],
1071
- });
1072
- };
1073
- const de_CmafEncryption = (output, context) => {
1074
- return smithyClient.take(output, {
1075
- ConstantInitializationVector: [, smithyClient.expectString, `constantInitializationVector`],
1076
- SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_), `spekeKeyProvider`],
1077
- });
1078
- };
1079
- const de_CmafPackage = (output, context) => {
1080
- return smithyClient.take(output, {
1081
- Encryption: [, (_) => de_CmafEncryption(_), `encryption`],
1082
- HlsManifests: [, (_) => de___listOfHlsManifest(_), `hlsManifests`],
1083
- IncludeEncoderConfigurationInSegments: [, smithyClient.expectBoolean, `includeEncoderConfigurationInSegments`],
1084
- SegmentDurationSeconds: [, smithyClient.expectInt32, `segmentDurationSeconds`],
1085
- });
1086
- };
1087
- const de_DashEncryption = (output, context) => {
1088
- return smithyClient.take(output, {
1089
- SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_), `spekeKeyProvider`],
1090
- });
1091
- };
1092
- const de_DashManifest = (output, context) => {
1093
- return smithyClient.take(output, {
1094
- ManifestLayout: [, smithyClient.expectString, `manifestLayout`],
1095
- ManifestName: [, smithyClient.expectString, `manifestName`],
1096
- MinBufferTimeSeconds: [, smithyClient.expectInt32, `minBufferTimeSeconds`],
1097
- Profile: [, smithyClient.expectString, `profile`],
1098
- ScteMarkersSource: [, smithyClient.expectString, `scteMarkersSource`],
1099
- StreamSelection: [, (_) => de_StreamSelection(_), `streamSelection`],
1100
- });
1101
- };
1102
- const de_DashPackage = (output, context) => {
1103
- return smithyClient.take(output, {
1104
- DashManifests: [, (_) => de___listOfDashManifest(_), `dashManifests`],
1105
- Encryption: [, (_) => de_DashEncryption(_), `encryption`],
1106
- IncludeEncoderConfigurationInSegments: [, smithyClient.expectBoolean, `includeEncoderConfigurationInSegments`],
1107
- IncludeIframeOnlyStream: [, smithyClient.expectBoolean, `includeIframeOnlyStream`],
1108
- PeriodTriggers: [, smithyClient._json, `periodTriggers`],
1109
- SegmentDurationSeconds: [, smithyClient.expectInt32, `segmentDurationSeconds`],
1110
- SegmentTemplateFormat: [, smithyClient.expectString, `segmentTemplateFormat`],
1111
- });
1112
- };
1113
- const de_EgressAccessLogs = (output, context) => {
1114
- return smithyClient.take(output, {
1115
- LogGroupName: [, smithyClient.expectString, `logGroupName`],
1116
- });
1117
- };
1118
- const de_EgressEndpoint = (output, context) => {
1119
- return smithyClient.take(output, {
1120
- PackagingConfigurationId: [, smithyClient.expectString, `packagingConfigurationId`],
1121
- Status: [, smithyClient.expectString, `status`],
1122
- Url: [, smithyClient.expectString, `url`],
1123
- });
1124
- };
1125
- const de_EncryptionContractConfiguration = (output, context) => {
1126
- return smithyClient.take(output, {
1127
- PresetSpeke20Audio: [, smithyClient.expectString, `presetSpeke20Audio`],
1128
- PresetSpeke20Video: [, smithyClient.expectString, `presetSpeke20Video`],
1129
- });
1130
- };
1131
- const de_HlsEncryption = (output, context) => {
1132
- return smithyClient.take(output, {
1133
- ConstantInitializationVector: [, smithyClient.expectString, `constantInitializationVector`],
1134
- EncryptionMethod: [, smithyClient.expectString, `encryptionMethod`],
1135
- SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_), `spekeKeyProvider`],
1136
- });
1137
- };
1138
- const de_HlsManifest = (output, context) => {
1139
- return smithyClient.take(output, {
1140
- AdMarkers: [, smithyClient.expectString, `adMarkers`],
1141
- IncludeIframeOnlyStream: [, smithyClient.expectBoolean, `includeIframeOnlyStream`],
1142
- ManifestName: [, smithyClient.expectString, `manifestName`],
1143
- ProgramDateTimeIntervalSeconds: [, smithyClient.expectInt32, `programDateTimeIntervalSeconds`],
1144
- RepeatExtXKey: [, smithyClient.expectBoolean, `repeatExtXKey`],
1145
- StreamSelection: [, (_) => de_StreamSelection(_), `streamSelection`],
1146
- });
1147
- };
1148
- const de_HlsPackage = (output, context) => {
1149
- return smithyClient.take(output, {
1150
- Encryption: [, (_) => de_HlsEncryption(_), `encryption`],
1151
- HlsManifests: [, (_) => de___listOfHlsManifest(_), `hlsManifests`],
1152
- IncludeDvbSubtitles: [, smithyClient.expectBoolean, `includeDvbSubtitles`],
1153
- SegmentDurationSeconds: [, smithyClient.expectInt32, `segmentDurationSeconds`],
1154
- UseAudioRenditionGroup: [, smithyClient.expectBoolean, `useAudioRenditionGroup`],
1155
- });
1156
- };
1157
- const de_MssEncryption = (output, context) => {
1158
- return smithyClient.take(output, {
1159
- SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_), `spekeKeyProvider`],
1160
- });
1161
- };
1162
- const de_MssManifest = (output, context) => {
1163
- return smithyClient.take(output, {
1164
- ManifestName: [, smithyClient.expectString, `manifestName`],
1165
- StreamSelection: [, (_) => de_StreamSelection(_), `streamSelection`],
1166
- });
1167
- };
1168
- const de_MssPackage = (output, context) => {
1169
- return smithyClient.take(output, {
1170
- Encryption: [, (_) => de_MssEncryption(_), `encryption`],
1171
- MssManifests: [, (_) => de___listOfMssManifest(_), `mssManifests`],
1172
- SegmentDurationSeconds: [, smithyClient.expectInt32, `segmentDurationSeconds`],
1173
- });
1174
- };
1175
- const de_PackagingConfiguration = (output, context) => {
1176
- return smithyClient.take(output, {
1177
- Arn: [, smithyClient.expectString, `arn`],
1178
- CmafPackage: [, (_) => de_CmafPackage(_), `cmafPackage`],
1179
- CreatedAt: [, smithyClient.expectString, `createdAt`],
1180
- DashPackage: [, (_) => de_DashPackage(_), `dashPackage`],
1181
- HlsPackage: [, (_) => de_HlsPackage(_), `hlsPackage`],
1182
- Id: [, smithyClient.expectString, `id`],
1183
- MssPackage: [, (_) => de_MssPackage(_), `mssPackage`],
1184
- PackagingGroupId: [, smithyClient.expectString, `packagingGroupId`],
1185
- Tags: [, smithyClient._json, `tags`],
1186
- });
1187
- };
1188
- const de_PackagingGroup = (output, context) => {
1189
- return smithyClient.take(output, {
1190
- ApproximateAssetCount: [, smithyClient.expectInt32, `approximateAssetCount`],
1191
- Arn: [, smithyClient.expectString, `arn`],
1192
- Authorization: [, (_) => de_Authorization(_), `authorization`],
1193
- CreatedAt: [, smithyClient.expectString, `createdAt`],
1194
- DomainName: [, smithyClient.expectString, `domainName`],
1195
- EgressAccessLogs: [, (_) => de_EgressAccessLogs(_), `egressAccessLogs`],
1196
- Id: [, smithyClient.expectString, `id`],
1197
- Tags: [, smithyClient._json, `tags`],
1198
- });
1199
- };
1200
- const de_SpekeKeyProvider = (output, context) => {
1201
- return smithyClient.take(output, {
1202
- EncryptionContractConfiguration: [
1203
- ,
1204
- (_) => de_EncryptionContractConfiguration(_),
1205
- `encryptionContractConfiguration`,
1206
- ],
1207
- RoleArn: [, smithyClient.expectString, `roleArn`],
1208
- SystemIds: [, smithyClient._json, `systemIds`],
1209
- Url: [, smithyClient.expectString, `url`],
1210
- });
1211
- };
1212
- const de_StreamSelection = (output, context) => {
1213
- return smithyClient.take(output, {
1214
- MaxVideoBitsPerSecond: [, smithyClient.expectInt32, `maxVideoBitsPerSecond`],
1215
- MinVideoBitsPerSecond: [, smithyClient.expectInt32, `minVideoBitsPerSecond`],
1216
- StreamOrder: [, smithyClient.expectString, `streamOrder`],
1217
- });
1218
256
  };
1219
- const deserializeMetadata = (output) => ({
1220
- httpStatusCode: output.statusCode,
1221
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1222
- extendedRequestId: output.headers["x-amz-id-2"],
1223
- cfId: output.headers["x-amz-cf-id"],
1224
- });
257
+
258
+ const _A = "Arn";
259
+ const _AAC = "ApproximateAssetCount";
260
+ const _AM = "AdMarkers";
261
+ const _AS = "AssetShallow";
262
+ const _As = "Assets";
263
+ const _Au = "Authorization";
264
+ const _CA = "CreatedAt";
265
+ const _CAR = "CreateAssetRequest";
266
+ const _CARr = "CreateAssetResponse";
267
+ const _CAr = "CreateAsset";
268
+ const _CE = "CmafEncryption";
269
+ const _CIS = "CdnIdentifierSecret";
270
+ const _CIV = "ConstantInitializationVector";
271
+ const _CL = "ConfigureLogs";
272
+ const _CLR = "ConfigureLogsRequest";
273
+ const _CLRo = "ConfigureLogsResponse";
274
+ const _CP = "CmafPackage";
275
+ const _CPC = "CreatePackagingConfiguration";
276
+ const _CPCR = "CreatePackagingConfigurationRequest";
277
+ const _CPCRr = "CreatePackagingConfigurationResponse";
278
+ const _CPG = "CreatePackagingGroup";
279
+ const _CPGR = "CreatePackagingGroupRequest";
280
+ const _CPGRr = "CreatePackagingGroupResponse";
281
+ const _DA = "DeleteAsset";
282
+ const _DAR = "DeleteAssetRequest";
283
+ const _DARe = "DeleteAssetResponse";
284
+ const _DARes = "DescribeAssetRequest";
285
+ const _DAResc = "DescribeAssetResponse";
286
+ const _DAe = "DescribeAsset";
287
+ const _DE = "DashEncryption";
288
+ const _DM = "DashManifest";
289
+ const _DMa = "DashManifests";
290
+ const _DN = "DomainName";
291
+ const _DP = "DashPackage";
292
+ const _DPC = "DeletePackagingConfiguration";
293
+ const _DPCR = "DeletePackagingConfigurationRequest";
294
+ const _DPCRe = "DeletePackagingConfigurationResponse";
295
+ const _DPCRes = "DescribePackagingConfigurationRequest";
296
+ const _DPCResc = "DescribePackagingConfigurationResponse";
297
+ const _DPCe = "DescribePackagingConfiguration";
298
+ const _DPG = "DeletePackagingGroup";
299
+ const _DPGR = "DeletePackagingGroupRequest";
300
+ const _DPGRe = "DeletePackagingGroupResponse";
301
+ const _DPGRes = "DescribePackagingGroupRequest";
302
+ const _DPGResc = "DescribePackagingGroupResponse";
303
+ const _DPGe = "DescribePackagingGroup";
304
+ const _E = "Encryption";
305
+ const _EAL = "EgressAccessLogs";
306
+ const _ECC = "EncryptionContractConfiguration";
307
+ const _EE = "EgressEndpoints";
308
+ const _EEg = "EgressEndpoint";
309
+ const _EM = "EncryptionMethod";
310
+ const _FE = "ForbiddenException";
311
+ const _HE = "HlsEncryption";
312
+ const _HM = "HlsManifests";
313
+ const _HMl = "HlsManifest";
314
+ const _HP = "HlsPackage";
315
+ const _I = "Id";
316
+ const _IDS = "IncludeDvbSubtitles";
317
+ const _IECIS = "IncludeEncoderConfigurationInSegments";
318
+ const _IIOS = "IncludeIframeOnlyStream";
319
+ const _ISEE = "InternalServerErrorException";
320
+ const _LA = "ListAssets";
321
+ const _LAR = "ListAssetsRequest";
322
+ const _LARi = "ListAssetsResponse";
323
+ const _LGN = "LogGroupName";
324
+ const _LPC = "ListPackagingConfigurations";
325
+ const _LPCR = "ListPackagingConfigurationsRequest";
326
+ const _LPCRi = "ListPackagingConfigurationsResponse";
327
+ const _LPG = "ListPackagingGroups";
328
+ const _LPGR = "ListPackagingGroupsRequest";
329
+ const _LPGRi = "ListPackagingGroupsResponse";
330
+ const _LTFR = "ListTagsForResource";
331
+ const _LTFRR = "ListTagsForResourceRequest";
332
+ const _LTFRRi = "ListTagsForResourceResponse";
333
+ const _M = "Message";
334
+ const _MBTS = "MinBufferTimeSeconds";
335
+ const _ME = "MssEncryption";
336
+ const _ML = "ManifestLayout";
337
+ const _MM = "MssManifest";
338
+ const _MMs = "MssManifests";
339
+ const _MN = "ManifestName";
340
+ const _MP = "MssPackage";
1225
341
  const _MR = "MaxResults";
342
+ const _MVBPS = "MaxVideoBitsPerSecond";
343
+ const _MVBPSi = "MinVideoBitsPerSecond";
344
+ const _NFE = "NotFoundException";
1226
345
  const _NT = "NextToken";
346
+ const _P = "Profile";
347
+ const _PC = "PackagingConfigurations";
348
+ const _PCI = "PackagingConfigurationId";
349
+ const _PCa = "PackagingConfiguration";
350
+ const _PDTIS = "ProgramDateTimeIntervalSeconds";
351
+ const _PG = "PackagingGroups";
1227
352
  const _PGI = "PackagingGroupId";
353
+ const _PGa = "PackagingGroup";
354
+ const _PSA = "PresetSpeke20Audio";
355
+ const _PSV = "PresetSpeke20Video";
356
+ const _PT = "PeriodTriggers";
357
+ const _RA = "ResourceArn";
358
+ const _RAo = "RoleArn";
359
+ const _REXK = "RepeatExtXKey";
360
+ const _RI = "ResourceId";
361
+ const _S = "Status";
362
+ const _SA = "SourceArn";
363
+ const _SDS = "SegmentDurationSeconds";
364
+ const _SI = "SystemIds";
365
+ const _SKP = "SpekeKeyProvider";
366
+ const _SMS = "ScteMarkersSource";
367
+ const _SO = "StreamOrder";
368
+ const _SRA = "SourceRoleArn";
369
+ const _SRAe = "SecretsRoleArn";
370
+ const _SS = "StreamSelection";
371
+ const _STF = "SegmentTemplateFormat";
372
+ const _SUE = "ServiceUnavailableException";
373
+ const _T = "Tags";
1228
374
  const _TK = "TagKeys";
375
+ const _TMRE = "TooManyRequestsException";
376
+ const _TR = "TagResource";
377
+ const _TRR = "TagResourceRequest";
378
+ const _U = "Url";
379
+ const _UARG = "UseAudioRenditionGroup";
380
+ const _UEE = "UnprocessableEntityException";
381
+ const _UPG = "UpdatePackagingGroup";
382
+ const _UPGR = "UpdatePackagingGroupRequest";
383
+ const _UPGRp = "UpdatePackagingGroupResponse";
384
+ const _UR = "UntagResource";
385
+ const _URR = "UntagResourceRequest";
386
+ const _a = "arn";
387
+ const _aAC = "approximateAssetCount";
388
+ const _aM = "adMarkers";
389
+ const _as = "assets";
390
+ const _au = "authorization";
391
+ const _c = "client";
392
+ const _cA = "createdAt";
393
+ const _cIS = "cdnIdentifierSecret";
394
+ const _cIV = "constantInitializationVector";
395
+ const _cP = "cmafPackage";
396
+ const _dM = "dashManifests";
397
+ const _dN = "domainName";
398
+ const _dP = "dashPackage";
399
+ const _e = "encryption";
400
+ const _eAL = "egressAccessLogs";
401
+ const _eCC = "encryptionContractConfiguration";
402
+ const _eE = "egressEndpoints";
403
+ const _eM = "encryptionMethod";
404
+ const _er = "error";
405
+ const _h = "http";
406
+ const _hE = "httpError";
407
+ const _hM = "hlsManifests";
408
+ const _hP = "hlsPackage";
409
+ const _hQ = "httpQuery";
410
+ const _i = "id";
411
+ const _iDS = "includeDvbSubtitles";
412
+ const _iECIS = "includeEncoderConfigurationInSegments";
413
+ const _iIOS = "includeIframeOnlyStream";
414
+ const _jN = "jsonName";
415
+ const _lGN = "logGroupName";
416
+ const _lOAS = "__listOfAssetShallow";
417
+ const _lODM = "__listOfDashManifest";
418
+ const _lOEE = "__listOfEgressEndpoint";
419
+ const _lOHM = "__listOfHlsManifest";
420
+ const _lOMM = "__listOfMssManifest";
421
+ const _lOPC = "__listOfPackagingConfiguration";
422
+ const _lOPG = "__listOfPackagingGroup";
423
+ const _m = "message";
424
+ const _mBTS = "minBufferTimeSeconds";
425
+ const _mL = "manifestLayout";
426
+ const _mM = "mssManifests";
427
+ const _mN = "manifestName";
428
+ const _mP = "mssPackage";
1229
429
  const _mR = "maxResults";
430
+ const _mVBPS = "maxVideoBitsPerSecond";
431
+ const _mVBPSi = "minVideoBitsPerSecond";
1230
432
  const _nT = "nextToken";
433
+ const _p = "profile";
434
+ const _pC = "packagingConfigurations";
435
+ const _pCI = "packagingConfigurationId";
436
+ const _pDTIS = "programDateTimeIntervalSeconds";
437
+ const _pG = "packagingGroups";
1231
438
  const _pGI = "packagingGroupId";
439
+ const _pSA = "presetSpeke20Audio";
440
+ const _pSV = "presetSpeke20Video";
441
+ const _pT = "periodTriggers";
442
+ const _rA = "roleArn";
443
+ const _rEXK = "repeatExtXKey";
444
+ const _rI = "resourceId";
445
+ const _s = "status";
446
+ const _sA = "sourceArn";
447
+ const _sDS = "segmentDurationSeconds";
448
+ const _sI = "systemIds";
449
+ const _sKP = "spekeKeyProvider";
450
+ const _sMS = "scteMarkersSource";
451
+ const _sO = "streamOrder";
452
+ const _sRA = "sourceRoleArn";
453
+ const _sRAe = "secretsRoleArn";
454
+ const _sS = "streamSelection";
455
+ const _sTF = "segmentTemplateFormat";
456
+ const _se = "server";
457
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mediapackagevod";
458
+ const _t = "tags";
1232
459
  const _tK = "tagKeys";
460
+ const _u = "url";
461
+ const _uARG = "useAudioRenditionGroup";
462
+ const n0 = "com.amazonaws.mediapackagevod";
463
+ var AssetShallow = [
464
+ 3,
465
+ n0,
466
+ _AS,
467
+ 0,
468
+ [_A, _CA, _I, _PGI, _RI, _SA, _SRA, _T],
469
+ [
470
+ [
471
+ 0,
472
+ {
473
+ [_jN]: _a,
474
+ },
475
+ ],
476
+ [
477
+ 0,
478
+ {
479
+ [_jN]: _cA,
480
+ },
481
+ ],
482
+ [
483
+ 0,
484
+ {
485
+ [_jN]: _i,
486
+ },
487
+ ],
488
+ [
489
+ 0,
490
+ {
491
+ [_jN]: _pGI,
492
+ },
493
+ ],
494
+ [
495
+ 0,
496
+ {
497
+ [_jN]: _rI,
498
+ },
499
+ ],
500
+ [
501
+ 0,
502
+ {
503
+ [_jN]: _sA,
504
+ },
505
+ ],
506
+ [
507
+ 0,
508
+ {
509
+ [_jN]: _sRA,
510
+ },
511
+ ],
512
+ [
513
+ 128 | 0,
514
+ {
515
+ [_jN]: _t,
516
+ },
517
+ ],
518
+ ],
519
+ ];
520
+ var Authorization = [
521
+ 3,
522
+ n0,
523
+ _Au,
524
+ 0,
525
+ [_CIS, _SRAe],
526
+ [
527
+ [
528
+ 0,
529
+ {
530
+ [_jN]: _cIS,
531
+ },
532
+ ],
533
+ [
534
+ 0,
535
+ {
536
+ [_jN]: _sRAe,
537
+ },
538
+ ],
539
+ ],
540
+ ];
541
+ var CmafEncryption = [
542
+ 3,
543
+ n0,
544
+ _CE,
545
+ 0,
546
+ [_CIV, _SKP],
547
+ [
548
+ [
549
+ 0,
550
+ {
551
+ [_jN]: _cIV,
552
+ },
553
+ ],
554
+ [
555
+ () => SpekeKeyProvider,
556
+ {
557
+ [_jN]: _sKP,
558
+ },
559
+ ],
560
+ ],
561
+ ];
562
+ var CmafPackage = [
563
+ 3,
564
+ n0,
565
+ _CP,
566
+ 0,
567
+ [_E, _HM, _IECIS, _SDS],
568
+ [
569
+ [
570
+ () => CmafEncryption,
571
+ {
572
+ [_jN]: _e,
573
+ },
574
+ ],
575
+ [
576
+ () => __listOfHlsManifest,
577
+ {
578
+ [_jN]: _hM,
579
+ },
580
+ ],
581
+ [
582
+ 2,
583
+ {
584
+ [_jN]: _iECIS,
585
+ },
586
+ ],
587
+ [
588
+ 1,
589
+ {
590
+ [_jN]: _sDS,
591
+ },
592
+ ],
593
+ ],
594
+ ];
595
+ var ConfigureLogsRequest = [
596
+ 3,
597
+ n0,
598
+ _CLR,
599
+ 0,
600
+ [_EAL, _I],
601
+ [
602
+ [
603
+ () => EgressAccessLogs,
604
+ {
605
+ [_jN]: _eAL,
606
+ },
607
+ ],
608
+ [0, 1],
609
+ ],
610
+ ];
611
+ var ConfigureLogsResponse = [
612
+ 3,
613
+ n0,
614
+ _CLRo,
615
+ 0,
616
+ [_A, _Au, _CA, _DN, _EAL, _I, _T],
617
+ [
618
+ [
619
+ 0,
620
+ {
621
+ [_jN]: _a,
622
+ },
623
+ ],
624
+ [
625
+ () => Authorization,
626
+ {
627
+ [_jN]: _au,
628
+ },
629
+ ],
630
+ [
631
+ 0,
632
+ {
633
+ [_jN]: _cA,
634
+ },
635
+ ],
636
+ [
637
+ 0,
638
+ {
639
+ [_jN]: _dN,
640
+ },
641
+ ],
642
+ [
643
+ () => EgressAccessLogs,
644
+ {
645
+ [_jN]: _eAL,
646
+ },
647
+ ],
648
+ [
649
+ 0,
650
+ {
651
+ [_jN]: _i,
652
+ },
653
+ ],
654
+ [
655
+ 128 | 0,
656
+ {
657
+ [_jN]: _t,
658
+ },
659
+ ],
660
+ ],
661
+ ];
662
+ var CreateAssetRequest = [
663
+ 3,
664
+ n0,
665
+ _CAR,
666
+ 0,
667
+ [_I, _PGI, _RI, _SA, _SRA, _T],
668
+ [
669
+ [
670
+ 0,
671
+ {
672
+ [_jN]: _i,
673
+ },
674
+ ],
675
+ [
676
+ 0,
677
+ {
678
+ [_jN]: _pGI,
679
+ },
680
+ ],
681
+ [
682
+ 0,
683
+ {
684
+ [_jN]: _rI,
685
+ },
686
+ ],
687
+ [
688
+ 0,
689
+ {
690
+ [_jN]: _sA,
691
+ },
692
+ ],
693
+ [
694
+ 0,
695
+ {
696
+ [_jN]: _sRA,
697
+ },
698
+ ],
699
+ [
700
+ 128 | 0,
701
+ {
702
+ [_jN]: _t,
703
+ },
704
+ ],
705
+ ],
706
+ ];
707
+ var CreateAssetResponse = [
708
+ 3,
709
+ n0,
710
+ _CARr,
711
+ 0,
712
+ [_A, _CA, _EE, _I, _PGI, _RI, _SA, _SRA, _T],
713
+ [
714
+ [
715
+ 0,
716
+ {
717
+ [_jN]: _a,
718
+ },
719
+ ],
720
+ [
721
+ 0,
722
+ {
723
+ [_jN]: _cA,
724
+ },
725
+ ],
726
+ [
727
+ () => __listOfEgressEndpoint,
728
+ {
729
+ [_jN]: _eE,
730
+ },
731
+ ],
732
+ [
733
+ 0,
734
+ {
735
+ [_jN]: _i,
736
+ },
737
+ ],
738
+ [
739
+ 0,
740
+ {
741
+ [_jN]: _pGI,
742
+ },
743
+ ],
744
+ [
745
+ 0,
746
+ {
747
+ [_jN]: _rI,
748
+ },
749
+ ],
750
+ [
751
+ 0,
752
+ {
753
+ [_jN]: _sA,
754
+ },
755
+ ],
756
+ [
757
+ 0,
758
+ {
759
+ [_jN]: _sRA,
760
+ },
761
+ ],
762
+ [
763
+ 128 | 0,
764
+ {
765
+ [_jN]: _t,
766
+ },
767
+ ],
768
+ ],
769
+ ];
770
+ var CreatePackagingConfigurationRequest = [
771
+ 3,
772
+ n0,
773
+ _CPCR,
774
+ 0,
775
+ [_CP, _DP, _HP, _I, _MP, _PGI, _T],
776
+ [
777
+ [
778
+ () => CmafPackage,
779
+ {
780
+ [_jN]: _cP,
781
+ },
782
+ ],
783
+ [
784
+ () => DashPackage,
785
+ {
786
+ [_jN]: _dP,
787
+ },
788
+ ],
789
+ [
790
+ () => HlsPackage,
791
+ {
792
+ [_jN]: _hP,
793
+ },
794
+ ],
795
+ [
796
+ 0,
797
+ {
798
+ [_jN]: _i,
799
+ },
800
+ ],
801
+ [
802
+ () => MssPackage,
803
+ {
804
+ [_jN]: _mP,
805
+ },
806
+ ],
807
+ [
808
+ 0,
809
+ {
810
+ [_jN]: _pGI,
811
+ },
812
+ ],
813
+ [
814
+ 128 | 0,
815
+ {
816
+ [_jN]: _t,
817
+ },
818
+ ],
819
+ ],
820
+ ];
821
+ var CreatePackagingConfigurationResponse = [
822
+ 3,
823
+ n0,
824
+ _CPCRr,
825
+ 0,
826
+ [_A, _CP, _CA, _DP, _HP, _I, _MP, _PGI, _T],
827
+ [
828
+ [
829
+ 0,
830
+ {
831
+ [_jN]: _a,
832
+ },
833
+ ],
834
+ [
835
+ () => CmafPackage,
836
+ {
837
+ [_jN]: _cP,
838
+ },
839
+ ],
840
+ [
841
+ 0,
842
+ {
843
+ [_jN]: _cA,
844
+ },
845
+ ],
846
+ [
847
+ () => DashPackage,
848
+ {
849
+ [_jN]: _dP,
850
+ },
851
+ ],
852
+ [
853
+ () => HlsPackage,
854
+ {
855
+ [_jN]: _hP,
856
+ },
857
+ ],
858
+ [
859
+ 0,
860
+ {
861
+ [_jN]: _i,
862
+ },
863
+ ],
864
+ [
865
+ () => MssPackage,
866
+ {
867
+ [_jN]: _mP,
868
+ },
869
+ ],
870
+ [
871
+ 0,
872
+ {
873
+ [_jN]: _pGI,
874
+ },
875
+ ],
876
+ [
877
+ 128 | 0,
878
+ {
879
+ [_jN]: _t,
880
+ },
881
+ ],
882
+ ],
883
+ ];
884
+ var CreatePackagingGroupRequest = [
885
+ 3,
886
+ n0,
887
+ _CPGR,
888
+ 0,
889
+ [_Au, _EAL, _I, _T],
890
+ [
891
+ [
892
+ () => Authorization,
893
+ {
894
+ [_jN]: _au,
895
+ },
896
+ ],
897
+ [
898
+ () => EgressAccessLogs,
899
+ {
900
+ [_jN]: _eAL,
901
+ },
902
+ ],
903
+ [
904
+ 0,
905
+ {
906
+ [_jN]: _i,
907
+ },
908
+ ],
909
+ [
910
+ 128 | 0,
911
+ {
912
+ [_jN]: _t,
913
+ },
914
+ ],
915
+ ],
916
+ ];
917
+ var CreatePackagingGroupResponse = [
918
+ 3,
919
+ n0,
920
+ _CPGRr,
921
+ 0,
922
+ [_A, _Au, _CA, _DN, _EAL, _I, _T],
923
+ [
924
+ [
925
+ 0,
926
+ {
927
+ [_jN]: _a,
928
+ },
929
+ ],
930
+ [
931
+ () => Authorization,
932
+ {
933
+ [_jN]: _au,
934
+ },
935
+ ],
936
+ [
937
+ 0,
938
+ {
939
+ [_jN]: _cA,
940
+ },
941
+ ],
942
+ [
943
+ 0,
944
+ {
945
+ [_jN]: _dN,
946
+ },
947
+ ],
948
+ [
949
+ () => EgressAccessLogs,
950
+ {
951
+ [_jN]: _eAL,
952
+ },
953
+ ],
954
+ [
955
+ 0,
956
+ {
957
+ [_jN]: _i,
958
+ },
959
+ ],
960
+ [
961
+ 128 | 0,
962
+ {
963
+ [_jN]: _t,
964
+ },
965
+ ],
966
+ ],
967
+ ];
968
+ var DashEncryption = [
969
+ 3,
970
+ n0,
971
+ _DE,
972
+ 0,
973
+ [_SKP],
974
+ [
975
+ [
976
+ () => SpekeKeyProvider,
977
+ {
978
+ [_jN]: _sKP,
979
+ },
980
+ ],
981
+ ],
982
+ ];
983
+ var DashManifest = [
984
+ 3,
985
+ n0,
986
+ _DM,
987
+ 0,
988
+ [_ML, _MN, _MBTS, _P, _SMS, _SS],
989
+ [
990
+ [
991
+ 0,
992
+ {
993
+ [_jN]: _mL,
994
+ },
995
+ ],
996
+ [
997
+ 0,
998
+ {
999
+ [_jN]: _mN,
1000
+ },
1001
+ ],
1002
+ [
1003
+ 1,
1004
+ {
1005
+ [_jN]: _mBTS,
1006
+ },
1007
+ ],
1008
+ [
1009
+ 0,
1010
+ {
1011
+ [_jN]: _p,
1012
+ },
1013
+ ],
1014
+ [
1015
+ 0,
1016
+ {
1017
+ [_jN]: _sMS,
1018
+ },
1019
+ ],
1020
+ [
1021
+ () => StreamSelection,
1022
+ {
1023
+ [_jN]: _sS,
1024
+ },
1025
+ ],
1026
+ ],
1027
+ ];
1028
+ var DashPackage = [
1029
+ 3,
1030
+ n0,
1031
+ _DP,
1032
+ 0,
1033
+ [_DMa, _E, _IECIS, _IIOS, _PT, _SDS, _STF],
1034
+ [
1035
+ [
1036
+ () => __listOfDashManifest,
1037
+ {
1038
+ [_jN]: _dM,
1039
+ },
1040
+ ],
1041
+ [
1042
+ () => DashEncryption,
1043
+ {
1044
+ [_jN]: _e,
1045
+ },
1046
+ ],
1047
+ [
1048
+ 2,
1049
+ {
1050
+ [_jN]: _iECIS,
1051
+ },
1052
+ ],
1053
+ [
1054
+ 2,
1055
+ {
1056
+ [_jN]: _iIOS,
1057
+ },
1058
+ ],
1059
+ [
1060
+ 64 | 0,
1061
+ {
1062
+ [_jN]: _pT,
1063
+ },
1064
+ ],
1065
+ [
1066
+ 1,
1067
+ {
1068
+ [_jN]: _sDS,
1069
+ },
1070
+ ],
1071
+ [
1072
+ 0,
1073
+ {
1074
+ [_jN]: _sTF,
1075
+ },
1076
+ ],
1077
+ ],
1078
+ ];
1079
+ var DeleteAssetRequest = [3, n0, _DAR, 0, [_I], [[0, 1]]];
1080
+ var DeleteAssetResponse = [3, n0, _DARe, 0, [], []];
1081
+ var DeletePackagingConfigurationRequest = [3, n0, _DPCR, 0, [_I], [[0, 1]]];
1082
+ var DeletePackagingConfigurationResponse = [3, n0, _DPCRe, 0, [], []];
1083
+ var DeletePackagingGroupRequest = [3, n0, _DPGR, 0, [_I], [[0, 1]]];
1084
+ var DeletePackagingGroupResponse = [3, n0, _DPGRe, 0, [], []];
1085
+ var DescribeAssetRequest = [3, n0, _DARes, 0, [_I], [[0, 1]]];
1086
+ var DescribeAssetResponse = [
1087
+ 3,
1088
+ n0,
1089
+ _DAResc,
1090
+ 0,
1091
+ [_A, _CA, _EE, _I, _PGI, _RI, _SA, _SRA, _T],
1092
+ [
1093
+ [
1094
+ 0,
1095
+ {
1096
+ [_jN]: _a,
1097
+ },
1098
+ ],
1099
+ [
1100
+ 0,
1101
+ {
1102
+ [_jN]: _cA,
1103
+ },
1104
+ ],
1105
+ [
1106
+ () => __listOfEgressEndpoint,
1107
+ {
1108
+ [_jN]: _eE,
1109
+ },
1110
+ ],
1111
+ [
1112
+ 0,
1113
+ {
1114
+ [_jN]: _i,
1115
+ },
1116
+ ],
1117
+ [
1118
+ 0,
1119
+ {
1120
+ [_jN]: _pGI,
1121
+ },
1122
+ ],
1123
+ [
1124
+ 0,
1125
+ {
1126
+ [_jN]: _rI,
1127
+ },
1128
+ ],
1129
+ [
1130
+ 0,
1131
+ {
1132
+ [_jN]: _sA,
1133
+ },
1134
+ ],
1135
+ [
1136
+ 0,
1137
+ {
1138
+ [_jN]: _sRA,
1139
+ },
1140
+ ],
1141
+ [
1142
+ 128 | 0,
1143
+ {
1144
+ [_jN]: _t,
1145
+ },
1146
+ ],
1147
+ ],
1148
+ ];
1149
+ var DescribePackagingConfigurationRequest = [3, n0, _DPCRes, 0, [_I], [[0, 1]]];
1150
+ var DescribePackagingConfigurationResponse = [
1151
+ 3,
1152
+ n0,
1153
+ _DPCResc,
1154
+ 0,
1155
+ [_A, _CP, _CA, _DP, _HP, _I, _MP, _PGI, _T],
1156
+ [
1157
+ [
1158
+ 0,
1159
+ {
1160
+ [_jN]: _a,
1161
+ },
1162
+ ],
1163
+ [
1164
+ () => CmafPackage,
1165
+ {
1166
+ [_jN]: _cP,
1167
+ },
1168
+ ],
1169
+ [
1170
+ 0,
1171
+ {
1172
+ [_jN]: _cA,
1173
+ },
1174
+ ],
1175
+ [
1176
+ () => DashPackage,
1177
+ {
1178
+ [_jN]: _dP,
1179
+ },
1180
+ ],
1181
+ [
1182
+ () => HlsPackage,
1183
+ {
1184
+ [_jN]: _hP,
1185
+ },
1186
+ ],
1187
+ [
1188
+ 0,
1189
+ {
1190
+ [_jN]: _i,
1191
+ },
1192
+ ],
1193
+ [
1194
+ () => MssPackage,
1195
+ {
1196
+ [_jN]: _mP,
1197
+ },
1198
+ ],
1199
+ [
1200
+ 0,
1201
+ {
1202
+ [_jN]: _pGI,
1203
+ },
1204
+ ],
1205
+ [
1206
+ 128 | 0,
1207
+ {
1208
+ [_jN]: _t,
1209
+ },
1210
+ ],
1211
+ ],
1212
+ ];
1213
+ var DescribePackagingGroupRequest = [3, n0, _DPGRes, 0, [_I], [[0, 1]]];
1214
+ var DescribePackagingGroupResponse = [
1215
+ 3,
1216
+ n0,
1217
+ _DPGResc,
1218
+ 0,
1219
+ [_AAC, _A, _Au, _CA, _DN, _EAL, _I, _T],
1220
+ [
1221
+ [
1222
+ 1,
1223
+ {
1224
+ [_jN]: _aAC,
1225
+ },
1226
+ ],
1227
+ [
1228
+ 0,
1229
+ {
1230
+ [_jN]: _a,
1231
+ },
1232
+ ],
1233
+ [
1234
+ () => Authorization,
1235
+ {
1236
+ [_jN]: _au,
1237
+ },
1238
+ ],
1239
+ [
1240
+ 0,
1241
+ {
1242
+ [_jN]: _cA,
1243
+ },
1244
+ ],
1245
+ [
1246
+ 0,
1247
+ {
1248
+ [_jN]: _dN,
1249
+ },
1250
+ ],
1251
+ [
1252
+ () => EgressAccessLogs,
1253
+ {
1254
+ [_jN]: _eAL,
1255
+ },
1256
+ ],
1257
+ [
1258
+ 0,
1259
+ {
1260
+ [_jN]: _i,
1261
+ },
1262
+ ],
1263
+ [
1264
+ 128 | 0,
1265
+ {
1266
+ [_jN]: _t,
1267
+ },
1268
+ ],
1269
+ ],
1270
+ ];
1271
+ var EgressAccessLogs = [
1272
+ 3,
1273
+ n0,
1274
+ _EAL,
1275
+ 0,
1276
+ [_LGN],
1277
+ [
1278
+ [
1279
+ 0,
1280
+ {
1281
+ [_jN]: _lGN,
1282
+ },
1283
+ ],
1284
+ ],
1285
+ ];
1286
+ var EgressEndpoint = [
1287
+ 3,
1288
+ n0,
1289
+ _EEg,
1290
+ 0,
1291
+ [_PCI, _S, _U],
1292
+ [
1293
+ [
1294
+ 0,
1295
+ {
1296
+ [_jN]: _pCI,
1297
+ },
1298
+ ],
1299
+ [
1300
+ 0,
1301
+ {
1302
+ [_jN]: _s,
1303
+ },
1304
+ ],
1305
+ [
1306
+ 0,
1307
+ {
1308
+ [_jN]: _u,
1309
+ },
1310
+ ],
1311
+ ],
1312
+ ];
1313
+ var EncryptionContractConfiguration = [
1314
+ 3,
1315
+ n0,
1316
+ _ECC,
1317
+ 0,
1318
+ [_PSA, _PSV],
1319
+ [
1320
+ [
1321
+ 0,
1322
+ {
1323
+ [_jN]: _pSA,
1324
+ },
1325
+ ],
1326
+ [
1327
+ 0,
1328
+ {
1329
+ [_jN]: _pSV,
1330
+ },
1331
+ ],
1332
+ ],
1333
+ ];
1334
+ var ForbiddenException = [
1335
+ -3,
1336
+ n0,
1337
+ _FE,
1338
+ {
1339
+ [_er]: _c,
1340
+ [_hE]: 403,
1341
+ },
1342
+ [_M],
1343
+ [
1344
+ [
1345
+ 0,
1346
+ {
1347
+ [_jN]: _m,
1348
+ },
1349
+ ],
1350
+ ],
1351
+ ];
1352
+ schema.TypeRegistry.for(n0).registerError(ForbiddenException, ForbiddenException$1);
1353
+ var HlsEncryption = [
1354
+ 3,
1355
+ n0,
1356
+ _HE,
1357
+ 0,
1358
+ [_CIV, _EM, _SKP],
1359
+ [
1360
+ [
1361
+ 0,
1362
+ {
1363
+ [_jN]: _cIV,
1364
+ },
1365
+ ],
1366
+ [
1367
+ 0,
1368
+ {
1369
+ [_jN]: _eM,
1370
+ },
1371
+ ],
1372
+ [
1373
+ () => SpekeKeyProvider,
1374
+ {
1375
+ [_jN]: _sKP,
1376
+ },
1377
+ ],
1378
+ ],
1379
+ ];
1380
+ var HlsManifest = [
1381
+ 3,
1382
+ n0,
1383
+ _HMl,
1384
+ 0,
1385
+ [_AM, _IIOS, _MN, _PDTIS, _REXK, _SS],
1386
+ [
1387
+ [
1388
+ 0,
1389
+ {
1390
+ [_jN]: _aM,
1391
+ },
1392
+ ],
1393
+ [
1394
+ 2,
1395
+ {
1396
+ [_jN]: _iIOS,
1397
+ },
1398
+ ],
1399
+ [
1400
+ 0,
1401
+ {
1402
+ [_jN]: _mN,
1403
+ },
1404
+ ],
1405
+ [
1406
+ 1,
1407
+ {
1408
+ [_jN]: _pDTIS,
1409
+ },
1410
+ ],
1411
+ [
1412
+ 2,
1413
+ {
1414
+ [_jN]: _rEXK,
1415
+ },
1416
+ ],
1417
+ [
1418
+ () => StreamSelection,
1419
+ {
1420
+ [_jN]: _sS,
1421
+ },
1422
+ ],
1423
+ ],
1424
+ ];
1425
+ var HlsPackage = [
1426
+ 3,
1427
+ n0,
1428
+ _HP,
1429
+ 0,
1430
+ [_E, _HM, _IDS, _SDS, _UARG],
1431
+ [
1432
+ [
1433
+ () => HlsEncryption,
1434
+ {
1435
+ [_jN]: _e,
1436
+ },
1437
+ ],
1438
+ [
1439
+ () => __listOfHlsManifest,
1440
+ {
1441
+ [_jN]: _hM,
1442
+ },
1443
+ ],
1444
+ [
1445
+ 2,
1446
+ {
1447
+ [_jN]: _iDS,
1448
+ },
1449
+ ],
1450
+ [
1451
+ 1,
1452
+ {
1453
+ [_jN]: _sDS,
1454
+ },
1455
+ ],
1456
+ [
1457
+ 2,
1458
+ {
1459
+ [_jN]: _uARG,
1460
+ },
1461
+ ],
1462
+ ],
1463
+ ];
1464
+ var InternalServerErrorException = [
1465
+ -3,
1466
+ n0,
1467
+ _ISEE,
1468
+ {
1469
+ [_er]: _se,
1470
+ [_hE]: 500,
1471
+ },
1472
+ [_M],
1473
+ [
1474
+ [
1475
+ 0,
1476
+ {
1477
+ [_jN]: _m,
1478
+ },
1479
+ ],
1480
+ ],
1481
+ ];
1482
+ schema.TypeRegistry.for(n0).registerError(InternalServerErrorException, InternalServerErrorException$1);
1483
+ var ListAssetsRequest = [
1484
+ 3,
1485
+ n0,
1486
+ _LAR,
1487
+ 0,
1488
+ [_MR, _NT, _PGI],
1489
+ [
1490
+ [
1491
+ 1,
1492
+ {
1493
+ [_hQ]: _mR,
1494
+ },
1495
+ ],
1496
+ [
1497
+ 0,
1498
+ {
1499
+ [_hQ]: _nT,
1500
+ },
1501
+ ],
1502
+ [
1503
+ 0,
1504
+ {
1505
+ [_hQ]: _pGI,
1506
+ },
1507
+ ],
1508
+ ],
1509
+ ];
1510
+ var ListAssetsResponse = [
1511
+ 3,
1512
+ n0,
1513
+ _LARi,
1514
+ 0,
1515
+ [_As, _NT],
1516
+ [
1517
+ [
1518
+ () => __listOfAssetShallow,
1519
+ {
1520
+ [_jN]: _as,
1521
+ },
1522
+ ],
1523
+ [
1524
+ 0,
1525
+ {
1526
+ [_jN]: _nT,
1527
+ },
1528
+ ],
1529
+ ],
1530
+ ];
1531
+ var ListPackagingConfigurationsRequest = [
1532
+ 3,
1533
+ n0,
1534
+ _LPCR,
1535
+ 0,
1536
+ [_MR, _NT, _PGI],
1537
+ [
1538
+ [
1539
+ 1,
1540
+ {
1541
+ [_hQ]: _mR,
1542
+ },
1543
+ ],
1544
+ [
1545
+ 0,
1546
+ {
1547
+ [_hQ]: _nT,
1548
+ },
1549
+ ],
1550
+ [
1551
+ 0,
1552
+ {
1553
+ [_hQ]: _pGI,
1554
+ },
1555
+ ],
1556
+ ],
1557
+ ];
1558
+ var ListPackagingConfigurationsResponse = [
1559
+ 3,
1560
+ n0,
1561
+ _LPCRi,
1562
+ 0,
1563
+ [_NT, _PC],
1564
+ [
1565
+ [
1566
+ 0,
1567
+ {
1568
+ [_jN]: _nT,
1569
+ },
1570
+ ],
1571
+ [
1572
+ () => __listOfPackagingConfiguration,
1573
+ {
1574
+ [_jN]: _pC,
1575
+ },
1576
+ ],
1577
+ ],
1578
+ ];
1579
+ var ListPackagingGroupsRequest = [
1580
+ 3,
1581
+ n0,
1582
+ _LPGR,
1583
+ 0,
1584
+ [_MR, _NT],
1585
+ [
1586
+ [
1587
+ 1,
1588
+ {
1589
+ [_hQ]: _mR,
1590
+ },
1591
+ ],
1592
+ [
1593
+ 0,
1594
+ {
1595
+ [_hQ]: _nT,
1596
+ },
1597
+ ],
1598
+ ],
1599
+ ];
1600
+ var ListPackagingGroupsResponse = [
1601
+ 3,
1602
+ n0,
1603
+ _LPGRi,
1604
+ 0,
1605
+ [_NT, _PG],
1606
+ [
1607
+ [
1608
+ 0,
1609
+ {
1610
+ [_jN]: _nT,
1611
+ },
1612
+ ],
1613
+ [
1614
+ () => __listOfPackagingGroup,
1615
+ {
1616
+ [_jN]: _pG,
1617
+ },
1618
+ ],
1619
+ ],
1620
+ ];
1621
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
1622
+ var ListTagsForResourceResponse = [
1623
+ 3,
1624
+ n0,
1625
+ _LTFRRi,
1626
+ 0,
1627
+ [_T],
1628
+ [
1629
+ [
1630
+ 128 | 0,
1631
+ {
1632
+ [_jN]: _t,
1633
+ },
1634
+ ],
1635
+ ],
1636
+ ];
1637
+ var MssEncryption = [
1638
+ 3,
1639
+ n0,
1640
+ _ME,
1641
+ 0,
1642
+ [_SKP],
1643
+ [
1644
+ [
1645
+ () => SpekeKeyProvider,
1646
+ {
1647
+ [_jN]: _sKP,
1648
+ },
1649
+ ],
1650
+ ],
1651
+ ];
1652
+ var MssManifest = [
1653
+ 3,
1654
+ n0,
1655
+ _MM,
1656
+ 0,
1657
+ [_MN, _SS],
1658
+ [
1659
+ [
1660
+ 0,
1661
+ {
1662
+ [_jN]: _mN,
1663
+ },
1664
+ ],
1665
+ [
1666
+ () => StreamSelection,
1667
+ {
1668
+ [_jN]: _sS,
1669
+ },
1670
+ ],
1671
+ ],
1672
+ ];
1673
+ var MssPackage = [
1674
+ 3,
1675
+ n0,
1676
+ _MP,
1677
+ 0,
1678
+ [_E, _MMs, _SDS],
1679
+ [
1680
+ [
1681
+ () => MssEncryption,
1682
+ {
1683
+ [_jN]: _e,
1684
+ },
1685
+ ],
1686
+ [
1687
+ () => __listOfMssManifest,
1688
+ {
1689
+ [_jN]: _mM,
1690
+ },
1691
+ ],
1692
+ [
1693
+ 1,
1694
+ {
1695
+ [_jN]: _sDS,
1696
+ },
1697
+ ],
1698
+ ],
1699
+ ];
1700
+ var NotFoundException = [
1701
+ -3,
1702
+ n0,
1703
+ _NFE,
1704
+ {
1705
+ [_er]: _c,
1706
+ [_hE]: 404,
1707
+ },
1708
+ [_M],
1709
+ [
1710
+ [
1711
+ 0,
1712
+ {
1713
+ [_jN]: _m,
1714
+ },
1715
+ ],
1716
+ ],
1717
+ ];
1718
+ schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
1719
+ var PackagingConfiguration = [
1720
+ 3,
1721
+ n0,
1722
+ _PCa,
1723
+ 0,
1724
+ [_A, _CP, _CA, _DP, _HP, _I, _MP, _PGI, _T],
1725
+ [
1726
+ [
1727
+ 0,
1728
+ {
1729
+ [_jN]: _a,
1730
+ },
1731
+ ],
1732
+ [
1733
+ () => CmafPackage,
1734
+ {
1735
+ [_jN]: _cP,
1736
+ },
1737
+ ],
1738
+ [
1739
+ 0,
1740
+ {
1741
+ [_jN]: _cA,
1742
+ },
1743
+ ],
1744
+ [
1745
+ () => DashPackage,
1746
+ {
1747
+ [_jN]: _dP,
1748
+ },
1749
+ ],
1750
+ [
1751
+ () => HlsPackage,
1752
+ {
1753
+ [_jN]: _hP,
1754
+ },
1755
+ ],
1756
+ [
1757
+ 0,
1758
+ {
1759
+ [_jN]: _i,
1760
+ },
1761
+ ],
1762
+ [
1763
+ () => MssPackage,
1764
+ {
1765
+ [_jN]: _mP,
1766
+ },
1767
+ ],
1768
+ [
1769
+ 0,
1770
+ {
1771
+ [_jN]: _pGI,
1772
+ },
1773
+ ],
1774
+ [
1775
+ 128 | 0,
1776
+ {
1777
+ [_jN]: _t,
1778
+ },
1779
+ ],
1780
+ ],
1781
+ ];
1782
+ var PackagingGroup = [
1783
+ 3,
1784
+ n0,
1785
+ _PGa,
1786
+ 0,
1787
+ [_AAC, _A, _Au, _CA, _DN, _EAL, _I, _T],
1788
+ [
1789
+ [
1790
+ 1,
1791
+ {
1792
+ [_jN]: _aAC,
1793
+ },
1794
+ ],
1795
+ [
1796
+ 0,
1797
+ {
1798
+ [_jN]: _a,
1799
+ },
1800
+ ],
1801
+ [
1802
+ () => Authorization,
1803
+ {
1804
+ [_jN]: _au,
1805
+ },
1806
+ ],
1807
+ [
1808
+ 0,
1809
+ {
1810
+ [_jN]: _cA,
1811
+ },
1812
+ ],
1813
+ [
1814
+ 0,
1815
+ {
1816
+ [_jN]: _dN,
1817
+ },
1818
+ ],
1819
+ [
1820
+ () => EgressAccessLogs,
1821
+ {
1822
+ [_jN]: _eAL,
1823
+ },
1824
+ ],
1825
+ [
1826
+ 0,
1827
+ {
1828
+ [_jN]: _i,
1829
+ },
1830
+ ],
1831
+ [
1832
+ 128 | 0,
1833
+ {
1834
+ [_jN]: _t,
1835
+ },
1836
+ ],
1837
+ ],
1838
+ ];
1839
+ var ServiceUnavailableException = [
1840
+ -3,
1841
+ n0,
1842
+ _SUE,
1843
+ {
1844
+ [_er]: _se,
1845
+ [_hE]: 503,
1846
+ },
1847
+ [_M],
1848
+ [
1849
+ [
1850
+ 0,
1851
+ {
1852
+ [_jN]: _m,
1853
+ },
1854
+ ],
1855
+ ],
1856
+ ];
1857
+ schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
1858
+ var SpekeKeyProvider = [
1859
+ 3,
1860
+ n0,
1861
+ _SKP,
1862
+ 0,
1863
+ [_ECC, _RAo, _SI, _U],
1864
+ [
1865
+ [
1866
+ () => EncryptionContractConfiguration,
1867
+ {
1868
+ [_jN]: _eCC,
1869
+ },
1870
+ ],
1871
+ [
1872
+ 0,
1873
+ {
1874
+ [_jN]: _rA,
1875
+ },
1876
+ ],
1877
+ [
1878
+ 64 | 0,
1879
+ {
1880
+ [_jN]: _sI,
1881
+ },
1882
+ ],
1883
+ [
1884
+ 0,
1885
+ {
1886
+ [_jN]: _u,
1887
+ },
1888
+ ],
1889
+ ],
1890
+ ];
1891
+ var StreamSelection = [
1892
+ 3,
1893
+ n0,
1894
+ _SS,
1895
+ 0,
1896
+ [_MVBPS, _MVBPSi, _SO],
1897
+ [
1898
+ [
1899
+ 1,
1900
+ {
1901
+ [_jN]: _mVBPS,
1902
+ },
1903
+ ],
1904
+ [
1905
+ 1,
1906
+ {
1907
+ [_jN]: _mVBPSi,
1908
+ },
1909
+ ],
1910
+ [
1911
+ 0,
1912
+ {
1913
+ [_jN]: _sO,
1914
+ },
1915
+ ],
1916
+ ],
1917
+ ];
1918
+ var TagResourceRequest = [
1919
+ 3,
1920
+ n0,
1921
+ _TRR,
1922
+ 0,
1923
+ [_RA, _T],
1924
+ [
1925
+ [0, 1],
1926
+ [
1927
+ 128 | 0,
1928
+ {
1929
+ [_jN]: _t,
1930
+ },
1931
+ ],
1932
+ ],
1933
+ ];
1934
+ var TooManyRequestsException = [
1935
+ -3,
1936
+ n0,
1937
+ _TMRE,
1938
+ {
1939
+ [_er]: _c,
1940
+ [_hE]: 429,
1941
+ },
1942
+ [_M],
1943
+ [
1944
+ [
1945
+ 0,
1946
+ {
1947
+ [_jN]: _m,
1948
+ },
1949
+ ],
1950
+ ],
1951
+ ];
1952
+ schema.TypeRegistry.for(n0).registerError(TooManyRequestsException, TooManyRequestsException$1);
1953
+ var UnprocessableEntityException = [
1954
+ -3,
1955
+ n0,
1956
+ _UEE,
1957
+ {
1958
+ [_er]: _c,
1959
+ [_hE]: 422,
1960
+ },
1961
+ [_M],
1962
+ [
1963
+ [
1964
+ 0,
1965
+ {
1966
+ [_jN]: _m,
1967
+ },
1968
+ ],
1969
+ ],
1970
+ ];
1971
+ schema.TypeRegistry.for(n0).registerError(UnprocessableEntityException, UnprocessableEntityException$1);
1972
+ var UntagResourceRequest = [
1973
+ 3,
1974
+ n0,
1975
+ _URR,
1976
+ 0,
1977
+ [_RA, _TK],
1978
+ [
1979
+ [0, 1],
1980
+ [
1981
+ 64 | 0,
1982
+ {
1983
+ [_hQ]: _tK,
1984
+ },
1985
+ ],
1986
+ ],
1987
+ ];
1988
+ var UpdatePackagingGroupRequest = [
1989
+ 3,
1990
+ n0,
1991
+ _UPGR,
1992
+ 0,
1993
+ [_Au, _I],
1994
+ [
1995
+ [
1996
+ () => Authorization,
1997
+ {
1998
+ [_jN]: _au,
1999
+ },
2000
+ ],
2001
+ [0, 1],
2002
+ ],
2003
+ ];
2004
+ var UpdatePackagingGroupResponse = [
2005
+ 3,
2006
+ n0,
2007
+ _UPGRp,
2008
+ 0,
2009
+ [_AAC, _A, _Au, _CA, _DN, _EAL, _I, _T],
2010
+ [
2011
+ [
2012
+ 1,
2013
+ {
2014
+ [_jN]: _aAC,
2015
+ },
2016
+ ],
2017
+ [
2018
+ 0,
2019
+ {
2020
+ [_jN]: _a,
2021
+ },
2022
+ ],
2023
+ [
2024
+ () => Authorization,
2025
+ {
2026
+ [_jN]: _au,
2027
+ },
2028
+ ],
2029
+ [
2030
+ 0,
2031
+ {
2032
+ [_jN]: _cA,
2033
+ },
2034
+ ],
2035
+ [
2036
+ 0,
2037
+ {
2038
+ [_jN]: _dN,
2039
+ },
2040
+ ],
2041
+ [
2042
+ () => EgressAccessLogs,
2043
+ {
2044
+ [_jN]: _eAL,
2045
+ },
2046
+ ],
2047
+ [
2048
+ 0,
2049
+ {
2050
+ [_jN]: _i,
2051
+ },
2052
+ ],
2053
+ [
2054
+ 128 | 0,
2055
+ {
2056
+ [_jN]: _t,
2057
+ },
2058
+ ],
2059
+ ],
2060
+ ];
2061
+ var __Unit = "unit";
2062
+ var MediaPackageVodServiceException = [-3, _sm, "MediaPackageVodServiceException", 0, [], []];
2063
+ schema.TypeRegistry.for(_sm).registerError(MediaPackageVodServiceException, MediaPackageVodServiceException$1);
2064
+ var __listOfAssetShallow = [1, n0, _lOAS, 0, [() => AssetShallow, 0]];
2065
+ var __listOfDashManifest = [1, n0, _lODM, 0, [() => DashManifest, 0]];
2066
+ var __listOfEgressEndpoint = [1, n0, _lOEE, 0, [() => EgressEndpoint, 0]];
2067
+ var __listOfHlsManifest = [1, n0, _lOHM, 0, [() => HlsManifest, 0]];
2068
+ var __listOfMssManifest = [1, n0, _lOMM, 0, [() => MssManifest, 0]];
2069
+ var __listOfPackagingConfiguration = [1, n0, _lOPC, 0, [() => PackagingConfiguration, 0]];
2070
+ var __listOfPackagingGroup = [1, n0, _lOPG, 0, [() => PackagingGroup, 0]];
2071
+ var ConfigureLogs = [
2072
+ 9,
2073
+ n0,
2074
+ _CL,
2075
+ {
2076
+ [_h]: ["PUT", "/packaging_groups/{Id}/configure_logs", 200],
2077
+ },
2078
+ () => ConfigureLogsRequest,
2079
+ () => ConfigureLogsResponse,
2080
+ ];
2081
+ var CreateAsset = [
2082
+ 9,
2083
+ n0,
2084
+ _CAr,
2085
+ {
2086
+ [_h]: ["POST", "/assets", 200],
2087
+ },
2088
+ () => CreateAssetRequest,
2089
+ () => CreateAssetResponse,
2090
+ ];
2091
+ var CreatePackagingConfiguration = [
2092
+ 9,
2093
+ n0,
2094
+ _CPC,
2095
+ {
2096
+ [_h]: ["POST", "/packaging_configurations", 200],
2097
+ },
2098
+ () => CreatePackagingConfigurationRequest,
2099
+ () => CreatePackagingConfigurationResponse,
2100
+ ];
2101
+ var CreatePackagingGroup = [
2102
+ 9,
2103
+ n0,
2104
+ _CPG,
2105
+ {
2106
+ [_h]: ["POST", "/packaging_groups", 200],
2107
+ },
2108
+ () => CreatePackagingGroupRequest,
2109
+ () => CreatePackagingGroupResponse,
2110
+ ];
2111
+ var DeleteAsset = [
2112
+ 9,
2113
+ n0,
2114
+ _DA,
2115
+ {
2116
+ [_h]: ["DELETE", "/assets/{Id}", 202],
2117
+ },
2118
+ () => DeleteAssetRequest,
2119
+ () => DeleteAssetResponse,
2120
+ ];
2121
+ var DeletePackagingConfiguration = [
2122
+ 9,
2123
+ n0,
2124
+ _DPC,
2125
+ {
2126
+ [_h]: ["DELETE", "/packaging_configurations/{Id}", 202],
2127
+ },
2128
+ () => DeletePackagingConfigurationRequest,
2129
+ () => DeletePackagingConfigurationResponse,
2130
+ ];
2131
+ var DeletePackagingGroup = [
2132
+ 9,
2133
+ n0,
2134
+ _DPG,
2135
+ {
2136
+ [_h]: ["DELETE", "/packaging_groups/{Id}", 202],
2137
+ },
2138
+ () => DeletePackagingGroupRequest,
2139
+ () => DeletePackagingGroupResponse,
2140
+ ];
2141
+ var DescribeAsset = [
2142
+ 9,
2143
+ n0,
2144
+ _DAe,
2145
+ {
2146
+ [_h]: ["GET", "/assets/{Id}", 200],
2147
+ },
2148
+ () => DescribeAssetRequest,
2149
+ () => DescribeAssetResponse,
2150
+ ];
2151
+ var DescribePackagingConfiguration = [
2152
+ 9,
2153
+ n0,
2154
+ _DPCe,
2155
+ {
2156
+ [_h]: ["GET", "/packaging_configurations/{Id}", 200],
2157
+ },
2158
+ () => DescribePackagingConfigurationRequest,
2159
+ () => DescribePackagingConfigurationResponse,
2160
+ ];
2161
+ var DescribePackagingGroup = [
2162
+ 9,
2163
+ n0,
2164
+ _DPGe,
2165
+ {
2166
+ [_h]: ["GET", "/packaging_groups/{Id}", 200],
2167
+ },
2168
+ () => DescribePackagingGroupRequest,
2169
+ () => DescribePackagingGroupResponse,
2170
+ ];
2171
+ var ListAssets = [
2172
+ 9,
2173
+ n0,
2174
+ _LA,
2175
+ {
2176
+ [_h]: ["GET", "/assets", 200],
2177
+ },
2178
+ () => ListAssetsRequest,
2179
+ () => ListAssetsResponse,
2180
+ ];
2181
+ var ListPackagingConfigurations = [
2182
+ 9,
2183
+ n0,
2184
+ _LPC,
2185
+ {
2186
+ [_h]: ["GET", "/packaging_configurations", 200],
2187
+ },
2188
+ () => ListPackagingConfigurationsRequest,
2189
+ () => ListPackagingConfigurationsResponse,
2190
+ ];
2191
+ var ListPackagingGroups = [
2192
+ 9,
2193
+ n0,
2194
+ _LPG,
2195
+ {
2196
+ [_h]: ["GET", "/packaging_groups", 200],
2197
+ },
2198
+ () => ListPackagingGroupsRequest,
2199
+ () => ListPackagingGroupsResponse,
2200
+ ];
2201
+ var ListTagsForResource = [
2202
+ 9,
2203
+ n0,
2204
+ _LTFR,
2205
+ {
2206
+ [_h]: ["GET", "/tags/{ResourceArn}", 200],
2207
+ },
2208
+ () => ListTagsForResourceRequest,
2209
+ () => ListTagsForResourceResponse,
2210
+ ];
2211
+ var TagResource = [
2212
+ 9,
2213
+ n0,
2214
+ _TR,
2215
+ {
2216
+ [_h]: ["POST", "/tags/{ResourceArn}", 204],
2217
+ },
2218
+ () => TagResourceRequest,
2219
+ () => __Unit,
2220
+ ];
2221
+ var UntagResource = [
2222
+ 9,
2223
+ n0,
2224
+ _UR,
2225
+ {
2226
+ [_h]: ["DELETE", "/tags/{ResourceArn}", 204],
2227
+ },
2228
+ () => UntagResourceRequest,
2229
+ () => __Unit,
2230
+ ];
2231
+ var UpdatePackagingGroup = [
2232
+ 9,
2233
+ n0,
2234
+ _UPG,
2235
+ {
2236
+ [_h]: ["PUT", "/packaging_groups/{Id}", 200],
2237
+ },
2238
+ () => UpdatePackagingGroupRequest,
2239
+ () => UpdatePackagingGroupResponse,
2240
+ ];
1233
2241
 
1234
2242
  class ConfigureLogsCommand extends smithyClient.Command
1235
2243
  .classBuilder()
1236
2244
  .ep(commonParams)
1237
2245
  .m(function (Command, cs, config, o) {
1238
- return [
1239
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1240
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1241
- ];
2246
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1242
2247
  })
1243
2248
  .s("MediaPackageVod", "ConfigureLogs", {})
1244
2249
  .n("MediaPackageVodClient", "ConfigureLogsCommand")
1245
- .f(void 0, void 0)
1246
- .ser(se_ConfigureLogsCommand)
1247
- .de(de_ConfigureLogsCommand)
2250
+ .sc(ConfigureLogs)
1248
2251
  .build() {
1249
2252
  }
1250
2253
 
@@ -1252,16 +2255,11 @@ class CreateAssetCommand extends smithyClient.Command
1252
2255
  .classBuilder()
1253
2256
  .ep(commonParams)
1254
2257
  .m(function (Command, cs, config, o) {
1255
- return [
1256
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1257
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1258
- ];
2258
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1259
2259
  })
1260
2260
  .s("MediaPackageVod", "CreateAsset", {})
1261
2261
  .n("MediaPackageVodClient", "CreateAssetCommand")
1262
- .f(void 0, void 0)
1263
- .ser(se_CreateAssetCommand)
1264
- .de(de_CreateAssetCommand)
2262
+ .sc(CreateAsset)
1265
2263
  .build() {
1266
2264
  }
1267
2265
 
@@ -1269,16 +2267,11 @@ class CreatePackagingConfigurationCommand extends smithyClient.Command
1269
2267
  .classBuilder()
1270
2268
  .ep(commonParams)
1271
2269
  .m(function (Command, cs, config, o) {
1272
- return [
1273
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1274
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1275
- ];
2270
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1276
2271
  })
1277
2272
  .s("MediaPackageVod", "CreatePackagingConfiguration", {})
1278
2273
  .n("MediaPackageVodClient", "CreatePackagingConfigurationCommand")
1279
- .f(void 0, void 0)
1280
- .ser(se_CreatePackagingConfigurationCommand)
1281
- .de(de_CreatePackagingConfigurationCommand)
2274
+ .sc(CreatePackagingConfiguration)
1282
2275
  .build() {
1283
2276
  }
1284
2277
 
@@ -1286,16 +2279,11 @@ class CreatePackagingGroupCommand extends smithyClient.Command
1286
2279
  .classBuilder()
1287
2280
  .ep(commonParams)
1288
2281
  .m(function (Command, cs, config, o) {
1289
- return [
1290
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1291
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1292
- ];
2282
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1293
2283
  })
1294
2284
  .s("MediaPackageVod", "CreatePackagingGroup", {})
1295
2285
  .n("MediaPackageVodClient", "CreatePackagingGroupCommand")
1296
- .f(void 0, void 0)
1297
- .ser(se_CreatePackagingGroupCommand)
1298
- .de(de_CreatePackagingGroupCommand)
2286
+ .sc(CreatePackagingGroup)
1299
2287
  .build() {
1300
2288
  }
1301
2289
 
@@ -1303,16 +2291,11 @@ class DeleteAssetCommand extends smithyClient.Command
1303
2291
  .classBuilder()
1304
2292
  .ep(commonParams)
1305
2293
  .m(function (Command, cs, config, o) {
1306
- return [
1307
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1308
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1309
- ];
2294
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1310
2295
  })
1311
2296
  .s("MediaPackageVod", "DeleteAsset", {})
1312
2297
  .n("MediaPackageVodClient", "DeleteAssetCommand")
1313
- .f(void 0, void 0)
1314
- .ser(se_DeleteAssetCommand)
1315
- .de(de_DeleteAssetCommand)
2298
+ .sc(DeleteAsset)
1316
2299
  .build() {
1317
2300
  }
1318
2301
 
@@ -1320,16 +2303,11 @@ class DeletePackagingConfigurationCommand extends smithyClient.Command
1320
2303
  .classBuilder()
1321
2304
  .ep(commonParams)
1322
2305
  .m(function (Command, cs, config, o) {
1323
- return [
1324
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1325
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1326
- ];
2306
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1327
2307
  })
1328
2308
  .s("MediaPackageVod", "DeletePackagingConfiguration", {})
1329
2309
  .n("MediaPackageVodClient", "DeletePackagingConfigurationCommand")
1330
- .f(void 0, void 0)
1331
- .ser(se_DeletePackagingConfigurationCommand)
1332
- .de(de_DeletePackagingConfigurationCommand)
2310
+ .sc(DeletePackagingConfiguration)
1333
2311
  .build() {
1334
2312
  }
1335
2313
 
@@ -1337,16 +2315,11 @@ class DeletePackagingGroupCommand extends smithyClient.Command
1337
2315
  .classBuilder()
1338
2316
  .ep(commonParams)
1339
2317
  .m(function (Command, cs, config, o) {
1340
- return [
1341
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1342
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1343
- ];
2318
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1344
2319
  })
1345
2320
  .s("MediaPackageVod", "DeletePackagingGroup", {})
1346
2321
  .n("MediaPackageVodClient", "DeletePackagingGroupCommand")
1347
- .f(void 0, void 0)
1348
- .ser(se_DeletePackagingGroupCommand)
1349
- .de(de_DeletePackagingGroupCommand)
2322
+ .sc(DeletePackagingGroup)
1350
2323
  .build() {
1351
2324
  }
1352
2325
 
@@ -1354,16 +2327,11 @@ class DescribeAssetCommand extends smithyClient.Command
1354
2327
  .classBuilder()
1355
2328
  .ep(commonParams)
1356
2329
  .m(function (Command, cs, config, o) {
1357
- return [
1358
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1359
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1360
- ];
2330
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1361
2331
  })
1362
2332
  .s("MediaPackageVod", "DescribeAsset", {})
1363
2333
  .n("MediaPackageVodClient", "DescribeAssetCommand")
1364
- .f(void 0, void 0)
1365
- .ser(se_DescribeAssetCommand)
1366
- .de(de_DescribeAssetCommand)
2334
+ .sc(DescribeAsset)
1367
2335
  .build() {
1368
2336
  }
1369
2337
 
@@ -1371,16 +2339,11 @@ class DescribePackagingConfigurationCommand extends smithyClient.Command
1371
2339
  .classBuilder()
1372
2340
  .ep(commonParams)
1373
2341
  .m(function (Command, cs, config, o) {
1374
- return [
1375
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1376
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1377
- ];
2342
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1378
2343
  })
1379
2344
  .s("MediaPackageVod", "DescribePackagingConfiguration", {})
1380
2345
  .n("MediaPackageVodClient", "DescribePackagingConfigurationCommand")
1381
- .f(void 0, void 0)
1382
- .ser(se_DescribePackagingConfigurationCommand)
1383
- .de(de_DescribePackagingConfigurationCommand)
2346
+ .sc(DescribePackagingConfiguration)
1384
2347
  .build() {
1385
2348
  }
1386
2349
 
@@ -1388,16 +2351,11 @@ class DescribePackagingGroupCommand extends smithyClient.Command
1388
2351
  .classBuilder()
1389
2352
  .ep(commonParams)
1390
2353
  .m(function (Command, cs, config, o) {
1391
- return [
1392
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1393
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1394
- ];
2354
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1395
2355
  })
1396
2356
  .s("MediaPackageVod", "DescribePackagingGroup", {})
1397
2357
  .n("MediaPackageVodClient", "DescribePackagingGroupCommand")
1398
- .f(void 0, void 0)
1399
- .ser(se_DescribePackagingGroupCommand)
1400
- .de(de_DescribePackagingGroupCommand)
2358
+ .sc(DescribePackagingGroup)
1401
2359
  .build() {
1402
2360
  }
1403
2361
 
@@ -1405,16 +2363,11 @@ class ListAssetsCommand extends smithyClient.Command
1405
2363
  .classBuilder()
1406
2364
  .ep(commonParams)
1407
2365
  .m(function (Command, cs, config, o) {
1408
- return [
1409
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1410
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1411
- ];
2366
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1412
2367
  })
1413
2368
  .s("MediaPackageVod", "ListAssets", {})
1414
2369
  .n("MediaPackageVodClient", "ListAssetsCommand")
1415
- .f(void 0, void 0)
1416
- .ser(se_ListAssetsCommand)
1417
- .de(de_ListAssetsCommand)
2370
+ .sc(ListAssets)
1418
2371
  .build() {
1419
2372
  }
1420
2373
 
@@ -1422,16 +2375,11 @@ class ListPackagingConfigurationsCommand extends smithyClient.Command
1422
2375
  .classBuilder()
1423
2376
  .ep(commonParams)
1424
2377
  .m(function (Command, cs, config, o) {
1425
- return [
1426
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1427
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1428
- ];
2378
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1429
2379
  })
1430
2380
  .s("MediaPackageVod", "ListPackagingConfigurations", {})
1431
2381
  .n("MediaPackageVodClient", "ListPackagingConfigurationsCommand")
1432
- .f(void 0, void 0)
1433
- .ser(se_ListPackagingConfigurationsCommand)
1434
- .de(de_ListPackagingConfigurationsCommand)
2382
+ .sc(ListPackagingConfigurations)
1435
2383
  .build() {
1436
2384
  }
1437
2385
 
@@ -1439,16 +2387,11 @@ class ListPackagingGroupsCommand extends smithyClient.Command
1439
2387
  .classBuilder()
1440
2388
  .ep(commonParams)
1441
2389
  .m(function (Command, cs, config, o) {
1442
- return [
1443
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1444
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1445
- ];
2390
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1446
2391
  })
1447
2392
  .s("MediaPackageVod", "ListPackagingGroups", {})
1448
2393
  .n("MediaPackageVodClient", "ListPackagingGroupsCommand")
1449
- .f(void 0, void 0)
1450
- .ser(se_ListPackagingGroupsCommand)
1451
- .de(de_ListPackagingGroupsCommand)
2394
+ .sc(ListPackagingGroups)
1452
2395
  .build() {
1453
2396
  }
1454
2397
 
@@ -1456,16 +2399,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1456
2399
  .classBuilder()
1457
2400
  .ep(commonParams)
1458
2401
  .m(function (Command, cs, config, o) {
1459
- return [
1460
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1461
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1462
- ];
2402
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
2403
  })
1464
2404
  .s("MediaPackageVod", "ListTagsForResource", {})
1465
2405
  .n("MediaPackageVodClient", "ListTagsForResourceCommand")
1466
- .f(void 0, void 0)
1467
- .ser(se_ListTagsForResourceCommand)
1468
- .de(de_ListTagsForResourceCommand)
2406
+ .sc(ListTagsForResource)
1469
2407
  .build() {
1470
2408
  }
1471
2409
 
@@ -1473,16 +2411,11 @@ class TagResourceCommand extends smithyClient.Command
1473
2411
  .classBuilder()
1474
2412
  .ep(commonParams)
1475
2413
  .m(function (Command, cs, config, o) {
1476
- return [
1477
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1478
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1479
- ];
2414
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1480
2415
  })
1481
2416
  .s("MediaPackageVod", "TagResource", {})
1482
2417
  .n("MediaPackageVodClient", "TagResourceCommand")
1483
- .f(void 0, void 0)
1484
- .ser(se_TagResourceCommand)
1485
- .de(de_TagResourceCommand)
2418
+ .sc(TagResource)
1486
2419
  .build() {
1487
2420
  }
1488
2421
 
@@ -1490,16 +2423,11 @@ class UntagResourceCommand extends smithyClient.Command
1490
2423
  .classBuilder()
1491
2424
  .ep(commonParams)
1492
2425
  .m(function (Command, cs, config, o) {
1493
- return [
1494
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1495
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1496
- ];
2426
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
2427
  })
1498
2428
  .s("MediaPackageVod", "UntagResource", {})
1499
2429
  .n("MediaPackageVodClient", "UntagResourceCommand")
1500
- .f(void 0, void 0)
1501
- .ser(se_UntagResourceCommand)
1502
- .de(de_UntagResourceCommand)
2430
+ .sc(UntagResource)
1503
2431
  .build() {
1504
2432
  }
1505
2433
 
@@ -1507,16 +2435,11 @@ class UpdatePackagingGroupCommand extends smithyClient.Command
1507
2435
  .classBuilder()
1508
2436
  .ep(commonParams)
1509
2437
  .m(function (Command, cs, config, o) {
1510
- return [
1511
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1512
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1513
- ];
2438
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
2439
  })
1515
2440
  .s("MediaPackageVod", "UpdatePackagingGroup", {})
1516
2441
  .n("MediaPackageVodClient", "UpdatePackagingGroupCommand")
1517
- .f(void 0, void 0)
1518
- .ser(se_UpdatePackagingGroupCommand)
1519
- .de(de_UpdatePackagingGroupCommand)
2442
+ .sc(UpdatePackagingGroup)
1520
2443
  .build() {
1521
2444
  }
1522
2445
 
@@ -1569,8 +2492,8 @@ exports.DescribeAssetCommand = DescribeAssetCommand;
1569
2492
  exports.DescribePackagingConfigurationCommand = DescribePackagingConfigurationCommand;
1570
2493
  exports.DescribePackagingGroupCommand = DescribePackagingGroupCommand;
1571
2494
  exports.EncryptionMethod = EncryptionMethod;
1572
- exports.ForbiddenException = ForbiddenException;
1573
- exports.InternalServerErrorException = InternalServerErrorException;
2495
+ exports.ForbiddenException = ForbiddenException$1;
2496
+ exports.InternalServerErrorException = InternalServerErrorException$1;
1574
2497
  exports.ListAssetsCommand = ListAssetsCommand;
1575
2498
  exports.ListPackagingConfigurationsCommand = ListPackagingConfigurationsCommand;
1576
2499
  exports.ListPackagingGroupsCommand = ListPackagingGroupsCommand;
@@ -1578,18 +2501,18 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1578
2501
  exports.ManifestLayout = ManifestLayout;
1579
2502
  exports.MediaPackageVod = MediaPackageVod;
1580
2503
  exports.MediaPackageVodClient = MediaPackageVodClient;
1581
- exports.MediaPackageVodServiceException = MediaPackageVodServiceException;
1582
- exports.NotFoundException = NotFoundException;
2504
+ exports.MediaPackageVodServiceException = MediaPackageVodServiceException$1;
2505
+ exports.NotFoundException = NotFoundException$1;
1583
2506
  exports.PresetSpeke20Audio = PresetSpeke20Audio;
1584
2507
  exports.PresetSpeke20Video = PresetSpeke20Video;
1585
2508
  exports.Profile = Profile;
1586
2509
  exports.ScteMarkersSource = ScteMarkersSource;
1587
2510
  exports.SegmentTemplateFormat = SegmentTemplateFormat;
1588
- exports.ServiceUnavailableException = ServiceUnavailableException;
2511
+ exports.ServiceUnavailableException = ServiceUnavailableException$1;
1589
2512
  exports.StreamOrder = StreamOrder;
1590
2513
  exports.TagResourceCommand = TagResourceCommand;
1591
- exports.TooManyRequestsException = TooManyRequestsException;
1592
- exports.UnprocessableEntityException = UnprocessableEntityException;
2514
+ exports.TooManyRequestsException = TooManyRequestsException$1;
2515
+ exports.UnprocessableEntityException = UnprocessableEntityException$1;
1593
2516
  exports.UntagResourceCommand = UntagResourceCommand;
1594
2517
  exports.UpdatePackagingGroupCommand = UpdatePackagingGroupCommand;
1595
2518
  exports.__PeriodTriggersElement = __PeriodTriggersElement;