aws-sdk-mediapackagevod 1.36.0 → 1.38.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediapackagevod/client.rb +60 -3
- data/lib/aws-sdk-mediapackagevod/client_api.rb +8 -0
- data/lib/aws-sdk-mediapackagevod/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-mediapackagevod/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-mediapackagevod/endpoints.rb +253 -0
- data/lib/aws-sdk-mediapackagevod/plugins/endpoints.rb +102 -0
- data/lib/aws-sdk-mediapackagevod/types.rb +102 -0
- data/lib/aws-sdk-mediapackagevod.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c27316367c09296c251334f7aa74fd9d2e45c1cd723237411625593b541c3ce
|
4
|
+
data.tar.gz: 000231dd3874b1e560e01ca3c72f24d347611d5f123e59e579467bf14a7020ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed173347a156b82b7f76cc8cb2d715a3c4503bda2706c059a659848189f50edae9aa7239e54bc6d1b7ae2b23054ac970a4d4977bf9e3c3d2d4f0b12eaa8cf4e
|
7
|
+
data.tar.gz: b47671e99b1287cbd9ede29a5a259e63eec9887ef6ad6d93e05ef11630fbbd20f2dfcc43c3fed9587355a20cdaf01a3acd61289ae4f4540d76bc555fa22be1e0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.37.0 (2022-10-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.36.0 (2022-04-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:mediapackagevod)
|
@@ -79,8 +79,9 @@ module Aws::MediaPackageVod
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::MediaPackageVod::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::MediaPackageVod
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::MediaPackageVod
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::MediaPackageVod::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::MediaPackageVod::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -501,6 +518,10 @@ module Aws::MediaPackageVod
|
|
501
518
|
# encryption: {
|
502
519
|
# constant_initialization_vector: "__string",
|
503
520
|
# speke_key_provider: { # required
|
521
|
+
# encryption_contract_configuration: {
|
522
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
523
|
+
# 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
|
524
|
+
# },
|
504
525
|
# role_arn: "__string", # required
|
505
526
|
# system_ids: ["__string"], # required
|
506
527
|
# url: "__string", # required
|
@@ -540,6 +561,10 @@ module Aws::MediaPackageVod
|
|
540
561
|
# ],
|
541
562
|
# encryption: {
|
542
563
|
# speke_key_provider: { # required
|
564
|
+
# encryption_contract_configuration: {
|
565
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
566
|
+
# 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
|
567
|
+
# },
|
543
568
|
# role_arn: "__string", # required
|
544
569
|
# system_ids: ["__string"], # required
|
545
570
|
# url: "__string", # required
|
@@ -555,6 +580,10 @@ module Aws::MediaPackageVod
|
|
555
580
|
# constant_initialization_vector: "__string",
|
556
581
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
557
582
|
# speke_key_provider: { # required
|
583
|
+
# encryption_contract_configuration: {
|
584
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
585
|
+
# 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
|
586
|
+
# },
|
558
587
|
# role_arn: "__string", # required
|
559
588
|
# system_ids: ["__string"], # required
|
560
589
|
# url: "__string", # required
|
@@ -582,6 +611,10 @@ module Aws::MediaPackageVod
|
|
582
611
|
# mss_package: {
|
583
612
|
# encryption: {
|
584
613
|
# speke_key_provider: { # required
|
614
|
+
# encryption_contract_configuration: {
|
615
|
+
# preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1, PRESET-AUDIO-2, PRESET-AUDIO-3, SHARED, UNENCRYPTED
|
616
|
+
# 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
|
617
|
+
# },
|
585
618
|
# role_arn: "__string", # required
|
586
619
|
# system_ids: ["__string"], # required
|
587
620
|
# url: "__string", # required
|
@@ -609,6 +642,8 @@ module Aws::MediaPackageVod
|
|
609
642
|
#
|
610
643
|
# resp.arn #=> String
|
611
644
|
# resp.cmaf_package.encryption.constant_initialization_vector #=> String
|
645
|
+
# 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"
|
646
|
+
# 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
647
|
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
613
648
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
614
649
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -633,6 +668,8 @@ module Aws::MediaPackageVod
|
|
633
668
|
# resp.dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
634
669
|
# resp.dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
635
670
|
# resp.dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
671
|
+
# 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"
|
672
|
+
# 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
673
|
# resp.dash_package.encryption.speke_key_provider.role_arn #=> String
|
637
674
|
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
638
675
|
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -644,6 +681,8 @@ module Aws::MediaPackageVod
|
|
644
681
|
# resp.dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
645
682
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
646
683
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
684
|
+
# 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"
|
685
|
+
# 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
686
|
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
648
687
|
# resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
|
649
688
|
# resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -661,6 +700,8 @@ module Aws::MediaPackageVod
|
|
661
700
|
# resp.hls_package.segment_duration_seconds #=> Integer
|
662
701
|
# resp.hls_package.use_audio_rendition_group #=> Boolean
|
663
702
|
# resp.id #=> String
|
703
|
+
# 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"
|
704
|
+
# 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
705
|
# resp.mss_package.encryption.speke_key_provider.role_arn #=> String
|
665
706
|
# resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
|
666
707
|
# resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -878,6 +919,8 @@ module Aws::MediaPackageVod
|
|
878
919
|
#
|
879
920
|
# resp.arn #=> String
|
880
921
|
# resp.cmaf_package.encryption.constant_initialization_vector #=> String
|
922
|
+
# 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"
|
923
|
+
# 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
924
|
# resp.cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
882
925
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
883
926
|
# resp.cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -902,6 +945,8 @@ module Aws::MediaPackageVod
|
|
902
945
|
# resp.dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
903
946
|
# resp.dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
904
947
|
# resp.dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
948
|
+
# 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"
|
949
|
+
# 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
950
|
# resp.dash_package.encryption.speke_key_provider.role_arn #=> String
|
906
951
|
# resp.dash_package.encryption.speke_key_provider.system_ids #=> Array
|
907
952
|
# resp.dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -913,6 +958,8 @@ module Aws::MediaPackageVod
|
|
913
958
|
# resp.dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
914
959
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
915
960
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
961
|
+
# 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"
|
962
|
+
# 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
963
|
# resp.hls_package.encryption.speke_key_provider.role_arn #=> String
|
917
964
|
# resp.hls_package.encryption.speke_key_provider.system_ids #=> Array
|
918
965
|
# resp.hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -930,6 +977,8 @@ module Aws::MediaPackageVod
|
|
930
977
|
# resp.hls_package.segment_duration_seconds #=> Integer
|
931
978
|
# resp.hls_package.use_audio_rendition_group #=> Boolean
|
932
979
|
# resp.id #=> String
|
980
|
+
# 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"
|
981
|
+
# 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
982
|
# resp.mss_package.encryption.speke_key_provider.role_arn #=> String
|
934
983
|
# resp.mss_package.encryption.speke_key_provider.system_ids #=> Array
|
935
984
|
# resp.mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1068,6 +1117,8 @@ module Aws::MediaPackageVod
|
|
1068
1117
|
# resp.packaging_configurations #=> Array
|
1069
1118
|
# resp.packaging_configurations[0].arn #=> String
|
1070
1119
|
# resp.packaging_configurations[0].cmaf_package.encryption.constant_initialization_vector #=> String
|
1120
|
+
# 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"
|
1121
|
+
# 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
1122
|
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.role_arn #=> String
|
1072
1123
|
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.system_ids #=> Array
|
1073
1124
|
# resp.packaging_configurations[0].cmaf_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1092,6 +1143,8 @@ module Aws::MediaPackageVod
|
|
1092
1143
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.max_video_bits_per_second #=> Integer
|
1093
1144
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.min_video_bits_per_second #=> Integer
|
1094
1145
|
# resp.packaging_configurations[0].dash_package.dash_manifests[0].stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
1146
|
+
# 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"
|
1147
|
+
# 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
1148
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.role_arn #=> String
|
1096
1149
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids #=> Array
|
1097
1150
|
# resp.packaging_configurations[0].dash_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1103,6 +1156,8 @@ module Aws::MediaPackageVod
|
|
1103
1156
|
# resp.packaging_configurations[0].dash_package.segment_template_format #=> String, one of "NUMBER_WITH_TIMELINE", "TIME_WITH_TIMELINE", "NUMBER_WITH_DURATION"
|
1104
1157
|
# resp.packaging_configurations[0].hls_package.encryption.constant_initialization_vector #=> String
|
1105
1158
|
# resp.packaging_configurations[0].hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
1159
|
+
# 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"
|
1160
|
+
# 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
1161
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.role_arn #=> String
|
1107
1162
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.system_ids #=> Array
|
1108
1163
|
# resp.packaging_configurations[0].hls_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1120,6 +1175,8 @@ module Aws::MediaPackageVod
|
|
1120
1175
|
# resp.packaging_configurations[0].hls_package.segment_duration_seconds #=> Integer
|
1121
1176
|
# resp.packaging_configurations[0].hls_package.use_audio_rendition_group #=> Boolean
|
1122
1177
|
# resp.packaging_configurations[0].id #=> String
|
1178
|
+
# 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"
|
1179
|
+
# 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
1180
|
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.role_arn #=> String
|
1124
1181
|
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.system_ids #=> Array
|
1125
1182
|
# resp.packaging_configurations[0].mss_package.encryption.speke_key_provider.system_ids[0] #=> String
|
@@ -1325,7 +1382,7 @@ module Aws::MediaPackageVod
|
|
1325
1382
|
params: params,
|
1326
1383
|
config: config)
|
1327
1384
|
context[:gem_name] = 'aws-sdk-mediapackagevod'
|
1328
|
-
context[:gem_version] = '1.
|
1385
|
+
context[:gem_version] = '1.38.0'
|
1329
1386
|
Seahorse::Client::Request.new(handlers, context)
|
1330
1387
|
end
|
1331
1388
|
|
@@ -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"))
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MediaPackageVod
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MediaPackageVod
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parameters)
|
27
|
+
end
|
28
|
+
|
29
|
+
# @api private
|
30
|
+
RULES = <<-JSON
|
31
|
+
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
+
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
+
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
+
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
+
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
+
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
+
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
+
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
+
OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
|
41
|
+
UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
|
42
|
+
dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGl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24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBl
|
105
|
+
IjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVy
|
106
|
+
bCI6Imh0dHBzOi8vbWVkaWFwYWNrYWdlLXZvZC57UmVnaW9ufS57UGFydGl0
|
107
|
+
aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVy
|
108
|
+
cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
109
|
+
|
110
|
+
JSON
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,253 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::MediaPackageVod
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class ConfigureLogs
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CreateAsset
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreatePackagingConfiguration
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreatePackagingGroup
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeleteAsset
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DeletePackagingConfiguration
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DeletePackagingGroup
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DescribeAsset
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DescribePackagingConfiguration
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DescribePackagingGroup
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class ListAssets
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class ListPackagingConfigurations
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class ListPackagingGroups
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class ListTagsForResource
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class TagResource
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class UntagResource
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class UpdatePackagingGroup
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::MediaPackageVod::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
end
|
253
|
+
end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::MediaPackageVod
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::MediaPackageVod::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::MediaPackageVod::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::MediaPackageVod::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :configure_logs
|
60
|
+
Aws::MediaPackageVod::Endpoints::ConfigureLogs.build(context)
|
61
|
+
when :create_asset
|
62
|
+
Aws::MediaPackageVod::Endpoints::CreateAsset.build(context)
|
63
|
+
when :create_packaging_configuration
|
64
|
+
Aws::MediaPackageVod::Endpoints::CreatePackagingConfiguration.build(context)
|
65
|
+
when :create_packaging_group
|
66
|
+
Aws::MediaPackageVod::Endpoints::CreatePackagingGroup.build(context)
|
67
|
+
when :delete_asset
|
68
|
+
Aws::MediaPackageVod::Endpoints::DeleteAsset.build(context)
|
69
|
+
when :delete_packaging_configuration
|
70
|
+
Aws::MediaPackageVod::Endpoints::DeletePackagingConfiguration.build(context)
|
71
|
+
when :delete_packaging_group
|
72
|
+
Aws::MediaPackageVod::Endpoints::DeletePackagingGroup.build(context)
|
73
|
+
when :describe_asset
|
74
|
+
Aws::MediaPackageVod::Endpoints::DescribeAsset.build(context)
|
75
|
+
when :describe_packaging_configuration
|
76
|
+
Aws::MediaPackageVod::Endpoints::DescribePackagingConfiguration.build(context)
|
77
|
+
when :describe_packaging_group
|
78
|
+
Aws::MediaPackageVod::Endpoints::DescribePackagingGroup.build(context)
|
79
|
+
when :list_assets
|
80
|
+
Aws::MediaPackageVod::Endpoints::ListAssets.build(context)
|
81
|
+
when :list_packaging_configurations
|
82
|
+
Aws::MediaPackageVod::Endpoints::ListPackagingConfigurations.build(context)
|
83
|
+
when :list_packaging_groups
|
84
|
+
Aws::MediaPackageVod::Endpoints::ListPackagingGroups.build(context)
|
85
|
+
when :list_tags_for_resource
|
86
|
+
Aws::MediaPackageVod::Endpoints::ListTagsForResource.build(context)
|
87
|
+
when :tag_resource
|
88
|
+
Aws::MediaPackageVod::Endpoints::TagResource.build(context)
|
89
|
+
when :untag_resource
|
90
|
+
Aws::MediaPackageVod::Endpoints::UntagResource.build(context)
|
91
|
+
when :update_packaging_group
|
92
|
+
Aws::MediaPackageVod::Endpoints::UpdatePackagingGroup.build(context)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
def add_handlers(handlers, _config)
|
98
|
+
handlers.add(Handler, step: :build, priority: 75)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -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)
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-mediapackagevod/types'
|
15
15
|
require_relative 'aws-sdk-mediapackagevod/client_api'
|
16
|
+
require_relative 'aws-sdk-mediapackagevod/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-mediapackagevod/client'
|
17
18
|
require_relative 'aws-sdk-mediapackagevod/errors'
|
18
19
|
require_relative 'aws-sdk-mediapackagevod/resource'
|
20
|
+
require_relative 'aws-sdk-mediapackagevod/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-mediapackagevod/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-mediapackagevod/endpoints'
|
19
23
|
require_relative 'aws-sdk-mediapackagevod/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS Elemental MediaPackage VOD. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-mediapackagevod/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::MediaPackageVod
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.38.0'
|
52
56
|
|
53
57
|
end
|
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.38.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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-mediapackagevod/client.rb
|
60
60
|
- lib/aws-sdk-mediapackagevod/client_api.rb
|
61
61
|
- lib/aws-sdk-mediapackagevod/customizations.rb
|
62
|
+
- lib/aws-sdk-mediapackagevod/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-mediapackagevod/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-mediapackagevod/endpoints.rb
|
62
65
|
- lib/aws-sdk-mediapackagevod/errors.rb
|
66
|
+
- lib/aws-sdk-mediapackagevod/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-mediapackagevod/resource.rb
|
64
68
|
- lib/aws-sdk-mediapackagevod/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|