aws-sdk-mediatailor 1.24.0 → 1.29.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 +5 -5
- data/lib/aws-sdk-mediatailor.rb +3 -1
- data/lib/aws-sdk-mediatailor/client.rb +55 -21
- data/lib/aws-sdk-mediatailor/client_api.rb +19 -0
- data/lib/aws-sdk-mediatailor/errors.rb +2 -0
- data/lib/aws-sdk-mediatailor/resource.rb +3 -7
- data/lib/aws-sdk-mediatailor/types.rb +113 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d3c4caab13049a35eda6cb1324f2a6d5de66fb2f06029f018d2ce054e9c7cede
|
4
|
+
data.tar.gz: dc6b9ebe90b8ba4b5910d73f4831ea6ab1d2aea7c13ab44768e55abf83adaba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed312ab4870bb82dc65ea611b0252b7ca8fa6e631eb3b74fcc3758349df3f39654caf8f3cfc1b13e8a318a1a2acebf16b430e50efdc482cc0feb4d3f78a0e69
|
7
|
+
data.tar.gz: 282588d303601ef0cf94ba90bf7f85cf7f5ea14c6e734532c285867eccb60897f03c998e4763e484e09ab8dc28c03f5041b602309578fa9e77a96c2230b3fe08
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::MediaTailor
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.29.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:mediatailor)
|
|
32
35
|
module Aws::MediaTailor
|
33
36
|
# An API client for MediaTailor. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::MediaTailor::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::MediaTailor
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::MediaTailor
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::MediaTailor
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::MediaTailor
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::MediaTailor
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -265,8 +273,7 @@ module Aws::MediaTailor
|
|
265
273
|
#
|
266
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
275
|
# 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}.
|
276
|
+
# safely be set per-request on the session.
|
270
277
|
#
|
271
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +285,7 @@ module Aws::MediaTailor
|
|
278
285
|
# request body. This option has no effect unless the request has
|
279
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
287
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
288
|
+
# request on the session.
|
282
289
|
#
|
283
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -333,6 +340,8 @@ module Aws::MediaTailor
|
|
333
340
|
# @return [Types::GetPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
334
341
|
#
|
335
342
|
# * {Types::GetPlaybackConfigurationResponse#ad_decision_server_url #ad_decision_server_url} => String
|
343
|
+
# * {Types::GetPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
|
344
|
+
# * {Types::GetPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
|
336
345
|
# * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
|
337
346
|
# * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
338
347
|
# * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
@@ -356,6 +365,10 @@ module Aws::MediaTailor
|
|
356
365
|
# @example Response structure
|
357
366
|
#
|
358
367
|
# resp.ad_decision_server_url #=> String
|
368
|
+
# resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
|
369
|
+
# resp.avail_suppression.value #=> String
|
370
|
+
# resp.bumper.end_url #=> String
|
371
|
+
# resp.bumper.start_url #=> String
|
359
372
|
# resp.cdn_configuration.ad_segment_url_prefix #=> String
|
360
373
|
# resp.cdn_configuration.content_segment_url_prefix #=> String
|
361
374
|
# resp.personalization_threshold_seconds #=> Integer
|
@@ -477,6 +490,13 @@ module Aws::MediaTailor
|
|
477
490
|
# Alternately, for testing you can provide a static VAST URL. The
|
478
491
|
# maximum length is 25,000 characters.
|
479
492
|
#
|
493
|
+
# @option params [Types::AvailSuppression] :avail_suppression
|
494
|
+
# The configuration for Avail Suppression.
|
495
|
+
#
|
496
|
+
# @option params [Types::Bumper] :bumper
|
497
|
+
# The configuration for bumpers. Bumpers are short audio or video clips
|
498
|
+
# that play at the start or before the end of an ad break.
|
499
|
+
#
|
480
500
|
# @option params [Types::CdnConfiguration] :cdn_configuration
|
481
501
|
# The configuration for using a content delivery network (CDN), like
|
482
502
|
# Amazon CloudFront, for content and ad segment management.
|
@@ -519,6 +539,8 @@ module Aws::MediaTailor
|
|
519
539
|
# @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
520
540
|
#
|
521
541
|
# * {Types::PutPlaybackConfigurationResponse#ad_decision_server_url #ad_decision_server_url} => String
|
542
|
+
# * {Types::PutPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
|
543
|
+
# * {Types::PutPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
|
522
544
|
# * {Types::PutPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
|
523
545
|
# * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
524
546
|
# * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
@@ -536,6 +558,14 @@ module Aws::MediaTailor
|
|
536
558
|
#
|
537
559
|
# resp = client.put_playback_configuration({
|
538
560
|
# ad_decision_server_url: "__string",
|
561
|
+
# avail_suppression: {
|
562
|
+
# mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
|
563
|
+
# value: "__string",
|
564
|
+
# },
|
565
|
+
# bumper: {
|
566
|
+
# end_url: "__string",
|
567
|
+
# start_url: "__string",
|
568
|
+
# },
|
539
569
|
# cdn_configuration: {
|
540
570
|
# ad_segment_url_prefix: "__string",
|
541
571
|
# content_segment_url_prefix: "__string",
|
@@ -561,6 +591,10 @@ module Aws::MediaTailor
|
|
561
591
|
# @example Response structure
|
562
592
|
#
|
563
593
|
# resp.ad_decision_server_url #=> String
|
594
|
+
# resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
|
595
|
+
# resp.avail_suppression.value #=> String
|
596
|
+
# resp.bumper.end_url #=> String
|
597
|
+
# resp.bumper.start_url #=> String
|
564
598
|
# resp.cdn_configuration.ad_segment_url_prefix #=> String
|
565
599
|
# resp.cdn_configuration.content_segment_url_prefix #=> String
|
566
600
|
# resp.dash_configuration.manifest_endpoint_prefix #=> String
|
@@ -653,7 +687,7 @@ module Aws::MediaTailor
|
|
653
687
|
params: params,
|
654
688
|
config: config)
|
655
689
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
656
|
-
context[:gem_version] = '1.
|
690
|
+
context[:gem_version] = '1.29.0'
|
657
691
|
Seahorse::Client::Request.new(handlers, context)
|
658
692
|
end
|
659
693
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -11,7 +13,9 @@ module Aws::MediaTailor
|
|
11
13
|
|
12
14
|
include Seahorse::Model
|
13
15
|
|
16
|
+
AvailSuppression = Shapes::StructureShape.new(name: 'AvailSuppression')
|
14
17
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
18
|
+
Bumper = Shapes::StructureShape.new(name: 'Bumper')
|
15
19
|
CdnConfiguration = Shapes::StructureShape.new(name: 'CdnConfiguration')
|
16
20
|
DashConfiguration = Shapes::StructureShape.new(name: 'DashConfiguration')
|
17
21
|
DashConfigurationForPut = Shapes::StructureShape.new(name: 'DashConfigurationForPut')
|
@@ -25,6 +29,7 @@ module Aws::MediaTailor
|
|
25
29
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
26
30
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
27
31
|
LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
|
32
|
+
Mode = Shapes::StringShape.new(name: 'Mode')
|
28
33
|
OriginManifestType = Shapes::StringShape.new(name: 'OriginManifestType')
|
29
34
|
PlaybackConfiguration = Shapes::StructureShape.new(name: 'PlaybackConfiguration')
|
30
35
|
PutPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationRequest')
|
@@ -45,9 +50,17 @@ module Aws::MediaTailor
|
|
45
50
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
46
51
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
47
52
|
|
53
|
+
AvailSuppression.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
|
54
|
+
AvailSuppression.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
|
55
|
+
AvailSuppression.struct_class = Types::AvailSuppression
|
56
|
+
|
48
57
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
49
58
|
BadRequestException.struct_class = Types::BadRequestException
|
50
59
|
|
60
|
+
Bumper.add_member(:end_url, Shapes::ShapeRef.new(shape: __string, location_name: "EndUrl"))
|
61
|
+
Bumper.add_member(:start_url, Shapes::ShapeRef.new(shape: __string, location_name: "StartUrl"))
|
62
|
+
Bumper.struct_class = Types::Bumper
|
63
|
+
|
51
64
|
CdnConfiguration.add_member(:ad_segment_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "AdSegmentUrlPrefix"))
|
52
65
|
CdnConfiguration.add_member(:content_segment_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "ContentSegmentUrlPrefix"))
|
53
66
|
CdnConfiguration.struct_class = Types::CdnConfiguration
|
@@ -70,6 +83,8 @@ module Aws::MediaTailor
|
|
70
83
|
GetPlaybackConfigurationRequest.struct_class = Types::GetPlaybackConfigurationRequest
|
71
84
|
|
72
85
|
GetPlaybackConfigurationResponse.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
|
86
|
+
GetPlaybackConfigurationResponse.add_member(:avail_suppression, Shapes::ShapeRef.new(shape: AvailSuppression, location_name: "AvailSuppression"))
|
87
|
+
GetPlaybackConfigurationResponse.add_member(:bumper, Shapes::ShapeRef.new(shape: Bumper, location_name: "Bumper"))
|
73
88
|
GetPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
|
74
89
|
GetPlaybackConfigurationResponse.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
|
75
90
|
GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
@@ -122,6 +137,8 @@ module Aws::MediaTailor
|
|
122
137
|
PlaybackConfiguration.struct_class = Types::PlaybackConfiguration
|
123
138
|
|
124
139
|
PutPlaybackConfigurationRequest.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
|
140
|
+
PutPlaybackConfigurationRequest.add_member(:avail_suppression, Shapes::ShapeRef.new(shape: AvailSuppression, location_name: "AvailSuppression"))
|
141
|
+
PutPlaybackConfigurationRequest.add_member(:bumper, Shapes::ShapeRef.new(shape: Bumper, location_name: "Bumper"))
|
125
142
|
PutPlaybackConfigurationRequest.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
|
126
143
|
PutPlaybackConfigurationRequest.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
|
127
144
|
PutPlaybackConfigurationRequest.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfigurationForPut, location_name: "DashConfiguration"))
|
@@ -134,6 +151,8 @@ module Aws::MediaTailor
|
|
134
151
|
PutPlaybackConfigurationRequest.struct_class = Types::PutPlaybackConfigurationRequest
|
135
152
|
|
136
153
|
PutPlaybackConfigurationResponse.add_member(:ad_decision_server_url, Shapes::ShapeRef.new(shape: __string, location_name: "AdDecisionServerUrl"))
|
154
|
+
PutPlaybackConfigurationResponse.add_member(:avail_suppression, Shapes::ShapeRef.new(shape: AvailSuppression, location_name: "AvailSuppression"))
|
155
|
+
PutPlaybackConfigurationResponse.add_member(:bumper, Shapes::ShapeRef.new(shape: Bumper, location_name: "Bumper"))
|
137
156
|
PutPlaybackConfigurationResponse.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
|
138
157
|
PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
139
158
|
PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::MediaTailor
|
9
|
-
|
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)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,32 @@
|
|
8
10
|
module Aws::MediaTailor
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# @note When making an API call, you may pass AvailSuppression
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
|
18
|
+
# value: "__string",
|
19
|
+
# }
|
20
|
+
#
|
21
|
+
# @!attribute [rw] mode
|
22
|
+
# @return [String]
|
23
|
+
#
|
24
|
+
# @!attribute [rw] value
|
25
|
+
# Sets the mode for avail suppression, also known as ad suppression.
|
26
|
+
# By default, ad suppression is off and all ad breaks are filled by
|
27
|
+
# MediaTailor with ads or slate.
|
28
|
+
# @return [String]
|
29
|
+
#
|
30
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AvailSuppression AWS API Documentation
|
31
|
+
#
|
32
|
+
class AvailSuppression < Struct.new(
|
33
|
+
:mode,
|
34
|
+
:value)
|
35
|
+
SENSITIVE = []
|
36
|
+
include Aws::Structure
|
37
|
+
end
|
38
|
+
|
11
39
|
# One of the parameters in the request is invalid.
|
12
40
|
#
|
13
41
|
# @!attribute [rw] message
|
@@ -18,6 +46,33 @@ module Aws::MediaTailor
|
|
18
46
|
#
|
19
47
|
class BadRequestException < Struct.new(
|
20
48
|
:message)
|
49
|
+
SENSITIVE = []
|
50
|
+
include Aws::Structure
|
51
|
+
end
|
52
|
+
|
53
|
+
# The configuration for bumpers. Bumpers are short audio or video clips
|
54
|
+
# that play at the start or before the end of an ad break.
|
55
|
+
#
|
56
|
+
# @note When making an API call, you may pass Bumper
|
57
|
+
# data as a hash:
|
58
|
+
#
|
59
|
+
# {
|
60
|
+
# end_url: "__string",
|
61
|
+
# start_url: "__string",
|
62
|
+
# }
|
63
|
+
#
|
64
|
+
# @!attribute [rw] end_url
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] start_url
|
68
|
+
# @return [String]
|
69
|
+
#
|
70
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/Bumper AWS API Documentation
|
71
|
+
#
|
72
|
+
class Bumper < Struct.new(
|
73
|
+
:end_url,
|
74
|
+
:start_url)
|
75
|
+
SENSITIVE = []
|
21
76
|
include Aws::Structure
|
22
77
|
end
|
23
78
|
|
@@ -57,6 +112,7 @@ module Aws::MediaTailor
|
|
57
112
|
class CdnConfiguration < Struct.new(
|
58
113
|
:ad_segment_url_prefix,
|
59
114
|
:content_segment_url_prefix)
|
115
|
+
SENSITIVE = []
|
60
116
|
include Aws::Structure
|
61
117
|
end
|
62
118
|
|
@@ -95,6 +151,7 @@ module Aws::MediaTailor
|
|
95
151
|
:manifest_endpoint_prefix,
|
96
152
|
:mpd_location,
|
97
153
|
:origin_manifest_type)
|
154
|
+
SENSITIVE = []
|
98
155
|
include Aws::Structure
|
99
156
|
end
|
100
157
|
|
@@ -134,6 +191,7 @@ module Aws::MediaTailor
|
|
134
191
|
class DashConfigurationForPut < Struct.new(
|
135
192
|
:mpd_location,
|
136
193
|
:origin_manifest_type)
|
194
|
+
SENSITIVE = []
|
137
195
|
include Aws::Structure
|
138
196
|
end
|
139
197
|
|
@@ -151,6 +209,7 @@ module Aws::MediaTailor
|
|
151
209
|
#
|
152
210
|
class DeletePlaybackConfigurationRequest < Struct.new(
|
153
211
|
:name)
|
212
|
+
SENSITIVE = []
|
154
213
|
include Aws::Structure
|
155
214
|
end
|
156
215
|
|
@@ -172,6 +231,7 @@ module Aws::MediaTailor
|
|
172
231
|
#
|
173
232
|
class GetPlaybackConfigurationRequest < Struct.new(
|
174
233
|
:name)
|
234
|
+
SENSITIVE = []
|
175
235
|
include Aws::Structure
|
176
236
|
end
|
177
237
|
|
@@ -184,6 +244,15 @@ module Aws::MediaTailor
|
|
184
244
|
# maximum length is 25,000 characters.
|
185
245
|
# @return [String]
|
186
246
|
#
|
247
|
+
# @!attribute [rw] avail_suppression
|
248
|
+
# The configuration for Avail Suppression.
|
249
|
+
# @return [Types::AvailSuppression]
|
250
|
+
#
|
251
|
+
# @!attribute [rw] bumper
|
252
|
+
# The configuration for bumpers. Bumpers are short audio or video
|
253
|
+
# clips that play at the start or before the end of an ad break.
|
254
|
+
# @return [Types::Bumper]
|
255
|
+
#
|
187
256
|
# @!attribute [rw] cdn_configuration
|
188
257
|
# The configuration for using a content delivery network (CDN), like
|
189
258
|
# Amazon CloudFront, for content and ad segment management.
|
@@ -254,6 +323,8 @@ module Aws::MediaTailor
|
|
254
323
|
#
|
255
324
|
class GetPlaybackConfigurationResponse < Struct.new(
|
256
325
|
:ad_decision_server_url,
|
326
|
+
:avail_suppression,
|
327
|
+
:bumper,
|
257
328
|
:cdn_configuration,
|
258
329
|
:personalization_threshold_seconds,
|
259
330
|
:dash_configuration,
|
@@ -267,6 +338,7 @@ module Aws::MediaTailor
|
|
267
338
|
:tags,
|
268
339
|
:transcode_profile_name,
|
269
340
|
:video_content_source_url)
|
341
|
+
SENSITIVE = []
|
270
342
|
include Aws::Structure
|
271
343
|
end
|
272
344
|
|
@@ -281,6 +353,7 @@ module Aws::MediaTailor
|
|
281
353
|
#
|
282
354
|
class HlsConfiguration < Struct.new(
|
283
355
|
:manifest_endpoint_prefix)
|
356
|
+
SENSITIVE = []
|
284
357
|
include Aws::Structure
|
285
358
|
end
|
286
359
|
|
@@ -303,6 +376,7 @@ module Aws::MediaTailor
|
|
303
376
|
class ListPlaybackConfigurationsRequest < Struct.new(
|
304
377
|
:max_results,
|
305
378
|
:next_token)
|
379
|
+
SENSITIVE = []
|
306
380
|
include Aws::Structure
|
307
381
|
end
|
308
382
|
|
@@ -323,6 +397,7 @@ module Aws::MediaTailor
|
|
323
397
|
class ListPlaybackConfigurationsResponse < Struct.new(
|
324
398
|
:items,
|
325
399
|
:next_token)
|
400
|
+
SENSITIVE = []
|
326
401
|
include Aws::Structure
|
327
402
|
end
|
328
403
|
|
@@ -340,6 +415,7 @@ module Aws::MediaTailor
|
|
340
415
|
#
|
341
416
|
class ListTagsForResourceRequest < Struct.new(
|
342
417
|
:resource_arn)
|
418
|
+
SENSITIVE = []
|
343
419
|
include Aws::Structure
|
344
420
|
end
|
345
421
|
|
@@ -350,6 +426,7 @@ module Aws::MediaTailor
|
|
350
426
|
#
|
351
427
|
class ListTagsForResourceResponse < Struct.new(
|
352
428
|
:tags)
|
429
|
+
SENSITIVE = []
|
353
430
|
include Aws::Structure
|
354
431
|
end
|
355
432
|
|
@@ -412,6 +489,7 @@ module Aws::MediaTailor
|
|
412
489
|
:tags,
|
413
490
|
:transcode_profile_name,
|
414
491
|
:video_content_source_url)
|
492
|
+
SENSITIVE = []
|
415
493
|
include Aws::Structure
|
416
494
|
end
|
417
495
|
|
@@ -446,6 +524,7 @@ module Aws::MediaTailor
|
|
446
524
|
class LivePreRollConfiguration < Struct.new(
|
447
525
|
:ad_decision_server_url,
|
448
526
|
:max_duration_seconds)
|
527
|
+
SENSITIVE = []
|
449
528
|
include Aws::Structure
|
450
529
|
end
|
451
530
|
|
@@ -454,6 +533,14 @@ module Aws::MediaTailor
|
|
454
533
|
#
|
455
534
|
# {
|
456
535
|
# ad_decision_server_url: "__string",
|
536
|
+
# avail_suppression: {
|
537
|
+
# mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE
|
538
|
+
# value: "__string",
|
539
|
+
# },
|
540
|
+
# bumper: {
|
541
|
+
# end_url: "__string",
|
542
|
+
# start_url: "__string",
|
543
|
+
# },
|
457
544
|
# cdn_configuration: {
|
458
545
|
# ad_segment_url_prefix: "__string",
|
459
546
|
# content_segment_url_prefix: "__string",
|
@@ -485,6 +572,15 @@ module Aws::MediaTailor
|
|
485
572
|
# maximum length is 25,000 characters.
|
486
573
|
# @return [String]
|
487
574
|
#
|
575
|
+
# @!attribute [rw] avail_suppression
|
576
|
+
# The configuration for Avail Suppression.
|
577
|
+
# @return [Types::AvailSuppression]
|
578
|
+
#
|
579
|
+
# @!attribute [rw] bumper
|
580
|
+
# The configuration for bumpers. Bumpers are short audio or video
|
581
|
+
# clips that play at the start or before the end of an ad break.
|
582
|
+
# @return [Types::Bumper]
|
583
|
+
#
|
488
584
|
# @!attribute [rw] cdn_configuration
|
489
585
|
# The configuration for using a content delivery network (CDN), like
|
490
586
|
# Amazon CloudFront, for content and ad segment management.
|
@@ -537,6 +633,8 @@ module Aws::MediaTailor
|
|
537
633
|
#
|
538
634
|
class PutPlaybackConfigurationRequest < Struct.new(
|
539
635
|
:ad_decision_server_url,
|
636
|
+
:avail_suppression,
|
637
|
+
:bumper,
|
540
638
|
:cdn_configuration,
|
541
639
|
:personalization_threshold_seconds,
|
542
640
|
:dash_configuration,
|
@@ -546,12 +644,21 @@ module Aws::MediaTailor
|
|
546
644
|
:tags,
|
547
645
|
:transcode_profile_name,
|
548
646
|
:video_content_source_url)
|
647
|
+
SENSITIVE = []
|
549
648
|
include Aws::Structure
|
550
649
|
end
|
551
650
|
|
552
651
|
# @!attribute [rw] ad_decision_server_url
|
553
652
|
# @return [String]
|
554
653
|
#
|
654
|
+
# @!attribute [rw] avail_suppression
|
655
|
+
# @return [Types::AvailSuppression]
|
656
|
+
#
|
657
|
+
# @!attribute [rw] bumper
|
658
|
+
# The configuration for bumpers. Bumpers are short audio or video
|
659
|
+
# clips that play at the start or before the end of an ad break.
|
660
|
+
# @return [Types::Bumper]
|
661
|
+
#
|
555
662
|
# @!attribute [rw] cdn_configuration
|
556
663
|
# The configuration for using a content delivery network (CDN), like
|
557
664
|
# Amazon CloudFront, for content and ad segment management.
|
@@ -597,6 +704,8 @@ module Aws::MediaTailor
|
|
597
704
|
#
|
598
705
|
class PutPlaybackConfigurationResponse < Struct.new(
|
599
706
|
:ad_decision_server_url,
|
707
|
+
:avail_suppression,
|
708
|
+
:bumper,
|
600
709
|
:cdn_configuration,
|
601
710
|
:dash_configuration,
|
602
711
|
:hls_configuration,
|
@@ -609,6 +718,7 @@ module Aws::MediaTailor
|
|
609
718
|
:tags,
|
610
719
|
:transcode_profile_name,
|
611
720
|
:video_content_source_url)
|
721
|
+
SENSITIVE = []
|
612
722
|
include Aws::Structure
|
613
723
|
end
|
614
724
|
|
@@ -633,6 +743,7 @@ module Aws::MediaTailor
|
|
633
743
|
class TagResourceRequest < Struct.new(
|
634
744
|
:resource_arn,
|
635
745
|
:tags)
|
746
|
+
SENSITIVE = []
|
636
747
|
include Aws::Structure
|
637
748
|
end
|
638
749
|
|
@@ -647,6 +758,7 @@ module Aws::MediaTailor
|
|
647
758
|
#
|
648
759
|
class TagsModel < Struct.new(
|
649
760
|
:tags)
|
761
|
+
SENSITIVE = []
|
650
762
|
include Aws::Structure
|
651
763
|
end
|
652
764
|
|
@@ -669,6 +781,7 @@ module Aws::MediaTailor
|
|
669
781
|
class UntagResourceRequest < Struct.new(
|
670
782
|
:resource_arn,
|
671
783
|
:tag_keys)
|
784
|
+
SENSITIVE = []
|
672
785
|
include Aws::Structure
|
673
786
|
end
|
674
787
|
|
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.
|
4
|
+
version: 1.29.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-
|
11
|
+
date: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - MediaTailor
|