aws-sdk-mediatailor 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 191f191066ad0a1f65becd370a051f8ab91e851f
4
- data.tar.gz: 32ed2a2f67291013785d88d3751a2f48806d16c2
3
+ metadata.gz: fea17657d85e7b78120f16e9ab180ae12e60a4b7
4
+ data.tar.gz: 861f7b1c8e735e36d68dc84be5882f505796d8b5
5
5
  SHA512:
6
- metadata.gz: 7ea3755ecd13b0f8ce82fbe2cbabe6a2ff41f7ee29e9a33315c912fddc2d034226df6a987a6df1887508846b0187917b03625f171ea207540832375921505584
7
- data.tar.gz: c2f351165cf05b582fde3704c2a492be84affc0b19cb2b6852d15fcbc736239c3a15ab8df46801288fd42f18d142c10d7f06b55e9a95636e1cc0668fe9a9e02b
6
+ metadata.gz: 0f72443492409c04e86a124697f9351f9a9c0606706765e25174205651348381d47987f4e082bdb04ccebc052852455a751dc4d5a23f89fea36f3d179e20e59a
7
+ data.tar.gz: 6a198d46ec390abaf32961fd285b8a7c205d0a22c012e812481b91365ac8de146072919dd1d3a97ca383d550afbdc783a6c15e29285279c3450dde84b25d6ed2
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
42
42
  # @service
43
43
  module Aws::MediaTailor
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -285,6 +285,7 @@ module Aws::MediaTailor
285
285
  # * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
286
286
  # * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
287
287
  # * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
288
+ # * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
288
289
  # * {Types::GetPlaybackConfigurationResponse#name #name} => String
289
290
  # * {Types::GetPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
290
291
  # * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
@@ -309,6 +310,8 @@ module Aws::MediaTailor
309
310
  # resp.dash_configuration.mpd_location #=> String
310
311
  # resp.dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
311
312
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
313
+ # resp.live_pre_roll_configuration.ad_decision_server_url #=> String
314
+ # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
312
315
  # resp.name #=> String
313
316
  # resp.playback_configuration_arn #=> String
314
317
  # resp.playback_endpoint_prefix #=> String
@@ -427,6 +430,9 @@ module Aws::MediaTailor
427
430
  # @option params [Types::DashConfigurationForPut] :dash_configuration
428
431
  # The configuration for DASH content.
429
432
  #
433
+ # @option params [Types::LivePreRollConfiguration] :live_pre_roll_configuration
434
+ # The configuration for pre-roll ad insertion.
435
+ #
430
436
  # @option params [String] :name
431
437
  # The identifier for the playback configuration.
432
438
  #
@@ -458,6 +464,7 @@ module Aws::MediaTailor
458
464
  # * {Types::PutPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
459
465
  # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
460
466
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
467
+ # * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
461
468
  # * {Types::PutPlaybackConfigurationResponse#name #name} => String
462
469
  # * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
463
470
  # * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
@@ -479,6 +486,10 @@ module Aws::MediaTailor
479
486
  # mpd_location: "__string",
480
487
  # origin_manifest_type: "SINGLE_PERIOD", # accepts SINGLE_PERIOD, MULTI_PERIOD
481
488
  # },
489
+ # live_pre_roll_configuration: {
490
+ # ad_decision_server_url: "__string",
491
+ # max_duration_seconds: 1,
492
+ # },
482
493
  # name: "__string",
483
494
  # slate_ad_url: "__string",
484
495
  # tags: {
@@ -497,6 +508,8 @@ module Aws::MediaTailor
497
508
  # resp.dash_configuration.mpd_location #=> String
498
509
  # resp.dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
499
510
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
511
+ # resp.live_pre_roll_configuration.ad_decision_server_url #=> String
512
+ # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
500
513
  # resp.name #=> String
501
514
  # resp.playback_configuration_arn #=> String
502
515
  # resp.playback_endpoint_prefix #=> String
@@ -581,7 +594,7 @@ module Aws::MediaTailor
581
594
  params: params,
582
595
  config: config)
583
596
  context[:gem_name] = 'aws-sdk-mediatailor'
584
- context[:gem_version] = '1.21.0'
597
+ context[:gem_version] = '1.22.0'
585
598
  Seahorse::Client::Request.new(handlers, context)
586
599
  end
587
600
 
@@ -24,6 +24,7 @@ module Aws::MediaTailor
24
24
  ListPlaybackConfigurationsResponse = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsResponse')
25
25
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
26
26
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
27
+ LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
27
28
  OriginManifestType = Shapes::StringShape.new(name: 'OriginManifestType')
28
29
  PlaybackConfiguration = Shapes::StructureShape.new(name: 'PlaybackConfiguration')
29
30
  PutPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationRequest')
@@ -71,6 +72,7 @@ module Aws::MediaTailor
71
72
  GetPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
72
73
  GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
73
74
  GetPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
75
+ GetPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
74
76
  GetPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
75
77
  GetPlaybackConfigurationResponse.add_member(:playback_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationArn"))
76
78
  GetPlaybackConfigurationResponse.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
@@ -98,6 +100,10 @@ module Aws::MediaTailor
98
100
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
99
101
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
100
102
 
103
+ LivePreRollConfiguration.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
104
+ LivePreRollConfiguration.add_member(:max_duration_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "MaxDurationSeconds"))
105
+ LivePreRollConfiguration.struct_class = Types::LivePreRollConfiguration
106
+
101
107
  PlaybackConfiguration.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
102
108
  PlaybackConfiguration.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
103
109
  PlaybackConfiguration.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
@@ -115,6 +121,7 @@ module Aws::MediaTailor
115
121
  PutPlaybackConfigurationRequest.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
