aws-sdk-mediapackagev2 1.41.0 → 1.43.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediapackagev2/client.rb +731 -7
- data/lib/aws-sdk-mediapackagev2/client_api.rb +52 -0
- data/lib/aws-sdk-mediapackagev2/types.rb +239 -7
- data/lib/aws-sdk-mediapackagev2.rb +1 -1
- data/sig/client.rbs +48 -8
- data/sig/types.rbs +46 -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
|
@@ -2850,6 +3073,7 @@ module Aws::MediaPackageV2
|
|
2850
3073
|
# * {Types::GetOriginEndpointPolicyResponse#channel_name #channel_name} => String
|
2851
3074
|
# * {Types::GetOriginEndpointPolicyResponse#origin_endpoint_name #origin_endpoint_name} => String
|
2852
3075
|
# * {Types::GetOriginEndpointPolicyResponse#policy #policy} => String
|
3076
|
+
# * {Types::GetOriginEndpointPolicyResponse#cdn_auth_configuration #cdn_auth_configuration} => Types::CdnAuthConfiguration
|
2853
3077
|
#
|
2854
3078
|
#
|
2855
3079
|
# @example Example: Getting an Origin Endpoint Policy
|
@@ -2882,6 +3106,9 @@ module Aws::MediaPackageV2
|
|
2882
3106
|
# resp.channel_name #=> String
|
2883
3107
|
# resp.origin_endpoint_name #=> String
|
2884
3108
|
# resp.policy #=> String
|
3109
|
+
# resp.cdn_auth_configuration.cdn_identifier_secret_arns #=> Array
|
3110
|
+
# resp.cdn_auth_configuration.cdn_identifier_secret_arns[0] #=> String
|
3111
|
+
# resp.cdn_auth_configuration.secrets_role_arn #=> String
|
2885
3112
|
#
|
2886
3113
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetOriginEndpointPolicy AWS API Documentation
|
2887
3114
|
#
|
@@ -3075,6 +3302,310 @@ module Aws::MediaPackageV2
|
|
3075
3302
|
#
|
3076
3303
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3077
3304
|
#
|
3305
|
+
#
|
3306
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup only
|
3307
|
+
#
|
3308
|
+
# resp = client.list_harvest_jobs({
|
3309
|
+
# channel_group_name: "exampleChannelGroup",
|
3310
|
+
# })
|
3311
|
+
#
|
3312
|
+
# resp.to_h outputs the following:
|
3313
|
+
# {
|
3314
|
+
# items: [
|
3315
|
+
# {
|
3316
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3317
|
+
# channel_group_name: "exampleChannelGroup",
|
3318
|
+
# channel_name: "exampleChannelName",
|
3319
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3320
|
+
# description: "Example HarvestJob description",
|
3321
|
+
# destination: {
|
3322
|
+
# s3_destination: {
|
3323
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3324
|
+
# destination_path: "manifests",
|
3325
|
+
# },
|
3326
|
+
# },
|
3327
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3328
|
+
# harvest_job_name: "HarvestJobName",
|
3329
|
+
# harvested_manifests: {
|
3330
|
+
# dash_manifests: [
|
3331
|
+
# {
|
3332
|
+
# manifest_name: "DashManifest",
|
3333
|
+
# },
|
3334
|
+
# ],
|
3335
|
+
# hls_manifests: [
|
3336
|
+
# {
|
3337
|
+
# manifest_name: "HlsManifest",
|
3338
|
+
# },
|
3339
|
+
# ],
|
3340
|
+
# low_latency_hls_manifests: [
|
3341
|
+
# {
|
3342
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3343
|
+
# },
|
3344
|
+
# ],
|
3345
|
+
# },
|
3346
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3347
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3348
|
+
# schedule_configuration: {
|
3349
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3350
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3351
|
+
# },
|
3352
|
+
# status: "QUEUED",
|
3353
|
+
# },
|
3354
|
+
# {
|
3355
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName2/originEndpoint/exampleOriginEndpointName2/harvestJob/HarvestJobName2",
|
3356
|
+
# channel_group_name: "exampleChannelGroup",
|
3357
|
+
# channel_name: "exampleChannelName2",
|
3358
|
+
# created_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3359
|
+
# description: "Example HarvestJob2 description",
|
3360
|
+
# destination: {
|
3361
|
+
# s3_destination: {
|
3362
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3363
|
+
# destination_path: "manifests",
|
3364
|
+
# },
|
3365
|
+
# },
|
3366
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3367
|
+
# harvest_job_name: "HarvestJobName2",
|
3368
|
+
# harvested_manifests: {
|
3369
|
+
# dash_manifests: [
|
3370
|
+
# {
|
3371
|
+
# manifest_name: "DashManifest",
|
3372
|
+
# },
|
3373
|
+
# ],
|
3374
|
+
# hls_manifests: [
|
3375
|
+
# {
|
3376
|
+
# manifest_name: "HlsManifest",
|
3377
|
+
# },
|
3378
|
+
# ],
|
3379
|
+
# low_latency_hls_manifests: [
|
3380
|
+
# {
|
3381
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3382
|
+
# },
|
3383
|
+
# ],
|
3384
|
+
# },
|
3385
|
+
# modified_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3386
|
+
# origin_endpoint_name: "exampleOriginEndpointName2",
|
3387
|
+
# schedule_configuration: {
|
3388
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3389
|
+
# start_time: Time.parse("2024-05-28T02:00:00.00Z"),
|
3390
|
+
# },
|
3391
|
+
# status: "IN_PROGRESS",
|
3392
|
+
# },
|
3393
|
+
# ],
|
3394
|
+
# next_token: "someTokenValue",
|
3395
|
+
# }
|
3396
|
+
#
|
3397
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup, Channel only
|
3398
|
+
#
|
3399
|
+
# resp = client.list_harvest_jobs({
|
3400
|
+
# channel_group_name: "exampleChannelGroup",
|
3401
|
+
# channel_name: "exampleChannelName",
|
3402
|
+
# })
|
3403
|
+
#
|
3404
|
+
# resp.to_h outputs the following:
|
3405
|
+
# {
|
3406
|
+
# items: [
|
3407
|
+
# {
|
3408
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3409
|
+
# channel_group_name: "exampleChannelGroup",
|
3410
|
+
# channel_name: "exampleChannelName",
|
3411
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3412
|
+
# description: "Example HarvestJob description",
|
3413
|
+
# destination: {
|
3414
|
+
# s3_destination: {
|
3415
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3416
|
+
# destination_path: "manifests",
|
3417
|
+
# },
|
3418
|
+
# },
|
3419
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3420
|
+
# harvest_job_name: "HarvestJobName",
|
3421
|
+
# harvested_manifests: {
|
3422
|
+
# dash_manifests: [
|
3423
|
+
# {
|
3424
|
+
# manifest_name: "DashManifest",
|
3425
|
+
# },
|
3426
|
+
# ],
|
3427
|
+
# hls_manifests: [
|
3428
|
+
# {
|
3429
|
+
# manifest_name: "HlsManifest",
|
3430
|
+
# },
|
3431
|
+
# ],
|
3432
|
+
# low_latency_hls_manifests: [
|
3433
|
+
# {
|
3434
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3435
|
+
# },
|
3436
|
+
# ],
|
3437
|
+
# },
|
3438
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3439
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3440
|
+
# schedule_configuration: {
|
3441
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3442
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3443
|
+
# },
|
3444
|
+
# status: "QUEUED",
|
3445
|
+
# },
|
3446
|
+
# {
|
3447
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName2/harvestJob/HarvestJobName2",
|
3448
|
+
# channel_group_name: "exampleChannelGroup",
|
3449
|
+
# channel_name: "exampleChannelName",
|
3450
|
+
# created_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3451
|
+
# description: "Example HarvestJob2 description",
|
3452
|
+
# destination: {
|
3453
|
+
# s3_destination: {
|
3454
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3455
|
+
# destination_path: "manifests",
|
3456
|
+
# },
|
3457
|
+
# },
|
3458
|
+
# harvest_job_name: "HarvestJobName2",
|
3459
|
+
# harvested_manifests: {
|
3460
|
+
# dash_manifests: [
|
3461
|
+
# {
|
3462
|
+
# manifest_name: "DashManifest",
|
3463
|
+
# },
|
3464
|
+
# ],
|
3465
|
+
# hls_manifests: [
|
3466
|
+
# {
|
3467
|
+
# manifest_name: "HlsManifest",
|
3468
|
+
# },
|
3469
|
+
# ],
|
3470
|
+
# low_latency_hls_manifests: [
|
3471
|
+
# {
|
3472
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3473
|
+
# },
|
3474
|
+
# ],
|
3475
|
+
# },
|
3476
|
+
# modified_at: Time.parse("2024-05-28T15:30:00.00Z"),
|
3477
|
+
# origin_endpoint_name: "exampleOriginEndpointName2",
|
3478
|
+
# schedule_configuration: {
|
3479
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3480
|
+
# start_time: Time.parse("2024-05-28T02:00:00.00Z"),
|
3481
|
+
# },
|
3482
|
+
# status: "IN_PROGRESS",
|
3483
|
+
# },
|
3484
|
+
# ],
|
3485
|
+
# next_token: "someTokenValue",
|
3486
|
+
# }
|
3487
|
+
#
|
3488
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup, Channel, OriginEndpoint
|
3489
|
+
#
|
3490
|
+
# resp = client.list_harvest_jobs({
|
3491
|
+
# channel_group_name: "exampleChannelGroup",
|
3492
|
+
# channel_name: "exampleChannelName",
|
3493
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3494
|
+
# })
|
3495
|
+
#
|
3496
|
+
# resp.to_h outputs the following:
|
3497
|
+
# {
|
3498
|
+
# items: [
|
3499
|
+
# {
|
3500
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3501
|
+
# channel_group_name: "exampleChannelGroup",
|
3502
|
+
# channel_name: "exampleChannelName",
|
3503
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3504
|
+
# description: "Example HarvestJob description",
|
3505
|
+
# destination: {
|
3506
|
+
# s3_destination: {
|
3507
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3508
|
+
# destination_path: "manifests",
|
3509
|
+
# },
|
3510
|
+
# },
|
3511
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3512
|
+
# harvest_job_name: "HarvestJobName",
|
3513
|
+
# harvested_manifests: {
|
3514
|
+
# dash_manifests: [
|
3515
|
+
# {
|
3516
|
+
# manifest_name: "DashManifest",
|
3517
|
+
# },
|
3518
|
+
# ],
|
3519
|
+
# hls_manifests: [
|
3520
|
+
# {
|
3521
|
+
# manifest_name: "HlsManifest",
|
3522
|
+
# },
|
3523
|
+
# ],
|
3524
|
+
# low_latency_hls_manifests: [
|
3525
|
+
# {
|
3526
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3527
|
+
# },
|
3528
|
+
# ],
|
3529
|
+
# },
|
3530
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3531
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3532
|
+
# schedule_configuration: {
|
3533
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3534
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3535
|
+
# },
|
3536
|
+
# status: "QUEUED",
|
3537
|
+
# },
|
3538
|
+
# ],
|
3539
|
+
# next_token: "someTokenValue",
|
3540
|
+
# }
|
3541
|
+
#
|
3542
|
+
# @example Example: ListHarvestJobs: Specify ChannelGroup, Channel, OriginEndpoint + Status filter
|
3543
|
+
#
|
3544
|
+
# resp = client.list_harvest_jobs({
|
3545
|
+
# channel_group_name: "exampleChannelGroup",
|
3546
|
+
# channel_name: "exampleChannelName",
|
3547
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3548
|
+
# status: "QUEUED",
|
3549
|
+
# })
|
3550
|
+
#
|
3551
|
+
# resp.to_h outputs the following:
|
3552
|
+
# {
|
3553
|
+
# items: [
|
3554
|
+
# {
|
3555
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
3556
|
+
# channel_group_name: "exampleChannelGroup",
|
3557
|
+
# channel_name: "exampleChannelName",
|
3558
|
+
# created_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3559
|
+
# description: "Example HarvestJob description",
|
3560
|
+
# destination: {
|
3561
|
+
# s3_destination: {
|
3562
|
+
# bucket_name: "harvestJobS3DestinationBucket",
|
3563
|
+
# destination_path: "manifests",
|
3564
|
+
# },
|
3565
|
+
# },
|
3566
|
+
# etag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
3567
|
+
# harvest_job_name: "HarvestJobName",
|
3568
|
+
# harvested_manifests: {
|
3569
|
+
# dash_manifests: [
|
3570
|
+
# {
|
3571
|
+
# manifest_name: "DashManifest",
|
3572
|
+
# },
|
3573
|
+
# ],
|
3574
|
+
# hls_manifests: [
|
3575
|
+
# {
|
3576
|
+
# manifest_name: "HlsManifest",
|
3577
|
+
# },
|
3578
|
+
# ],
|
3579
|
+
# low_latency_hls_manifests: [
|
3580
|
+
# {
|
3581
|
+
# manifest_name: "LowLatencyHlsManifest",
|
3582
|
+
# },
|
3583
|
+
# ],
|
3584
|
+
# },
|
3585
|
+
# modified_at: Time.parse("2024-05-28T09:36:00.00Z"),
|
3586
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3587
|
+
# schedule_configuration: {
|
3588
|
+
# end_time: Time.parse("2024-05-28T12:00:00.00Z"),
|
3589
|
+
# start_time: Time.parse("2024-05-28T06:00:00.00Z"),
|
3590
|
+
# },
|
3591
|
+
# status: "QUEUED",
|
3592
|
+
# },
|
3593
|
+
# ],
|
3594
|
+
# next_token: "someTokenValue",
|
3595
|
+
# }
|
3596
|
+
#
|
3597
|
+
# @example Example: ListHarvestJobs: Empty response
|
3598
|
+
#
|
3599
|
+
# resp = client.list_harvest_jobs({
|
3600
|
+
# channel_group_name: "exampleChannelGroup",
|
3601
|
+
# channel_name: "exampleChannelName",
|
3602
|
+
# origin_endpoint_name: "exampleOriginEndpointName",
|
3603
|
+
# })
|
3604
|
+
#
|
3605
|
+
# resp.to_h outputs the following:
|
3606
|
+
# {
|
3607
|
+
# }
|
3608
|
+
#
|
3078
3609
|
# @example Request syntax with placeholder values
|
3079
3610
|
#
|
3080
3611
|
# resp = client.list_harvest_jobs({
|
@@ -3252,6 +3783,34 @@ module Aws::MediaPackageV2
|
|
3252
3783
|
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3253
3784
|
# origin_endpoint_name: "exampleOriginEndpointCMAF",
|
3254
3785
|
# },
|
3786
|
+
# {
|
3787
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
|
3788
|
+
# channel_group_name: "exampleChannelGroup",
|
3789
|
+
# channel_name: "exampleChannel",
|
3790
|
+
# container_type: "ISM",
|
3791
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3792
|
+
# description: "Description for exampleOriginEndpointISM",
|
3793
|
+
# force_endpoint_error_configuration: {
|
3794
|
+
# endpoint_error_conditions: [
|
3795
|
+
# "STALE_MANIFEST",
|
3796
|
+
# "INCOMPLETE_MANIFEST",
|
3797
|
+
# "MISSING_DRM_KEY",
|
3798
|
+
# "SLATE_INPUT",
|
3799
|
+
# ],
|
3800
|
+
# },
|
3801
|
+
# modified_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
3802
|
+
# mss_manifests: [
|
3803
|
+
# {
|
3804
|
+
# manifest_name: "exampleMssManifest1",
|
3805
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest",
|
3806
|
+
# },
|
3807
|
+
# {
|
3808
|
+
# manifest_name: "exampleMssManifest2",
|
3809
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest2.ism/Manifest",
|
3810
|
+
# },
|
3811
|
+
# ],
|
3812
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
3813
|
+
# },
|
3255
3814
|
# ],
|
3256
3815
|
# }
|
3257
3816
|
#
|
@@ -3271,7 +3830,7 @@ module Aws::MediaPackageV2
|
|
3271
3830
|
# resp.items[0].channel_group_name #=> String
|
3272
3831
|
# resp.items[0].channel_name #=> String
|
3273
3832
|
# resp.items[0].origin_endpoint_name #=> String
|
3274
|
-
# resp.items[0].container_type #=> String, one of "TS", "CMAF"
|
3833
|
+
# resp.items[0].container_type #=> String, one of "TS", "CMAF", "ISM"
|
3275
3834
|
# resp.items[0].description #=> String
|
3276
3835
|
# resp.items[0].created_at #=> Time
|
3277
3836
|
# resp.items[0].modified_at #=> Time
|
@@ -3286,6 +3845,9 @@ module Aws::MediaPackageV2
|
|
3286
3845
|
# resp.items[0].dash_manifests #=> Array
|
3287
3846
|
# resp.items[0].dash_manifests[0].manifest_name #=> String
|
3288
3847
|
# resp.items[0].dash_manifests[0].url #=> String
|
3848
|
+
# resp.items[0].mss_manifests #=> Array
|
3849
|
+
# resp.items[0].mss_manifests[0].manifest_name #=> String
|
3850
|
+
# resp.items[0].mss_manifests[0].url #=> String
|
3289
3851
|
# resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
3290
3852
|
# resp.items[0].force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
3291
3853
|
# resp.next_token #=> String
|
@@ -3414,6 +3976,17 @@ module Aws::MediaPackageV2
|
|
3414
3976
|
# @option params [required, String] :policy
|
3415
3977
|
# The policy to attach to the specified origin endpoint.
|
3416
3978
|
#
|
3979
|
+
# @option params [Types::CdnAuthConfiguration] :cdn_auth_configuration
|
3980
|
+
# The settings for using authorization headers between the MediaPackage
|
3981
|
+
# endpoint and your CDN.
|
3982
|
+
#
|
3983
|
+
# For information about CDN authorization, see [CDN authorization in
|
3984
|
+
# Elemental MediaPackage][1] in the MediaPackage user guide.
|
3985
|
+
#
|
3986
|
+
#
|
3987
|
+
#
|
3988
|
+
# [1]: https://docs.aws.amazon.com/mediapackage/latest/userguide/cdn-auth.html
|
3989
|
+
#
|
3417
3990
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3418
3991
|
#
|
3419
3992
|
#
|
@@ -3437,6 +4010,10 @@ module Aws::MediaPackageV2
|
|
3437
4010
|
# channel_name: "ResourceName", # required
|
3438
4011
|
# origin_endpoint_name: "ResourceName", # required
|
3439
4012
|
# policy: "PolicyText", # required
|
4013
|
+
# cdn_auth_configuration: {
|
4014
|
+
# cdn_identifier_secret_arns: ["CdnIdentifierSecretArn"], # required
|
4015
|
+
# secrets_role_arn: "CdnAuthConfigurationSecretsRoleArnString", # required
|
4016
|
+
# },
|
3440
4017
|
# })
|
3441
4018
|
#
|
3442
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/PutOriginEndpointPolicy AWS API Documentation
|
@@ -3940,6 +4517,11 @@ module Aws::MediaPackageV2
|
|
3940
4517
|
# @option params [Array<Types::CreateDashManifestConfiguration>] :dash_manifests
|
3941
4518
|
# A DASH manifest configuration.
|
3942
4519
|
#
|
4520
|
+
# @option params [Array<Types::CreateMssManifestConfiguration>] :mss_manifests
|
4521
|
+
# A list of Microsoft Smooth Streaming (MSS) manifest configurations to
|
4522
|
+
# update for the origin endpoint. This replaces the existing MSS
|
4523
|
+
# manifest configurations.
|
4524
|
+
#
|
3943
4525
|
# @option params [Types::ForceEndpointErrorConfiguration] :force_endpoint_error_configuration
|
3944
4526
|
# The failover settings for the endpoint.
|
3945
4527
|
#
|
@@ -3962,6 +4544,7 @@ module Aws::MediaPackageV2
|
|
3962
4544
|
# * {Types::UpdateOriginEndpointResponse#startover_window_seconds #startover_window_seconds} => Integer
|
3963
4545
|
# * {Types::UpdateOriginEndpointResponse#hls_manifests #hls_manifests} => Array<Types::GetHlsManifestConfiguration>
|
3964
4546
|
# * {Types::UpdateOriginEndpointResponse#low_latency_hls_manifests #low_latency_hls_manifests} => Array<Types::GetLowLatencyHlsManifestConfiguration>
|
4547
|
+
# * {Types::UpdateOriginEndpointResponse#mss_manifests #mss_manifests} => Array<Types::GetMssManifestConfiguration>
|
3965
4548
|
# * {Types::UpdateOriginEndpointResponse#force_endpoint_error_configuration #force_endpoint_error_configuration} => Types::ForceEndpointErrorConfiguration
|
3966
4549
|
# * {Types::UpdateOriginEndpointResponse#etag #etag} => String
|
3967
4550
|
# * {Types::UpdateOriginEndpointResponse#tags #tags} => Hash<String,String>
|
@@ -4159,13 +4742,126 @@ module Aws::MediaPackageV2
|
|
4159
4742
|
# },
|
4160
4743
|
# }
|
4161
4744
|
#
|
4745
|
+
# @example Example: Updating an OriginEndpoint with ISM container
|
4746
|
+
#
|
4747
|
+
# resp = client.update_origin_endpoint({
|
4748
|
+
# channel_group_name: "exampleChannelGroup",
|
4749
|
+
# channel_name: "exampleChannel",
|
4750
|
+
# container_type: "ISM",
|
4751
|
+
# description: "Updated description for exampleOriginEndpointISM",
|
4752
|
+
# force_endpoint_error_configuration: {
|
4753
|
+
# endpoint_error_conditions: [
|
4754
|
+
# "STALE_MANIFEST",
|
4755
|
+
# "INCOMPLETE_MANIFEST",
|
4756
|
+
# "MISSING_DRM_KEY",
|
4757
|
+
# "SLATE_INPUT",
|
4758
|
+
# ],
|
4759
|
+
# },
|
4760
|
+
# mss_manifests: [
|
4761
|
+
# {
|
4762
|
+
# manifest_layout: "FULL",
|
4763
|
+
# manifest_name: "exampleMssManifest1",
|
4764
|
+
# manifest_window_seconds: 60,
|
4765
|
+
# },
|
4766
|
+
# {
|
4767
|
+
# manifest_layout: "COMPACT",
|
4768
|
+
# manifest_name: "exampleMssManifest2",
|
4769
|
+
# manifest_window_seconds: 30,
|
4770
|
+
# },
|
4771
|
+
# ],
|
4772
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
4773
|
+
# segment: {
|
4774
|
+
# encryption: {
|
4775
|
+
# encryption_method: {
|
4776
|
+
# ism_encryption_method: "CENC",
|
4777
|
+
# },
|
4778
|
+
# speke_key_provider: {
|
4779
|
+
# drm_systems: [
|
4780
|
+
# "PLAYREADY",
|
4781
|
+
# ],
|
4782
|
+
# encryption_contract_configuration: {
|
4783
|
+
# preset_speke_20_audio: "SHARED",
|
4784
|
+
# preset_speke_20_video: "SHARED",
|
4785
|
+
# },
|
4786
|
+
# resource_id: "ResourceId",
|
4787
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
4788
|
+
# url: "https://speke-key-provider.example.com",
|
4789
|
+
# },
|
4790
|
+
# },
|
4791
|
+
# segment_duration_seconds: 2,
|
4792
|
+
# segment_name: "segmentName2",
|
4793
|
+
# },
|
4794
|
+
# startover_window_seconds: 600,
|
4795
|
+
# })
|
4796
|
+
#
|
4797
|
+
# resp.to_h outputs the following:
|
4798
|
+
# {
|
4799
|
+
# arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpointISM",
|
4800
|
+
# channel_group_name: "exampleChannelGroup",
|
4801
|
+
# channel_name: "exampleChannel",
|
4802
|
+
# container_type: "ISM",
|
4803
|
+
# created_at: Time.parse("2022-10-18T09:36:00.00Z"),
|
4804
|
+
# description: "Updated description for exampleOriginEndpointISM",
|
4805
|
+
# etag: "HmgU+ewBzHJS5xvz9nLXm2SEQxTsjRfk0rVvuMayoyl=",
|
4806
|
+
# force_endpoint_error_configuration: {
|
4807
|
+
# endpoint_error_conditions: [
|
4808
|
+
# "STALE_MANIFEST",
|
4809
|
+
# "INCOMPLETE_MANIFEST",
|
4810
|
+
# "MISSING_DRM_KEY",
|
4811
|
+
# "SLATE_INPUT",
|
4812
|
+
# ],
|
4813
|
+
# },
|
4814
|
+
# modified_at: Time.parse("2022-10-18T09:37:00.00Z"),
|
4815
|
+
# mss_manifests: [
|
4816
|
+
# {
|
4817
|
+
# manifest_layout: "FULL",
|
4818
|
+
# manifest_name: "exampleMssManifest1",
|
4819
|
+
# manifest_window_seconds: 60,
|
4820
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest1.ism/Manifest",
|
4821
|
+
# },
|
4822
|
+
# {
|
4823
|
+
# manifest_layout: "COMPACT",
|
4824
|
+
# manifest_name: "exampleMssManifest2",
|
4825
|
+
# manifest_window_seconds: 30,
|
4826
|
+
# url: "https://abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com/out/v1/exampleChannelGroup/exampleChannel/exampleOriginEndpointISM/exampleMssManifest2.ism/Manifest",
|
4827
|
+
# },
|
4828
|
+
# ],
|
4829
|
+
# origin_endpoint_name: "exampleOriginEndpointISM",
|
4830
|
+
# segment: {
|
4831
|
+
# encryption: {
|
4832
|
+
# encryption_method: {
|
4833
|
+
# ism_encryption_method: "CENC",
|
4834
|
+
# },
|
4835
|
+
# speke_key_provider: {
|
4836
|
+
# drm_systems: [
|
4837
|
+
# "PLAYREADY",
|
4838
|
+
# ],
|
4839
|
+
# encryption_contract_configuration: {
|
4840
|
+
# preset_speke_20_audio: "SHARED",
|
4841
|
+
# preset_speke_20_video: "SHARED",
|
4842
|
+
# },
|
4843
|
+
# resource_id: "ResourceId",
|
4844
|
+
# role_arn: "arn:aws:iam::123456789012:role/empRole",
|
4845
|
+
# url: "https://speke-key-provider.example.com",
|
4846
|
+
# },
|
4847
|
+
# },
|
4848
|
+
# segment_duration_seconds: 2,
|
4849
|
+
# segment_name: "segmentName2",
|
4850
|
+
# },
|
4851
|
+
# startover_window_seconds: 600,
|
4852
|
+
# tags: {
|
4853
|
+
# "key1" => "value1",
|
4854
|
+
# "key2" => "value2",
|
4855
|
+
# },
|
4856
|
+
# }
|
4857
|
+
#
|
4162
4858
|
# @example Request syntax with placeholder values
|
4163
4859
|
#
|
4164
4860
|
# resp = client.update_origin_endpoint({
|
4165
4861
|
# channel_group_name: "ResourceName", # required
|
4166
4862
|
# channel_name: "ResourceName", # required
|
4167
4863
|
# origin_endpoint_name: "ResourceName", # required
|
4168
|
-
# container_type: "TS", # required, accepts TS, CMAF
|
4864
|
+
# container_type: "TS", # required, accepts TS, CMAF, ISM
|
4169
4865
|
# segment: {
|
4170
4866
|
# segment_duration_seconds: 1,
|
4171
4867
|
# segment_name: "SegmentSegmentNameString",
|
@@ -4180,8 +4876,10 @@ module Aws::MediaPackageV2
|
|
4180
4876
|
# encryption_method: { # required
|
4181
4877
|
# ts_encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
4182
4878
|
# cmaf_encryption_method: "CENC", # accepts CENC, CBCS
|
4879
|
+
# ism_encryption_method: "CENC", # accepts CENC
|
4183
4880
|
# },
|
4184
4881
|
# key_rotation_interval_seconds: 1,
|
4882
|
+
# cmaf_exclude_segment_drm_metadata: false,
|
4185
4883
|
# speke_key_provider: { # required
|
4186
4884
|
# encryption_contract_configuration: { # required
|
4187
4885
|
# preset_speke_20_audio: "PRESET_AUDIO_1", # required, accepts PRESET_AUDIO_1, PRESET_AUDIO_2, PRESET_AUDIO_3, SHARED, UNENCRYPTED
|
@@ -4303,6 +5001,20 @@ module Aws::MediaPackageV2
|
|
4303
5001
|
# },
|
4304
5002
|
# },
|
4305
5003
|
# ],
|
5004
|
+
# mss_manifests: [
|
5005
|
+
# {
|
5006
|
+
# manifest_name: "ManifestName", # required
|
5007
|
+
# manifest_window_seconds: 1,
|
5008
|
+
# filter_configuration: {
|
5009
|
+
# manifest_filter: "FilterConfigurationManifestFilterString",
|
5010
|
+
# start: Time.now,
|
5011
|
+
# end: Time.now,
|
5012
|
+
# time_delay_seconds: 1,
|
5013
|
+
# clip_start_time: Time.now,
|
5014
|
+
# },
|
5015
|
+
# manifest_layout: "FULL", # accepts FULL, COMPACT
|
5016
|
+
# },
|
5017
|
+
# ],
|
4306
5018
|
# force_endpoint_error_configuration: {
|
4307
5019
|
# endpoint_error_conditions: ["STALE_MANIFEST"], # accepts STALE_MANIFEST, INCOMPLETE_MANIFEST, MISSING_DRM_KEY, SLATE_INPUT
|
4308
5020
|
# },
|
@@ -4315,7 +5027,7 @@ module Aws::MediaPackageV2
|
|
4315
5027
|
# resp.channel_group_name #=> String
|
4316
5028
|
# resp.channel_name #=> String
|
4317
5029
|
# resp.origin_endpoint_name #=> String
|
4318
|
-
# resp.container_type #=> String, one of "TS", "CMAF"
|
5030
|
+
# resp.container_type #=> String, one of "TS", "CMAF", "ISM"
|
4319
5031
|
# resp.segment.segment_duration_seconds #=> Integer
|
4320
5032
|
# resp.segment.segment_name #=> String
|
4321
5033
|
# resp.segment.ts_use_audio_rendition_group #=> Boolean
|
@@ -4326,7 +5038,9 @@ module Aws::MediaPackageV2
|
|
4326
5038
|
# resp.segment.encryption.constant_initialization_vector #=> String
|
4327
5039
|
# resp.segment.encryption.encryption_method.ts_encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
4328
5040
|
# resp.segment.encryption.encryption_method.cmaf_encryption_method #=> String, one of "CENC", "CBCS"
|
5041
|
+
# resp.segment.encryption.encryption_method.ism_encryption_method #=> String, one of "CENC"
|
4329
5042
|
# resp.segment.encryption.key_rotation_interval_seconds #=> Integer
|
5043
|
+
# resp.segment.encryption.cmaf_exclude_segment_drm_metadata #=> Boolean
|
4330
5044
|
# 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
5045
|
# 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
5046
|
# resp.segment.encryption.speke_key_provider.resource_id #=> String
|
@@ -4368,6 +5082,16 @@ module Aws::MediaPackageV2
|
|
4368
5082
|
# resp.low_latency_hls_manifests[0].start_tag.time_offset #=> Float
|
4369
5083
|
# resp.low_latency_hls_manifests[0].start_tag.precise #=> Boolean
|
4370
5084
|
# resp.low_latency_hls_manifests[0].url_encode_child_manifest #=> Boolean
|
5085
|
+
# resp.mss_manifests #=> Array
|
5086
|
+
# resp.mss_manifests[0].manifest_name #=> String
|
5087
|
+
# resp.mss_manifests[0].url #=> String
|
5088
|
+
# resp.mss_manifests[0].filter_configuration.manifest_filter #=> String
|
5089
|
+
# resp.mss_manifests[0].filter_configuration.start #=> Time
|
5090
|
+
# resp.mss_manifests[0].filter_configuration.end #=> Time
|
5091
|
+
# resp.mss_manifests[0].filter_configuration.time_delay_seconds #=> Integer
|
5092
|
+
# resp.mss_manifests[0].filter_configuration.clip_start_time #=> Time
|
5093
|
+
# resp.mss_manifests[0].manifest_window_seconds #=> Integer
|
5094
|
+
# resp.mss_manifests[0].manifest_layout #=> String, one of "FULL", "COMPACT"
|
4371
5095
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions #=> Array
|
4372
5096
|
# resp.force_endpoint_error_configuration.endpoint_error_conditions[0] #=> String, one of "STALE_MANIFEST", "INCOMPLETE_MANIFEST", "MISSING_DRM_KEY", "SLATE_INPUT"
|
4373
5097
|
# resp.etag #=> String
|
@@ -4440,7 +5164,7 @@ module Aws::MediaPackageV2
|
|
4440
5164
|
tracer: tracer
|
4441
5165
|
)
|
4442
5166
|
context[:gem_name] = 'aws-sdk-mediapackagev2'
|
4443
|
-
context[:gem_version] = '1.
|
5167
|
+
context[:gem_version] = '1.43.0'
|
4444
5168
|
Seahorse::Client::Request.new(handlers, context)
|
4445
5169
|
end
|
4446
5170
|
|