@aws-sdk/client-mediapackagev2 3.596.0 → 3.598.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 (30) hide show
  1. package/dist-cjs/index.js +27 -0
  2. package/dist-es/models/models_0.js +12 -0
  3. package/dist-es/protocols/Aws_restJson1.js +11 -0
  4. package/dist-types/commands/CreateChannelCommand.d.ts +46 -0
  5. package/dist-types/commands/CreateChannelGroupCommand.d.ts +31 -0
  6. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +482 -0
  7. package/dist-types/commands/DeleteChannelCommand.d.ts +12 -0
  8. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +11 -0
  9. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +12 -0
  10. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +13 -0
  11. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +13 -0
  12. package/dist-types/commands/GetChannelCommand.d.ts +39 -0
  13. package/dist-types/commands/GetChannelGroupCommand.d.ts +26 -0
  14. package/dist-types/commands/GetChannelPolicyCommand.d.ts +19 -0
  15. package/dist-types/commands/GetOriginEndpointCommand.d.ts +124 -4
  16. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +21 -0
  17. package/dist-types/commands/ListChannelGroupsCommand.d.ts +28 -0
  18. package/dist-types/commands/ListChannelsCommand.d.ts +33 -0
  19. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +116 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +19 -0
  21. package/dist-types/commands/PutChannelPolicyCommand.d.ts +13 -0
  22. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +14 -0
  23. package/dist-types/commands/TagResourceCommand.d.ts +15 -0
  24. package/dist-types/commands/UntagResourceCommand.d.ts +15 -0
  25. package/dist-types/commands/UpdateChannelCommand.d.ts +40 -0
  26. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +27 -0
  27. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +206 -0
  28. package/dist-types/models/models_0.d.ts +172 -5
  29. package/dist-types/ts3.4/models/models_0.d.ts +30 -1
  30. package/package.json +37 -37
@@ -135,6 +135,11 @@ declare const CreateOriginEndpointCommand_base: {
135
135
  * },
136
136
  * },
137
137
  * ],
138
+ * ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
139
+ * EndpointErrorConditions: [ // EndpointErrorConditions
140
+ * "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
141
+ * ],
142
+ * },
138
143
  * Tags: { // TagMap
139
144
  * "<keys>": "STRING_VALUE",
140
145
  * },