116
122
  PutPlaybackConfigurationRequest.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
117
123
  PutPlaybackConfigurationRequest.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfigurationForPut, location_name: "DashConfiguration"))
124
+ PutPlaybackConfigurationRequest.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
118
125
  PutPlaybackConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
119
126
  PutPlaybackConfigurationRequest.add_member(:slate_ad_url, Shapes::ShapeRef.new(shape: __string, location_name: "SlateAdUrl"))
120
127
  PutPlaybackConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
@@ -126,6 +133,7 @@ module Aws::MediaTailor
126
133
  PutPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
127
134
  PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
128
135
  PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
136
+ PutPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
129
137
  PutPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
130
138
  PutPlaybackConfigurationResponse.add_member(:playback_configuration_arn, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationArn"))
131
139
  PutPlaybackConfigurationResponse.add_member(:playback_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackEndpointPrefix"))
@@ -197,6 +197,10 @@ module Aws::MediaTailor
197
197
  # The configuration for HLS content.
198
198
  # @return [Types::HlsConfiguration]
199
199
  #
200
+ # @!attribute [rw] live_pre_roll_configuration
201
+ # The configuration for pre-roll ad insertion.
202
+ # @return [Types::LivePreRollConfiguration]
203
+ #
200
204
  # @!attribute [rw] name
201
205
  # The identifier for the playback configuration.
202
206
  # @return [String]
@@ -248,6 +252,7 @@ module Aws::MediaTailor
248
252
  :cdn_configuration,
249
253
  :dash_configuration,
250
254
  :hls_configuration,
255
+ :live_pre_roll_configuration,
251
256
  :name,
252
257
  :playback_configuration_arn,
253
258
  :playback_endpoint_prefix,
@@ -400,6 +405,40 @@ module Aws::MediaTailor
400
405
  include Aws::Structure
401
406
  end
402
407
 
408
+ # The configuration for pre-roll ad insertion.
409
+ #
410
+ # @note When making an API call, you may pass LivePreRollConfiguration
411
+ # data as a hash:
412
+ #
413
+ # {
414
+ # ad_decision_server_url: "__string",
415
+ # max_duration_seconds: 1,
416
+ # }
417
+ #
418
+ # @!attribute [rw] ad_decision_server_url
419
+ # The URL for the ad decision server (ADS) for pre-roll ads. This
420
+ # includes the specification of static parameters and placeholders for
421
+ # dynamic parameters. AWS Elemental MediaTailor substitutes
422
+ # player-specific and session-specific parameters as needed when
423
+ # calling the ADS. Alternately, for testing, you can provide a static
424
+ # VAST URL. The maximum length is 25,000 characters.
425
+ # @return [String]
426
+ #
427
+ # @!attribute [rw] max_duration_seconds
428
+ # The maximum allowed duration for the pre-roll ad avail. AWS
429
+ # Elemental MediaTailor won't play pre-roll ads to exceed this
430
+ # duration, regardless of the total duration of ads that the ADS
431
+ # returns.
432
+ # @return [Integer]
433
+ #
434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/LivePreRollConfiguration AWS API Documentation
435
+ #
436
+ class LivePreRollConfiguration < Struct.new(
437
+ :ad_decision_server_url,
438
+ :max_duration_seconds)
439
+ include Aws::Structure
440
+ end
441
+
403
442
  # @note When making an API call, you may pass PutPlaybackConfigurationRequest
404
443
  # data as a hash:
405
444
  #
@@ -413,6 +452,10 @@ module Aws::MediaTailor
413
452
  # mpd_location: "__string",
414
453
  # origin_manifest_type: "SINGLE_PERIOD", # accepts SINGLE_PERIOD, MULTI_PERIOD
415
454
  # },
455
+ # live_pre_roll_configuration: {
456
+ # ad_decision_server_url: "__string",
457
+ # max_duration_seconds: 1,
458
+ # },
416
459
  # name: "__string",
417
460
  # slate_ad_url: "__string",
418
461
  # tags: {
@@ -440,6 +483,10 @@ module Aws::MediaTailor
440
483
  # The configuration for DASH content.
441
484
  # @return [Types::DashConfigurationForPut]
442
485
  #
486
+ # @!attribute [rw] live_pre_roll_configuration
487
+ # The configuration for pre-roll ad insertion.
488
+ # @return [Types::LivePreRollConfiguration]
489
+ #
443
490
  # @!attribute [rw] name
444
491
  # The identifier for the playback configuration.
445
492
  # @return [String]
@@ -476,6 +523,7 @@ module Aws::MediaTailor
476
523
  :ad_decision_server_url,
477
524
  :cdn_configuration,
478
525
  :dash_configuration,
526
+ :live_pre_roll_configuration,
479
527
  :name,
480
528
  :slate_ad_url,
481
529
  :tags,
@@ -500,6 +548,10 @@ module Aws::MediaTailor
500
548
  # The configuration for HLS content.
501
549
  # @return [Types::HlsConfiguration]
502
550
  #
551
+ # @!attribute [rw] live_pre_roll_configuration
552
+ # The configuration for pre-roll ad insertion.
553
+ # @return [Types::LivePreRollConfiguration]
554
+ #
503
555
  # @!attribute [rw] name
504
556
  # @return [String]
505
557
  #
@@ -531,6 +583,7 @@ module Aws::MediaTailor
531
583
  :cdn_configuration,
532
584
  :dash_configuration,
533
585
  :hls_configuration,
586
+ :live_pre_roll_configuration,
534
587
  :name,
535
588
  :playback_configuration_arn,
536
589
  :playback_endpoint_prefix,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediatailor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.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-10-23 00:00:00.000000000 Z
11
+ date: 2019-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core