aws-sdk-mediatailor 1.24.0 → 1.25.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
- SHA1:
3
- metadata.gz: 6d3bf5c999a032a112972ab1358ea3afbbb91da9
4
- data.tar.gz: e48a0c8976982e20647ec90b7cae5cfa8da162fe
2
+ SHA256:
3
+ metadata.gz: 0e61832fd1e313f9f389e264a648170c08584648df9bb92b9a9cb697b6d21f26
4
+ data.tar.gz: f973bfa15da96b7d5e5b8c78d44c536ab78ddd22fa7834fa73ecdd8c04310b89
5
5
  SHA512:
6
- metadata.gz: 55e0ab316d6a06576f5f90ac7cb85c5261ef03b9ecdba7e99780d7ce3055be94ad8c7593ada61157bc4d734462476134381082b94ff037e2c2374ebe1a1272b7
7
- data.tar.gz: c7a08bdd9abc3488d647030297905c8650fdf96ea758c48ead6e81551fde2e9930abe090c8d39bf5ad0df7a5adfe4df9a9854d3530166cbcb49a064504a39c56
6
+ metadata.gz: 84d628b7b34bf486222297166a86ee1662805b0ea5237549aa56aaa8175796fb0d51c8183425399ac457852ba5649ef8f11ced548500dbe03e00761dbda7313e
7
+ data.tar.gz: 6ce94edc6caa3d549abf9da36c9a815d48fb8f265fe247f4c893bd2d08876078cbf785dbe171dbf983b2abf4f6eb88b6d0aa34aed6207f9b51c95020d81f7dba
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
45
45
  # @service
46
46
  module Aws::MediaTailor
47
47
 
48
- GEM_VERSION = '1.24.0'
48
+ GEM_VERSION = '1.25.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mediatailor)
32
32
  module Aws::MediaTailor
33
33
  # An API client for MediaTailor. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::MediaTailor::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::MediaTailor::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::MediaTailor
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::MediaTailor
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::MediaTailor
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -333,6 +336,7 @@ module Aws::MediaTailor
333
336
  # @return [Types::GetPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
334
337
  #
335
338
  # * {Types::GetPlaybackConfigurationResponse#ad_decision_server_url #ad_decision_server_url} => String
339
+ # * {Types::GetPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
336
340
  # * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
337
341
  # * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
338
342
  # * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
@@ -356,6 +360,8 @@ module Aws::MediaTailor
356
360
  # @example Response structure
357
361
  #
358
362
  # resp.ad_decision_server_url #=> String
363
+ # resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
364
+ # resp.avail_suppression.value #=> String
359
365
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
360
366
  # resp.cdn_configuration.content_segment_url_prefix #=> String
361
367
  # resp.personalization_threshold_seconds #=> Integer
@@ -477,6 +483,9 @@ module Aws::MediaTailor
477
483
  # Alternately, for testing you can provide a static VAST URL. The
478
484
  # maximum length is 25,000 characters.
479
485
  #
486
+ # @option params [Types::AvailSuppression] :avail_suppression
487
+ # The configuration for Avail Suppression.
488
+ #
480
489
  # @option params [Types::CdnConfiguration] :cdn_configuration
481
490
  # The configuration for using a content delivery network (CDN), like
482
491
  # Amazon CloudFront, for content and ad segment management.
@@ -519,6 +528,7 @@ module Aws::MediaTailor
519
528
  # @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
520
529
  #
521
530
  # * {Types::PutPlaybackConfigurationResponse#ad_decision_server_url #ad_decision_server_url} => String
531
+ # * {Types::PutPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
522
532
  # * {Types::PutPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
523
533
  # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
524
534
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
@@ -536,6 +546,10 @@ module Aws::MediaTailor
536
546
  #
537
547
  # resp = client.put_playback_configuration({
538
548
  # ad_decision_server_url: "__string",
549
+ # avail_suppression: {
550
+ # mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
551
+ # value: "__string",
552
+ # },
539
553
  # cdn_configuration: {
540
554
  # ad_segment_url_prefix: "__string",