@@ -247,6 +252,11 @@ declare const CreateOriginEndpointCommand_base: {
247
252
  * // },
248
253
  * // },
249
254
  * // ],
255
+ * // ForceEndpointErrorConfiguration: { // ForceEndpointErrorConfiguration
256
+ * // EndpointErrorConditions: [ // EndpointErrorConditions
257
+ * // "STALE_MANIFEST" || "INCOMPLETE_MANIFEST" || "MISSING_DRM_KEY" || "SLATE_INPUT",
258
+ * // ],
259
+ * // },
250
260
  * // ETag: "STRING_VALUE",
251
261
  * // Tags: { // TagMap
252
262
  * // "<keys>": "STRING_VALUE",
@@ -286,6 +296,478 @@ declare const CreateOriginEndpointCommand_base: {
286
296
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
287
297
  *
288
298
  * @public
299
+ * @example Creating an OriginEndpoint with container type TS, and encryption enabled
300
+ * ```javascript
301
+ * //
302
+ * const input = {
303
+ * "ChannelGroupName": "exampleChannelGroup",
304
+ * "ChannelName": "exampleChannel",
305
+ * "ContainerType": "TS",
306
+ * "Description": "Description for exampleOriginEndpointTS",
307
+ * "ForceEndpointErrorConfiguration": {
308
+ * "EndpointErrorConditions": [
309
+ * "STALE_MANIFEST",
310
+ * "INCOMPLETE_MANIFEST",
311
+ * "MISSING_DRM_KEY",
312
+ * "SLATE_INPUT"
313
+ * ]
314
+ * },
315
+ * "HlsManifests": [
316
+ * {
317
+ * "ChildManifestName": "exampleChildManifest1",
318
+ * "ManifestName": "exampleManifest1",
319
+ * "ManifestWindowSeconds": 30,
320
+ * "ProgramDateTimeIntervalSeconds": 60,
321
+ * "ScteHls": {
322
+ * "AdMarkerHls": "DATERANGE"
323
+ * }
324
+ * },
325
+ * {
326
+ * "ChildManifestName": "exampleManifest2",
327
+ * "ManifestName": "exampleManifest2",
328
+ * "ManifestWindowSeconds": 30,
329
+ * "ProgramDateTimeIntervalSeconds": 60,
330
+ * "ScteHls": {
331
+ * "AdMarkerHls": "DATERANGE"
332
+ * }
333
+ * }
334
+ * ],
335
+ * "LowLatencyHlsManifests": [
336
+ * {
337
+ * "ChildManifestName": "exampleLLChildManifest1",
338
+ * "ManifestName": "exampleLLManifest1",
339
+ * "ManifestWindowSeconds": 30,
340
+ * "ProgramDateTimeIntervalSeconds": 60,
341
+ * "ScteHls": {
342
+ * "AdMarkerHls": "DATERANGE"
343
+ * }
344
+ * },
345
+ * {
346
+ * "ChildManifestName": "exampleLLManifest2",
347
+ * "ManifestName": "exampleLLManifest2",
348
+ * "ManifestWindowSeconds": 30,
349
+ * "ProgramDateTimeIntervalSeconds": 60,
350
+ * "ScteHls": {
351
+ * "AdMarkerHls": "DATERANGE"
352
+ * }
353
+ * }
354
+ * ],
355
+ * "OriginEndpointName": "exampleOriginEndpointTS",
356
+ * "Segment": {
357
+ * "Encryption": {
358
+ * "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E",
359
+ * "EncryptionMethod": {
360
+ * "TsEncryptionMethod": "AES_128"
361
+ * },
362
+ * "KeyRotationIntervalSeconds": 300,
363
+ * "SpekeKeyProvider": {
364
+ * "DrmSystems": [
365
+ * "CLEAR_KEY_AES_128"
366
+ * ],
367
+ * "EncryptionContractConfiguration": {
368
+ * "PresetSpeke20Audio": "SHARED",
369
+ * "PresetSpeke20Video": "SHARED"
370
+ * },
371
+ * "ResourceId": "ResourceId",
372
+ * "RoleArn": "arn:aws:iam::123456789012:role/empRole",
373
+ * "Url": "https://foo.com"
374
+ * }
375
+ * },
376
+ * "IncludeIframeOnlyStreams": true,
377
+ * "Scte": {
378
+ * "ScteFilter": [
379
+ * "SPLICE_INSERT",
380
+ * "BREAK"
381
+ * ]
382
+ * },
383
+ * "SegmentDurationSeconds": 6,
384
+ * "SegmentName": "segmentName",
385
+ * "TsIncludeDvbSubtitles": true,
386
+ * "TsUseAudioRenditionGroup": true
387
+ * },
388
+ * "StartoverWindowSeconds": 300,
389
+ * "Tags": {
390
+ * "key1": "value1",
391
+ * "key2": "value2"
392
+ * }
393
+ * };
394
+ * const command = new CreateOriginEndpointCommand(input);
395
+ * const response = await client.send(command);
396
+ * /* response ==
397
+ * {
398
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
399
+ * "ChannelGroupName": "exampleChannelGroup",
400
+ * "ChannelName": "exampleChannel",
401
+ * "ContainerType": "TS",
402
+ * "CreatedAt": "2022-10-18T09:36:00.00Z",
403
+ * "Description": "Description for exampleOriginEndpointTS",
404
+ * "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
405
+ * "ForceEndpointErrorConfiguration": {
406
+ * "EndpointErrorConditions": [
407
+ * "STALE_MANIFEST",
408
+ * "INCOMPLETE_MANIFEST",
409
+ * "MISSING_DRM_KEY",
410
+ * "SLATE_INPUT"
411
+ * ]
412
+ * },
413
+ * "HlsManifests": [
414
+ * {
415
+ * "ChildManifestName": "exampleChildManifest1",
416
+ * "ManifestName": "exampleManifest1",
417
+ * "ManifestWindowSeconds": 30,
418
+ * "ProgramDateTimeIntervalSeconds": 60,
419
+ * "ScteHls": {
420
+ * "AdMarkerHls": "DATERANGE"
421
+ * },
422
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8"
423
+ * },
424
+ * {
425
+ * "ChildManifestName": "exampleManifest2",
426
+ * "ManifestName": "exampleManifest2",
427
+ * "ManifestWindowSeconds": 30,
428
+ * "ProgramDateTimeIntervalSeconds": 60,
429
+ * "ScteHls": {
430
+ * "AdMarkerHls": "DATERANGE"
431
+ * },
432
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8"
433
+ * }
434
+ * ],
435
+ * "LowLatencyHlsManifests": [
436
+ * {
437
+ * "ChildManifestName": "exampleLLChildManifest1",
438
+ * "ManifestName": "exampleLLManifest1",
439
+ * "ManifestWindowSeconds": 30,
440
+ * "ProgramDateTimeIntervalSeconds": 60,
441
+ * "ScteHls": {
442
+ * "AdMarkerHls": "DATERANGE"
443
+ * },
444
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8"
445
+ * },
446
+ * {
447
+ * "ChildManifestName": "exampleLLManifest2",
448
+ * "ManifestName": "exampleLLManifest2",
449
+ * "ManifestWindowSeconds": 30,
450
+ * "ProgramDateTimeIntervalSeconds": 60,
451
+ * "ScteHls": {
452
+ * "AdMarkerHls": "DATERANGE"
453
+ * },
454
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8"
455
+ * }
456
+ * ],
457
+ * "ModifiedAt": "2022-10-18T09:36:00.00Z",
458
+ * "OriginEndpointName": "exampleOriginEndpointTS",
459
+ * "Segment": {
460
+ * "Encryption": {
461
+ * "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B7E",
462
+ * "EncryptionMethod": {
463
+ * "TsEncryptionMethod": "AES_128"
464
+ * },
465
+ * "KeyRotationIntervalSeconds": 300,
466
+ * "SpekeKeyProvider": {
467
+ * "DrmSystems": [
468
+ * "CLEAR_KEY_AES_128"
469
+ * ],
470
+ * "EncryptionContractConfiguration": {
471
+ * "PresetSpeke20Audio": "SHARED",
472
+ * "PresetSpeke20Video": "SHARED"
473
+ * },
474
+ * "ResourceId": "ResourceId",
475
+ * "RoleArn": "arn:aws:iam::123456789012:role/empRole",
476
+ * "Url": "https://foo.com"
477
+ * }
478
+ * },
479
+ * "IncludeIframeOnlyStreams": true,
480
+ * "Scte": {
481
+ * "ScteFilter": [
482
+ * "SPLICE_INSERT",
483
+ * "BREAK"
484
+ * ]
485
+ * },
486
+ * "SegmentDurationSeconds": 6,
487
+ * "SegmentName": "segmentName",
488
+ * "TsIncludeDvbSubtitles": true,
489
+ * "TsUseAudioRenditionGroup": true
490
+ * },
491
+ * "StartoverWindowSeconds": 300,
492
+ * "Tags": {
493
+ * "key1": "value1",
494
+ * "key2": "value2"
495
+ * }
496
+ * }
497
+ * *\/
498
+ * // example id: example-1
499
+ * ```
500
+ *
501
+ * @example Creating an OriginEndpoint with container type CMAF, and encryption enabled
502
+ * ```javascript
503
+ * //
504
+ * const input = {
505
+ * "ChannelGroupName": "exampleChannelGroup",
506
+ * "ChannelName": "exampleChannel",
507
+ * "ContainerType": "CMAF",
508
+ * "DashManifests": [
509
+ * {
510
+ * "DrmSignaling": "INDIVIDUAL",
511
+ * "ManifestName": "exampleDashManifest1",
512
+ * "ManifestWindowSeconds": 300,
513
+ * "MinBufferTimeSeconds": 30,
514
+ * "MinUpdatePeriodSeconds": 5,
515
+ * "PeriodTriggers": [
516
+ * "AVAILS"
517
+ * ],
518
+ * "ScteDash": {
519
+ * "AdMarkerDash": "XML"
520
+ * },
521
+ * "SegmentTemplateFormat": "NUMBER_WITH_TIMELINE",
522
+ * "SuggestedPresentationDelaySeconds": 2
523
+ * },
524
+ * {
525
+ * "DrmSignaling": "INDIVIDUAL",
526
+ * "ManifestName": "exampleDashManifest2",
527
+ * "ManifestWindowSeconds": 60,
528
+ * "MinBufferTimeSeconds": 9,
529
+ * "MinUpdatePeriodSeconds": 3,
530
+ * "PeriodTriggers": [
531
+ * "AVAILS",
532
+ * "DRM_KEY_ROTATION",
533
+ * "SOURCE_CHANGES",
534
+ * "SOURCE_DISRUPTIONS"
535
+ * ],
536
+ * "ScteDash": {
537
+ * "AdMarkerDash": "XML"
538
+ * },
539
+ * "SegmentTemplateFormat": "NUMBER_WITH_TIMELINE",
540
+ * "SuggestedPresentationDelaySeconds": 12
541
+ * }
542
+ * ],
543
+ * "ForceEndpointErrorConfiguration": {
544
+ * "EndpointErrorConditions": [
545
+ * "STALE_MANIFEST",
546
+ * "INCOMPLETE_MANIFEST",
547
+ * "MISSING_DRM_KEY",
548
+ * "SLATE_INPUT"
549
+ * ]
550
+ * },
551
+ * "HlsManifests": [
552
+ * {
553
+ * "ChildManifestName": "exampleChildManifest1",
554
+ * "ManifestName": "exampleManifest1",
555
+ * "ManifestWindowSeconds": 30,
556
+ * "ProgramDateTimeIntervalSeconds": 60,
557
+ * "ScteHls": {
558
+ * "AdMarkerHls": "DATERANGE"
559
+ * }
560
+ * },
561
+ * {
562
+ * "ChildManifestName": "exampleManifest2",
563
+ * "ManifestName": "exampleManifest2",
564
+ * "ManifestWindowSeconds": 30,
565
+ * "ProgramDateTimeIntervalSeconds": 60,
566
+ * "ScteHls": {
567
+ * "AdMarkerHls": "DATERANGE"
568
+ * }
569
+ * }
570
+ * ],
571
+ * "LowLatencyHlsManifests": [
572
+ * {
573
+ * "ChildManifestName": "exampleLLChildManifest1",
574
+ * "ManifestName": "exampleLLManifest1",
575
+ * "ManifestWindowSeconds": 30,
576
+ * "ProgramDateTimeIntervalSeconds": 60,
577
+ * "ScteHls": {
578
+ * "AdMarkerHls": "DATERANGE"
579
+ * }
580
+ * },
581
+ * {
582
+ * "ChildManifestName": "exampleLLManifest2",
583
+ * "ManifestName": "exampleLLManifest2",
584
+ * "ManifestWindowSeconds": 30,
585
+ * "ProgramDateTimeIntervalSeconds": 60,
586
+ * "ScteHls": {
587
+ * "AdMarkerHls": "DATERANGE"
588
+ * }
589
+ * }
590
+ * ],
591
+ * "OriginEndpointName": "exampleOriginEndpointCMAF",
592
+ * "Segment": {
593
+ * "Encryption": {
594
+ * "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B9F",
595
+ * "EncryptionMethod": {
596
+ * "CmafEncryptionMethod": "CBCS"
597
+ * },
598
+ * "KeyRotationIntervalSeconds": 300,
599
+ * "SpekeKeyProvider": {
600
+ * "DrmSystems": [
601
+ * "PLAYREADY",
602
+ * "WIDEVINE"
603
+ * ],
604
+ * "EncryptionContractConfiguration": {
605
+ * "PresetSpeke20Audio": "PRESET_AUDIO_1",
606
+ * "PresetSpeke20Video": "PRESET_VIDEO_1"
607
+ * },
608
+ * "ResourceId": "ResourceId",
609
+ * "RoleArn": "arn:aws:iam::123456789012:role/empRole",
610
+ * "Url": "https://foo.com"
611
+ * }
612
+ * },
613
+ * "IncludeIframeOnlyStreams": true,
614
+ * "Scte": {
615
+ * "ScteFilter": [
616
+ * "SPLICE_INSERT",
617
+ * "BREAK"
618
+ * ]
619
+ * },
620
+ * "SegmentDurationSeconds": 6,
621
+ * "SegmentName": "segmentName"
622
+ * },
623
+ * "StartoverWindowSeconds": 300,
624
+ * "Tags": {
625
+ * "key1": "value1",
626
+ * "key2": "value2"
627
+ * }
628
+ * };
629
+ * const command = new CreateOriginEndpointCommand(input);
630
+ * const response = await client.send(command);
631
+ * /* response ==
632
+ * {
633
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointCMAF",
634
+ * "ChannelGroupName": "exampleChannelGroup",
635
+ * "ChannelName": "exampleChannel",
636
+ * "ContainerType": "CMAF",
637
+ * "CreatedAt": "2022-10-18T09:36:00.00Z",
638
+ * "DashManifests": [
639
+ * {
640
+ * "DrmSignaling": "INDIVIDUAL",
641
+ * "ManifestName": "exampleDashManifest1",
642
+ * "ManifestWindowSeconds": 300,
643
+ * "MinBufferTimeSeconds": 30,
644
+ * "MinUpdatePeriodSeconds": 5,
645
+ * "PeriodTriggers": [
646
+ * "AVAILS"
647
+ * ],
648
+ * "ScteDash": {
649
+ * "AdMarkerDash": "XML"
650
+ * },
651
+ * "SegmentTemplateFormat": "NUMBER_WITH_TIMELINE",
652
+ * "SuggestedPresentationDelaySeconds": 2,
653
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd"
654
+ * },
655
+ * {
656
+ * "DrmSignaling": "INDIVIDUAL",
657
+ * "ManifestName": "exampleDashManifest2",
658
+ * "ManifestWindowSeconds": 60,
659
+ * "MinBufferTimeSeconds": 9,
660
+ * "MinUpdatePeriodSeconds": 3,
661
+ * "PeriodTriggers": [
662
+ * "AVAILS",
663
+ * "DRM_KEY_ROTATION",
664
+ * "SOURCE_CHANGES",
665
+ * "SOURCE_DISRUPTIONS"
666
+ * ],
667
+ * "ScteDash": {
668
+ * "AdMarkerDash": "XML"
669
+ * },
670
+ * "SegmentTemplateFormat": "NUMBER_WITH_TIMELINE",
671
+ * "SuggestedPresentationDelaySeconds": 12,
672
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd"
673
+ * }
674
+ * ],
675
+ * "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
676
+ * "ForceEndpointErrorConfiguration": {
677
+ * "EndpointErrorConditions": [
678
+ * "STALE_MANIFEST",
679
+ * "INCOMPLETE_MANIFEST",
680
+ * "MISSING_DRM_KEY",
681
+ * "SLATE_INPUT"
682
+ * ]
683
+ * },
684
+ * "HlsManifests": [
685
+ * {
686
+ * "ChildManifestName": "exampleChildManifest1",
687
+ * "ManifestName": "exampleManifest1",
688
+ * "ManifestWindowSeconds": 30,
689
+ * "ProgramDateTimeIntervalSeconds": 60,
690
+ * "ScteHls": {
691
+ * "AdMarkerHls": "DATERANGE"
692
+ * },
693
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest1.m3u8"
694
+ * },
695
+ * {
696
+ * "ChildManifestName": "exampleManifest2",
697
+ * "ManifestName": "exampleManifest2",
698
+ * "ManifestWindowSeconds": 30,
699
+ * "ProgramDateTimeIntervalSeconds": 60,
700
+ * "ScteHls": {
701
+ * "AdMarkerHls": "DATERANGE"
702
+ * },
703
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest2.m3u8"
704
+ * }
705
+ * ],
706
+ * "LowLatencyHlsManifests": [
707
+ * {
708
+ * "ChildManifestName": "exampleLLChildManifest1",
709
+ * "ManifestName": "exampleLLManifest1",
710
+ * "ManifestWindowSeconds": 30,
711
+ * "ProgramDateTimeIntervalSeconds": 60,
712
+ * "ScteHls": {
713
+ * "AdMarkerHls": "DATERANGE"
714
+ * },
715
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest1.m3u8"
716
+ * },
717
+ * {
718
+ * "ChildManifestName": "exampleLLManifest2",
719
+ * "ManifestName": "exampleLLManifest2",
720
+ * "ManifestWindowSeconds": 30,
721
+ * "ProgramDateTimeIntervalSeconds": 60,
722
+ * "ScteHls": {
723
+ * "AdMarkerHls": "DATERANGE"
724
+ * },
725
+ * "Url": "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest2.m3u8"
726
+ * }
727
+ * ],
728
+ * "ModifiedAt": "2022-10-18T09:36:00.00Z",
729
+ * "OriginEndpointName": "exampleOriginEndpointCMAF",
730
+ * "Segment": {
731
+ * "Encryption": {
732
+ * "ConstantInitializationVector": "A382A901F3C1F7718512266CFFBB0B9F",
733
+ * "EncryptionMethod": {
734
+ * "CmafEncryptionMethod": "CBCS"
735
+ * },
736
+ * "KeyRotationIntervalSeconds": 300,
737
+ * "SpekeKeyProvider": {
738
+ * "DrmSystems": [
739
+ * "PLAYREADY",
740
+ * "WIDEVINE"
741
+ * ],
742
+ * "EncryptionContractConfiguration": {
743
+ * "PresetSpeke20Audio": "PRESET_AUDIO_1",
744
+ * "PresetSpeke20Video": "PRESET_VIDEO_1"
745
+ * },
746
+ * "ResourceId": "ResourceId",
747
+ * "RoleArn": "arn:aws:iam::123456789012:role/empRole",
748
+ * "Url": "https://foo.com"
749
+ * }
750
+ * },
751
+ * "IncludeIframeOnlyStreams": true,
752
+ * "Scte": {
753
+ * "ScteFilter": [
754
+ * "SPLICE_INSERT",
755
+ * "BREAK"
756
+ * ]
757
+ * },
758
+ * "SegmentDurationSeconds": 6,
759
+ * "SegmentName": "segmentName"
760
+ * },
761
+ * "StartoverWindowSeconds": 300,
762
+ * "Tags": {
763
+ * "key1": "value1",
764
+ * "key2": "value2"
765
+ * }
766
+ * }
767
+ * *\/
768
+ * // example id: example-2
769
+ * ```
770
+ *
289
771
  */
290
772
  export declare class CreateOriginEndpointCommand extends CreateOriginEndpointCommand_base {
291
773
  }
@@ -69,6 +69,18 @@ declare const DeleteChannelCommand_base: {
69
69
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
70
70
  *
71
71
  * @public
72
+ * @example Deleting a Channel
73
+ * ```javascript
74
+ * //
75
+ * const input = {
76
+ * "ChannelGroupName": "exampleChannelGroup",
77
+ * "ChannelName": "exampleChannel"
78
+ * };
79
+ * const command = new DeleteChannelCommand(input);
80
+ * await client.send(command);
81
+ * // example id: example-1
82
+ * ```
83
+ *
72
84
  */
73
85
  export declare class DeleteChannelCommand extends DeleteChannelCommand_base {
74
86
  }
@@ -68,6 +68,17 @@ declare const DeleteChannelGroupCommand_base: {
68
68
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
69
69
  *
70
70
  * @public
71
+ * @example Deleting a Channel Group
72
+ * ```javascript
73
+ * //
74
+ * const input = {
75
+ * "ChannelGroupName": "exampleChannelGroup"
76
+ * };
77
+ * const command = new DeleteChannelGroupCommand(input);
78
+ * await client.send(command);
79
+ * // example id: example-1
80
+ * ```
81
+ *
71
82
  */
72
83
  export declare class DeleteChannelGroupCommand extends DeleteChannelGroupCommand_base {
73
84
  }
@@ -69,6 +69,18 @@ declare const DeleteChannelPolicyCommand_base: {
69
69
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
70
70
  *
71
71
  * @public
72
+ * @example Deleting a Channel Policy
73
+ * ```javascript
74
+ * //
75
+ * const input = {
76
+ * "ChannelGroupName": "exampleChannelGroup",
77
+ * "ChannelName": "exampleChannel"
78
+ * };
79
+ * const command = new DeleteChannelPolicyCommand(input);
80
+ * await client.send(command);
81
+ * // example id: example-1
82
+ * ```
83
+ *
72
84
  */
73
85
  export declare class DeleteChannelPolicyCommand extends DeleteChannelPolicyCommand_base {
74
86
  }
@@ -67,6 +67,19 @@ declare const DeleteOriginEndpointCommand_base: {
67
67
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
68
68
  *
69
69
  * @public
70
+ * @example Deleting an OriginEndpoint
71
+ * ```javascript
72
+ * //
73
+ * const input = {
74
+ * "ChannelGroupName": "exampleChannelGroup",
75
+ * "ChannelName": "exampleChannel",
76
+ * "OriginEndpointName": "exampleOriginEndpointTS"
77
+ * };
78
+ * const command = new DeleteOriginEndpointCommand(input);
79
+ * await client.send(command);
80
+ * // example id: example-1
81
+ * ```
82
+ *
70
83
  */
71
84
  export declare class DeleteOriginEndpointCommand extends DeleteOriginEndpointCommand_base {
72
85
  }
@@ -70,6 +70,19 @@ declare const DeleteOriginEndpointPolicyCommand_base: {
70
70
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
71
71
  *
72
72
  * @public
73
+ * @example Deleting an Origin Endpoint Policy
74
+ * ```javascript
75
+ * //
76
+ * const input = {
77
+ * "ChannelGroupName": "exampleChannelGroup",
78
+ * "ChannelName": "exampleChannel",
79
+ * "OriginEndpointName": "exampleOriginEndpoint"
80
+ * };
81
+ * const command = new DeleteOriginEndpointPolicyCommand(input);
82
+ * await client.send(command);
83
+ * // example id: example-1
84
+ * ```
85
+ *
73
86
  */
74
87
  export declare class DeleteOriginEndpointPolicyCommand extends DeleteOriginEndpointPolicyCommand_base {
75
88
  }
@@ -53,6 +53,7 @@ declare const GetChannelCommand_base: {
53
53
  * // Url: "STRING_VALUE",
54
54
  * // },
55
55
  * // ],
56
+ * // InputType: "HLS" || "CMAF",
56
57
  * // ETag: "STRING_VALUE",
57
58
  * // Tags: { // TagMap
58
59
  * // "<keys>": "STRING_VALUE",
@@ -86,6 +87,44 @@ declare const GetChannelCommand_base: {
86
87
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
87
88
  *
88
89
  * @public
90
+ * @example Getting a Channel
91
+ * ```javascript
92
+ * //
93
+ * const input = {
94
+ * "ChannelGroupName": "exampleChannelGroup",
95
+ * "ChannelName": "exampleChannel"
96
+ * };
97
+ * const command = new GetChannelCommand(input);
98
+ * const response = await client.send(command);
99
+ * /* response ==
100
+ * {
101
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
102
+ * "ChannelGroupName": "exampleChannelGroup",
103
+ * "ChannelName": "exampleChannel",
104
+ * "CreatedAt": "2022-10-18T09:36:00.00Z",
105
+ * "Description": "Description for exampleChannel",
106
+ * "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
107
+ * "IngestEndpoints": [
108
+ * {
109
+ * "Id": "1",
110
+ * "Url": "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index"
111
+ * },
112
+ * {
113
+ * "Id": "2",
114
+ * "Url": "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index"
115
+ * }
116
+ * ],
117
+ * "InputType": "HLS",
118
+ * "ModifiedAt": "2022-10-18T09:36:00.00Z",
119
+ * "Tags": {
120
+ * "key1": "value1",
121
+ * "key2": "value2"
122
+ * }
123
+ * }
124
+ * *\/
125
+ * // example id: example-1
126
+ * ```
127
+ *
89
128
  */
90
129
  export declare class GetChannelCommand extends GetChannelCommand_base {
91
130
  }
@@ -79,6 +79,32 @@ declare const GetChannelGroupCommand_base: {
79
79
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
80
80
  *
81
81
  * @public
82
+ * @example Getting a Channel Group
83
+ * ```javascript
84
+ * //
85
+ * const input = {
86
+ * "ChannelGroupName": "exampleChannelGroup"
87
+ * };
88
+ * const command = new GetChannelGroupCommand(input);
89
+ * const response = await client.send(command);
90
+ * /* response ==
91
+ * {
92
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
93
+ * "ChannelGroupName": "exampleChannelGroup",
94
+ * "CreatedAt": "2022-10-18T09:36:00.00Z",
95
+ * "Description": "Description for exampleChannelGroup",
96
+ * "ETag": "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
97
+ * "EgressDomain": "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
98
+ * "ModifiedAt": "2022-10-18T09:36:00.00Z",
99
+ * "Tags": {
100
+ * "key1": "value1",
101
+ * "key2": "value2"
102
+ * }
103
+ * }
104
+ * *\/
105
+ * // example id: example-1
106
+ * ```
107
+ *
82
108
  */
83
109
  export declare class GetChannelGroupCommand extends GetChannelGroupCommand_base {
84
110
  }