aws-sdk-mediapackage 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-mediapackage.rb +1 -1
- data/lib/aws-sdk-mediapackage/client.rb +37 -1
- data/lib/aws-sdk-mediapackage/client_api.rb +11 -0
- data/lib/aws-sdk-mediapackage/types.rb +86 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4db5aece92fe0155488302af4152520a675c3035
|
4
|
+
data.tar.gz: bed5f660b0686a64f707491caaec7c8d4ff72ce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1dcbb736cba418e6ebe8188651b1252ba657521e747fb74e2b5ab29c99d222f3a67e817bb5c94a93eaa0fd7ee761056112e17cab7babb28dfa08c6cca4f2934
|
7
|
+
data.tar.gz: 53c2012be316c4f1f4a63b62e09924a20fca71979b6a160295cb2251bc032630f7f965329ed9bd0ca5097b43460050d5289e66ba1f6047cba1726b162c735fd4
|
data/lib/aws-sdk-mediapackage.rb
CHANGED
@@ -369,6 +369,8 @@ module Aws::MediaPackage
|
|
369
369
|
# hls_manifests: [
|
370
370
|
# {
|
371
371
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
372
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
373
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
372
374
|
# id: "__string", # required
|
373
375
|
# include_iframe_only_stream: false,
|
374
376
|
# manifest_name: "__string",
|
@@ -386,6 +388,8 @@ module Aws::MediaPackage
|
|
386
388
|
# },
|
387
389
|
# },
|
388
390
|
# dash_package: {
|
391
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
392
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
389
393
|
# encryption: {
|
390
394
|
# key_rotation_interval_seconds: 1,
|
391
395
|
# speke_key_provider: { # required
|
@@ -414,6 +418,8 @@ module Aws::MediaPackage
|
|
414
418
|
# description: "__string",
|
415
419
|
# hls_package: {
|
416
420
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
421
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
422
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
417
423
|
# encryption: {
|
418
424
|
# constant_initialization_vector: "__string",
|
419
425
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
@@ -492,6 +498,9 @@ module Aws::MediaPackage
|
|
492
498
|
# resp.cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
|
493
499
|
# resp.cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
|
494
500
|
# resp.cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
501
|
+
# resp.dash_package.ad_triggers #=> Array
|
502
|
+
# resp.dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
503
|
+
# resp.dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
495
504
|
# resp.dash_package.encryption.key_rotation_interval_seconds #=> Integer
|
496
505
|
# resp.dash_package.encryption.speke_key_provider.certificate_arn #=> String
|
497
506
|
# resp.dash_package.encryption.speke_key_provider.resource_id #=> String
|
@@ -514,6 +523,9 @@ module Aws::MediaPackage
|
|
514
523
|
# resp.dash_package.suggested_presentation_delay_seconds #=> Integer
|
515
524
|
# resp.description #=> String
|
516
525
|
# resp.hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
526
|
+
# resp.hls_package.ad_triggers #=> Array
|
527
|
+
# resp.hls_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
528
|
+
# resp.hls_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
517
529
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
518
530
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
519
531
|
# resp.hls_package.encryption.key_rotation_interval_seconds #=> Integer
|
@@ -697,6 +709,9 @@ module Aws::MediaPackage
|
|
697
709
|
# resp.cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
|
698
710
|
# resp.cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
|
699
711
|
# resp.cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
712
|
+
# resp.dash_package.ad_triggers #=> Array
|
713
|
+
# resp.dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
714
|
+
# resp.dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
700
715
|
# resp.dash_package.encryption.key_rotation_interval_seconds #=> Integer
|
701
716
|
# resp.dash_package.encryption.speke_key_provider.certificate_arn #=> String
|
702
717
|
# resp.dash_package.encryption.speke_key_provider.resource_id #=> String
|
@@ -719,6 +734,9 @@ module Aws::MediaPackage
|
|
719
734
|
# resp.dash_package.suggested_presentation_delay_seconds #=> Integer
|
720
735
|
# resp.description #=> String
|
721
736
|
# resp.hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
737
|
+
# resp.hls_package.ad_triggers #=> Array
|
738
|
+
# resp.hls_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
739
|
+
# resp.hls_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
722
740
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
723
741
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
724
742
|
# resp.hls_package.encryption.key_rotation_interval_seconds #=> Integer
|
@@ -858,6 +876,9 @@ module Aws::MediaPackage
|
|
858
876
|
# resp.origin_endpoints[0].cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
|
859
877
|
# resp.origin_endpoints[0].cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
|
860
878
|
# resp.origin_endpoints[0].cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
879
|
+
# resp.origin_endpoints[0].dash_package.ad_triggers #=> Array
|
880
|
+
# resp.origin_endpoints[0].dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
881
|
+
# resp.origin_endpoints[0].dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
861
882
|
# resp.origin_endpoints[0].dash_package.encryption.key_rotation_interval_seconds #=> Integer
|
862
883
|
# resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.certificate_arn #=> String
|
863
884
|
# resp.origin_endpoints[0].dash_package.encryption.speke_key_provider.resource_id #=> String
|
@@ -880,6 +901,9 @@ module Aws::MediaPackage
|
|
880
901
|
# resp.origin_endpoints[0].dash_package.suggested_presentation_delay_seconds #=> Integer
|
881
902
|
# resp.origin_endpoints[0].description #=> String
|
882
903
|
# resp.origin_endpoints[0].hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
904
|
+
# resp.origin_endpoints[0].hls_package.ad_triggers #=> Array
|
905
|
+
# resp.origin_endpoints[0].hls_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
906
|
+
# resp.origin_endpoints[0].hls_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
883
907
|
# resp.origin_endpoints[0].hls_package.encryption.constant_initialization_vector #=> String
|
884
908
|
# resp.origin_endpoints[0].hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
885
909
|
# resp.origin_endpoints[0].hls_package.encryption.key_rotation_interval_seconds #=> Integer
|
@@ -1190,6 +1214,8 @@ module Aws::MediaPackage
|
|
1190
1214
|
# hls_manifests: [
|
1191
1215
|
# {
|
1192
1216
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
1217
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
1218
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1193
1219
|
# id: "__string", # required
|
1194
1220
|
# include_iframe_only_stream: false,
|
1195
1221
|
# manifest_name: "__string",
|
@@ -1207,6 +1233,8 @@ module Aws::MediaPackage
|
|
1207
1233
|
# },
|
1208
1234
|
# },
|
1209
1235
|
# dash_package: {
|
1236
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
1237
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1210
1238
|
# encryption: {
|
1211
1239
|
# key_rotation_interval_seconds: 1,
|
1212
1240
|
# speke_key_provider: { # required
|
@@ -1235,6 +1263,8 @@ module Aws::MediaPackage
|
|
1235
1263
|
# description: "__string",
|
1236
1264
|
# hls_package: {
|
1237
1265
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
1266
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
1267
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1238
1268
|
# encryption: {
|
1239
1269
|
# constant_initialization_vector: "__string",
|
1240
1270
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
@@ -1310,6 +1340,9 @@ module Aws::MediaPackage
|
|
1310
1340
|
# resp.cmaf_package.stream_selection.max_video_bits_per_second #=> Integer
|
1311
1341
|
# resp.cmaf_package.stream_selection.min_video_bits_per_second #=> Integer
|
1312
1342
|
# resp.cmaf_package.stream_selection.stream_order #=> String, one of "ORIGINAL", "VIDEO_BITRATE_ASCENDING", "VIDEO_BITRATE_DESCENDING"
|
1343
|
+
# resp.dash_package.ad_triggers #=> Array
|
1344
|
+
# resp.dash_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
1345
|
+
# resp.dash_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
1313
1346
|
# resp.dash_package.encryption.key_rotation_interval_seconds #=> Integer
|
1314
1347
|
# resp.dash_package.encryption.speke_key_provider.certificate_arn #=> String
|
1315
1348
|
# resp.dash_package.encryption.speke_key_provider.resource_id #=> String
|
@@ -1332,6 +1365,9 @@ module Aws::MediaPackage
|
|
1332
1365
|
# resp.dash_package.suggested_presentation_delay_seconds #=> Integer
|
1333
1366
|
# resp.description #=> String
|
1334
1367
|
# resp.hls_package.ad_markers #=> String, one of "NONE", "SCTE35_ENHANCED", "PASSTHROUGH"
|
1368
|
+
# resp.hls_package.ad_triggers #=> Array
|
1369
|
+
# resp.hls_package.ad_triggers[0] #=> String, one of "SPLICE_INSERT", "BREAK", "PROVIDER_ADVERTISEMENT", "DISTRIBUTOR_ADVERTISEMENT", "PROVIDER_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_PLACEMENT_OPPORTUNITY", "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY", "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"
|
1370
|
+
# resp.hls_package.ads_on_delivery_restrictions #=> String, one of "NONE", "RESTRICTED", "UNRESTRICTED", "BOTH"
|
1335
1371
|
# resp.hls_package.encryption.constant_initialization_vector #=> String
|
1336
1372
|
# resp.hls_package.encryption.encryption_method #=> String, one of "AES_128", "SAMPLE_AES"
|
1337
1373
|
# resp.hls_package.encryption.key_rotation_interval_seconds #=> Integer
|
@@ -1394,7 +1430,7 @@ module Aws::MediaPackage
|
|
1394
1430
|
params: params,
|
1395
1431
|
config: config)
|
1396
1432
|
context[:gem_name] = 'aws-sdk-mediapackage'
|
1397
|
-
context[:gem_version] = '1.
|
1433
|
+
context[:gem_version] = '1.20.0'
|
1398
1434
|
Seahorse::Client::Request.new(handlers, context)
|
1399
1435
|
end
|
1400
1436
|
|
@@ -12,6 +12,8 @@ module Aws::MediaPackage
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AdMarkers = Shapes::StringShape.new(name: 'AdMarkers')
|
15
|
+
AdTriggers = Shapes::ListShape.new(name: 'AdTriggers')
|
16
|
+
AdsOnDeliveryRestrictions = Shapes::StringShape.new(name: 'AdsOnDeliveryRestrictions')
|
15
17
|
Channel = Shapes::StructureShape.new(name: 'Channel')
|
16
18
|
ChannelCreateParameters = Shapes::StructureShape.new(name: 'ChannelCreateParameters')
|
17
19
|
ChannelList = Shapes::StructureShape.new(name: 'ChannelList')
|
@@ -78,6 +80,7 @@ module Aws::MediaPackage
|
|
78
80
|
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
79
81
|
UpdateOriginEndpointRequest = Shapes::StructureShape.new(name: 'UpdateOriginEndpointRequest')
|
80
82
|
UpdateOriginEndpointResponse = Shapes::StructureShape.new(name: 'UpdateOriginEndpointResponse')
|
83
|
+
__AdTriggersElement = Shapes::StringShape.new(name: '__AdTriggersElement')
|
81
84
|
__PeriodTriggersElement = Shapes::StringShape.new(name: '__PeriodTriggersElement')
|
82
85
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
83
86
|
__double = Shapes::FloatShape.new(name: '__double')
|
@@ -93,6 +96,8 @@ module Aws::MediaPackage
|
|
93
96
|
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
94
97
|
__string = Shapes::StringShape.new(name: '__string')
|
95
98
|
|
99
|
+
AdTriggers.member = Shapes::ShapeRef.new(shape: __AdTriggersElement)
|
100
|
+
|
96
101
|
Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
97
102
|
Channel.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
98
103
|
Channel.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
|
@@ -176,6 +181,8 @@ module Aws::MediaPackage
|
|
176
181
|
DashEncryption.add_member(:speke_key_provider, Shapes::ShapeRef.new(shape: SpekeKeyProvider, required: true, location_name: "spekeKeyProvider"))
|
177
182
|
DashEncryption.struct_class = Types::DashEncryption
|
178
183
|
|
184
|
+
DashPackage.add_member(:ad_triggers, Shapes::ShapeRef.new(shape: AdTriggers, location_name: "adTriggers"))
|
185
|
+
DashPackage.add_member(:ads_on_delivery_restrictions, Shapes::ShapeRef.new(shape: AdsOnDeliveryRestrictions, location_name: "adsOnDeliveryRestrictions"))
|
179
186
|
DashPackage.add_member(:encryption, Shapes::ShapeRef.new(shape: DashEncryption, location_name: "encryption"))
|
180
187
|
DashPackage.add_member(:manifest_layout, Shapes::ShapeRef.new(shape: ManifestLayout, location_name: "manifestLayout"))
|
181
188
|
DashPackage.add_member(:manifest_window_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "manifestWindowSeconds"))
|
@@ -252,6 +259,8 @@ module Aws::MediaPackage
|
|
252
259
|
HlsManifest.struct_class = Types::HlsManifest
|
253
260
|
|
254
261
|
HlsManifestCreateOrUpdateParameters.add_member(:ad_markers, Shapes::ShapeRef.new(shape: AdMarkers, location_name: "adMarkers"))
|
262
|
+
HlsManifestCreateOrUpdateParameters.add_member(:ad_triggers, Shapes::ShapeRef.new(shape: AdTriggers, location_name: "adTriggers"))
|
263
|
+
HlsManifestCreateOrUpdateParameters.add_member(:ads_on_delivery_restrictions, Shapes::ShapeRef.new(shape: AdsOnDeliveryRestrictions, location_name: "adsOnDeliveryRestrictions"))
|
255
264
|
HlsManifestCreateOrUpdateParameters.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
|
256
265
|
HlsManifestCreateOrUpdateParameters.add_member(:include_iframe_only_stream, Shapes::ShapeRef.new(shape: __boolean, location_name: "includeIframeOnlyStream"))
|
257
266
|
HlsManifestCreateOrUpdateParameters.add_member(:manifest_name, Shapes::ShapeRef.new(shape: __string, location_name: "manifestName"))
|
@@ -261,6 +270,8 @@ module Aws::MediaPackage
|
|
261
270
|
HlsManifestCreateOrUpdateParameters.struct_class = Types::HlsManifestCreateOrUpdateParameters
|
262
271
|
|
263
272
|
HlsPackage.add_member(:ad_markers, Shapes::ShapeRef.new(shape: AdMarkers, location_name: "adMarkers"))
|
273
|
+
HlsPackage.add_member(:ad_triggers, Shapes::ShapeRef.new(shape: AdTriggers, location_name: "adTriggers"))
|
274
|
+
HlsPackage.add_member(:ads_on_delivery_restrictions, Shapes::ShapeRef.new(shape: AdsOnDeliveryRestrictions, location_name: "adsOnDeliveryRestrictions"))
|
264
275
|
HlsPackage.add_member(:encryption, Shapes::ShapeRef.new(shape: HlsEncryption, location_name: "encryption"))
|
265
276
|
HlsPackage.add_member(:include_iframe_only_stream, Shapes::ShapeRef.new(shape: __boolean, location_name: "includeIframeOnlyStream"))
|
266
277
|
HlsPackage.add_member(:playlist_type, Shapes::ShapeRef.new(shape: PlaylistType, location_name: "playlistType"))
|
@@ -185,6 +185,8 @@ module Aws::MediaPackage
|
|
185
185
|
# hls_manifests: [
|
186
186
|
# {
|
187
187
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
188
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
189
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
188
190
|
# id: "__string", # required
|
189
191
|
# include_iframe_only_stream: false,
|
190
192
|
# manifest_name: "__string",
|
@@ -312,6 +314,8 @@ module Aws::MediaPackage
|
|
312
314
|
# hls_manifests: [
|
313
315
|
# {
|
314
316
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
317
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
318
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
315
319
|
# id: "__string", # required
|
316
320
|
# include_iframe_only_stream: false,
|
317
321
|
# manifest_name: "__string",
|
@@ -329,6 +333,8 @@ module Aws::MediaPackage
|
|
329
333
|
# },
|
330
334
|
# },
|
331
335
|
# dash_package: {
|
336
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
337
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
332
338
|
# encryption: {
|
333
339
|
# key_rotation_interval_seconds: 1,
|
334
340
|
# speke_key_provider: { # required
|
@@ -357,6 +363,8 @@ module Aws::MediaPackage
|
|
357
363
|
# description: "__string",
|
358
364
|
# hls_package: {
|
359
365
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
366
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
367
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
360
368
|
# encryption: {
|
361
369
|
# constant_initialization_vector: "__string",
|
362
370
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
@@ -579,6 +587,8 @@ module Aws::MediaPackage
|
|
579
587
|
# data as a hash:
|
580
588
|
#
|
581
589
|
# {
|
590
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
591
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
582
592
|
# encryption: {
|
583
593
|
# key_rotation_interval_seconds: 1,
|
584
594
|
# speke_key_provider: { # required
|
@@ -605,6 +615,26 @@ module Aws::MediaPackage
|
|
605
615
|
# suggested_presentation_delay_seconds: 1,
|
606
616
|
# }
|
607
617
|
#
|
618
|
+
# @!attribute [rw] ad_triggers
|
619
|
+
# A list of SCTE-35 message types that are treated as ad markers in
|
620
|
+
# the output. If empty, no ad markers are output. Specify multiple
|
621
|
+
# items to create ad markers for all of the included message types.
|
622
|
+
# @return [Array<String>]
|
623
|
+
#
|
624
|
+
# @!attribute [rw] ads_on_delivery_restrictions
|
625
|
+
# This setting allows the delivery restriction flags on SCTE-35
|
626
|
+
# segmentation descriptors to determine whether a message signals an
|
627
|
+
# ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing
|
628
|
+
# "RESTRICTED" means SCTE-35 messages of the types specified in
|
629
|
+
# AdTriggers that contain delivery restrictions will be treated as
|
630
|
+
# ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types
|
631
|
+
# specified in AdTriggers that do not contain delivery restrictions
|
632
|
+
# will be treated as ads. Choosing "BOTH" means all SCTE-35 messages
|
633
|
+
# of the types specified in AdTriggers will be treated as ads. Note
|
634
|
+
# that Splice Insert messages do not have these flags and are always
|
635
|
+
# treated as ads if specified in AdTriggers.
|
636
|
+
# @return [String]
|
637
|
+
#
|
608
638
|
# @!attribute [rw] encryption
|
609
639
|
# A Dynamic Adaptive Streaming over HTTP (DASH) encryption
|
610
640
|
# configuration.
|
@@ -673,6 +703,8 @@ module Aws::MediaPackage
|
|
673
703
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage AWS API Documentation
|
674
704
|
#
|
675
705
|
class DashPackage < Struct.new(
|
706
|
+
:ad_triggers,
|
707
|
+
:ads_on_delivery_restrictions,
|
676
708
|
:encryption,
|
677
709
|
:manifest_layout,
|
678
710
|
:manifest_window_seconds,
|
@@ -1010,6 +1042,8 @@ module Aws::MediaPackage
|
|
1010
1042
|
#
|
1011
1043
|
# {
|
1012
1044
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
1045
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
1046
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1013
1047
|
# id: "__string", # required
|
1014
1048
|
# include_iframe_only_stream: false,
|
1015
1049
|
# manifest_name: "__string",
|
@@ -1028,6 +1062,26 @@ module Aws::MediaPackage
|
|
1028
1062
|
# source.
|
1029
1063
|
# @return [String]
|
1030
1064
|
#
|
1065
|
+
# @!attribute [rw] ad_triggers
|
1066
|
+
# A list of SCTE-35 message types that are treated as ad markers in
|
1067
|
+
# the output. If empty, no ad markers are output. Specify multiple
|
1068
|
+
# items to create ad markers for all of the included message types.
|
1069
|
+
# @return [Array<String>]
|
1070
|
+
#
|
1071
|
+
# @!attribute [rw] ads_on_delivery_restrictions
|
1072
|
+
# This setting allows the delivery restriction flags on SCTE-35
|
1073
|
+
# segmentation descriptors to determine whether a message signals an
|
1074
|
+
# ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing
|
1075
|
+
# "RESTRICTED" means SCTE-35 messages of the types specified in
|
1076
|
+
# AdTriggers that contain delivery restrictions will be treated as
|
1077
|
+
# ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types
|
1078
|
+
# specified in AdTriggers that do not contain delivery restrictions
|
1079
|
+
# will be treated as ads. Choosing "BOTH" means all SCTE-35 messages
|
1080
|
+
# of the types specified in AdTriggers will be treated as ads. Note
|
1081
|
+
# that Splice Insert messages do not have these flags and are always
|
1082
|
+
# treated as ads if specified in AdTriggers.
|
1083
|
+
# @return [String]
|
1084
|
+
#
|
1031
1085
|
# @!attribute [rw] id
|
1032
1086
|
# The ID of the manifest. The ID must be unique within the
|
1033
1087
|
# OriginEndpoint and it cannot be changed after it is created.
|
@@ -1069,6 +1123,8 @@ module Aws::MediaPackage
|
|
1069
1123
|
#
|
1070
1124
|
class HlsManifestCreateOrUpdateParameters < Struct.new(
|
1071
1125
|
:ad_markers,
|
1126
|
+
:ad_triggers,
|
1127
|
+
:ads_on_delivery_restrictions,
|
1072
1128
|
:id,
|
1073
1129
|
:include_iframe_only_stream,
|
1074
1130
|
:manifest_name,
|
@@ -1085,6 +1141,8 @@ module Aws::MediaPackage
|
|
1085
1141
|
#
|
1086
1142
|
# {
|
1087
1143
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
1144
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
1145
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1088
1146
|
# encryption: {
|
1089
1147
|
# constant_initialization_vector: "__string",
|
1090
1148
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
@@ -1121,6 +1179,26 @@ module Aws::MediaPackage
|
|
1121
1179
|
# source.
|
1122
1180
|
# @return [String]
|
1123
1181
|
#
|
1182
|
+
# @!attribute [rw] ad_triggers
|
1183
|
+
# A list of SCTE-35 message types that are treated as ad markers in
|
1184
|
+
# the output. If empty, no ad markers are output. Specify multiple
|
1185
|
+
# items to create ad markers for all of the included message types.
|
1186
|
+
# @return [Array<String>]
|
1187
|
+
#
|
1188
|
+
# @!attribute [rw] ads_on_delivery_restrictions
|
1189
|
+
# This setting allows the delivery restriction flags on SCTE-35
|
1190
|
+
# segmentation descriptors to determine whether a message signals an
|
1191
|
+
# ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing
|
1192
|
+
# "RESTRICTED" means SCTE-35 messages of the types specified in
|
1193
|
+
# AdTriggers that contain delivery restrictions will be treated as
|
1194
|
+
# ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types
|
1195
|
+
# specified in AdTriggers that do not contain delivery restrictions
|
1196
|
+
# will be treated as ads. Choosing "BOTH" means all SCTE-35 messages
|
1197
|
+
# of the types specified in AdTriggers will be treated as ads. Note
|
1198
|
+
# that Splice Insert messages do not have these flags and are always
|
1199
|
+
# treated as ads if specified in AdTriggers.
|
1200
|
+
# @return [String]
|
1201
|
+
#
|
1124
1202
|
# @!attribute [rw] encryption
|
1125
1203
|
# An HTTP Live Streaming (HLS) encryption configuration.
|
1126
1204
|
# @return [Types::HlsEncryption]
|
@@ -1169,6 +1247,8 @@ module Aws::MediaPackage
|
|
1169
1247
|
#
|
1170
1248
|
class HlsPackage < Struct.new(
|
1171
1249
|
:ad_markers,
|
1250
|
+
:ad_triggers,
|
1251
|
+
:ads_on_delivery_restrictions,
|
1172
1252
|
:encryption,
|
1173
1253
|
:include_iframe_only_stream,
|
1174
1254
|
:playlist_type,
|
@@ -1978,6 +2058,8 @@ module Aws::MediaPackage
|
|
1978
2058
|
# hls_manifests: [
|
1979
2059
|
# {
|
1980
2060
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
2061
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
2062
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1981
2063
|
# id: "__string", # required
|
1982
2064
|
# include_iframe_only_stream: false,
|
1983
2065
|
# manifest_name: "__string",
|
@@ -1995,6 +2077,8 @@ module Aws::MediaPackage
|
|
1995
2077
|
# },
|
1996
2078
|
# },
|
1997
2079
|
# dash_package: {
|
2080
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
2081
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
1998
2082
|
# encryption: {
|
1999
2083
|
# key_rotation_interval_seconds: 1,
|
2000
2084
|
# speke_key_provider: { # required
|
@@ -2023,6 +2107,8 @@ module Aws::MediaPackage
|
|
2023
2107
|
# description: "__string",
|
2024
2108
|
# hls_package: {
|
2025
2109
|
# ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
|
2110
|
+
# ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
|
2111
|
+
# ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
|
2026
2112
|
# encryption: {
|
2027
2113
|
# constant_initialization_vector: "__string",
|
2028
2114
|
# encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediapackage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.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: 2019-06-
|
11
|
+
date: 2019-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|