aws-sdk-mediapackagevod 1.36.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediapackagevod/client.rb +41 -1
- data/lib/aws-sdk-mediapackagevod/client_api.rb +8 -0
- data/lib/aws-sdk-mediapackagevod/types.rb +102 -0
- data/lib/aws-sdk-mediapackagevod.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83b4517b5747fd1b3f65b04aa880e5f60d796269394e3c11be53e2cfd834f121
|
4
|
+
data.tar.gz: 16089e18646291b68c015a33a87d8881c1a2ebfb0cf3437f44719d7a11739f3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '014931352844197e38ae764c7b4c9b3c453bf800ee8f67f5ca6da313031d51da0f8219e6827cae2109e4c296a2fffad558bc758c50bdf0a9606e6a15017210f4'
|
7
|
+
data.tar.gz: 8f79cd02080e10f7dde10fd79269e3ef3368e72a582763bc2c37cb5c57ddc54fcfcd5cd89a95548687d802e9754bcea6848f9486c21109503bb6de71de590350
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.37.0 (2022-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds SPEKE v2 support for MediaPackage VOD. Speke v2 is an upgrade to the existing SPEKE API to support multiple encryption keys, based on an encryption contract selected by the customer.
|
8
|
+
|
4
9
|
1.36.0 (2022-04-08)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.37.0
|
@@ -501,6 +501,10 @@ module Aws::MediaPackageVod
|
|
501
501
|
# encryption: {
|
502
502
|
# constant_initialization_vector: "__string",
|
503
503
|
# speke_key_provider: { # required
|
504
|
+
# encryption_contract_configuration: {
|
505
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
506
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
507
|
+
# },
|
504
508
|
# role_arn: "__string", # required
|
505
509
|
# system_ids: ["__string"], # required
|
506
510
|
# url: "__string", # required
|
@@ -540,6 +544,10 @@ module Aws::MediaPackageVod
|
|
540
544
|
# ],
|
541
545
|
# encryption: {
|
542
546
|
# speke_key_provider: { # required
|
547
|
+
# encryption_contract_configuration: {
|
548
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
549
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
550
|
+
# },
|
543
551
|
# role_arn: "__string", # required
|
544
552
|
# system_ids: ["__string"], # required
|
545
553
|
# url: "__string", # required
|
@@ -555,6 +563,10 @@ module Aws::MediaPackageVod
|
|
555
563
|
# constant_initialization_vector: "__string",
|
556
564
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
557
565
|
# speke_key_provider: { # required
|
566
|
+
# encryption_contract_configuration: {
|
567
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
568
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
569
|
+
# },
|
558
570
|
# role_arn: "__string", # required
|
559
571
|
# system_ids: ["__string"], # required
|
560
572
|
# url: "__string", # required
|
@@ -582,6 +594,10 @@ module Aws::MediaPackageVod
|
|
582
594
|
# mss_package: {
|
583
595
|
# encryption: {
|
584
596
|
# speke_key_provider: { # required
|
597
|
+
# encryption_contract_configuration: {
|
598
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
599
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
600
|
+
# },
|
585
601
|
# role_arn: "__string", # required
|
586
602
|
# system_ids: ["__string"], # required
|
587
603
|
# url: "__string", # required
|
@@ -609,6 +625,8 @@ module Aws::MediaPackageVod
|
|
609
625
|
#
|
610
626
|
# resp.arn #=> String
|
611
627
|
# resp.cmaf_package.encryption.constant_initialization_vector #=> String
|
628
|
+
# resp.cmaf_package.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"
|
629
|
+
# resp.cmaf_package.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"
|
612
630
|
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
613
631
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
614
632
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -633,6 +651,8 @@ module Aws::MediaPackageVod
|
|
633
651
|
# resp.dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
634
652
|
# resp.dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
635
653
|
# resp.dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
654
|
+
# resp.dash_package.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"
|
655
|
+
# resp.dash_package.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"
|
636
656
|
# resp.dash_package.encryption.speke_key_provider.role_arn #=> String
|
637
657
|
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
638
658
|
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -644,6 +664,8 @@ module Aws::MediaPackageVod
|
|
644
664
|
# resp.dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
645
665
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
646
666
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
667
|
+
# resp.hls_package.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"
|
668
|
+
# resp.hls_package.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"
|
647
669
|
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
648
670
|
# resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
|
649
671
|
# resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -661,6 +683,8 @@ module Aws::MediaPackageVod
|
|
661
683
|
# resp.hls_package.segment_duration_seconds #=> Integer
|
662
684
|
# resp.hls_package.use_audio_rendition_group #=> Boolean
|
663
685
|
# resp.id #=> String
|
686
|
+
# resp.mss_package.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"
|
687
|
+
# resp.mss_package.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"
|
664
688
|
# resp.mss_package.encryption.speke_key_provider.role_arn #=> String
|
665
689
|
# resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
|
666
690
|
# resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -878,6 +902,8 @@ module Aws::MediaPackageVod
|
|
878
902
|
#
|
879
903
|
# resp.arn #=> String
|
880
904
|
# resp.cmaf_package.encryption.constant_initialization_vector #=> String
|
905
|
+
# resp.cmaf_package.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"
|
906
|
+
# resp.cmaf_package.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"
|
881
907
|
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
882
908
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
883
909
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -902,6 +928,8 @@ module Aws::MediaPackageVod
|
|
902
928
|
# resp.dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
903
929
|
# resp.dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
904
930
|
# resp.dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
931
|
+
# resp.dash_package.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"
|
932
|
+
# resp.dash_package.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"
|
905
933
|
# resp.dash_package.encryption.speke_key_provider.role_arn #=> String
|
906
934
|
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
907
935
|
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -913,6 +941,8 @@ module Aws::MediaPackageVod
|
|
913
941
|
# resp.dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
914
942
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
915
943
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
944
|
+
# resp.hls_package.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"
|
945
|
+
# resp.hls_package.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"
|
916
946
|
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
917
947
|
# resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
|
918
948
|
# resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -930,6 +960,8 @@ module Aws::MediaPackageVod
|
|
930
960
|
# resp.hls_package.segment_duration_seconds #=> Integer
|
931
961
|
# resp.hls_package.use_audio_rendition_group #=> Boolean
|
932
962
|
# resp.id #=> String
|
963
|
+
# resp.mss_package.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"
|
964
|
+
# resp.mss_package.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"
|
933
965
|
# resp.mss_package.encryption.speke_key_provider.role_arn #=> String
|
934
966
|
# resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
|
935
967
|
# resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1068,6 +1100,8 @@ module Aws::MediaPackageVod
|
|
1068
1100
|
# resp.packaging_configurations #=> Array
|
1069
1101
|
# resp.packaging_configurations[0].arn #=> String
|
1070
1102
|
# resp.packaging_configurations[0].cmaf_package.encryption.constant_initialization_vector #=> String
|
1103
|
+
# resp.packaging_configurations[0].cmaf_package.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"
|
1104
|
+
# resp.packaging_configurations[0].cmaf_package.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"
|
1071
1105
|
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
1072
1106
|
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
1073
1107
|
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1092,6 +1126,8 @@ module Aws::MediaPackageVod
|
|
1092
1126
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
1093
1127
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
1094
1128
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
1129
|
+
# resp.packaging_configurations[0].dash_package.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"
|
1130
|
+
# resp.packaging_configurations[0].dash_package.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"
|
1095
1131
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.role_arn #=> String
|
1096
1132
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids #=> Array
|
1097
1133
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1103,6 +1139,8 @@ module Aws::MediaPackageVod
|
|
1103
1139
|
# resp.packaging_configurations[0].dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
1104
1140
|
# resp.packaging_configurations[0].hls_package.encryption.constant_initialization_vector #=> String
|
1105
1141
|
# resp.packaging_configurations[0].hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
1142
|
+
# resp.packaging_configurations[0].hls_package.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"
|
1143
|
+
# resp.packaging_configurations[0].hls_package.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"
|
1106
1144
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.role_arn #=> String
|
1107
1145
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.system_ids #=> Array
|
1108
1146
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1120,6 +1158,8 @@ module Aws::MediaPackageVod
|
|
1120
1158
|
# resp.packaging_configurations[0].hls_package.segment_duration_seconds #=> Integer
|
1121
1159
|
# resp.packaging_configurations[0].hls_package.use_audio_rendition_group #=> Boolean
|
1122
1160
|
# resp.packaging_configurations[0].id #=> String
|
1161
|
+
# resp.packaging_configurations[0].mss_package.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"
|
1162
|
+
# resp.packaging_configurations[0].mss_package.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"
|
1123
1163
|
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.role_arn #=> String
|
1124
1164
|
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.system_ids #=> Array
|
1125
1165
|
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1325,7 +1365,7 @@ module Aws::MediaPackageVod
|
|
1325
1365
|
params: params,
|
1326
1366
|
config: config)
|
1327
1367
|
context[:gem_name] = 'aws-sdk-mediapackagevod'
|
1328
|
-
context[:gem_version] = '1.
|
1368
|
+
context[:gem_version] = '1.37.0'
|
1329
1369
|
Seahorse::Client::Request.new(handlers, context)
|
1330
1370
|
end
|
1331
1371
|
|
@@ -47,6 +47,7 @@ module Aws::MediaPackageVod
|
|
47
47
|
DescribePackagingGroupResponse = Shapes::StructureShape.new(name: 'DescribePackagingGroupResponse')
|
48
48
|
EgressAccessLogs = Shapes::StructureShape.new(name: 'EgressAccessLogs')
|
49
49
|
EgressEndpoint = Shapes::StructureShape.new(name: 'EgressEndpoint')
|
50
|
+
EncryptionContractConfiguration = Shapes::StructureShape.new(name: 'EncryptionContractConfiguration')
|
50
51
|
EncryptionMethod = Shapes::StringShape.new(name: 'EncryptionMethod')
|
51
52
|
ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
|
52
53
|
HlsEncryption = Shapes::StructureShape.new(name: 'HlsEncryption')
|
@@ -74,6 +75,8 @@ module Aws::MediaPackageVod
|
|
74
75
|
PackagingGroupCreateParameters = Shapes::StructureShape.new(name: 'PackagingGroupCreateParameters')
|
75
76
|
PackagingGroupList = Shapes::StructureShape.new(name: 'PackagingGroupList')
|
76
77
|
PackagingGroupUpdateParameters = Shapes::StructureShape.new(name: 'PackagingGroupUpdateParameters')
|
78
|
+
PresetSpeke20Audio = Shapes::StringShape.new(name: 'PresetSpeke20Audio')
|
79
|
+
PresetSpeke20Video = Shapes::StringShape.new(name: 'PresetSpeke20Video')
|
77
80
|
Profile = Shapes::StringShape.new(name: 'Profile')
|
78
81
|
ScteMarkersSource = Shapes::StringShape.new(name: 'ScteMarkersSource')
|
79
82
|
SegmentTemplateFormat = Shapes::StringShape.new(name: 'SegmentTemplateFormat')
|
@@ -300,6 +303,10 @@ module Aws::MediaPackageVod
|
|
300
303
|
EgressEndpoint.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
|
301
304
|
EgressEndpoint.struct_class = Types::EgressEndpoint
|
302
305
|
|
306
|
+
EncryptionContractConfiguration.add_member(:preset_speke_20_audio, Shapes::ShapeRef.new(shape: PresetSpeke20Audio, required: true, location_name: "presetSpeke20Audio"))
|
307
|
+
EncryptionContractConfiguration.add_member(:preset_speke_20_video, Shapes::ShapeRef.new(shape: PresetSpeke20Video, required: true, location_name: "presetSpeke20Video"))
|
308
|
+
EncryptionContractConfiguration.struct_class = Types::EncryptionContractConfiguration
|
309
|
+
|
303
310
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
304
311
|
ForbiddenException.struct_class = Types::ForbiddenException
|
305
312
|
|
@@ -420,6 +427,7 @@ module Aws::MediaPackageVod
|
|
420
427
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
421
428
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
422
429
|
|
430
|
+
SpekeKeyProvider.add_member(:encryption_contract_configuration, Shapes::ShapeRef.new(shape: EncryptionContractConfiguration, location_name: "encryptionContractConfiguration"))
|
423
431
|
SpekeKeyProvider.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
|
424
432
|
SpekeKeyProvider.add_member(:system_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "systemIds"))
|
425
433
|
SpekeKeyProvider.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "url"))
|
@@ -209,6 +209,10 @@ module Aws::MediaPackageVod
|
|
209
209
|
# {
|
210
210
|
# constant_initialization_vector: "__string",
|
211
211
|
# speke_key_provider: { # required
|
212
|
+
# encryption_contract_configuration: {
|
213
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
214
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
215
|
+
# },
|
212
216
|
# role_arn: "__string", # required
|
213
217
|
# system_ids: ["__string"], # required
|
214
218
|
# url: "__string", # required
|
@@ -246,6 +250,10 @@ module Aws::MediaPackageVod
|
|
246
250
|
# encryption: {
|
247
251
|
# constant_initialization_vector: "__string",
|
248
252
|
# speke_key_provider: { # required
|
253
|
+
# encryption_contract_configuration: {
|
254
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
255
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
256
|
+
# },
|
249
257
|
# role_arn: "__string", # required
|
250
258
|
# system_ids: ["__string"], # required
|
251
259
|
# url: "__string", # required
|
@@ -474,6 +482,10 @@ module Aws::MediaPackageVod
|
|
474
482
|
# encryption: {
|
475
483
|
# constant_initialization_vector: "__string",
|
476
484
|
# speke_key_provider: { # required
|
485
|
+
# encryption_contract_configuration: {
|
486
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
487
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
488
|
+
# },
|
477
489
|
# role_arn: "__string", # required
|
478
490
|
# system_ids: ["__string"], # required
|
479
491
|
# url: "__string", # required
|
@@ -513,6 +525,10 @@ module Aws::MediaPackageVod
|
|
513
525
|
# ],
|
514
526
|
# encryption: {
|
515
527
|
# speke_key_provider: { # required
|
528
|
+
# encryption_contract_configuration: {
|
529
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
530
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
531
|
+
# },
|
516
532
|
# role_arn: "__string", # required
|
517
533
|
# system_ids: ["__string"], # required
|
518
534
|
# url: "__string", # required
|
@@ -528,6 +544,10 @@ module Aws::MediaPackageVod
|
|
528
544
|
# constant_initialization_vector: "__string",
|
529
545
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
530
546
|
# speke_key_provider: { # required
|
547
|
+
# encryption_contract_configuration: {
|
548
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
549
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
550
|
+
# },
|
531
551
|
# role_arn: "__string", # required
|
532
552
|
# system_ids: ["__string"], # required
|
533
553
|
# url: "__string", # required
|
@@ -555,6 +575,10 @@ module Aws::MediaPackageVod
|
|
555
575
|
# mss_package: {
|
556
576
|
# encryption: {
|
557
577
|
# speke_key_provider: { # required
|
578
|
+
# encryption_contract_configuration: {
|
579
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
580
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
581
|
+
# },
|
558
582
|
# role_arn: "__string", # required
|
559
583
|
# system_ids: ["__string"], # required
|
560
584
|
# url: "__string", # required
|
@@ -749,6 +773,10 @@ module Aws::MediaPackageVod
|
|
749
773
|
#
|
750
774
|
# {
|
751
775
|
# speke_key_provider: { # required
|
776
|
+
# encryption_contract_configuration: {
|
777
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
778
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
779
|
+
# },
|
752
780
|
# role_arn: "__string", # required
|
753
781
|
# system_ids: ["__string"], # required
|
754
782
|
# url: "__string", # required
|
@@ -855,6 +883,10 @@ module Aws::MediaPackageVod
|
|
855
883
|
# ],
|
856
884
|
# encryption: {
|
857
885
|
# speke_key_provider: { # required
|
886
|
+
# encryption_contract_configuration: {
|
887
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
888
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
889
|
+
# },
|
858
890
|
# role_arn: "__string", # required
|
859
891
|
# system_ids: ["__string"], # required
|
860
892
|
# url: "__string", # required
|
@@ -1213,6 +1245,42 @@ module Aws::MediaPackageVod
|
|
1213
1245
|
include Aws::Structure
|
1214
1246
|
end
|
1215
1247
|
|
1248
|
+
# Use encryptionContractConfiguration to configure one or more content
|
1249
|
+
# encryption keys for your endpoints that use SPEKE 2.0. The encryption
|
1250
|
+
# contract defines which content keys are used to encrypt the audio and
|
1251
|
+
# video tracks in your stream. To configure the encryption contract,
|
1252
|
+
# specify which audio and video encryption presets to use. Note the
|
1253
|
+
# following considerations when using encryptionContractConfiguration:
|
1254
|
+
# encryptionContractConfiguration can be used for DASH endpoints that
|
1255
|
+
# use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You
|
1256
|
+
# must disable key rotation for this endpoint by setting
|
1257
|
+
# keyRotationIntervalSeconds to 0.
|
1258
|
+
#
|
1259
|
+
# @note When making an API call, you may pass EncryptionContractConfiguration
|
1260
|
+
# data as a hash:
|
1261
|
+
#
|
1262
|
+
# {
|
1263
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
1264
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
1265
|
+
# }
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] preset_speke_20_audio
|
1268
|
+
# A collection of audio encryption presets.
|
1269
|
+
# @return [String]
|
1270
|
+
#
|
1271
|
+
# @!attribute [rw] preset_speke_20_video
|
1272
|
+
# A collection of video encryption presets.
|
1273
|
+
# @return [String]
|
1274
|
+
#
|
1275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/EncryptionContractConfiguration AWS API Documentation
|
1276
|
+
#
|
1277
|
+
class EncryptionContractConfiguration < Struct.new(
|
1278
|
+
:preset_speke_20_audio,
|
1279
|
+
:preset_speke_20_video)
|
1280
|
+
SENSITIVE = []
|
1281
|
+
include Aws::Structure
|
1282
|
+
end
|
1283
|
+
|
1216
1284
|
# @!attribute [rw] message
|
1217
1285
|
# @return [String]
|
1218
1286
|
#
|
@@ -1233,6 +1301,10 @@ module Aws::MediaPackageVod
|
|
1233
1301
|
# constant_initialization_vector: "__string",
|
1234
1302
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
1235
1303
|
# speke_key_provider: { # required
|
1304
|
+
# encryption_contract_configuration: {
|
1305
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
1306
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
1307
|
+
# },
|
1236
1308
|
# role_arn: "__string", # required
|
1237
1309
|
# system_ids: ["__string"], # required
|
1238
1310
|
# url: "__string", # required
|
@@ -1344,6 +1416,10 @@ module Aws::MediaPackageVod
|
|
1344
1416
|
# constant_initialization_vector: "__string",
|
1345
1417
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
1346
1418
|
# speke_key_provider: { # required
|
1419
|
+
# encryption_contract_configuration: {
|
1420
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
1421
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
1422
|
+
# },
|
1347
1423
|
# role_arn: "__string", # required
|
1348
1424
|
# system_ids: ["__string"], # required
|
1349
1425
|
# url: "__string", # required
|
@@ -1574,6 +1650,10 @@ module Aws::MediaPackageVod
|
|
1574
1650
|
#
|
1575
1651
|
# {
|
1576
1652
|
# speke_key_provider: { # required
|
1653
|
+
# encryption_contract_configuration: {
|
1654
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
1655
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
1656
|
+
# },
|
1577
1657
|
# role_arn: "__string", # required
|
1578
1658
|
# system_ids: ["__string"], # required
|
1579
1659
|
# url: "__string", # required
|
@@ -1633,6 +1713,10 @@ module Aws::MediaPackageVod
|
|
1633
1713
|
# {
|
1634
1714
|
# encryption: {
|
1635
1715
|
# speke_key_provider: { # required
|
1716
|
+
# encryption_contract_configuration: {
|
1717
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
1718
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
1719
|
+
# },
|
1636
1720
|
# role_arn: "__string", # required
|
1637
1721
|
# system_ids: ["__string"], # required
|
1638
1722
|
# url: "__string", # required
|
@@ -1921,11 +2005,28 @@ module Aws::MediaPackageVod
|
|
1921
2005
|
# data as a hash:
|
1922
2006
|
#
|
1923
2007
|
# {
|
2008
|
+
# encryption_contract_configuration: {
|
2009
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
2010
|
+
# preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts 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
|
2011
|
+
# },
|
1924
2012
|
# role_arn: "__string", # required
|
1925
2013
|
# system_ids: ["__string"], # required
|
1926
2014
|
# url: "__string", # required
|
1927
2015
|
# }
|
1928
2016
|
#
|
2017
|
+
# @!attribute [rw] encryption_contract_configuration
|
2018
|
+
# Use encryptionContractConfiguration to configure one or more content
|
2019
|
+
# encryption keys for your endpoints that use SPEKE 2.0. The
|
2020
|
+
# encryption contract defines which content keys are used to encrypt
|
2021
|
+
# the audio and video tracks in your stream. To configure the
|
2022
|
+
# encryption contract, specify which audio and video encryption
|
2023
|
+
# presets to use. Note the following considerations when using
|
2024
|
+
# encryptionContractConfiguration: encryptionContractConfiguration can
|
2025
|
+
# be used for DASH endpoints that use SPEKE 2.0. SPEKE 2.0 relies on
|
2026
|
+
# the CPIX 2.3 specification. You must disable key rotation for this
|
2027
|
+
# endpoint by setting keyRotationIntervalSeconds to 0.
|
2028
|
+
# @return [Types::EncryptionContractConfiguration]
|
2029
|
+
#
|
1929
2030
|
# @!attribute [rw] role_arn
|
1930
2031
|
# An Amazon Resource Name (ARN) of an IAM role that AWS Elemental
|
1931
2032
|
# MediaPackage will assume when accessing the key provider service.
|
@@ -1942,6 +2043,7 @@ module Aws::MediaPackageVod
|
|
1942
2043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/SpekeKeyProvider AWS API Documentation
|
1943
2044
|
#
|
1944
2045
|
class SpekeKeyProvider < Struct.new(
|
2046
|
+
:encryption_contract_configuration,
|
1945
2047
|
:role_arn,
|
1946
2048
|
:system_ids,
|
1947
2049
|
:url)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediapackagevod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|