541
555
  # content_segment_url_prefix: "__string",
@@ -561,6 +575,8 @@ module Aws::MediaTailor
561
575
  # @example Response structure
562
576
  #
563
577
  # resp.ad_decision_server_url #=> String
578
+ # resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
579
+ # resp.avail_suppression.value #=> String
564
580
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
565
581
  # resp.cdn_configuration.content_segment_url_prefix #=> String
566
582
  # resp.dash_configuration.manifest_endpoint_prefix #=> String
@@ -653,7 +669,7 @@ module Aws::MediaTailor
653
669
  params: params,
654
670
  config: config)
655
671
  context[:gem_name] = 'aws-sdk-mediatailor'
656
- context[:gem_version] = '1.24.0'
672
+ context[:gem_version] = '1.25.0'
657
673
  Seahorse::Client::Request.new(handlers, context)
658
674
  end
659
675
 
@@ -11,6 +11,7 @@ module Aws::MediaTailor
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AvailSuppression = Shapes::StructureShape.new(name: 'AvailSuppression')
14
15
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
15
16
  CdnConfiguration = Shapes::StructureShape.new(name: 'CdnConfiguration')
16
17
  DashConfiguration = Shapes::StructureShape.new(name: 'DashConfiguration')
@@ -25,6 +26,7 @@ module Aws::MediaTailor
25
26
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
26
27
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
27
28
  LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
29
+ Mode = Shapes::StringShape.new(name: 'Mode')
28
30
  OriginManifestType = Shapes::StringShape.new(name: 'OriginManifestType')
29
31
  PlaybackConfiguration = Shapes::StructureShape.new(name: 'PlaybackConfiguration')
30
32
  PutPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationRequest')
@@ -45,6 +47,10 @@ module Aws::MediaTailor
45
47
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
46
48
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
47
49
 
50
+ AvailSuppression.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
51
+ AvailSuppression.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
52
+ AvailSuppression.struct_class = Types::AvailSuppression
53
+
48
54
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
49
55
  BadRequestException.struct_class = Types::BadRequestException
50
56
 
@@ -70,6 +76,7 @@ module Aws::MediaTailor
70
76
  GetPlaybackConfigurationRequest.struct_class = Types::GetPlaybackConfigurationRequest
71
77
 
72
78
  GetPlaybackConfigurationResponse.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
79
+ GetPlaybackConfigurationResponse.add_member(:avail_suppression, Shapes::ShapeRef.new(shape: AvailSuppression, location_name: "AvailSuppression"))
73
80
  GetPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
74
81
  GetPlaybackConfigurationResponse.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
75
82
  GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
@@ -122,6 +129,7 @@ module Aws::MediaTailor
122
129
  PlaybackConfiguration.struct_class = Types::PlaybackConfiguration
123
130
 
124
131
  PutPlaybackConfigurationRequest.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
132
+ PutPlaybackConfigurationRequest.add_member(:avail_suppression, Shapes::ShapeRef.new(shape: AvailSuppression, location_name: "AvailSuppression"))
125
133
  PutPlaybackConfigurationRequest.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
126
134
  PutPlaybackConfigurationRequest.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
127
135
  PutPlaybackConfigurationRequest.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfigurationForPut, location_name: "DashConfiguration"))
@@ -134,6 +142,7 @@ module Aws::MediaTailor
134
142
  PutPlaybackConfigurationRequest.struct_class = Types::PutPlaybackConfigurationRequest
135
143
 
136
144
  PutPlaybackConfigurationResponse.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
145
+ PutPlaybackConfigurationResponse.add_member(:avail_suppression, Shapes::ShapeRef.new(shape: AvailSuppression, location_name: "AvailSuppression"))
137
146
  PutPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
138
147
  PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
139
148
  PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MediaTailor
9
- # This class provides a resource oriented interface for MediaTailor.
10
- # To create a resource object:
11
- # resource = Aws::MediaTailor::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::MediaTailor::Client.new(region: 'us-west-2')
15
- # resource = Aws::MediaTailor::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -8,6 +8,31 @@
8
8
  module Aws::MediaTailor
