aws-sdk-mediapackagev2 1.41.0 → 1.42.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 +712 -7
- data/lib/aws-sdk-mediapackagev2/client_api.rb +40 -0
- data/lib/aws-sdk-mediapackagev2/types.rb +182 -1
- data/lib/aws-sdk-mediapackagev2.rb +1 -1
- data/sig/client.rbs +42 -7
- data/sig/types.rbs +38 -7
- metadata +1 -1
@@ -1065,6 +1065,12 @@ module Aws::MediaPackageV2
|
|
1065
1065
|
# @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
|
1066
1066
|
# A DASH manifest configuration.
|
1067
1067
|
#
|
1068
|
+
# @option params [Array<Types::CreateMssManifestConfiguration>] :mss_manifests
|
1069
|
+
# A list of Microsoft Smooth Streaming (MSS) manifest configurations for
|
1070
|
+
# the origin endpoint. You can configure multiple MSS manifests to
|
1071
|
+
# provide different streaming experiences or to support different client
|
1072
|
+
# requirements.
|
1073
|
+
#
|
1068
1074
|
# @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
|
1069
1075
|
# The failover settings for the endpoint.
|
1070
1076
|
#
|
@@ -1091,6 +1097,7 @@ module Aws::MediaPackageV2
|
|
1091
1097
|
# * {Types::CreateOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
1092
1098
|
# * {Types::CreateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
1093
1099
|
# * {Types::CreateOriginEndpointResponse#dash_manifests #dash_manifests} => Array<Types::GetDashManifestConfiguration>
|
1100
|
+
# * {Types::CreateOriginEndpointResponse#mss_manifests #mss_manifests} => Array<Types::GetMssManifestConfiguration>
|
1094
1101
|
# * {Types::CreateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
1095
1102
|
# * {Types::CreateOriginEndpointResponse#etag #etag} => String
|
1096
1103
|
# * {Types::CreateOriginEndpointResponse#tags #tags} => Hash<String,String>
|
@@ -1702,13 +1709,119 @@ module Aws::MediaPackageV2
|
|
1702
1709
|
# },
|
1703
1710
|
# }
|
1704
1711
|
#
|
1712
|
+
# @example Example: Creating an OriginEndpoint with container type ISM, and encryption enabled
|
1713
|
+
#
|
1714
|
+
# resp = client.create_origin_endpoint({
|
1715
|
+
# channel_group_name: "exampleChannelGroup",
|
1716
|
+
# channel_name: "exampleChannel",
|
1717
|
+
# container_type: "ISM",
|
1718
|
+
# description: "Description for exampleOriginEndpointISM",
|
1719
|
+
# force_endpoint_error_configuration: {
|
1720
|
+
# endpoint_error_conditions: [
|
1721
|
+
# "STALE_MANIFEST",
|
1722
|
+
# "INCOMPLETE_MANIFEST",
|
1723
|
+
# "MISSING_DRM_KEY",
|
1724
|
+
# "SLATE_INPUT",
|
1725
|
+
# ],
|
1726
|
+
# },
|
1727
|
+
# mss_manifests: [
|
1728
|
+
# {
|
1729
|
+
# manifest_layout: "FULL",
|
1730
|
+
# manifest_name: "exampleMssManifest1",
|
1731
|
+
# manifest_window_seconds: 60,
|
1732
|
+
# },
|
1733
|
+
# ],
|
1734
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
1735
|
+
# segment: {
|
1736
|
+
# encryption: {
|
1737
|
+
# encryption_method: {
|
1738
|
+
# ism_encryption_method: "CENC",
|
1739
|
+
# },
|
1740
|
+
# speke_key_provider: {
|
1741
|
+
# drm_systems: [
|
1742
|
+
# "PLAYREADY",
|
1743
|
+
# ],
|
1744
|
+
# encryption_contract_configuration: {
|
1745
|
+
# preset_speke_20_audio: "SHARED",
|
1746
|
+
# preset_speke_20_video: "SHARED",
|
1747
|
+
# },
|
1748
|
+
# resource_id: "ResourceId",
|
1749
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
1750
|
+
# url: "https://speke-key-provider.example.com",
|
1751
|
+
# },
|
1752
|
+
# },
|
1753
|
+
# segment_duration_seconds: 2,
|
1754
|
+
# segment_name: "segmentName",
|
1755
|
+
# },
|
1756
|
+
# startover_window_seconds: 300,
|
1757
|
+
# tags: {
|
1758
|
+
# "key1" => "value1",
|
1759
|
+
# "key2" => "value2",
|
1760
|
+
# },
|
1761
|
+
# })
|
1762
|
+
#
|
1763
|
+
# resp.to_h outputs the following:
|
1764
|
+
# {
|
1765
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
|
1766
|
+
# channel_group_name: "exampleChannelGroup",
|
1767
|
+
# channel_name: "exampleChannel",
|
1768
|
+
# container_type: "ISM",
|
1769
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1770
|
+
# description: "Description for exampleOriginEndpointISM",
|
1771
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
1772
|
+
# force_endpoint_error_configuration: {
|
1773
|
+
# endpoint_error_conditions: [
|
1774
|
+
# "STALE_MANIFEST",
|
1775
|
+
# "INCOMPLETE_MANIFEST",
|
1776
|
+
# "MISSING_DRM_KEY",
|
1777
|
+
# "SLATE_INPUT",
|
1778
|
+
# ],
|
1779
|
+
# },
|
1780
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
1781
|
+
# mss_manifests: [
|
1782
|
+
# {
|
1783
|
+
# manifest_layout: "FULL",
|
1784
|
+
# manifest_name: "exampleMssManifest1",
|
1785
|
+
# manifest_window_seconds: 60,
|
1786
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest",
|
1787
|
+
# },
|
1788
|
+
# ],
|
1789
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
1790
|
+
# segment: {
|
1791
|
+
# encryption: {
|
1792
|
+
# encryption_method: {
|
1793
|
+
# ism_encryption_method: "CENC",
|
1794
|
+
# },
|
1795
|
+
# speke_key_provider: {
|
1796
|
+
# drm_systems: [
|
1797
|
+
# "PLAYREADY",
|
1798
|
+
# ],
|
1799
|
+
# encryption_contract_configuration: {
|
1800
|
+
# preset_speke_20_audio: "SHARED",
|
1801
|
+
# preset_speke_20_video: "SHARED",
|
1802
|
+
# },
|
1803
|
+
# resource_id: "ResourceId",
|
1804
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
1805
|
+
# url: "https://speke-key-provider.example.com",
|
1806
|
+
# },
|
1807
|
+
# },
|
1808
|
+
# segment_duration_seconds: 2,
|
1809
|
+
# segment_name: "segmentName",
|
1810
|
+
# },
|
1811
|
+
# startover_window_seconds: 300,
|
1812
|
+
# tags: {
|
1813
|
+
# "key1" => "value1",
|
1814
|
+
# "key2" => "value2",
|
1815
|
+
# },
|
1816
|
+
# }
|
1817
|
+
#
|
1705
1818
|
# @example Request syntax with placeholder values
|
1706
1819
|
#
|
1707
1820
|
# resp = client.create_origin_endpoint({
|
1708
1821
|
# channel_group_name: "ResourceName", # required
|
1709
1822
|
# channel_name: "ResourceName", # required
|
1710
1823
|
# origin_endpoint_name: "ResourceName", # required
|
1711
|
-
# container_type: "TS", # required, accepts TS, CMAF
|
1824
|
+
# container_type: "TS", # required, accepts TS, CMAF, ISM
|
1712
1825
|
# segment: {
|
1713
1826
|
# segment_duration_seconds: 1,
|
1714
1827
|
# segment_name: "SegmentSegmentNameString",
|
@@ -1723,8 +1836,10 @@ module Aws::MediaPackageV2
|
|
1723
1836
|
# encryption_method: { # required
|
1724
1837
|
# ts_encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
1725
1838
|
# cmaf_encryption_method: "CENC", # accepts CENC, CBCS
|
1839
|
+
# ism_encryption_method: "CENC", # accepts CENC
|
1726
1840
|
# },
|
1727
1841
|
# key_rotation_interval_seconds: 1,
|
1842
|
+
# cmaf_exclude_segment_drm_metadata: false,
|
1728
1843
|
# speke_key_provider: { # required
|
1729
1844
|
# encryption_contract_configuration: { # required
|
1730
1845
|
# preset_speke_20_audio: "PRESET_AUDIO_1", # required, accepts PRESET_AUDIO_1, PRESET_AUDIO_2, PRESET_AUDIO_3, SHARED, UNENCRYPTED
|
@@ -1847,6 +1962,20 @@ module Aws::MediaPackageV2
|
|
1847
1962
|
# },
|
1848
1963
|
# },
|
1849
1964
|
# ],
|
1965
|
+
# mss_manifests: [
|
1966
|
+
# {
|
1967
|
+
# manifest_name: "ManifestName", # required
|
1968
|
+
# manifest_window_seconds: 1,
|
1969
|
+
# filter_configuration: {
|
1970
|
+
# manifest_filter: "FilterConfigurationManifestFilterString",
|
1971
|
+
# start: Time.now,
|
1972
|
+
# end: Time.now,
|
1973
|
+
# time_delay_seconds: 1,
|
1974
|
+
# clip_start_time: Time.now,
|
1975
|
+
# },
|
1976
|
+
# manifest_layout: "FULL", # accepts FULL, COMPACT
|
1977
|
+
# },
|
1978
|
+
# ],
|
1850
1979
|
# force_endpoint_error_configuration: {
|
1851
1980
|
# endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
|
1852
1981
|
# },
|
@@ -1861,7 +1990,7 @@ module Aws::MediaPackageV2
|
|
1861
1990
|
# resp.channel_group_name #=> String
|
1862
1991
|
# resp.channel_name #=> String
|
1863
1992
|
# resp.origin_endpoint_name #=> String
|
1864
|
-
# resp.container_type #=> String, one of "TS", "CMAF"
|
1993
|
+
# resp.container_type #=> String, one of "TS", "CMAF", "ISM"
|
1865
1994
|
# resp.segment.segment_duration_seconds #=> Integer
|
1866
1995
|
# resp.segment.segment_name #=> String
|
1867
1996
|
# resp.segment.ts_use_audio_rendition_group #=> Boolean
|
@@ -1872,7 +2001,9 @@ module Aws::MediaPackageV2
|
|
1872
2001
|
# resp.segment.encryption.constant_initialization_vector #=> String
|
1873
2002
|
# resp.segment.encryption.encryption_method.ts_encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
1874
2003
|
# resp.segment.encryption.encryption_method.cmaf_encryption_method #=> String, one of "CENC", "CBCS"
|
2004
|
+
# resp.segment.encryption.encryption_method.ism_encryption_method #=> String, one of "CENC"
|
1875
2005
|
# resp.segment.encryption.key_rotation_interval_seconds #=> Integer
|
2006
|
+
# resp.segment.encryption.cmaf_exclude_segment_drm_metadata #=> Boolean
|
1876
2007
|
# resp.segment.encryption.speke_key_provider.encryption_contract_configuration.preset_speke_20_audio #=> String, one of "PRESET_AUDIO_1", "PRESET_AUDIO_2", "PRESET_AUDIO_3", "SHARED", "UNENCRYPTED"
|
1877
2008
|
# resp.segment.encryption.speke_key_provider.encryption_contract_configuration.preset_speke_20_video #=> String, one of "PRESET_VIDEO_1", "PRESET_VIDEO_2", "PRESET_VIDEO_3", "PRESET_VIDEO_4", "PRESET_VIDEO_5", "PRESET_VIDEO_6", "PRESET_VIDEO_7", "PRESET_VIDEO_8", "SHARED", "UNENCRYPTED"
|
1878
2009
|
# resp.segment.encryption.speke_key_provider.resource_id #=> String
|
@@ -1953,6 +2084,16 @@ module Aws::MediaPackageV2
|
|
1953
2084
|
# resp.dash_manifests[0].dvb_settings.error_metrics[0].probability #=> Integer
|
1954
2085
|
# resp.dash_manifests[0].compactness #=> String, one of "STANDARD", "NONE"
|
1955
2086
|
# resp.dash_manifests[0].subtitle_configuration.ttml_configuration.ttml_profile #=> String, one of "IMSC_1", "EBU_TT_D_101"
|
2087
|
+
# resp.mss_manifests #=> Array
|
2088
|
+
# resp.mss_manifests[0].manifest_name #=> String
|
2089
|
+
# resp.mss_manifests[0].url #=> String
|
2090
|
+
# resp.mss_manifests[0].filter_configuration.manifest_filter #=> String
|
2091
|
+
# resp.mss_manifests[0].filter_configuration.start #=> Time
|
2092
|
+
# resp.mss_manifests[0].filter_configuration.end #=> Time
|
2093
|
+
# resp.mss_manifests[0].filter_configuration.time_delay_seconds #=> Integer
|
2094
|
+
# resp.mss_manifests[0].filter_configuration.clip_start_time #=> Time
|
2095
|
+
# resp.mss_manifests[0].manifest_window_seconds #=> Integer
|
2096
|
+
# resp.mss_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
1956
2097
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
1957
2098
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
1958
2099
|
# resp.etag #=> String
|
@@ -2589,6 +2730,7 @@ module Aws::MediaPackageV2
|
|
2589
2730
|
# * {Types::GetOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
2590
2731
|
# * {Types::GetOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
2591
2732
|
# * {Types::GetOriginEndpointResponse#dash_manifests #dash_manifests} => Array<Types::GetDashManifestConfiguration>
|
2733
|
+
# * {Types::GetOriginEndpointResponse#mss_manifests #mss_manifests} => Array<Types::GetMssManifestConfiguration>
|
2592
2734
|
# * {Types::GetOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
2593
2735
|
# * {Types::GetOriginEndpointResponse#etag #etag} => String
|
2594
2736
|
# * {Types::GetOriginEndpointResponse#tags #tags} => Hash<String,String>
|
@@ -2704,6 +2846,75 @@ module Aws::MediaPackageV2
|
|
2704
2846
|
# },
|
2705
2847
|
# }
|
2706
2848
|
#
|
2849
|
+
# @example Example: Getting an OriginEndpoint with ISM container
|
2850
|
+
#
|
2851
|
+
# resp = client.get_origin_endpoint({
|
2852
|
+
# channel_group_name: "exampleChannelGroup",
|
2853
|
+
# channel_name: "exampleChannel",
|
2854
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
2855
|
+
# })
|
2856
|
+
#
|
2857
|
+
# resp.to_h outputs the following:
|
2858
|
+
# {
|
2859
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
|
2860
|
+
# channel_group_name: "exampleChannelGroup",
|
2861
|
+
# channel_name: "exampleChannel",
|
2862
|
+
# container_type: "ISM",
|
2863
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2864
|
+
# description: "Description for exampleOriginEndpointISM",
|
2865
|
+
# etag: "HmgU+ewBzHJS5xvz9nLXm2SEQxTsjRfk0rVvuMayoyl=",
|
2866
|
+
# force_endpoint_error_configuration: {
|
2867
|
+
# endpoint_error_conditions: [
|
2868
|
+
# "STALE_MANIFEST",
|
2869
|
+
# "INCOMPLETE_MANIFEST",
|
2870
|
+
# "MISSING_DRM_KEY",
|
2871
|
+
# "SLATE_INPUT",
|
2872
|
+
# ],
|
2873
|
+
# },
|
2874
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
2875
|
+
# mss_manifests: [
|
2876
|
+
# {
|
2877
|
+
# manifest_layout: "FULL",
|
2878
|
+
# manifest_name: "exampleMssManifest1",
|
2879
|
+
# manifest_window_seconds: 60,
|
2880
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest",
|
2881
|
+
# },
|
2882
|
+
# {
|
2883
|
+
# manifest_layout: "COMPACT",
|
2884
|
+
# manifest_name: "exampleMssManifest2",
|
2885
|
+
# manifest_window_seconds: 30,
|
2886
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest2.ism/Manifest",
|
2887
|
+
# },
|
2888
|
+
# ],
|
2889
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
2890
|
+
# segment: {
|
2891
|
+
# encryption: {
|
2892
|
+
# encryption_method: {
|
2893
|
+
# ism_encryption_method: "CENC",
|
2894
|
+
# },
|
2895
|
+
# speke_key_provider: {
|
2896
|
+
# drm_systems: [
|
2897
|
+
# "PLAYREADY",
|
2898
|
+
# ],
|
2899
|
+
# encryption_contract_configuration: {
|
2900
|
+
# preset_speke_20_audio: "SHARED",
|
2901
|
+
# preset_speke_20_video: "SHARED",
|
2902
|
+
# },
|
2903
|
+
# resource_id: "ResourceId",
|
2904
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
2905
|
+
# url: "https://speke-key-provider.example.com",
|
2906
|
+
# },
|
2907
|
+
# },
|
2908
|
+
# segment_duration_seconds: 2,
|
2909
|
+
# segment_name: "segmentName",
|
2910
|
+
# },
|
2911
|
+
# startover_window_seconds: 300,
|
2912
|
+
# tags: {
|
2913
|
+
# "key1" => "value1",
|
2914
|
+
# "key2" => "value2",
|
2915
|
+
# },
|
2916
|
+
# }
|
2917
|
+
#
|
2707
2918
|
# @example Request syntax with placeholder values
|
2708
2919
|
#
|
2709
2920
|
# resp = client.get_origin_endpoint({
|
@@ -2718,7 +2929,7 @@ module Aws::MediaPackageV2
|
|
2718
2929
|
# resp.channel_group_name #=> String
|
2719
2930
|
# resp.channel_name #=> String
|
2720
2931
|
# resp.origin_endpoint_name #=> String
|
2721
|
-
# resp.container_type #=> String, one of "TS", "CMAF"
|
2932
|
+
# resp.container_type #=> String, one of "TS", "CMAF", "ISM"
|
2722
2933
|
# resp.segment.segment_duration_seconds #=> Integer
|
2723
2934
|
# resp.segment.segment_name #=> String
|
2724
2935
|
# resp.segment.ts_use_audio_rendition_group #=> Boolean
|
@@ -2729,7 +2940,9 @@ module Aws::MediaPackageV2
|
|
2729
2940
|
# resp.segment.encryption.constant_initialization_vector #=> String
|
2730
2941
|
# resp.segment.encryption.encryption_method.ts_encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
2731
2942
|
# resp.segment.encryption.encryption_method.cmaf_encryption_method #=> String, one of "CENC", "CBCS"
|
2943
|
+
# resp.segment.encryption.encryption_method.ism_encryption_method #=> String, one of "CENC"
|
2732
2944
|
# resp.segment.encryption.key_rotation_interval_seconds #=> Integer
|
2945
|
+
# resp.segment.encryption.cmaf_exclude_segment_drm_metadata #=> Boolean
|
2733
2946
|
# resp.segment.encryption.speke_key_provider.encryption_contract_configuration.preset_speke_20_audio #=> String, one of "PRESET_AUDIO_1", "PRESET_AUDIO_2", "PRESET_AUDIO_3", "SHARED", "UNENCRYPTED"
|
2734
2947
|
# resp.segment.encryption.speke_key_provider.encryption_contract_configuration.preset_speke_20_video #=> String, one of "PRESET_VIDEO_1", "PRESET_VIDEO_2", "PRESET_VIDEO_3", "PRESET_VIDEO_4", "PRESET_VIDEO_5", "PRESET_VIDEO_6", "PRESET_VIDEO_7", "PRESET_VIDEO_8", "SHARED", "UNENCRYPTED"
|
2735
2948
|
# resp.segment.encryption.speke_key_provider.resource_id #=> String
|
@@ -2811,6 +3024,16 @@ module Aws::MediaPackageV2
|
|
2811
3024
|
# resp.dash_manifests[0].dvb_settings.error_metrics[0].probability #=> Integer
|
2812
3025
|
# resp.dash_manifests[0].compactness #=> String, one of "STANDARD", "NONE"
|
2813
3026
|
# resp.dash_manifests[0].subtitle_configuration.ttml_configuration.ttml_profile #=> String, one of "IMSC_1", "EBU_TT_D_101"
|
3027
|
+
# resp.mss_manifests #=> Array
|
3028
|
+
# resp.mss_manifests[0].manifest_name #=> String
|
3029
|
+
# resp.mss_manifests[0].url #=> String
|
3030
|
+
# resp.mss_manifests[0].filter_configuration.manifest_filter #=> String
|
3031
|
+
# resp.mss_manifests[0].filter_configuration.start #=> Time
|
3032
|
+
# resp.mss_manifests[0].filter_configuration.end #=> Time
|
3033
|
+
# resp.mss_manifests[0].filter_configuration.time_delay_seconds #=> Integer
|
3034
|
+
# resp.mss_manifests[0].filter_configuration.clip_start_time #=> Time
|
3035
|
+
# resp.mss_manifests[0].manifest_window_seconds #=> Integer
|
3036
|
+
# resp.mss_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
2814
3037
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
2815
3038
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
2816
3039
|
# resp.etag #=> String
|
@@ -3075,6 +3298,310 @@ module Aws::MediaPackageV2
|
|
3075
3298
|
#
|
3076
3299
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3077
3300
|
#
|
3301
|
+
#
|
3302
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup only
|
3303
|
+
#
|
3304
|
+
# resp = client.list_harvest_jobs({
|
3305
|
+
# channel_group_name: "exampleChannelGroup",
|
3306
|
+
# })
|
3307
|
+
#
|
3308
|
+
# resp.to_h outputs the following:
|
3309
|
+
# {
|
3310
|
+
# items: [
|
3311
|
+
# {
|
3312
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3313
|
+
# channel_group_name: "exampleChannelGroup",
|
3314
|
+
# channel_name: "exampleChannelName",
|
3315
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3316
|
+
# description: "Example HarvestJob description",
|
3317
|
+
# destination: {
|
3318
|
+
# s3_destination: {
|
3319
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3320
|
+
# destination_path: "manifests",
|
3321
|
+
# },
|
3322
|
+
# },
|
3323
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3324
|
+
# harvest_job_name: "HarvestJobName",
|
3325
|
+
# harvested_manifests: {
|
3326
|
+
# dash_manifests: [
|
3327
|
+
# {
|
3328
|
+
# manifest_name: "DashManifest",
|
3329
|
+
# },
|
3330
|
+
# ],
|
3331
|
+
# hls_manifests: [
|
3332
|
+
# {
|
3333
|
+
# manifest_name: "HlsManifest",
|
3334
|
+
# },
|
3335
|
+
# ],
|
3336
|
+
# low_latency_hls_manifests: [
|
3337
|
+
# {
|
3338
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3339
|
+
# },
|
3340
|
+
# ],
|
3341
|
+
# },
|
3342
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3343
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3344
|
+
# schedule_configuration: {
|
3345
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3346
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3347
|
+
# },
|
3348
|
+
# status: "QUEUED",
|
3349
|
+
# },
|
3350
|
+
# {
|
3351
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName2/originEndpoint/exampleOriginEndpointName2/harvestJob/HarvestJobName2",
|
3352
|
+
# channel_group_name: "exampleChannelGroup",
|
3353
|
+
# channel_name: "exampleChannelName2",
|
3354
|
+
# created_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3355
|
+
# description: "Example HarvestJob2 description",
|
3356
|
+
# destination: {
|
3357
|
+
# s3_destination: {
|
3358
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3359
|
+
# destination_path: "manifests",
|
3360
|
+
# },
|
3361
|
+
# },
|
3362
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3363
|
+
# harvest_job_name: "HarvestJobName2",
|
3364
|
+
# harvested_manifests: {
|
3365
|
+
# dash_manifests: [
|
3366
|
+
# {
|
3367
|
+
# manifest_name: "DashManifest",
|
3368
|
+
# },
|
3369
|
+
# ],
|
3370
|
+
# hls_manifests: [
|
3371
|
+
# {
|
3372
|
+
# manifest_name: "HlsManifest",
|
3373
|
+
# },
|
3374
|
+
# ],
|
3375
|
+
# low_latency_hls_manifests: [
|
3376
|
+
# {
|
3377
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3378
|
+
# },
|
3379
|
+
# ],
|
3380
|
+
# },
|
3381
|
+
# modified_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3382
|
+
# origin_endpoint_name: "exampleOriginEndpointName2",
|
3383
|
+
# schedule_configuration: {
|
3384
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3385
|
+
# start_time: Time.parse("2024-05-28T02:00:00.00Z"),
|
3386
|
+
# },
|
3387
|
+
# status: "IN_PROGRESS",
|
3388
|
+
# },
|
3389
|
+
# ],
|
3390
|
+
# next_token: "someTokenValue",
|
3391
|
+
# }
|
3392
|
+
#
|
3393
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup, Channel only
|
3394
|
+
#
|
3395
|
+
# resp = client.list_harvest_jobs({
|
3396
|
+
# channel_group_name: "exampleChannelGroup",
|
3397
|
+
# channel_name: "exampleChannelName",
|
3398
|
+
# })
|
3399
|
+
#
|
3400
|
+
# resp.to_h outputs the following:
|
3401
|
+
# {
|
3402
|
+
# items: [
|
3403
|
+
# {
|
3404
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3405
|
+
# channel_group_name: "exampleChannelGroup",
|
3406
|
+
# channel_name: "exampleChannelName",
|
3407
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3408
|
+
# description: "Example HarvestJob description",
|
3409
|
+
# destination: {
|
3410
|
+
# s3_destination: {
|
3411
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3412
|
+
# destination_path: "manifests",
|
3413
|
+
# },
|
3414
|
+
# },
|
3415
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3416
|
+
# harvest_job_name: "HarvestJobName",
|
3417
|
+
# harvested_manifests: {
|
3418
|
+
# dash_manifests: [
|
3419
|
+
# {
|
3420
|
+
# manifest_name: "DashManifest",
|
3421
|
+
# },
|
3422
|
+
# ],
|
3423
|
+
# hls_manifests: [
|
3424
|
+
# {
|
3425
|
+
# manifest_name: "HlsManifest",
|
3426
|
+
# },
|
3427
|
+
# ],
|
3428
|
+
# low_latency_hls_manifests: [
|
3429
|
+
# {
|
3430
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3431
|
+
# },
|
3432
|
+
# ],
|
3433
|
+
# },
|
3434
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3435
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3436
|
+
# schedule_configuration: {
|
3437
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3438
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3439
|
+
# },
|
3440
|
+
# status: "QUEUED",
|
3441
|
+
# },
|
3442
|
+
# {
|
3443
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName2/harvestJob/HarvestJobName2",
|
3444
|
+
# channel_group_name: "exampleChannelGroup",
|
3445
|
+
# channel_name: "exampleChannelName",
|
3446
|
+
# created_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3447
|
+
# description: "Example HarvestJob2 description",
|
3448
|
+
# destination: {
|
3449
|
+
# s3_destination: {
|
3450
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3451
|
+
# destination_path: "manifests",
|
3452
|
+
# },
|
3453
|
+
# },
|
3454
|
+
# harvest_job_name: "HarvestJobName2",
|
3455
|
+
# harvested_manifests: {
|
3456
|
+
# dash_manifests: [
|
3457
|
+
# {
|
3458
|
+
# manifest_name: "DashManifest",
|
3459
|
+
# },
|
3460
|
+
# ],
|
3461
|
+
# hls_manifests: [
|
3462
|
+
# {
|
3463
|
+
# manifest_name: "HlsManifest",
|
3464
|
+
# },
|
3465
|
+
# ],
|
3466
|
+
# low_latency_hls_manifests: [
|
3467
|
+
# {
|
3468
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3469
|
+
# },
|
3470
|
+
# ],
|
3471
|
+
# },
|
3472
|
+
# modified_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3473
|
+
# origin_endpoint_name: "exampleOriginEndpointName2",
|
3474
|
+
# schedule_configuration: {
|
3475
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3476
|
+
# start_time: Time.parse("2024-05-28T02:00:00.00Z"),
|
3477
|
+
# },
|
3478
|
+
# status: "IN_PROGRESS",
|
3479
|
+
# },
|
3480
|
+
# ],
|
3481
|
+
# next_token: "someTokenValue",
|
3482
|
+
# }
|
3483
|
+
#
|
3484
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup, Channel, OriginEndpoint
|
3485
|
+
#
|
3486
|
+
# resp = client.list_harvest_jobs({
|
3487
|
+
# channel_group_name: "exampleChannelGroup",
|
3488
|
+
# channel_name: "exampleChannelName",
|
3489
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3490
|
+
# })
|
3491
|
+
#
|
3492
|
+
# resp.to_h outputs the following:
|
3493
|
+
# {
|
3494
|
+
# items: [
|
3495
|
+
# {
|
3496
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3497
|
+
# channel_group_name: "exampleChannelGroup",
|
3498
|
+
# channel_name: "exampleChannelName",
|
3499
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3500
|
+
# description: "Example HarvestJob description",
|
3501
|
+
# destination: {
|
3502
|
+
# s3_destination: {
|
3503
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3504
|
+
# destination_path: "manifests",
|
3505
|
+
# },
|
3506
|
+
# },
|
3507
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3508
|
+
# harvest_job_name: "HarvestJobName",
|
3509
|
+
# harvested_manifests: {
|
3510
|
+
# dash_manifests: [
|
3511
|
+
# {
|
3512
|
+
# manifest_name: "DashManifest",
|
3513
|
+
# },
|
3514
|
+
# ],
|
3515
|
+
# hls_manifests: [
|
3516
|
+
# {
|
3517
|
+
# manifest_name: "HlsManifest",
|
3518
|
+
# },
|
3519
|
+
# ],
|
3520
|
+
# low_latency_hls_manifests: [
|
3521
|
+
# {
|
3522
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3523
|
+
# },
|
3524
|
+
# ],
|
3525
|
+
# },
|
3526
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3527
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3528
|
+
# schedule_configuration: {
|
3529
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3530
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3531
|
+
# },
|
3532
|
+
# status: "QUEUED",
|
3533
|
+
# },
|
3534
|
+
# ],
|
3535
|
+
# next_token: "someTokenValue",
|
3536
|
+
# }
|
3537
|
+
#
|
3538
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup, Channel, OriginEndpoint + Status filter
|
3539
|
+
#
|
3540
|
+
# resp = client.list_harvest_jobs({
|
3541
|
+
# channel_group_name: "exampleChannelGroup",
|
3542
|
+
# channel_name: "exampleChannelName",
|
3543
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3544
|
+
# status: "QUEUED",
|
3545
|
+
# })
|
3546
|
+
#
|
3547
|
+
# resp.to_h outputs the following:
|
3548
|
+
# {
|
3549
|
+
# items: [
|
3550
|
+
# {
|
3551
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3552
|
+
# channel_group_name: "exampleChannelGroup",
|
3553
|
+
# channel_name: "exampleChannelName",
|
3554
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3555
|
+
# description: "Example HarvestJob description",
|
3556
|
+
# destination: {
|
3557
|
+
# s3_destination: {
|
3558
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3559
|
+
# destination_path: "manifests",
|
3560
|
+
# },
|
3561
|
+
# },
|
3562
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3563
|
+
# harvest_job_name: "HarvestJobName",
|
3564
|
+
# harvested_manifests: {
|
3565
|
+
# dash_manifests: [
|
3566
|
+
# {
|
3567
|
+
# manifest_name: "DashManifest",
|
3568
|
+
# },
|
3569
|
+
# ],
|
3570
|
+
# hls_manifests: [
|
3571
|
+
# {
|
3572
|
+
# manifest_name: "HlsManifest",
|
3573
|
+
# },
|
3574
|
+
# ],
|
3575
|
+
# low_latency_hls_manifests: [
|
3576
|
+
# {
|
3577
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3578
|
+
# },
|
3579
|
+
# ],
|
3580
|
+
# },
|
3581
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3582
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3583
|
+
# schedule_configuration: {
|
3584
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3585
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3586
|
+
# },
|
3587
|
+
# status: "QUEUED",
|
3588
|
+
# },
|
3589
|
+
# ],
|
3590
|
+
# next_token: "someTokenValue",
|
3591
|
+
# }
|
3592
|
+
#
|
3593
|
+
# @example Example: ListHarvestJobs: Empty response
|
3594
|
+
#
|
3595
|
+
# resp = client.list_harvest_jobs({
|
3596
|
+
# channel_group_name: "exampleChannelGroup",
|
3597
|
+
# channel_name: "exampleChannelName",
|
3598
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3599
|
+
# })
|
3600
|
+
#
|
3601
|
+
# resp.to_h outputs the following:
|
3602
|
+
# {
|
3603
|
+
# }
|
3604
|
+
#
|
3078
3605
|
# @example Request syntax with placeholder values
|
3079
3606
|
#
|
3080
3607
|
# resp = client.list_harvest_jobs({
|
@@ -3252,6 +3779,34 @@ module Aws::MediaPackageV2
|
|
3252
3779
|
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3253
3780
|
# origin_endpoint_name: "exampleOriginEndpointCMAF",
|
3254
3781
|
# },
|
3782
|
+
# {
|
3783
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
|
3784
|
+
# channel_group_name: "exampleChannelGroup",
|
3785
|
+
# channel_name: "exampleChannel",
|
3786
|
+
# container_type: "ISM",
|
3787
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3788
|
+
# description: "Description for exampleOriginEndpointISM",
|
3789
|
+
# force_endpoint_error_configuration: {
|
3790
|
+
# endpoint_error_conditions: [
|
3791
|
+
# "STALE_MANIFEST",
|
3792
|
+
# "INCOMPLETE_MANIFEST",
|
3793
|
+
# "MISSING_DRM_KEY",
|
3794
|
+
# "SLATE_INPUT",
|
3795
|
+
# ],
|
3796
|
+
# },
|
3797
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3798
|
+
# mss_manifests: [
|
3799
|
+
# {
|
3800
|
+
# manifest_name: "exampleMssManifest1",
|
3801
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest",
|
3802
|
+
# },
|
3803
|
+
# {
|
3804
|
+
# manifest_name: "exampleMssManifest2",
|
3805
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest2.ism/Manifest",
|
3806
|
+
# },
|
3807
|
+
# ],
|
3808
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
3809
|
+
# },
|
3255
3810
|
# ],
|
3256
3811
|
# }
|
3257
3812
|
#
|
@@ -3271,7 +3826,7 @@ module Aws::MediaPackageV2
|
|
3271
3826
|
# resp.items[0].channel_group_name #=> String
|
3272
3827
|
# resp.items[0].channel_name #=> String
|
3273
3828
|
# resp.items[0].origin_endpoint_name #=> String
|
3274
|
-
# resp.items[0].container_type #=> String, one of "TS", "CMAF"
|
3829
|
+
# resp.items[0].container_type #=> String, one of "TS", "CMAF", "ISM"
|
3275
3830
|
# resp.items[0].description #=> String
|
3276
3831
|
# resp.items[0].created_at #=> Time
|
3277
3832
|
# resp.items[0].modified_at #=> Time
|
@@ -3286,6 +3841,9 @@ module Aws::MediaPackageV2
|
|
3286
3841
|
# resp.items[0].dash_manifests #=> Array
|
3287
3842
|
# resp.items[0].dash_manifests[0].manifest_name #=> String
|
3288
3843
|
# resp.items[0].dash_manifests[0].url #=> String
|
3844
|
+
# resp.items[0].mss_manifests #=> Array
|
3845
|
+
# resp.items[0].mss_manifests[0].manifest_name #=> String
|
3846
|
+
# resp.items[0].mss_manifests[0].url #=> String
|
3289
3847
|
# resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
3290
3848
|
# resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
3291
3849
|
# resp.next_token #=> String
|
@@ -3940,6 +4498,11 @@ module Aws::MediaPackageV2
|
|
3940
4498
|
# @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
|
3941
4499
|
# A DASH manifest configuration.
|
3942
4500
|
#
|
4501
|
+
# @option params [Array<Types::CreateMssManifestConfiguration>] :mss_manifests
|
4502
|
+
# A list of Microsoft Smooth Streaming (MSS) manifest configurations to
|
4503
|
+
# update for the origin endpoint. This replaces the existing MSS
|
4504
|
+
# manifest configurations.
|
4505
|
+
#
|
3943
4506
|
# @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
|
3944
4507
|
# The failover settings for the endpoint.
|
3945
4508
|
#
|
@@ -3962,6 +4525,7 @@ module Aws::MediaPackageV2
|
|
3962
4525
|
# * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
|
3963
4526
|
# * {Types::UpdateOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
3964
4527
|
# * {Types::UpdateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
4528
|
+
# * {Types::UpdateOriginEndpointResponse#mss_manifests #mss_manifests} => Array<Types::GetMssManifestConfiguration>
|
3965
4529
|
# * {Types::UpdateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
3966
4530
|
# * {Types::UpdateOriginEndpointResponse#etag #etag} => String
|
3967
4531
|
# * {Types::UpdateOriginEndpointResponse#tags #tags} => Hash<String,String>
|
@@ -4159,13 +4723,126 @@ module Aws::MediaPackageV2
|
|
4159
4723
|
# },
|
4160
4724
|
# }
|
4161
4725
|
#
|
4726
|
+
# @example Example: Updating an OriginEndpoint with ISM container
|
4727
|
+
#
|
4728
|
+
# resp = client.update_origin_endpoint({
|
4729
|
+
# channel_group_name: "exampleChannelGroup",
|
4730
|
+
# channel_name: "exampleChannel",
|
4731
|
+
# container_type: "ISM",
|
4732
|
+
# description: "Updated description for exampleOriginEndpointISM",
|
4733
|
+
# force_endpoint_error_configuration: {
|
4734
|
+
# endpoint_error_conditions: [
|
4735
|
+
# "STALE_MANIFEST",
|
4736
|
+
# "INCOMPLETE_MANIFEST",
|
4737
|
+
# "MISSING_DRM_KEY",
|
4738
|
+
# "SLATE_INPUT",
|
4739
|
+
# ],
|
4740
|
+
# },
|
4741
|
+
# mss_manifests: [
|
4742
|
+
# {
|
4743
|
+
# manifest_layout: "FULL",
|
4744
|
+
# manifest_name: "exampleMssManifest1",
|
4745
|
+
# manifest_window_seconds: 60,
|
4746
|
+
# },
|
4747
|
+
# {
|
4748
|
+
# manifest_layout: "COMPACT",
|
4749
|
+
# manifest_name: "exampleMssManifest2",
|
4750
|
+
# manifest_window_seconds: 30,
|
4751
|
+
# },
|
4752
|
+
# ],
|
4753
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
4754
|
+
# segment: {
|
4755
|
+
# encryption: {
|
4756
|
+
# encryption_method: {
|
4757
|
+
# ism_encryption_method: "CENC",
|
4758
|
+
# },
|
4759
|
+
# speke_key_provider: {
|
4760
|
+
# drm_systems: [
|
4761
|
+
# "PLAYREADY",
|
4762
|
+
# ],
|
4763
|
+
# encryption_contract_configuration: {
|
4764
|
+
# preset_speke_20_audio: "SHARED",
|
4765
|
+
# preset_speke_20_video: "SHARED",
|
4766
|
+
# },
|
4767
|
+
# resource_id: "ResourceId",
|
4768
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
4769
|
+
# url: "https://speke-key-provider.example.com",
|
4770
|
+
# },
|
4771
|
+
# },
|
4772
|
+
# segment_duration_seconds: 2,
|
4773
|
+
# segment_name: "segmentName2",
|
4774
|
+
# },
|
4775
|
+
# startover_window_seconds: 600,
|
4776
|
+
# })
|
4777
|
+
#
|
4778
|
+
# resp.to_h outputs the following:
|
4779
|
+
# {
|
4780
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
|
4781
|
+
# channel_group_name: "exampleChannelGroup",
|
4782
|
+
# channel_name: "exampleChannel",
|
4783
|
+
# container_type: "ISM",
|
4784
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
4785
|
+
# description: "Updated description for exampleOriginEndpointISM",
|
4786
|
+
# etag: "HmgU+ewBzHJS5xvz9nLXm2SEQxTsjRfk0rVvuMayoyl=",
|
4787
|
+
# force_endpoint_error_configuration: {
|
4788
|
+
# endpoint_error_conditions: [
|
4789
|
+
# "STALE_MANIFEST",
|
4790
|
+
# "INCOMPLETE_MANIFEST",
|
4791
|
+
# "MISSING_DRM_KEY",
|
4792
|
+
# "SLATE_INPUT",
|
4793
|
+
# ],
|
4794
|
+
# },
|
4795
|
+
# modified_at: Time.parse("2022-10-18T09:37:00.00Z"),
|
4796
|
+
# mss_manifests: [
|
4797
|
+
# {
|
4798
|
+
# manifest_layout: "FULL",
|
4799
|
+
# manifest_name: "exampleMssManifest1",
|
4800
|
+
# manifest_window_seconds: 60,
|
4801
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest",
|
4802
|
+
# },
|
4803
|
+
# {
|
4804
|
+
# manifest_layout: "COMPACT",
|
4805
|
+
# manifest_name: "exampleMssManifest2",
|
4806
|
+
# manifest_window_seconds: 30,
|
4807
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest2.ism/Manifest",
|
4808
|
+
# },
|
4809
|
+
# ],
|
4810
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
4811
|
+
# segment: {
|
4812
|
+
# encryption: {
|
4813
|
+
# encryption_method: {
|
4814
|
+
# ism_encryption_method: "CENC",
|
4815
|
+
# },
|
4816
|
+
# speke_key_provider: {
|
4817
|
+
# drm_systems: [
|
4818
|
+
# "PLAYREADY",
|
4819
|
+
# ],
|
4820
|
+
# encryption_contract_configuration: {
|
4821
|
+
# preset_speke_20_audio: "SHARED",
|
4822
|
+
# preset_speke_20_video: "SHARED",
|
4823
|
+
# },
|
4824
|
+
# resource_id: "ResourceId",
|
4825
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
4826
|
+
# url: "https://speke-key-provider.example.com",
|
4827
|
+
# },
|
4828
|
+
# },
|
4829
|
+
# segment_duration_seconds: 2,
|
4830
|
+
# segment_name: "segmentName2",
|
4831
|
+
# },
|
4832
|
+
# startover_window_seconds: 600,
|
4833
|
+
# tags: {
|
4834
|
+
# "key1" => "value1",
|
4835
|
+
# "key2" => "value2",
|
4836
|
+
# },
|
4837
|
+
# }
|
4838
|
+
#
|
4162
4839
|
# @example Request syntax with placeholder values
|
4163
4840
|
#
|
4164
4841
|
# resp = client.update_origin_endpoint({
|
4165
4842
|
# channel_group_name: "ResourceName", # required
|
4166
4843
|
# channel_name: "ResourceName", # required
|
4167
4844
|
# origin_endpoint_name: "ResourceName", # required
|
4168
|
-
# container_type: "TS", # required, accepts TS, CMAF
|
4845
|
+
# container_type: "TS", # required, accepts TS, CMAF, ISM
|
4169
4846
|
# segment: {
|
4170
4847
|
# segment_duration_seconds: 1,
|
4171
4848
|
# segment_name: "SegmentSegmentNameString",
|
@@ -4180,8 +4857,10 @@ module Aws::MediaPackageV2
|
|
4180
4857
|
# encryption_method: { # required
|
4181
4858
|
# ts_encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
4182
4859
|
# cmaf_encryption_method: "CENC", # accepts CENC, CBCS
|
4860
|
+
# ism_encryption_method: "CENC", # accepts CENC
|
4183
4861
|
# },
|
4184
4862
|
# key_rotation_interval_seconds: 1,
|
4863
|
+
# cmaf_exclude_segment_drm_metadata: false,
|
4185
4864
|
# speke_key_provider: { # required
|
4186
4865
|
# encryption_contract_configuration: { # required
|
4187
4866
|
# preset_speke_20_audio: "PRESET_AUDIO_1", # required, accepts PRESET_AUDIO_1, PRESET_AUDIO_2, PRESET_AUDIO_3, SHARED, UNENCRYPTED
|
@@ -4303,6 +4982,20 @@ module Aws::MediaPackageV2
|
|
4303
4982
|
# },
|
4304
4983
|
# },
|
4305
4984
|
# ],
|
4985
|
+
# mss_manifests: [
|
4986
|
+
# {
|
4987
|
+
# manifest_name: "ManifestName", # required
|
4988
|
+
# manifest_window_seconds: 1,
|
4989
|
+
# filter_configuration: {
|
4990
|
+
# manifest_filter: "FilterConfigurationManifestFilterString",
|
4991
|
+
# start: Time.now,
|
4992
|
+
# end: Time.now,
|
4993
|
+
# time_delay_seconds: 1,
|
4994
|
+
# clip_start_time: Time.now,
|
4995
|
+
# },
|
4996
|
+
# manifest_layout: "FULL", # accepts FULL, COMPACT
|
4997
|
+
# },
|
4998
|
+
# ],
|
4306
4999
|
# force_endpoint_error_configuration: {
|
4307
5000
|
# endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
|
4308
5001
|
# },
|
@@ -4315,7 +5008,7 @@ module Aws::MediaPackageV2
|
|
4315
5008
|
# resp.channel_group_name #=> String
|
4316
5009
|
# resp.channel_name #=> String
|
4317
5010
|
# resp.origin_endpoint_name #=> String
|
4318
|
-
# resp.container_type #=> String, one of "TS", "CMAF"
|
5011
|
+
# resp.container_type #=> String, one of "TS", "CMAF", "ISM"
|
4319
5012
|
# resp.segment.segment_duration_seconds #=> Integer
|
4320
5013
|
# resp.segment.segment_name #=> String
|
4321
5014
|
# resp.segment.ts_use_audio_rendition_group #=> Boolean
|
@@ -4326,7 +5019,9 @@ module Aws::MediaPackageV2
|
|
4326
5019
|
# resp.segment.encryption.constant_initialization_vector #=> String
|
4327
5020
|
# resp.segment.encryption.encryption_method.ts_encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
4328
5021
|
# resp.segment.encryption.encryption_method.cmaf_encryption_method #=> String, one of "CENC", "CBCS"
|
5022
|
+
# resp.segment.encryption.encryption_method.ism_encryption_method #=> String, one of "CENC"
|
4329
5023
|
# resp.segment.encryption.key_rotation_interval_seconds #=> Integer
|
5024
|
+
# resp.segment.encryption.cmaf_exclude_segment_drm_metadata #=> Boolean
|
4330
5025
|
# resp.segment.encryption.speke_key_provider.encryption_contract_configuration.preset_speke_20_audio #=> String, one of "PRESET_AUDIO_1", "PRESET_AUDIO_2", "PRESET_AUDIO_3", "SHARED", "UNENCRYPTED"
|
4331
5026
|
# resp.segment.encryption.speke_key_provider.encryption_contract_configuration.preset_speke_20_video #=> String, one of "PRESET_VIDEO_1", "PRESET_VIDEO_2", "PRESET_VIDEO_3", "PRESET_VIDEO_4", "PRESET_VIDEO_5", "PRESET_VIDEO_6", "PRESET_VIDEO_7", "PRESET_VIDEO_8", "SHARED", "UNENCRYPTED"
|
4332
5027
|
# resp.segment.encryption.speke_key_provider.resource_id #=> String
|
@@ -4368,6 +5063,16 @@ module Aws::MediaPackageV2
|
|
4368
5063
|
# resp.low_latency_hls_manifests[0].start_tag.time_offset #=> Float
|
4369
5064
|
# resp.low_latency_hls_manifests[0].start_tag.precise #=> Boolean
|
4370
5065
|
# resp.low_latency_hls_manifests[0].url_encode_child_manifest #=> Boolean
|
5066
|
+
# resp.mss_manifests #=> Array
|
5067
|
+
# resp.mss_manifests[0].manifest_name #=> String
|
5068
|
+
# resp.mss_manifests[0].url #=> String
|
5069
|
+
# resp.mss_manifests[0].filter_configuration.manifest_filter #=> String
|
5070
|
+
# resp.mss_manifests[0].filter_configuration.start #=> Time
|
5071
|
+
# resp.mss_manifests[0].filter_configuration.end #=> Time
|
5072
|
+
# resp.mss_manifests[0].filter_configuration.time_delay_seconds #=> Integer
|
5073
|
+
# resp.mss_manifests[0].filter_configuration.clip_start_time #=> Time
|
5074
|
+
# resp.mss_manifests[0].manifest_window_seconds #=> Integer
|
5075
|
+
# resp.mss_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
4371
5076
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
4372
5077
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
4373
5078
|
# resp.etag #=> String
|
@@ -4440,7 +5145,7 @@ module Aws::MediaPackageV2
|
|
4440
5145
|
tracer: tracer
|
4441
5146
|
)
|
4442
5147
|
context[:gem_name] = 'aws-sdk-mediapackagev2'
|
4443
|
-
context[:gem_version] = '1.
|
5148
|
+
context[:gem_version] = '1.42.0'
|
4444
5149
|
Seahorse::Client::Request.new(handlers, context)
|
4445
5150
|
end
|
4446
5151
|
|