aws-sdk-mediatailor 1.60.0 → 1.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +14 -5
- data/lib/aws-sdk-mediatailor/client_api.rb +2 -0
- data/lib/aws-sdk-mediatailor/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-mediatailor/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-mediatailor/types.rb +11 -1
- data/lib/aws-sdk-mediatailor.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0e6885abd20866e9d70046f465bc0db22b0612b27044531da590e885cdb9cb7
|
4
|
+
data.tar.gz: 5673cc3cf257b42aebf446dcdd49da07591f11d09bca80c907065d05bfffac4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b078f54da2c4e895a94cdcb463d91d929d0f85dd0d8e80953f18701da10e8e180d1f2f47df55d928eff08d3aa718eee251a21d39cbee30ab271636ac3e03310
|
7
|
+
data.tar.gz: 1d2e53ef64d4b3297f04bd700aa1089767d0e74d01e85f899514c4d88f18d8f601b4794f92b64772adf7b9d9e31bc15f8a837984851eace9aea426896913fae1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.62.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.61.0 (2023-05-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for AFTER_LIVE_EDGE mode configuration for avail suppression, and adding a fill-policy setting that sets the avail suppression to PARTIAL_AVAIL or FULL_AVAIL_ONLY when AFTER_LIVE_EDGE is enabled.
|
13
|
+
|
4
14
|
1.60.0 (2023-02-01)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.62.0
|
@@ -275,6 +275,11 @@ module Aws::MediaTailor
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -1697,7 +1702,8 @@ module Aws::MediaTailor
|
|
1697
1702
|
# @example Response structure
|
1698
1703
|
#
|
1699
1704
|
# resp.ad_decision_server_url #=> String
|
1700
|
-
# resp.avail_suppression.
|
1705
|
+
# resp.avail_suppression.fill_policy #=> String, one of "FULL_AVAIL_ONLY", "PARTIAL_AVAIL"
|
1706
|
+
# resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE", "AFTER_LIVE_EDGE"
|
1701
1707
|
# resp.avail_suppression.value #=> String
|
1702
1708
|
# resp.bumper.end_url #=> String
|
1703
1709
|
# resp.bumper.start_url #=> String
|
@@ -2003,7 +2009,8 @@ module Aws::MediaTailor
|
|
2003
2009
|
#
|
2004
2010
|
# resp.items #=> Array
|
2005
2011
|
# resp.items[0].ad_decision_server_url #=> String
|
2006
|
-
# resp.items[0].avail_suppression.
|
2012
|
+
# resp.items[0].avail_suppression.fill_policy #=> String, one of "FULL_AVAIL_ONLY", "PARTIAL_AVAIL"
|
2013
|
+
# resp.items[0].avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE", "AFTER_LIVE_EDGE"
|
2007
2014
|
# resp.items[0].avail_suppression.value #=> String
|
2008
2015
|
# resp.items[0].bumper.end_url #=> String
|
2009
2016
|
# resp.items[0].bumper.start_url #=> String
|
@@ -2419,7 +2426,8 @@ module Aws::MediaTailor
|
|
2419
2426
|
# resp = client.put_playback_configuration({
|
2420
2427
|
# ad_decision_server_url: "__string",
|
2421
2428
|
# avail_suppression: {
|
2422
|
-
#
|
2429
|
+
# fill_policy: "FULL_AVAIL_ONLY", # accepts FULL_AVAIL_ONLY, PARTIAL_AVAIL
|
2430
|
+
# mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE, AFTER_LIVE_EDGE
|
2423
2431
|
# value: "__string",
|
2424
2432
|
# },
|
2425
2433
|
# bumper: {
|
@@ -2461,7 +2469,8 @@ module Aws::MediaTailor
|
|
2461
2469
|
# @example Response structure
|
2462
2470
|
#
|
2463
2471
|
# resp.ad_decision_server_url #=> String
|
2464
|
-
# resp.avail_suppression.
|
2472
|
+
# resp.avail_suppression.fill_policy #=> String, one of "FULL_AVAIL_ONLY", "PARTIAL_AVAIL"
|
2473
|
+
# resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE", "AFTER_LIVE_EDGE"
|
2465
2474
|
# resp.avail_suppression.value #=> String
|
2466
2475
|
# resp.bumper.end_url #=> String
|
2467
2476
|
# resp.bumper.start_url #=> String
|
@@ -3044,7 +3053,7 @@ module Aws::MediaTailor
|
|
3044
3053
|
params: params,
|
3045
3054
|
config: config)
|
3046
3055
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
3047
|
-
context[:gem_version] = '1.
|
3056
|
+
context[:gem_version] = '1.62.0'
|
3048
3057
|
Seahorse::Client::Request.new(handlers, context)
|
3049
3058
|
end
|
3050
3059
|
|
@@ -74,6 +74,7 @@ module Aws::MediaTailor
|
|
74
74
|
DescribeSourceLocationResponse = Shapes::StructureShape.new(name: 'DescribeSourceLocationResponse')
|
75
75
|
DescribeVodSourceRequest = Shapes::StructureShape.new(name: 'DescribeVodSourceRequest')
|
76
76
|
DescribeVodSourceResponse = Shapes::StructureShape.new(name: 'DescribeVodSourceResponse')
|
77
|
+
FillPolicy = Shapes::StringShape.new(name: 'FillPolicy')
|
77
78
|
GetChannelPolicyRequest = Shapes::StructureShape.new(name: 'GetChannelPolicyRequest')
|
78
79
|
GetChannelPolicyResponse = Shapes::StructureShape.new(name: 'GetChannelPolicyResponse')
|
79
80
|
GetChannelScheduleRequest = Shapes::StructureShape.new(name: 'GetChannelScheduleRequest')
|
@@ -213,6 +214,7 @@ module Aws::MediaTailor
|
|
213
214
|
AvailMatchingCriteria.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
|
214
215
|
AvailMatchingCriteria.struct_class = Types::AvailMatchingCriteria
|
215
216
|
|
217
|
+
AvailSuppression.add_member(:fill_policy, Shapes::ShapeRef.new(shape: FillPolicy, location_name: "FillPolicy"))
|
216
218
|
AvailSuppression.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
|
217
219
|
AvailSuppression.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
|
218
220
|
AvailSuppression.struct_class = Types::AvailSuppression
|
@@ -50,9 +50,6 @@ module Aws::MediaTailor
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::MediaTailor
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.mediatailor.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -210,12 +210,21 @@ module Aws::MediaTailor
|
|
210
210
|
#
|
211
211
|
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
|
212
212
|
#
|
213
|
+
# @!attribute [rw] fill_policy
|
214
|
+
# Defines the policy to apply to the avail suppression mode.
|
215
|
+
# `BEHIND_LIVE_EDGE` will always use the full avail suppression
|
216
|
+
# policy. `AFTER_LIVE_EDGE` mode can be used to invoke partial ad
|
217
|
+
# break fills when a session starts mid-break.
|
218
|
+
# @return [String]
|
219
|
+
#
|
213
220
|
# @!attribute [rw] mode
|
214
221
|
# Sets the ad suppression mode. By default, ad suppression is off and
|
215
222
|
# all ad breaks are filled with ads or slate. When Mode is set to
|
216
223
|
# `BEHIND_LIVE_EDGE`, ad suppression is active and MediaTailor won't
|
217
224
|
# fill ad breaks on or behind the ad suppression Value time in the
|
218
|
-
# manifest lookback window.
|
225
|
+
# manifest lookback window. When Mode is set to `AFTER_LIVE_EDGE`, ad
|
226
|
+
# suppression is active and MediaTailor won't fill ad breaks that are
|
227
|
+
# within the live edge plus the avail suppression value.
|
219
228
|
# @return [String]
|
220
229
|
#
|
221
230
|
# @!attribute [rw] value
|
@@ -233,6 +242,7 @@ module Aws::MediaTailor
|
|
233
242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AvailSuppression AWS API Documentation
|
234
243
|
#
|
235
244
|
class AvailSuppression < Struct.new(
|
245
|
+
:fill_policy,
|
236
246
|
:mode,
|
237
247
|
:value)
|
238
248
|
SENSITIVE = []
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
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.62.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: 2023-
|
11
|
+
date: 2023-05-31 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.174.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.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|