9
9
  module Types
10
10
 
11
+ # @note When making an API call, you may pass AvailSuppression
12
+ # data as a hash:
13
+ #
14
+ # {
15
+ # mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
16
+ # value: "__string",
17
+ # }
18
+ #
19
+ # @!attribute [rw] mode
20
+ # @return [String]
21
+ #
22
+ # @!attribute [rw] value
23
+ # Sets the mode for avail suppression, also known as ad suppression.
24
+ # By default, ad suppression is off and all ad breaks are filled by
25
+ # MediaTailor with ads or slate.
26
+ # @return [String]
27
+ #
28
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AvailSuppression AWS API Documentation
29
+ #
30
+ class AvailSuppression < Struct.new(
31
+ :mode,
32
+ :value)
33
+ include Aws::Structure
34
+ end
35
+
11
36
  # One of the parameters in the request is invalid.
12
37
  #
13
38
  # @!attribute [rw] message
@@ -184,6 +209,10 @@ module Aws::MediaTailor
184
209
  # maximum length is 25,000 characters.
185
210
  # @return [String]
186
211
  #
212
+ # @!attribute [rw] avail_suppression
213
+ # The configuration for Avail Suppression.
214
+ # @return [Types::AvailSuppression]
215
+ #
187
216
  # @!attribute [rw] cdn_configuration
188
217
  # The configuration for using a content delivery network (CDN), like
189
218
  # Amazon CloudFront, for content and ad segment management.
@@ -254,6 +283,7 @@ module Aws::MediaTailor
254
283
  #
255
284
  class GetPlaybackConfigurationResponse < Struct.new(
256
285
  :ad_decision_server_url,
286
+ :avail_suppression,
257
287
  :cdn_configuration,
258
288
  :personalization_threshold_seconds,
259
289
  :dash_configuration,
@@ -454,6 +484,10 @@ module Aws::MediaTailor
454
484
  #
455
485
  # {
456
486
  # ad_decision_server_url: "__string",
487
+ # avail_suppression: {
488
+ # mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
489
+ # value: "__string",
490
+ # },
457
491
  # cdn_configuration: {
458
492
  # ad_segment_url_prefix: "__string",
459
493
  # content_segment_url_prefix: "__string",
@@ -485,6 +519,10 @@ module Aws::MediaTailor
485
519
  # maximum length is 25,000 characters.
486
520
  # @return [String]
487
521
  #
522
+ # @!attribute [rw] avail_suppression
523
+ # The configuration for Avail Suppression.
524
+ # @return [Types::AvailSuppression]
525
+ #
488
526
  # @!attribute [rw] cdn_configuration
489
527
  # The configuration for using a content delivery network (CDN), like
490
528
  # Amazon CloudFront, for content and ad segment management.
@@ -537,6 +575,7 @@ module Aws::MediaTailor
537
575
  #
538
576
  class PutPlaybackConfigurationRequest < Struct.new(
539
577
  :ad_decision_server_url,
578
+ :avail_suppression,
540
579
  :cdn_configuration,
541
580
  :personalization_threshold_seconds,
542
581
  :dash_configuration,
@@ -552,6 +591,9 @@ module Aws::MediaTailor
552
591
  # @!attribute [rw] ad_decision_server_url
553
592
  # @return [String]
554
593
  #
594
+ # @!attribute [rw] avail_suppression
595
+ # @return [Types::AvailSuppression]
596
+ #
555
597
  # @!attribute [rw] cdn_configuration
556
598
  # The configuration for using a content delivery network (CDN), like
557
599
  # Amazon CloudFront, for content and ad segment management.
@@ -597,6 +639,7 @@ module Aws::MediaTailor
597
639
  #
598
640
  class PutPlaybackConfigurationResponse < Struct.new(
599
641
  :ad_decision_server_url,
642
+ :avail_suppression,
600
643
  :cdn_configuration,
601
644
  :dash_configuration,
602
645
  :hls_configuration,
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.24.0
4
+ version: 1.25.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - MediaTailor