aws-sdk-mediapackagev2 1.17.0 → 1.18.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediapackagev2/client.rb +1321 -5
- data/lib/aws-sdk-mediapackagev2/client_api.rb +23 -2
- data/lib/aws-sdk-mediapackagev2/types.rb +138 -8
- data/lib/aws-sdk-mediapackagev2.rb +1 -1
- data/sig/client.rbs +14 -1
- data/sig/types.rbs +18 -2
- metadata +2 -2
@@ -441,6 +441,19 @@ module Aws::MediaPackageV2
|
|
441
441
|
# **A suitable default value is auto-generated.** You should normally
|
442
442
|
# not need to pass this option.**
|
443
443
|
#
|
444
|
+
# @option params [String] :input_type
|
445
|
+
# The input type will be an immutable field which will be used to define
|
446
|
+
# whether the channel will allow CMAF ingest or HLS ingest. If
|
447
|
+
# unprovided, it will default to HLS to preserve current behavior.
|
448
|
+
#
|
449
|
+
# The allowed values are:
|
450
|
+
#
|
451
|
+
# * `HLS` - The HLS streaming specification (which defines M3U8
|
452
|
+
# manifests and TS segments).
|
453
|
+
#
|
454
|
+
# * `CMAF` - The DASH-IF CMAF Ingest specification (which defines CMAF
|
455
|
+
# segments with optional DASH manifests).
|
456
|
+
#
|
444
457
|
# @option params [String] :description
|
445
458
|
# Enter any descriptive text that helps you to identify the channel.
|
446
459
|
#
|
@@ -461,15 +474,57 @@ module Aws::MediaPackageV2
|
|
461
474
|
# * {Types::CreateChannelResponse#modified_at #modified_at} => Time
|
462
475
|
# * {Types::CreateChannelResponse#description #description} => String
|
463
476
|
# * {Types::CreateChannelResponse#ingest_endpoints #ingest_endpoints} => Array<Types::IngestEndpoint>
|
477
|
+
# * {Types::CreateChannelResponse#input_type #input_type} => String
|
464
478
|
# * {Types::CreateChannelResponse#etag #etag} => String
|
465
479
|
# * {Types::CreateChannelResponse#tags #tags} => Hash<String,String>
|
466
480
|
#
|
481
|
+
#
|
482
|
+
# @example Example: Creating a Channel
|
483
|
+
#
|
484
|
+
# resp = client.create_channel({
|
485
|
+
# channel_group_name: "exampleChannelGroup",
|
486
|
+
# channel_name: "exampleChannel",
|
487
|
+
# description: "Description for exampleChannel",
|
488
|
+
# input_type: "HLS",
|
489
|
+
# tags: {
|
490
|
+
# "key1" => "value1",
|
491
|
+
# "key2" => "value2",
|
492
|
+
# },
|
493
|
+
# })
|
494
|
+
#
|
495
|
+
# resp.to_h outputs the following:
|
496
|
+
# {
|
497
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
498
|
+
# channel_group_name: "exampleChannelGroup",
|
499
|
+
# channel_name: "exampleChannel",
|
500
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
501
|
+
# description: "Description for exampleChannel",
|
502
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
503
|
+
# ingest_endpoints: [
|
504
|
+
# {
|
505
|
+
# id: "1",
|
506
|
+
# url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
|
507
|
+
# },
|
508
|
+
# {
|
509
|
+
# id: "2",
|
510
|
+
# url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
|
511
|
+
# },
|
512
|
+
# ],
|
513
|
+
# input_type: "HLS",
|
514
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
515
|
+
# tags: {
|
516
|
+
# "key1" => "value1",
|
517
|
+
# "key2" => "value2",
|
518
|
+
# },
|
519
|
+
# }
|
520
|
+
#
|
467
521
|
# @example Request syntax with placeholder values
|
468
522
|
#
|
469
523
|
# resp = client.create_channel({
|
470
524
|
# channel_group_name: "ResourceName", # required
|
471
525
|
# channel_name: "ResourceName", # required
|
472
526
|
# client_token: "IdempotencyToken",
|
527
|
+
# input_type: "HLS", # accepts HLS, CMAF
|
473
528
|
# description: "ResourceDescription",
|
474
529
|
# tags: {
|
475
530
|
# "TagKey" => "TagValue",
|
@@ -487,6 +542,7 @@ module Aws::MediaPackageV2
|
|
487
542
|
# resp.ingest_endpoints #=> Array
|
488
543
|
# resp.ingest_endpoints[0].id #=> String
|
489
544
|
# resp.ingest_endpoints[0].url #=> String
|
545
|
+
# resp.input_type #=> String, one of "HLS", "CMAF"
|
490
546
|
# resp.etag #=> String
|
491
547
|
# resp.tags #=> Hash
|
492
548
|
# resp.tags["TagKey"] #=> String
|
@@ -543,6 +599,33 @@ module Aws::MediaPackageV2
|
|
543
599
|
# * {Types::CreateChannelGroupResponse#description #description} => String
|
544
600
|
# * {Types::CreateChannelGroupResponse#tags #tags} => Hash<String,String>
|
545
601
|
#
|
602
|
+
#
|
603
|
+
# @example Example: Creating a Channel Group
|
604
|
+
#
|
605
|
+
# resp = client.create_channel_group({
|
606
|
+
# channel_group_name: "exampleChannelGroup",
|
607
|
+
# description: "Description for exampleChannelGroup",
|
608
|
+
# tags: {
|
609
|
+
# "key1" => "value1",
|
610
|
+
# "key2" => "value2",
|
611
|
+
# },
|
612
|
+
# })
|
613
|
+
#
|
614
|
+
# resp.to_h outputs the following:
|
615
|
+
# {
|
616
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
|
617
|
+
# channel_group_name: "exampleChannelGroup",
|
618
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
619
|
+
# description: "Description for exampleChannelGroup",
|
620
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
621
|
+
# egress_domain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
|
622
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
623
|
+
# tags: {
|
624
|
+
# "key1" => "value1",
|
625
|
+
# "key2" => "value2",
|
626
|
+
# },
|
627
|
+
# }
|
628
|
+
#
|
546
629
|
# @example Request syntax with placeholder values
|
547
630
|
#
|
548
631
|
# resp = client.create_channel_group({
|
@@ -634,6 +717,9 @@ module Aws::MediaPackageV2
|
|
634
717
|
# @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
|
635
718
|
# A DASH manifest configuration.
|
636
719
|
#
|
720
|
+
# @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
|
721
|
+
# The failover settings for the endpoint.
|
722
|
+
#
|
637
723
|
# @option params [Hash<String,String>] :tags
|
638
724
|
# A comma-separated list of tag key:value pairs that you define. For
|
639
725
|
# example:
|
@@ -657,9 +743,473 @@ module Aws::MediaPackageV2
|
|
657
743
|
# * {Types::CreateOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
658
744
|
# * {Types::CreateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
659
745
|
# * {Types::CreateOriginEndpointResponse#dash_manifests #dash_manifests} => Array<Types::GetDashManifestConfiguration>
|
746
|
+
# * {Types::CreateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
660
747
|
# * {Types::CreateOriginEndpointResponse#etag #etag} => String
|
661
748
|
# * {Types::CreateOriginEndpointResponse#tags #tags} => Hash<String,String>
|
662
749
|
#
|
750
|
+
#
|
751
|
+
# @example Example: Creating an OriginEndpoint with container type TS, and encryption enabled
|
752
|
+
#
|
753
|
+
# resp = client.create_origin_endpoint({
|
754
|
+
# channel_group_name: "exampleChannelGroup",
|
755
|
+
# channel_name: "exampleChannel",
|
756
|
+
# container_type: "TS",
|
757
|
+
# description: "Description for exampleOriginEndpointTS",
|
758
|
+
# force_endpoint_error_configuration: {
|
759
|
+
# endpoint_error_conditions: [
|
760
|
+
# "STALE_MANIFEST",
|
761
|
+
# "INCOMPLETE_MANIFEST",
|
762
|
+
# "MISSING_DRM_KEY",
|
763
|
+
# "SLATE_INPUT",
|
764
|
+
# ],
|
765
|
+
# },
|
766
|
+
# hls_manifests: [
|
767
|
+
# {
|
768
|
+
# child_manifest_name: "exampleChildManifest1",
|
769
|
+
# manifest_name: "exampleManifest1",
|
770
|
+
# manifest_window_seconds: 30,
|
771
|
+
# program_date_time_interval_seconds: 60,
|
772
|
+
# scte_hls: {
|
773
|
+
# ad_marker_hls: "DATERANGE",
|
774
|
+
# },
|
775
|
+
# },
|
776
|
+
# {
|
777
|
+
# child_manifest_name: "exampleManifest2",
|
778
|
+
# manifest_name: "exampleManifest2",
|
779
|
+
# manifest_window_seconds: 30,
|
780
|
+
# program_date_time_interval_seconds: 60,
|
781
|
+
# scte_hls: {
|
782
|
+
# ad_marker_hls: "DATERANGE",
|
783
|
+
# },
|
784
|
+
# },
|
785
|
+
# ],
|
786
|
+
# low_latency_hls_manifests: [
|
787
|
+
# {
|
788
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
789
|
+
# manifest_name: "exampleLLManifest1",
|
790
|
+
# manifest_window_seconds: 30,
|
791
|
+
# program_date_time_interval_seconds: 60,
|
792
|
+
# scte_hls: {
|
793
|
+
# ad_marker_hls: "DATERANGE",
|
794
|
+
# },
|
795
|
+
# },
|
796
|
+
# {
|
797
|
+
# child_manifest_name: "exampleLLManifest2",
|
798
|
+
# manifest_name: "exampleLLManifest2",
|
799
|
+
# manifest_window_seconds: 30,
|
800
|
+
# program_date_time_interval_seconds: 60,
|
801
|
+
# scte_hls: {
|
802
|
+
# ad_marker_hls: "DATERANGE",
|
803
|
+
# },
|
804
|
+
# },
|
805
|
+
# ],
|
806
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
807
|
+
# segment: {
|
808
|
+
# encryption: {
|
809
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
|
810
|
+
# encryption_method: {
|
811
|
+
# ts_encryption_method: "AES_128",
|
812
|
+
# },
|
813
|
+
# key_rotation_interval_seconds: 300,
|
814
|
+
# speke_key_provider: {
|
815
|
+
# drm_systems: [
|
816
|
+
# "CLEAR_KEY_AES_128",
|
817
|
+
# ],
|
818
|
+
# encryption_contract_configuration: {
|
819
|
+
# preset_speke_20_audio: "SHARED",
|
820
|
+
# preset_speke_20_video: "SHARED",
|
821
|
+
# },
|
822
|
+
# resource_id: "ResourceId",
|
823
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
824
|
+
# url: "https://foo.com",
|
825
|
+
# },
|
826
|
+
# },
|
827
|
+
# include_iframe_only_streams: true,
|
828
|
+
# scte: {
|
829
|
+
# scte_filter: [
|
830
|
+
# "SPLICE_INSERT",
|
831
|
+
# "BREAK",
|
832
|
+
# ],
|
833
|
+
# },
|
834
|
+
# segment_duration_seconds: 6,
|
835
|
+
# segment_name: "segmentName",
|
836
|
+
# ts_include_dvb_subtitles: true,
|
837
|
+
# ts_use_audio_rendition_group: true,
|
838
|
+
# },
|
839
|
+
# startover_window_seconds: 300,
|
840
|
+
# tags: {
|
841
|
+
# "key1" => "value1",
|
842
|
+
# "key2" => "value2",
|
843
|
+
# },
|
844
|
+
# })
|
845
|
+
#
|
846
|
+
# resp.to_h outputs the following:
|
847
|
+
# {
|
848
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
|
849
|
+
# channel_group_name: "exampleChannelGroup",
|
850
|
+
# channel_name: "exampleChannel",
|
851
|
+
# container_type: "TS",
|
852
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
853
|
+
# description: "Description for exampleOriginEndpointTS",
|
854
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
855
|
+
# force_endpoint_error_configuration: {
|
856
|
+
# endpoint_error_conditions: [
|
857
|
+
# "STALE_MANIFEST",
|
858
|
+
# "INCOMPLETE_MANIFEST",
|
859
|
+
# "MISSING_DRM_KEY",
|
860
|
+
# "SLATE_INPUT",
|
861
|
+
# ],
|
862
|
+
# },
|
863
|
+
# hls_manifests: [
|
864
|
+
# {
|
865
|
+
# child_manifest_name: "exampleChildManifest1",
|
866
|
+
# manifest_name: "exampleManifest1",
|
867
|
+
# manifest_window_seconds: 30,
|
868
|
+
# program_date_time_interval_seconds: 60,
|
869
|
+
# scte_hls: {
|
870
|
+
# ad_marker_hls: "DATERANGE",
|
871
|
+
# },
|
872
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
|
873
|
+
# },
|
874
|
+
# {
|
875
|
+
# child_manifest_name: "exampleManifest2",
|
876
|
+
# manifest_name: "exampleManifest2",
|
877
|
+
# manifest_window_seconds: 30,
|
878
|
+
# program_date_time_interval_seconds: 60,
|
879
|
+
# scte_hls: {
|
880
|
+
# ad_marker_hls: "DATERANGE",
|
881
|
+
# },
|
882
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
|
883
|
+
# },
|
884
|
+
# ],
|
885
|
+
# low_latency_hls_manifests: [
|
886
|
+
# {
|
887
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
888
|
+
# manifest_name: "exampleLLManifest1",
|
889
|
+
# manifest_window_seconds: 30,
|
890
|
+
# program_date_time_interval_seconds: 60,
|
891
|
+
# scte_hls: {
|
892
|
+
# ad_marker_hls: "DATERANGE",
|
893
|
+
# },
|
894
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
|
895
|
+
# },
|
896
|
+
# {
|
897
|
+
# child_manifest_name: "exampleLLManifest2",
|
898
|
+
# manifest_name: "exampleLLManifest2",
|
899
|
+
# manifest_window_seconds: 30,
|
900
|
+
# program_date_time_interval_seconds: 60,
|
901
|
+
# scte_hls: {
|
902
|
+
# ad_marker_hls: "DATERANGE",
|
903
|
+
# },
|
904
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
|
905
|
+
# },
|
906
|
+
# ],
|
907
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
908
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
909
|
+
# segment: {
|
910
|
+
# encryption: {
|
911
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
|
912
|
+
# encryption_method: {
|
913
|
+
# ts_encryption_method: "AES_128",
|
914
|
+
# },
|
915
|
+
# key_rotation_interval_seconds: 300,
|
916
|
+
# speke_key_provider: {
|
917
|
+
# drm_systems: [
|
918
|
+
# "CLEAR_KEY_AES_128",
|
919
|
+
# ],
|
920
|
+
# encryption_contract_configuration: {
|
921
|
+
# preset_speke_20_audio: "SHARED",
|
922
|
+
# preset_speke_20_video: "SHARED",
|
923
|
+
# },
|
924
|
+
# resource_id: "ResourceId",
|
925
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
926
|
+
# url: "https://foo.com",
|
927
|
+
# },
|
928
|
+
# },
|
929
|
+
# include_iframe_only_streams: true,
|
930
|
+
# scte: {
|
931
|
+
# scte_filter: [
|
932
|
+
# "SPLICE_INSERT",
|
933
|
+
# "BREAK",
|
934
|
+
# ],
|
935
|
+
# },
|
936
|
+
# segment_duration_seconds: 6,
|
937
|
+
# segment_name: "segmentName",
|
938
|
+
# ts_include_dvb_subtitles: true,
|
939
|
+
# ts_use_audio_rendition_group: true,
|
940
|
+
# },
|
941
|
+
# startover_window_seconds: 300,
|
942
|
+
# tags: {
|
943
|
+
# "key1" => "value1",
|
944
|
+
# "key2" => "value2",
|
945
|
+
# },
|
946
|
+
# }
|
947
|
+
#
|
948
|
+
# @example Example: Creating an OriginEndpoint with container type CMAF, and encryption enabled
|
949
|
+
#
|
950
|
+
# resp = client.create_origin_endpoint({
|
951
|
+
# channel_group_name: "exampleChannelGroup",
|
952
|
+
# channel_name: "exampleChannel",
|
953
|
+
# container_type: "CMAF",
|
954
|
+
# dash_manifests: [
|
955
|
+
# {
|
956
|
+
# drm_signaling: "INDIVIDUAL",
|
957
|
+
# manifest_name: "exampleDashManifest1",
|
958
|
+
# manifest_window_seconds: 300,
|
959
|
+
# min_buffer_time_seconds: 30,
|
960
|
+
# min_update_period_seconds: 5,
|
961
|
+
# period_triggers: [
|
962
|
+
# "AVAILS",
|
963
|
+
# ],
|
964
|
+
# scte_dash: {
|
965
|
+
# ad_marker_dash: "XML",
|
966
|
+
# },
|
967
|
+
# segment_template_format: "NUMBER_WITH_TIMELINE",
|
968
|
+
# suggested_presentation_delay_seconds: 2,
|
969
|
+
# },
|
970
|
+
# {
|
971
|
+
# drm_signaling: "INDIVIDUAL",
|
972
|
+
# manifest_name: "exampleDashManifest2",
|
973
|
+
# manifest_window_seconds: 60,
|
974
|
+
# min_buffer_time_seconds: 9,
|
975
|
+
# min_update_period_seconds: 3,
|
976
|
+
# period_triggers: [
|
977
|
+
# "AVAILS",
|
978
|
+
# "DRM_KEY_ROTATION",
|
979
|
+
# "SOURCE_CHANGES",
|
980
|
+
# "SOURCE_DISRUPTIONS",
|
981
|
+
# ],
|
982
|
+
# scte_dash: {
|
983
|
+
# ad_marker_dash: "XML",
|
984
|
+
# },
|
985
|
+
# segment_template_format: "NUMBER_WITH_TIMELINE",
|
986
|
+
# suggested_presentation_delay_seconds: 12,
|
987
|
+
# },
|
988
|
+
# ],
|
989
|
+
# force_endpoint_error_configuration: {
|
990
|
+
# endpoint_error_conditions: [
|
991
|
+
# "STALE_MANIFEST",
|
992
|
+
# "INCOMPLETE_MANIFEST",
|
993
|
+
# "MISSING_DRM_KEY",
|
994
|
+
# "SLATE_INPUT",
|
995
|
+
# ],
|
996
|
+
# },
|
997
|
+
# hls_manifests: [
|
998
|
+
# {
|
999
|
+
# child_manifest_name: "exampleChildManifest1",
|
1000
|
+
# manifest_name: "exampleManifest1",
|
1001
|
+
# manifest_window_seconds: 30,
|
1002
|
+
# program_date_time_interval_seconds: 60,
|
1003
|
+
# scte_hls: {
|
1004
|
+
# ad_marker_hls: "DATERANGE",
|
1005
|
+
# },
|
1006
|
+
# },
|
1007
|
+
# {
|
1008
|
+
# child_manifest_name: "exampleManifest2",
|
1009
|
+
# manifest_name: "exampleManifest2",
|
1010
|
+
# manifest_window_seconds: 30,
|
1011
|
+
# program_date_time_interval_seconds: 60,
|
1012
|
+
# scte_hls: {
|
1013
|
+
# ad_marker_hls: "DATERANGE",
|
1014
|
+
# },
|
1015
|
+
# },
|
1016
|
+
# ],
|
1017
|
+
# low_latency_hls_manifests: [
|
1018
|
+
# {
|
1019
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
1020
|
+
# manifest_name: "exampleLLManifest1",
|
1021
|
+
# manifest_window_seconds: 30,
|
1022
|
+
# program_date_time_interval_seconds: 60,
|
1023
|
+
# scte_hls: {
|
1024
|
+
# ad_marker_hls: "DATERANGE",
|
1025
|
+
# },
|
1026
|
+
# },
|
1027
|
+
# {
|
1028
|
+
# child_manifest_name: "exampleLLManifest2",
|
1029
|
+
# manifest_name: "exampleLLManifest2",
|
1030
|
+
# manifest_window_seconds: 30,
|
1031
|
+
# program_date_time_interval_seconds: 60,
|
1032
|
+
# scte_hls: {
|
1033
|
+
# ad_marker_hls: "DATERANGE",
|
1034
|
+
# },
|
1035
|
+
# },
|
1036
|
+
# ],
|
1037
|
+
# origin_endpoint_name: "exampleOriginEndpointCMAF",
|
1038
|
+
# segment: {
|
1039
|
+
# encryption: {
|
1040
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B9F",
|
1041
|
+
# encryption_method: {
|
1042
|
+
# cmaf_encryption_method: "CBCS",
|
1043
|
+
# },
|
1044
|
+
# key_rotation_interval_seconds: 300,
|
1045
|
+
# speke_key_provider: {
|
1046
|
+
# drm_systems: [
|
1047
|
+
# "PLAYREADY",
|
1048
|
+
# "WIDEVINE",
|
1049
|
+
# ],
|
1050
|
+
# encryption_contract_configuration: {
|
1051
|
+
# preset_speke_20_audio: "PRESET_AUDIO_1",
|
1052
|
+
# preset_speke_20_video: "PRESET_VIDEO_1",
|
1053
|
+
# },
|
1054
|
+
# resource_id: "ResourceId",
|
1055
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
1056
|
+
# url: "https://foo.com",
|
1057
|
+
# },
|
1058
|
+
# },
|
1059
|
+
# include_iframe_only_streams: true,
|
1060
|
+
# scte: {
|
1061
|
+
# scte_filter: [
|
1062
|
+
# "SPLICE_INSERT",
|
1063
|
+
# "BREAK",
|
1064
|
+
# ],
|
1065
|
+
# },
|
1066
|
+
# segment_duration_seconds: 6,
|
1067
|
+
# segment_name: "segmentName",
|
1068
|
+
# },
|
1069
|
+
# startover_window_seconds: 300,
|
1070
|
+
# tags: {
|
1071
|
+
# "key1" => "value1",
|
1072
|
+
# "key2" => "value2",
|
1073
|
+
# },
|
1074
|
+
# })
|
1075
|
+
#
|
1076
|
+
# resp.to_h outputs the following:
|
1077
|
+
# {
|
1078
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointCMAF",
|
1079
|
+
# channel_group_name: "exampleChannelGroup",
|
1080
|
+
# channel_name: "exampleChannel",
|
1081
|
+
# container_type: "CMAF",
|
1082
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1083
|
+
# dash_manifests: [
|
1084
|
+
# {
|
1085
|
+
# drm_signaling: "INDIVIDUAL",
|
1086
|
+
# manifest_name: "exampleDashManifest1",
|
1087
|
+
# manifest_window_seconds: 300,
|
1088
|
+
# min_buffer_time_seconds: 30,
|
1089
|
+
# min_update_period_seconds: 5,
|
1090
|
+
# period_triggers: [
|
1091
|
+
# "AVAILS",
|
1092
|
+
# ],
|
1093
|
+
# scte_dash: {
|
1094
|
+
# ad_marker_dash: "XML",
|
1095
|
+
# },
|
1096
|
+
# segment_template_format: "NUMBER_WITH_TIMELINE",
|
1097
|
+
# suggested_presentation_delay_seconds: 2,
|
1098
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd",
|
1099
|
+
# },
|
1100
|
+
# {
|
1101
|
+
# drm_signaling: "INDIVIDUAL",
|
1102
|
+
# manifest_name: "exampleDashManifest2",
|
1103
|
+
# manifest_window_seconds: 60,
|
1104
|
+
# min_buffer_time_seconds: 9,
|
1105
|
+
# min_update_period_seconds: 3,
|
1106
|
+
# period_triggers: [
|
1107
|
+
# "AVAILS",
|
1108
|
+
# "DRM_KEY_ROTATION",
|
1109
|
+
# "SOURCE_CHANGES",
|
1110
|
+
# "SOURCE_DISRUPTIONS",
|
1111
|
+
# ],
|
1112
|
+
# scte_dash: {
|
1113
|
+
# ad_marker_dash: "XML",
|
1114
|
+
# },
|
1115
|
+
# segment_template_format: "NUMBER_WITH_TIMELINE",
|
1116
|
+
# suggested_presentation_delay_seconds: 12,
|
1117
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd",
|
1118
|
+
# },
|
1119
|
+
# ],
|
1120
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
1121
|
+
# force_endpoint_error_configuration: {
|
1122
|
+
# endpoint_error_conditions: [
|
1123
|
+
# "STALE_MANIFEST",
|
1124
|
+
# "INCOMPLETE_MANIFEST",
|
1125
|
+
# "MISSING_DRM_KEY",
|
1126
|
+
# "SLATE_INPUT",
|
1127
|
+
# ],
|
1128
|
+
# },
|
1129
|
+
# hls_manifests: [
|
1130
|
+
# {
|
1131
|
+
# child_manifest_name: "exampleChildManifest1",
|
1132
|
+
# manifest_name: "exampleManifest1",
|
1133
|
+
# manifest_window_seconds: 30,
|
1134
|
+
# program_date_time_interval_seconds: 60,
|
1135
|
+
# scte_hls: {
|
1136
|
+
# ad_marker_hls: "DATERANGE",
|
1137
|
+
# },
|
1138
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest1.m3u8",
|
1139
|
+
# },
|
1140
|
+
# {
|
1141
|
+
# child_manifest_name: "exampleManifest2",
|
1142
|
+
# manifest_name: "exampleManifest2",
|
1143
|
+
# manifest_window_seconds: 30,
|
1144
|
+
# program_date_time_interval_seconds: 60,
|
1145
|
+
# scte_hls: {
|
1146
|
+
# ad_marker_hls: "DATERANGE",
|
1147
|
+
# },
|
1148
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest2.m3u8",
|
1149
|
+
# },
|
1150
|
+
# ],
|
1151
|
+
# low_latency_hls_manifests: [
|
1152
|
+
# {
|
1153
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
1154
|
+
# manifest_name: "exampleLLManifest1",
|
1155
|
+
# manifest_window_seconds: 30,
|
1156
|
+
# program_date_time_interval_seconds: 60,
|
1157
|
+
# scte_hls: {
|
1158
|
+
# ad_marker_hls: "DATERANGE",
|
1159
|
+
# },
|
1160
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest1.m3u8",
|
1161
|
+
# },
|
1162
|
+
# {
|
1163
|
+
# child_manifest_name: "exampleLLManifest2",
|
1164
|
+
# manifest_name: "exampleLLManifest2",
|
1165
|
+
# manifest_window_seconds: 30,
|
1166
|
+
# program_date_time_interval_seconds: 60,
|
1167
|
+
# scte_hls: {
|
1168
|
+
# ad_marker_hls: "DATERANGE",
|
1169
|
+
# },
|
1170
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest2.m3u8",
|
1171
|
+
# },
|
1172
|
+
# ],
|
1173
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1174
|
+
# origin_endpoint_name: "exampleOriginEndpointCMAF",
|
1175
|
+
# segment: {
|
1176
|
+
# encryption: {
|
1177
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B9F",
|
1178
|
+
# encryption_method: {
|
1179
|
+
# cmaf_encryption_method: "CBCS",
|
1180
|
+
# },
|
1181
|
+
# key_rotation_interval_seconds: 300,
|
1182
|
+
# speke_key_provider: {
|
1183
|
+
# drm_systems: [
|
1184
|
+
# "PLAYREADY",
|
1185
|
+
# "WIDEVINE",
|
1186
|
+
# ],
|
1187
|
+
# encryption_contract_configuration: {
|
1188
|
+
# preset_speke_20_audio: "PRESET_AUDIO_1",
|
1189
|
+
# preset_speke_20_video: "PRESET_VIDEO_1",
|
1190
|
+
# },
|
1191
|
+
# resource_id: "ResourceId",
|
1192
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
1193
|
+
# url: "https://foo.com",
|
1194
|
+
# },
|
1195
|
+
# },
|
1196
|
+
# include_iframe_only_streams: true,
|
1197
|
+
# scte: {
|
1198
|
+
# scte_filter: [
|
1199
|
+
# "SPLICE_INSERT",
|
1200
|
+
# "BREAK",
|
1201
|
+
# ],
|
1202
|
+
# },
|
1203
|
+
# segment_duration_seconds: 6,
|
1204
|
+
# segment_name: "segmentName",
|
1205
|
+
# },
|
1206
|
+
# startover_window_seconds: 300,
|
1207
|
+
# tags: {
|
1208
|
+
# "key1" => "value1",
|
1209
|
+
# "key2" => "value2",
|
1210
|
+
# },
|
1211
|
+
# }
|
1212
|
+
#
|
663
1213
|
# @example Request syntax with placeholder values
|
664
1214
|
#
|
665
1215
|
# resp = client.create_origin_endpoint({
|
@@ -757,6 +1307,9 @@ module Aws::MediaPackageV2
|
|
757
1307
|
# },
|
758
1308
|
# },
|
759
1309
|
# ],
|
1310
|
+
# force_endpoint_error_configuration: {
|
1311
|
+
# endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
|
1312
|
+
# },
|
760
1313
|
# tags: {
|
761
1314
|
# "TagKey" => "TagValue",
|
762
1315
|
# },
|
@@ -831,6 +1384,8 @@ module Aws::MediaPackageV2
|
|
831
1384
|
# resp.dash_manifests[0].drm_signaling #=> String, one of "INDIVIDUAL", "REFERENCED"
|
832
1385
|
# resp.dash_manifests[0].utc_timing.timing_mode #=> String, one of "HTTP_HEAD", "HTTP_ISO", "HTTP_XSDATE", "UTC_DIRECT"
|
833
1386
|
# resp.dash_manifests[0].utc_timing.timing_source #=> String
|
1387
|
+
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
1388
|
+
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
834
1389
|
# resp.etag #=> String
|
835
1390
|
# resp.tags #=> Hash
|
836
1391
|
# resp.tags["TagKey"] #=> String
|
@@ -860,6 +1415,18 @@ module Aws::MediaPackageV2
|
|
860
1415
|
#
|
861
1416
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
862
1417
|
#
|
1418
|
+
#
|
1419
|
+
# @example Example: Deleting a Channel
|
1420
|
+
#
|
1421
|
+
# resp = client.delete_channel({
|
1422
|
+
# channel_group_name: "exampleChannelGroup",
|
1423
|
+
# channel_name: "exampleChannel",
|
1424
|
+
# })
|
1425
|
+
#
|
1426
|
+
# resp.to_h outputs the following:
|
1427
|
+
# {
|
1428
|
+
# }
|
1429
|
+
#
|
863
1430
|
# @example Request syntax with placeholder values
|
864
1431
|
#
|
865
1432
|
# resp = client.delete_channel({
|
@@ -888,6 +1455,17 @@ module Aws::MediaPackageV2
|
|
888
1455
|
#
|
889
1456
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
890
1457
|
#
|
1458
|
+
#
|
1459
|
+
# @example Example: Deleting a Channel Group
|
1460
|
+
#
|
1461
|
+
# resp = client.delete_channel_group({
|
1462
|
+
# channel_group_name: "exampleChannelGroup",
|
1463
|
+
# })
|
1464
|
+
#
|
1465
|
+
# resp.to_h outputs the following:
|
1466
|
+
# {
|
1467
|
+
# }
|
1468
|
+
#
|
891
1469
|
# @example Request syntax with placeholder values
|
892
1470
|
#
|
893
1471
|
# resp = client.delete_channel_group({
|
@@ -917,6 +1495,18 @@ module Aws::MediaPackageV2
|
|
917
1495
|
#
|
918
1496
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
919
1497
|
#
|
1498
|
+
#
|
1499
|
+
# @example Example: Deleting a Channel Policy
|
1500
|
+
#
|
1501
|
+
# resp = client.delete_channel_policy({
|
1502
|
+
# channel_group_name: "exampleChannelGroup",
|
1503
|
+
# channel_name: "exampleChannel",
|
1504
|
+
# })
|
1505
|
+
#
|
1506
|
+
# resp.to_h outputs the following:
|
1507
|
+
# {
|
1508
|
+
# }
|
1509
|
+
#
|
920
1510
|
# @example Request syntax with placeholder values
|
921
1511
|
#
|
922
1512
|
# resp = client.delete_channel_policy({
|
@@ -954,6 +1544,19 @@ module Aws::MediaPackageV2
|
|
954
1544
|
#
|
955
1545
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
956
1546
|
#
|
1547
|
+
#
|
1548
|
+
# @example Example: Deleting an OriginEndpoint
|
1549
|
+
#
|
1550
|
+
# resp = client.delete_origin_endpoint({
|
1551
|
+
# channel_group_name: "exampleChannelGroup",
|
1552
|
+
# channel_name: "exampleChannel",
|
1553
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
1554
|
+
# })
|
1555
|
+
#
|
1556
|
+
# resp.to_h outputs the following:
|
1557
|
+
# {
|
1558
|
+
# }
|
1559
|
+
#
|
957
1560
|
# @example Request syntax with placeholder values
|
958
1561
|
#
|
959
1562
|
# resp = client.delete_origin_endpoint({
|
@@ -990,6 +1593,19 @@ module Aws::MediaPackageV2
|
|
990
1593
|
#
|
991
1594
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
992
1595
|
#
|
1596
|
+
#
|
1597
|
+
# @example Example: Deleting an Origin Endpoint Policy
|
1598
|
+
#
|
1599
|
+
# resp = client.delete_origin_endpoint_policy({
|
1600
|
+
# channel_group_name: "exampleChannelGroup",
|
1601
|
+
# channel_name: "exampleChannel",
|
1602
|
+
# origin_endpoint_name: "exampleOriginEndpoint",
|
1603
|
+
# })
|
1604
|
+
#
|
1605
|
+
# resp.to_h outputs the following:
|
1606
|
+
# {
|
1607
|
+
# }
|
1608
|
+
#
|
993
1609
|
# @example Request syntax with placeholder values
|
994
1610
|
#
|
995
1611
|
# resp = client.delete_origin_endpoint_policy({
|
@@ -1030,9 +1646,44 @@ module Aws::MediaPackageV2
|
|
1030
1646
|
# * {Types::GetChannelResponse#modified_at #modified_at} => Time
|
1031
1647
|
# * {Types::GetChannelResponse#description #description} => String
|
1032
1648
|
# * {Types::GetChannelResponse#ingest_endpoints #ingest_endpoints} => Array<Types::IngestEndpoint>
|
1649
|
+
# * {Types::GetChannelResponse#input_type #input_type} => String
|
1033
1650
|
# * {Types::GetChannelResponse#etag #etag} => String
|
1034
1651
|
# * {Types::GetChannelResponse#tags #tags} => Hash<String,String>
|
1035
1652
|
#
|
1653
|
+
#
|
1654
|
+
# @example Example: Getting a Channel
|
1655
|
+
#
|
1656
|
+
# resp = client.get_channel({
|
1657
|
+
# channel_group_name: "exampleChannelGroup",
|
1658
|
+
# channel_name: "exampleChannel",
|
1659
|
+
# })
|
1660
|
+
#
|
1661
|
+
# resp.to_h outputs the following:
|
1662
|
+
# {
|
1663
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
1664
|
+
# channel_group_name: "exampleChannelGroup",
|
1665
|
+
# channel_name: "exampleChannel",
|
1666
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1667
|
+
# description: "Description for exampleChannel",
|
1668
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
1669
|
+
# ingest_endpoints: [
|
1670
|
+
# {
|
1671
|
+
# id: "1",
|
1672
|
+
# url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
|
1673
|
+
# },
|
1674
|
+
# {
|
1675
|
+
# id: "2",
|
1676
|
+
# url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
|
1677
|
+
# },
|
1678
|
+
# ],
|
1679
|
+
# input_type: "HLS",
|
1680
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1681
|
+
# tags: {
|
1682
|
+
# "key1" => "value1",
|
1683
|
+
# "key2" => "value2",
|
1684
|
+
# },
|
1685
|
+
# }
|
1686
|
+
#
|
1036
1687
|
# @example Request syntax with placeholder values
|
1037
1688
|
#
|
1038
1689
|
# resp = client.get_channel({
|
@@ -1051,6 +1702,7 @@ module Aws::MediaPackageV2
|
|
1051
1702
|
# resp.ingest_endpoints #=> Array
|
1052
1703
|
# resp.ingest_endpoints[0].id #=> String
|
1053
1704
|
# resp.ingest_endpoints[0].url #=> String
|
1705
|
+
# resp.input_type #=> String, one of "HLS", "CMAF"
|
1054
1706
|
# resp.etag #=> String
|
1055
1707
|
# resp.tags #=> Hash
|
1056
1708
|
# resp.tags["TagKey"] #=> String
|
@@ -1084,6 +1736,28 @@ module Aws::MediaPackageV2
|
|
1084
1736
|
# * {Types::GetChannelGroupResponse#etag #etag} => String
|
1085
1737
|
# * {Types::GetChannelGroupResponse#tags #tags} => Hash<String,String>
|
1086
1738
|
#
|
1739
|
+
#
|
1740
|
+
# @example Example: Getting a Channel Group
|
1741
|
+
#
|
1742
|
+
# resp = client.get_channel_group({
|
1743
|
+
# channel_group_name: "exampleChannelGroup",
|
1744
|
+
# })
|
1745
|
+
#
|
1746
|
+
# resp.to_h outputs the following:
|
1747
|
+
# {
|
1748
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
|
1749
|
+
# channel_group_name: "exampleChannelGroup",
|
1750
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1751
|
+
# description: "Description for exampleChannelGroup",
|
1752
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
1753
|
+
# egress_domain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
|
1754
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1755
|
+
# tags: {
|
1756
|
+
# "key1" => "value1",
|
1757
|
+
# "key2" => "value2",
|
1758
|
+
# },
|
1759
|
+
# }
|
1760
|
+
#
|
1087
1761
|
# @example Request syntax with placeholder values
|
1088
1762
|
#
|
1089
1763
|
# resp = client.get_channel_group({
|
@@ -1131,6 +1805,21 @@ module Aws::MediaPackageV2
|
|
1131
1805
|
# * {Types::GetChannelPolicyResponse#channel_name #channel_name} => String
|
1132
1806
|
# * {Types::GetChannelPolicyResponse#policy #policy} => String
|
1133
1807
|
#
|
1808
|
+
#
|
1809
|
+
# @example Example: Getting a Channel Policy
|
1810
|
+
#
|
1811
|
+
# resp = client.get_channel_policy({
|
1812
|
+
# channel_group_name: "exampleChannelGroup",
|
1813
|
+
# channel_name: "exampleChannel",
|
1814
|
+
# })
|
1815
|
+
#
|
1816
|
+
# resp.to_h outputs the following:
|
1817
|
+
# {
|
1818
|
+
# channel_group_name: "exampleChannelGroup",
|
1819
|
+
# channel_name: "exampleChannel",
|
1820
|
+
# policy: "{...}",
|
1821
|
+
# }
|
1822
|
+
#
|
1134
1823
|
# @example Request syntax with placeholder values
|
1135
1824
|
#
|
1136
1825
|
# resp = client.get_channel_policy({
|
@@ -1186,9 +1875,121 @@ module Aws::MediaPackageV2
|
|
1186
1875
|
# * {Types::GetOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
|
1187
1876
|
# * {Types::GetOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
1188
1877
|
# * {Types::GetOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
1878
|
+
# * {Types::GetOriginEndpointResponse#dash_manifests #dash_manifests} => Array<Types::GetDashManifestConfiguration>
|
1879
|
+
# * {Types::GetOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
1189
1880
|
# * {Types::GetOriginEndpointResponse#etag #etag} => String
|
1190
1881
|
# * {Types::GetOriginEndpointResponse#tags #tags} => Hash<String,String>
|
1191
|
-
#
|
1882
|
+
#
|
1883
|
+
#
|
1884
|
+
# @example Example: Getting an OriginEndpoint
|
1885
|
+
#
|
1886
|
+
# resp = client.get_origin_endpoint({
|
1887
|
+
# channel_group_name: "exampleChannelGroup",
|
1888
|
+
# channel_name: "exampleChannel",
|
1889
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
1890
|
+
# })
|
1891
|
+
#
|
1892
|
+
# resp.to_h outputs the following:
|
1893
|
+
# {
|
1894
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
|
1895
|
+
# channel_group_name: "exampleChannelGroup",
|
1896
|
+
# channel_name: "exampleChannel",
|
1897
|
+
# container_type: "TS",
|
1898
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1899
|
+
# description: "Description for exampleOriginEndpointTS",
|
1900
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
1901
|
+
# force_endpoint_error_configuration: {
|
1902
|
+
# endpoint_error_conditions: [
|
1903
|
+
# "STALE_MANIFEST",
|
1904
|
+
# "INCOMPLETE_MANIFEST",
|
1905
|
+
# "MISSING_DRM_KEY",
|
1906
|
+
# "SLATE_INPUT",
|
1907
|
+
# ],
|
1908
|
+
# },
|
1909
|
+
# hls_manifests: [
|
1910
|
+
# {
|
1911
|
+
# child_manifest_name: "exampleChildManifest1",
|
1912
|
+
# manifest_name: "exampleManifest1",
|
1913
|
+
# manifest_window_seconds: 30,
|
1914
|
+
# program_date_time_interval_seconds: 60,
|
1915
|
+
# scte_hls: {
|
1916
|
+
# ad_marker_hls: "DATERANGE",
|
1917
|
+
# },
|
1918
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
|
1919
|
+
# },
|
1920
|
+
# {
|
1921
|
+
# child_manifest_name: "exampleManifest2",
|
1922
|
+
# manifest_name: "exampleManifest2",
|
1923
|
+
# manifest_window_seconds: 30,
|
1924
|
+
# program_date_time_interval_seconds: 60,
|
1925
|
+
# scte_hls: {
|
1926
|
+
# ad_marker_hls: "DATERANGE",
|
1927
|
+
# },
|
1928
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
|
1929
|
+
# },
|
1930
|
+
# ],
|
1931
|
+
# low_latency_hls_manifests: [
|
1932
|
+
# {
|
1933
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
1934
|
+
# manifest_name: "exampleLLManifest1",
|
1935
|
+
# manifest_window_seconds: 30,
|
1936
|
+
# program_date_time_interval_seconds: 60,
|
1937
|
+
# scte_hls: {
|
1938
|
+
# ad_marker_hls: "DATERANGE",
|
1939
|
+
# },
|
1940
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
|
1941
|
+
# },
|
1942
|
+
# {
|
1943
|
+
# child_manifest_name: "exampleLLManifest2",
|
1944
|
+
# manifest_name: "exampleLLManifest2",
|
1945
|
+
# manifest_window_seconds: 30,
|
1946
|
+
# program_date_time_interval_seconds: 60,
|
1947
|
+
# scte_hls: {
|
1948
|
+
# ad_marker_hls: "DATERANGE",
|
1949
|
+
# },
|
1950
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
|
1951
|
+
# },
|
1952
|
+
# ],
|
1953
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1954
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
1955
|
+
# segment: {
|
1956
|
+
# encryption: {
|
1957
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
|
1958
|
+
# encryption_method: {
|
1959
|
+
# ts_encryption_method: "AES_128",
|
1960
|
+
# },
|
1961
|
+
# key_rotation_interval_seconds: 300,
|
1962
|
+
# speke_key_provider: {
|
1963
|
+
# drm_systems: [
|
1964
|
+
# "CLEAR_KEY_AES_128",
|
1965
|
+
# ],
|
1966
|
+
# encryption_contract_configuration: {
|
1967
|
+
# preset_speke_20_audio: "SHARED",
|
1968
|
+
# preset_speke_20_video: "SHARED",
|
1969
|
+
# },
|
1970
|
+
# resource_id: "ResourceId",
|
1971
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
1972
|
+
# url: "https://foo.com",
|
1973
|
+
# },
|
1974
|
+
# },
|
1975
|
+
# include_iframe_only_streams: true,
|
1976
|
+
# scte: {
|
1977
|
+
# scte_filter: [
|
1978
|
+
# "SPLICE_INSERT",
|
1979
|
+
# "BREAK",
|
1980
|
+
# ],
|
1981
|
+
# },
|
1982
|
+
# segment_duration_seconds: 6,
|
1983
|
+
# segment_name: "segmentName",
|
1984
|
+
# ts_include_dvb_subtitles: true,
|
1985
|
+
# ts_use_audio_rendition_group: true,
|
1986
|
+
# },
|
1987
|
+
# startover_window_seconds: 300,
|
1988
|
+
# tags: {
|
1989
|
+
# "key1" => "value1",
|
1990
|
+
# "key2" => "value2",
|
1991
|
+
# },
|
1992
|
+
# }
|
1192
1993
|
#
|
1193
1994
|
# @example Request syntax with placeholder values
|
1194
1995
|
#
|
@@ -1249,9 +2050,6 @@ module Aws::MediaPackageV2
|
|
1249
2050
|
# resp.low_latency_hls_manifests[0].filter_configuration.start #=> Time
|
1250
2051
|
# resp.low_latency_hls_manifests[0].filter_configuration.end #=> Time
|
1251
2052
|
# resp.low_latency_hls_manifests[0].filter_configuration.time_delay_seconds #=> Integer
|
1252
|
-
# resp.etag #=> String
|
1253
|
-
# resp.tags #=> Hash
|
1254
|
-
# resp.tags["TagKey"] #=> String
|
1255
2053
|
# resp.dash_manifests #=> Array
|
1256
2054
|
# resp.dash_manifests[0].manifest_name #=> String
|
1257
2055
|
# resp.dash_manifests[0].url #=> String
|
@@ -1270,6 +2068,11 @@ module Aws::MediaPackageV2
|
|
1270
2068
|
# resp.dash_manifests[0].drm_signaling #=> String, one of "INDIVIDUAL", "REFERENCED"
|
1271
2069
|
# resp.dash_manifests[0].utc_timing.timing_mode #=> String, one of "HTTP_HEAD", "HTTP_ISO", "HTTP_XSDATE", "UTC_DIRECT"
|
1272
2070
|
# resp.dash_manifests[0].utc_timing.timing_source #=> String
|
2071
|
+
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
2072
|
+
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
2073
|
+
# resp.etag #=> String
|
2074
|
+
# resp.tags #=> Hash
|
2075
|
+
# resp.tags["TagKey"] #=> String
|
1273
2076
|
#
|
1274
2077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpoint AWS API Documentation
|
1275
2078
|
#
|
@@ -1305,6 +2108,23 @@ module Aws::MediaPackageV2
|
|
1305
2108
|
# * {Types::GetOriginEndpointPolicyResponse#origin_endpoint_name #origin_endpoint_name} => String
|
1306
2109
|
# * {Types::GetOriginEndpointPolicyResponse#policy #policy} => String
|
1307
2110
|
#
|
2111
|
+
#
|
2112
|
+
# @example Example: Getting an Origin Endpoint Policy
|
2113
|
+
#
|
2114
|
+
# resp = client.get_origin_endpoint_policy({
|
2115
|
+
# channel_group_name: "exampleChannelGroup",
|
2116
|
+
# channel_name: "exampleChannel",
|
2117
|
+
# origin_endpoint_name: "exampleOriginEndpoint",
|
2118
|
+
# })
|
2119
|
+
#
|
2120
|
+
# resp.to_h outputs the following:
|
2121
|
+
# {
|
2122
|
+
# channel_group_name: "exampleChannelGroup",
|
2123
|
+
# channel_name: "exampleChannel",
|
2124
|
+
# origin_endpoint_name: "exampleOriginEndpoint",
|
2125
|
+
# policy: "{...}",
|
2126
|
+
# }
|
2127
|
+
#
|
1308
2128
|
# @example Request syntax with placeholder values
|
1309
2129
|
#
|
1310
2130
|
# resp = client.get_origin_endpoint_policy({
|
@@ -1347,6 +2167,31 @@ module Aws::MediaPackageV2
|
|
1347
2167
|
#
|
1348
2168
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1349
2169
|
#
|
2170
|
+
#
|
2171
|
+
# @example Example: Listing all Channel Groups
|
2172
|
+
#
|
2173
|
+
# resp = client.list_channel_groups({
|
2174
|
+
# })
|
2175
|
+
#
|
2176
|
+
# resp.to_h outputs the following:
|
2177
|
+
# {
|
2178
|
+
# items: [
|
2179
|
+
# {
|
2180
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
|
2181
|
+
# channel_group_name: "exampleChannelGroup",
|
2182
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2183
|
+
# description: "Description for exampleChannelGroup",
|
2184
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2185
|
+
# },
|
2186
|
+
# {
|
2187
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/anotherExampleChannelGroup",
|
2188
|
+
# channel_group_name: "anotherExampleChannelGroup",
|
2189
|
+
# created_at: Time.parse("2022-10-18T10:36:00.00Z"),
|
2190
|
+
# modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
|
2191
|
+
# },
|
2192
|
+
# ],
|
2193
|
+
# }
|
2194
|
+
#
|
1350
2195
|
# @example Request syntax with placeholder values
|
1351
2196
|
#
|
1352
2197
|
# resp = client.list_channel_groups({
|
@@ -1396,6 +2241,34 @@ module Aws::MediaPackageV2
|
|
1396
2241
|
#
|
1397
2242
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1398
2243
|
#
|
2244
|
+
#
|
2245
|
+
# @example Example: Listing all Channels
|
2246
|
+
#
|
2247
|
+
# resp = client.list_channels({
|
2248
|
+
# channel_group_name: "exampleChannelGroup",
|
2249
|
+
# })
|
2250
|
+
#
|
2251
|
+
# resp.to_h outputs the following:
|
2252
|
+
# {
|
2253
|
+
# items: [
|
2254
|
+
# {
|
2255
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
2256
|
+
# channel_group_name: "exampleChannelGroup",
|
2257
|
+
# channel_name: "exampleChannel",
|
2258
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2259
|
+
# description: "Description for exampleChannel",
|
2260
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2261
|
+
# },
|
2262
|
+
# {
|
2263
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/anotherExampleChannel",
|
2264
|
+
# channel_group_name: "exampleChannelGroup",
|
2265
|
+
# channel_name: "anotherExampleChannel",
|
2266
|
+
# created_at: Time.parse("2022-10-18T10:36:00.00Z"),
|
2267
|
+
# modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
|
2268
|
+
# },
|
2269
|
+
# ],
|
2270
|
+
# }
|
2271
|
+
#
|
1399
2272
|
# @example Request syntax with placeholder values
|
1400
2273
|
#
|
1401
2274
|
# resp = client.list_channels({
|
@@ -1413,6 +2286,7 @@ module Aws::MediaPackageV2
|
|
1413
2286
|
# resp.items[0].created_at #=> Time
|
1414
2287
|
# resp.items[0].modified_at #=> Time
|
1415
2288
|
# resp.items[0].description #=> String
|
2289
|
+
# resp.items[0].input_type #=> String, one of "HLS", "CMAF"
|
1416
2290
|
# resp.next_token #=> String
|
1417
2291
|
#
|
1418
2292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListChannels AWS API Documentation
|
@@ -1451,6 +2325,113 @@ module Aws::MediaPackageV2
|
|
1451
2325
|
#
|
1452
2326
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1453
2327
|
#
|
2328
|
+
#
|
2329
|
+
# @example Example: Listing all OriginEndpoints
|
2330
|
+
#
|
2331
|
+
# resp = client.list_origin_endpoints({
|
2332
|
+
# channel_group_name: "exampleChannelGroup",
|
2333
|
+
# channel_name: "exampleChannel",
|
2334
|
+
# })
|
2335
|
+
#
|
2336
|
+
# resp.to_h outputs the following:
|
2337
|
+
# {
|
2338
|
+
# items: [
|
2339
|
+
# {
|
2340
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
|
2341
|
+
# channel_group_name: "exampleChannelGroup",
|
2342
|
+
# channel_name: "exampleChannel",
|
2343
|
+
# container_type: "TS",
|
2344
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2345
|
+
# description: "Description for exampleOriginEndpointTS",
|
2346
|
+
# force_endpoint_error_configuration: {
|
2347
|
+
# endpoint_error_conditions: [
|
2348
|
+
# "STALE_MANIFEST",
|
2349
|
+
# "INCOMPLETE_MANIFEST",
|
2350
|
+
# "MISSING_DRM_KEY",
|
2351
|
+
# "SLATE_INPUT",
|
2352
|
+
# ],
|
2353
|
+
# },
|
2354
|
+
# hls_manifests: [
|
2355
|
+
# {
|
2356
|
+
# child_manifest_name: "exampleChildManifest1",
|
2357
|
+
# manifest_name: "exampleManifest1",
|
2358
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
|
2359
|
+
# },
|
2360
|
+
# {
|
2361
|
+
# child_manifest_name: "exampleManifest2",
|
2362
|
+
# manifest_name: "exampleManifest2",
|
2363
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
|
2364
|
+
# },
|
2365
|
+
# ],
|
2366
|
+
# low_latency_hls_manifests: [
|
2367
|
+
# {
|
2368
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
2369
|
+
# manifest_name: "exampleLLManifest1",
|
2370
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
|
2371
|
+
# },
|
2372
|
+
# {
|
2373
|
+
# child_manifest_name: "exampleLLManifest2",
|
2374
|
+
# manifest_name: "exampleLLManifest2",
|
2375
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
|
2376
|
+
# },
|
2377
|
+
# ],
|
2378
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2379
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
2380
|
+
# },
|
2381
|
+
# {
|
2382
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointCMAF",
|
2383
|
+
# channel_group_name: "exampleChannelGroup",
|
2384
|
+
# channel_name: "exampleChannel",
|
2385
|
+
# container_type: "CMAF",
|
2386
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2387
|
+
# dash_manifests: [
|
2388
|
+
# {
|
2389
|
+
# manifest_name: "exampleDashManifest1",
|
2390
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest1.mpd",
|
2391
|
+
# },
|
2392
|
+
# {
|
2393
|
+
# manifest_name: "exampleDashManifest2",
|
2394
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleDashManifest2.mpd",
|
2395
|
+
# },
|
2396
|
+
# ],
|
2397
|
+
# force_endpoint_error_configuration: {
|
2398
|
+
# endpoint_error_conditions: [
|
2399
|
+
# "STALE_MANIFEST",
|
2400
|
+
# "INCOMPLETE_MANIFEST",
|
2401
|
+
# "MISSING_DRM_KEY",
|
2402
|
+
# "SLATE_INPUT",
|
2403
|
+
# ],
|
2404
|
+
# },
|
2405
|
+
# hls_manifests: [
|
2406
|
+
# {
|
2407
|
+
# child_manifest_name: "exampleChildManifest1",
|
2408
|
+
# manifest_name: "exampleManifest1",
|
2409
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest1.m3u8",
|
2410
|
+
# },
|
2411
|
+
# {
|
2412
|
+
# child_manifest_name: "exampleManifest2",
|
2413
|
+
# manifest_name: "exampleManifest2",
|
2414
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleManifest2.m3u8",
|
2415
|
+
# },
|
2416
|
+
# ],
|
2417
|
+
# low_latency_hls_manifests: [
|
2418
|
+
# {
|
2419
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
2420
|
+
# manifest_name: "exampleLLManifest1",
|
2421
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest1.m3u8",
|
2422
|
+
# },
|
2423
|
+
# {
|
2424
|
+
# child_manifest_name: "exampleLLManifest2",
|
2425
|
+
# manifest_name: "exampleLLManifest2",
|
2426
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointCMAF/exampleLLManifest2.m3u8",
|
2427
|
+
# },
|
2428
|
+
# ],
|
2429
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2430
|
+
# origin_endpoint_name: "exampleOriginEndpointCMAF",
|
2431
|
+
# },
|
2432
|
+
# ],
|
2433
|
+
# }
|
2434
|
+
#
|
1454
2435
|
# @example Request syntax with placeholder values
|
1455
2436
|
#
|
1456
2437
|
# resp = client.list_origin_endpoints({
|
@@ -1482,6 +2463,8 @@ module Aws::MediaPackageV2
|
|
1482
2463
|
# resp.items[0].dash_manifests #=> Array
|
1483
2464
|
# resp.items[0].dash_manifests[0].manifest_name #=> String
|
1484
2465
|
# resp.items[0].dash_manifests[0].url #=> String
|
2466
|
+
# resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
2467
|
+
# resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
1485
2468
|
# resp.next_token #=> String
|
1486
2469
|
#
|
1487
2470
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/ListOriginEndpoints AWS API Documentation
|
@@ -1502,6 +2485,21 @@ module Aws::MediaPackageV2
|
|
1502
2485
|
#
|
1503
2486
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1504
2487
|
#
|
2488
|
+
#
|
2489
|
+
# @example Example: List all tags for a resource
|
2490
|
+
#
|
2491
|
+
# resp = client.list_tags_for_resource({
|
2492
|
+
# resource_arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
2493
|
+
# })
|
2494
|
+
#
|
2495
|
+
# resp.to_h outputs the following:
|
2496
|
+
# {
|
2497
|
+
# tags: {
|
2498
|
+
# "key1" => "value1",
|
2499
|
+
# "key2" => "value2",
|
2500
|
+
# },
|
2501
|
+
# }
|
2502
|
+
#
|
1505
2503
|
# @example Request syntax with placeholder values
|
1506
2504
|
#
|
1507
2505
|
# resp = client.list_tags_for_resource({
|
@@ -1542,6 +2540,19 @@ module Aws::MediaPackageV2
|
|
1542
2540
|
#
|
1543
2541
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1544
2542
|
#
|
2543
|
+
#
|
2544
|
+
# @example Example: Creating a Channel Policy
|
2545
|
+
#
|
2546
|
+
# resp = client.put_channel_policy({
|
2547
|
+
# channel_group_name: "exampleChannelGroup",
|
2548
|
+
# channel_name: "exampleChannel",
|
2549
|
+
# policy: "{...}",
|
2550
|
+
# })
|
2551
|
+
#
|
2552
|
+
# resp.to_h outputs the following:
|
2553
|
+
# {
|
2554
|
+
# }
|
2555
|
+
#
|
1545
2556
|
# @example Request syntax with placeholder values
|
1546
2557
|
#
|
1547
2558
|
# resp = client.put_channel_policy({
|
@@ -1582,6 +2593,20 @@ module Aws::MediaPackageV2
|
|
1582
2593
|
#
|
1583
2594
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1584
2595
|
#
|
2596
|
+
#
|
2597
|
+
# @example Example: Creating an Origin Endpoint Policy
|
2598
|
+
#
|
2599
|
+
# resp = client.put_origin_endpoint_policy({
|
2600
|
+
# channel_group_name: "exampleChannelGroup",
|
2601
|
+
# channel_name: "exampleChannel",
|
2602
|
+
# origin_endpoint_name: "exampleOriginEndpoint",
|
2603
|
+
# policy: "{...}",
|
2604
|
+
# })
|
2605
|
+
#
|
2606
|
+
# resp.to_h outputs the following:
|
2607
|
+
# {
|
2608
|
+
# }
|
2609
|
+
#
|
1585
2610
|
# @example Request syntax with placeholder values
|
1586
2611
|
#
|
1587
2612
|
# resp = client.put_origin_endpoint_policy({
|
@@ -1621,6 +2646,21 @@ module Aws::MediaPackageV2
|
|
1621
2646
|
#
|
1622
2647
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1623
2648
|
#
|
2649
|
+
#
|
2650
|
+
# @example Example: Add tags to a resource
|
2651
|
+
#
|
2652
|
+
# resp = client.tag_resource({
|
2653
|
+
# resource_arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
2654
|
+
# tags: {
|
2655
|
+
# "key3" => "value3",
|
2656
|
+
# "key4" => "value4",
|
2657
|
+
# },
|
2658
|
+
# })
|
2659
|
+
#
|
2660
|
+
# resp.to_h outputs the following:
|
2661
|
+
# {
|
2662
|
+
# }
|
2663
|
+
#
|
1624
2664
|
# @example Request syntax with placeholder values
|
1625
2665
|
#
|
1626
2666
|
# resp = client.tag_resource({
|
@@ -1649,6 +2689,21 @@ module Aws::MediaPackageV2
|
|
1649
2689
|
#
|
1650
2690
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1651
2691
|
#
|
2692
|
+
#
|
2693
|
+
# @example Example: Remove tags from a resource
|
2694
|
+
#
|
2695
|
+
# resp = client.untag_resource({
|
2696
|
+
# resource_arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
2697
|
+
# tag_keys: [
|
2698
|
+
# "key3",
|
2699
|
+
# "key4",
|
2700
|
+
# ],
|
2701
|
+
# })
|
2702
|
+
#
|
2703
|
+
# resp.to_h outputs the following:
|
2704
|
+
# {
|
2705
|
+
# }
|
2706
|
+
#
|
1652
2707
|
# @example Request syntax with placeholder values
|
1653
2708
|
#
|
1654
2709
|
# resp = client.untag_resource({
|
@@ -1702,9 +2757,45 @@ module Aws::MediaPackageV2
|
|
1702
2757
|
# * {Types::UpdateChannelResponse#modified_at #modified_at} => Time
|
1703
2758
|
# * {Types::UpdateChannelResponse#description #description} => String
|
1704
2759
|
# * {Types::UpdateChannelResponse#ingest_endpoints #ingest_endpoints} => Array<Types::IngestEndpoint>
|
2760
|
+
# * {Types::UpdateChannelResponse#input_type #input_type} => String
|
1705
2761
|
# * {Types::UpdateChannelResponse#etag #etag} => String
|
1706
2762
|
# * {Types::UpdateChannelResponse#tags #tags} => Hash<String,String>
|
1707
2763
|
#
|
2764
|
+
#
|
2765
|
+
# @example Example: Updating a Channel
|
2766
|
+
#
|
2767
|
+
# resp = client.update_channel({
|
2768
|
+
# channel_group_name: "exampleChannelGroup",
|
2769
|
+
# channel_name: "exampleChannel",
|
2770
|
+
# description: "Updated description for exampleChannel",
|
2771
|
+
# })
|
2772
|
+
#
|
2773
|
+
# resp.to_h outputs the following:
|
2774
|
+
# {
|
2775
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
2776
|
+
# channel_group_name: "exampleChannelGroup",
|
2777
|
+
# channel_name: "exampleChannel",
|
2778
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2779
|
+
# description: "Updated description for exampleChannel",
|
2780
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
2781
|
+
# ingest_endpoints: [
|
2782
|
+
# {
|
2783
|
+
# id: "1",
|
2784
|
+
# url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
|
2785
|
+
# },
|
2786
|
+
# {
|
2787
|
+
# id: "2",
|
2788
|
+
# url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index",
|
2789
|
+
# },
|
2790
|
+
# ],
|
2791
|
+
# input_type: "HLS",
|
2792
|
+
# modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
|
2793
|
+
# tags: {
|
2794
|
+
# "key1" => "value1",
|
2795
|
+
# "key2" => "value2",
|
2796
|
+
# },
|
2797
|
+
# }
|
2798
|
+
#
|
1708
2799
|
# @example Request syntax with placeholder values
|
1709
2800
|
#
|
1710
2801
|
# resp = client.update_channel({
|
@@ -1725,6 +2816,7 @@ module Aws::MediaPackageV2
|
|
1725
2816
|
# resp.ingest_endpoints #=> Array
|
1726
2817
|
# resp.ingest_endpoints[0].id #=> String
|
1727
2818
|
# resp.ingest_endpoints[0].url #=> String
|
2819
|
+
# resp.input_type #=> String, one of "HLS", "CMAF"
|
1728
2820
|
# resp.etag #=> String
|
1729
2821
|
# resp.tags #=> Hash
|
1730
2822
|
# resp.tags["TagKey"] #=> String
|
@@ -1770,6 +2862,29 @@ module Aws::MediaPackageV2
|
|
1770
2862
|
# * {Types::UpdateChannelGroupResponse#etag #etag} => String
|
1771
2863
|
# * {Types::UpdateChannelGroupResponse#tags #tags} => Hash<String,String>
|
1772
2864
|
#
|
2865
|
+
#
|
2866
|
+
# @example Example: Updating a Channel Group
|
2867
|
+
#
|
2868
|
+
# resp = client.update_channel_group({
|
2869
|
+
# channel_group_name: "exampleChannelGroup",
|
2870
|
+
# description: "Updated description for exampleChannelGroup",
|
2871
|
+
# })
|
2872
|
+
#
|
2873
|
+
# resp.to_h outputs the following:
|
2874
|
+
# {
|
2875
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
|
2876
|
+
# channel_group_name: "exampleChannelGroup",
|
2877
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2878
|
+
# description: "Updated description for exampleChannelGroup",
|
2879
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
2880
|
+
# egress_domain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
|
2881
|
+
# modified_at: Time.parse("2022-10-18T10:36:00.00Z"),
|
2882
|
+
# tags: {
|
2883
|
+
# "key1" => "value1",
|
2884
|
+
# "key2" => "value2",
|
2885
|
+
# },
|
2886
|
+
# }
|
2887
|
+
#
|
1773
2888
|
# @example Request syntax with placeholder values
|
1774
2889
|
#
|
1775
2890
|
# resp = client.update_channel_group({
|
@@ -1849,6 +2964,9 @@ module Aws::MediaPackageV2
|
|
1849
2964
|
# @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
|
1850
2965
|
# A DASH manifest configuration.
|
1851
2966
|
#
|
2967
|
+
# @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
|
2968
|
+
# The failover settings for the endpoint.
|
2969
|
+
#
|
1852
2970
|
# @option params [String] :etag
|
1853
2971
|
# The expected current Entity Tag (ETag) for the resource. If the
|
1854
2972
|
# specified ETag does not match the resource's current entity tag, the
|
@@ -1868,10 +2986,203 @@ module Aws::MediaPackageV2
|
|
1868
2986
|
# * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
|
1869
2987
|
# * {Types::UpdateOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
1870
2988
|
# * {Types::UpdateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
2989
|
+
# * {Types::UpdateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
1871
2990
|
# * {Types::UpdateOriginEndpointResponse#etag #etag} => String
|
1872
2991
|
# * {Types::UpdateOriginEndpointResponse#tags #tags} => Hash<String,String>
|
1873
2992
|
# * {Types::UpdateOriginEndpointResponse#dash_manifests #dash_manifests} => Array<Types::GetDashManifestConfiguration>
|
1874
2993
|
#
|
2994
|
+
#
|
2995
|
+
# @example Example: Updating an OriginEndpoint
|
2996
|
+
#
|
2997
|
+
# resp = client.update_origin_endpoint({
|
2998
|
+
# channel_group_name: "exampleChannelGroup",
|
2999
|
+
# channel_name: "exampleChannel",
|
3000
|
+
# container_type: "TS",
|
3001
|
+
# description: "Updated description for exampleOriginEndpointTS",
|
3002
|
+
# force_endpoint_error_configuration: {
|
3003
|
+
# endpoint_error_conditions: [
|
3004
|
+
# "STALE_MANIFEST",
|
3005
|
+
# "INCOMPLETE_MANIFEST",
|
3006
|
+
# "MISSING_DRM_KEY",
|
3007
|
+
# "SLATE_INPUT",
|
3008
|
+
# ],
|
3009
|
+
# },
|
3010
|
+
# hls_manifests: [
|
3011
|
+
# {
|
3012
|
+
# child_manifest_name: "exampleChildManifest1",
|
3013
|
+
# manifest_name: "exampleManifest1",
|
3014
|
+
# manifest_window_seconds: 30,
|
3015
|
+
# program_date_time_interval_seconds: 60,
|
3016
|
+
# scte_hls: {
|
3017
|
+
# ad_marker_hls: "DATERANGE",
|
3018
|
+
# },
|
3019
|
+
# },
|
3020
|
+
# {
|
3021
|
+
# child_manifest_name: "exampleManifest2",
|
3022
|
+
# manifest_name: "exampleManifest2",
|
3023
|
+
# manifest_window_seconds: 30,
|
3024
|
+
# program_date_time_interval_seconds: 60,
|
3025
|
+
# scte_hls: {
|
3026
|
+
# ad_marker_hls: "DATERANGE",
|
3027
|
+
# },
|
3028
|
+
# },
|
3029
|
+
# ],
|
3030
|
+
# low_latency_hls_manifests: [
|
3031
|
+
# {
|
3032
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
3033
|
+
# manifest_name: "exampleLLManifest1",
|
3034
|
+
# manifest_window_seconds: 30,
|
3035
|
+
# program_date_time_interval_seconds: 60,
|
3036
|
+
# scte_hls: {
|
3037
|
+
# ad_marker_hls: "DATERANGE",
|
3038
|
+
# },
|
3039
|
+
# },
|
3040
|
+
# {
|
3041
|
+
# child_manifest_name: "exampleLLManifest2",
|
3042
|
+
# manifest_name: "exampleLLManifest2",
|
3043
|
+
# manifest_window_seconds: 30,
|
3044
|
+
# program_date_time_interval_seconds: 60,
|
3045
|
+
# scte_hls: {
|
3046
|
+
# ad_marker_hls: "DATERANGE",
|
3047
|
+
# },
|
3048
|
+
# },
|
3049
|
+
# ],
|
3050
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
3051
|
+
# segment: {
|
3052
|
+
# encryption: {
|
3053
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
|
3054
|
+
# encryption_method: {
|
3055
|
+
# ts_encryption_method: "AES_128",
|
3056
|
+
# },
|
3057
|
+
# key_rotation_interval_seconds: 300,
|
3058
|
+
# speke_key_provider: {
|
3059
|
+
# drm_systems: [
|
3060
|
+
# "CLEAR_KEY_AES_128",
|
3061
|
+
# ],
|
3062
|
+
# encryption_contract_configuration: {
|
3063
|
+
# preset_speke_20_audio: "SHARED",
|
3064
|
+
# preset_speke_20_video: "SHARED",
|
3065
|
+
# },
|
3066
|
+
# resource_id: "ResourceId",
|
3067
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
3068
|
+
# url: "https://foo.com",
|
3069
|
+
# },
|
3070
|
+
# },
|
3071
|
+
# include_iframe_only_streams: false,
|
3072
|
+
# scte: {
|
3073
|
+
# scte_filter: [
|
3074
|
+
# "SPLICE_INSERT",
|
3075
|
+
# ],
|
3076
|
+
# },
|
3077
|
+
# segment_duration_seconds: 7,
|
3078
|
+
# segment_name: "segmentName2",
|
3079
|
+
# ts_include_dvb_subtitles: false,
|
3080
|
+
# ts_use_audio_rendition_group: true,
|
3081
|
+
# },
|
3082
|
+
# startover_window_seconds: 600,
|
3083
|
+
# })
|
3084
|
+
#
|
3085
|
+
# resp.to_h outputs the following:
|
3086
|
+
# {
|
3087
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointTS",
|
3088
|
+
# channel_group_name: "exampleChannelGroup",
|
3089
|
+
# channel_name: "exampleChannel",
|
3090
|
+
# container_type: "TS",
|
3091
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3092
|
+
# description: "Updated description for exampleOriginEndpointTS",
|
3093
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3094
|
+
# force_endpoint_error_configuration: {
|
3095
|
+
# endpoint_error_conditions: [
|
3096
|
+
# "STALE_MANIFEST",
|
3097
|
+
# "INCOMPLETE_MANIFEST",
|
3098
|
+
# "MISSING_DRM_KEY",
|
3099
|
+
# "SLATE_INPUT",
|
3100
|
+
# ],
|
3101
|
+
# },
|
3102
|
+
# hls_manifests: [
|
3103
|
+
# {
|
3104
|
+
# child_manifest_name: "exampleChildManifest1",
|
3105
|
+
# manifest_name: "exampleManifest1",
|
3106
|
+
# manifest_window_seconds: 30,
|
3107
|
+
# program_date_time_interval_seconds: 60,
|
3108
|
+
# scte_hls: {
|
3109
|
+
# ad_marker_hls: "DATERANGE",
|
3110
|
+
# },
|
3111
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest1.m3u8",
|
3112
|
+
# },
|
3113
|
+
# {
|
3114
|
+
# child_manifest_name: "exampleManifest2",
|
3115
|
+
# manifest_name: "exampleManifest2",
|
3116
|
+
# manifest_window_seconds: 30,
|
3117
|
+
# program_date_time_interval_seconds: 60,
|
3118
|
+
# scte_hls: {
|
3119
|
+
# ad_marker_hls: "DATERANGE",
|
3120
|
+
# },
|
3121
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleManifest2.m3u8",
|
3122
|
+
# },
|
3123
|
+
# ],
|
3124
|
+
# low_latency_hls_manifests: [
|
3125
|
+
# {
|
3126
|
+
# child_manifest_name: "exampleLLChildManifest1",
|
3127
|
+
# manifest_name: "exampleLLManifest1",
|
3128
|
+
# manifest_window_seconds: 30,
|
3129
|
+
# program_date_time_interval_seconds: 60,
|
3130
|
+
# scte_hls: {
|
3131
|
+
# ad_marker_hls: "DATERANGE",
|
3132
|
+
# },
|
3133
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest1.m3u8",
|
3134
|
+
# },
|
3135
|
+
# {
|
3136
|
+
# child_manifest_name: "exampleLLManifest2",
|
3137
|
+
# manifest_name: "exampleLLManifest2",
|
3138
|
+
# manifest_window_seconds: 30,
|
3139
|
+
# program_date_time_interval_seconds: 60,
|
3140
|
+
# scte_hls: {
|
3141
|
+
# ad_marker_hls: "DATERANGE",
|
3142
|
+
# },
|
3143
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointTS/exampleLLManifest2.m3u8",
|
3144
|
+
# },
|
3145
|
+
# ],
|
3146
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3147
|
+
# origin_endpoint_name: "exampleOriginEndpointTS",
|
3148
|
+
# segment: {
|
3149
|
+
# encryption: {
|
3150
|
+
# constant_initialization_vector: "A382A901F3C1F7718512266CFFBB0B7E",
|
3151
|
+
# encryption_method: {
|
3152
|
+
# ts_encryption_method: "AES_128",
|
3153
|
+
# },
|
3154
|
+
# key_rotation_interval_seconds: 300,
|
3155
|
+
# speke_key_provider: {
|
3156
|
+
# drm_systems: [
|
3157
|
+
# "CLEAR_KEY_AES_128",
|
3158
|
+
# ],
|
3159
|
+
# encryption_contract_configuration: {
|
3160
|
+
# preset_speke_20_audio: "SHARED",
|
3161
|
+
# preset_speke_20_video: "SHARED",
|
3162
|
+
# },
|
3163
|
+
# resource_id: "ResourceId",
|
3164
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
3165
|
+
# url: "https://foo.com",
|
3166
|
+
# },
|
3167
|
+
# },
|
3168
|
+
# include_iframe_only_streams: false,
|
3169
|
+
# scte: {
|
3170
|
+
# scte_filter: [
|
3171
|
+
# "SPLICE_INSERT",
|
3172
|
+
# ],
|
3173
|
+
# },
|
3174
|
+
# segment_duration_seconds: 7,
|
3175
|
+
# segment_name: "segmentName2",
|
3176
|
+
# ts_include_dvb_subtitles: false,
|
3177
|
+
# ts_use_audio_rendition_group: true,
|
3178
|
+
# },
|
3179
|
+
# startover_window_seconds: 600,
|
3180
|
+
# tags: {
|
3181
|
+
# "key1" => "value1",
|
3182
|
+
# "key2" => "value2",
|
3183
|
+
# },
|
3184
|
+
# }
|
3185
|
+
#
|
1875
3186
|
# @example Request syntax with placeholder values
|
1876
3187
|
#
|
1877
3188
|
# resp = client.update_origin_endpoint({
|
@@ -1968,6 +3279,9 @@ module Aws::MediaPackageV2
|
|
1968
3279
|
# },
|
1969
3280
|
# },
|
1970
3281
|
# ],
|
3282
|
+
# force_endpoint_error_configuration: {
|
3283
|
+
# endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
|
3284
|
+
# },
|
1971
3285
|
# etag: "EntityTag",
|
1972
3286
|
# })
|
1973
3287
|
#
|
@@ -2022,6 +3336,8 @@ module Aws::MediaPackageV2
|
|
2022
3336
|
# resp.low_latency_hls_manifests[0].filter_configuration.start #=> Time
|
2023
3337
|
# resp.low_latency_hls_manifests[0].filter_configuration.end #=> Time
|
2024
3338
|
# resp.low_latency_hls_manifests[0].filter_configuration.time_delay_seconds #=> Integer
|
3339
|
+
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
3340
|
+
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
2025
3341
|
# resp.etag #=> String
|
2026
3342
|
# resp.tags #=> Hash
|
2027
3343
|
# resp.tags["TagKey"] #=> String
|
@@ -2066,7 +3382,7 @@ module Aws::MediaPackageV2
|
|
2066
3382
|
params: params,
|
2067
3383
|
config: config)
|
2068
3384
|
context[:gem_name] = 'aws-sdk-mediapackagev2'
|
2069
|
-
context[:gem_version] = '1.
|
3385
|
+
context[:gem_version] = '1.18.0'
|
2070
3386
|
Seahorse::Client::Request.new(handlers, context)
|
2071
3387
|
end
|
2072
3388
|
|