aws-sdk-mediatailor 1.60.0 → 1.61.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +9 -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 +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f059d827e7a220eb949acb120c84dbd6863422b123163365933751d71ac9c65
|
|
4
|
+
data.tar.gz: 4665cdef2514cede5d490f53b4dc7cee8a4ec2c622a41ca77feeafcafcf20ea6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eba7ad08e3b6a8d4d5da54256bf8f41bc7ef2b9caa5f9f9e193bd70e0df8fc9948ec68933139e7363ba21419ce8dd8cdb89db33f3217ef0e156a4b55ac5ca16a
|
|
7
|
+
data.tar.gz: ae1e394ffe12e663b5a82a15ba16bfc59e52234424fdac77e32e6c7689545f552644dc44f45d90814168cc83aea3b55e5d93e707a8e6f5124b9ab269fbc992eb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.61.0 (2023-05-05)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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.
|
|
8
|
+
|
|
4
9
|
1.60.0 (2023-02-01)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.61.0
|
|
@@ -1697,7 +1697,8 @@ module Aws::MediaTailor
|
|
|
1697
1697
|
# @example Response structure
|
|
1698
1698
|
#
|
|
1699
1699
|
# resp.ad_decision_server_url #=> String
|
|
1700
|
-
# resp.avail_suppression.
|
|
1700
|
+
# resp.avail_suppression.fill_policy #=> String, one of "FULL_AVAIL_ONLY", "PARTIAL_AVAIL"
|
|
1701
|
+
# resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE", "AFTER_LIVE_EDGE"
|
|
1701
1702
|
# resp.avail_suppression.value #=> String
|
|
1702
1703
|
# resp.bumper.end_url #=> String
|
|
1703
1704
|
# resp.bumper.start_url #=> String
|
|
@@ -2003,7 +2004,8 @@ module Aws::MediaTailor
|
|
|
2003
2004
|
#
|
|
2004
2005
|
# resp.items #=> Array
|
|
2005
2006
|
# resp.items[0].ad_decision_server_url #=> String
|
|
2006
|
-
# resp.items[0].avail_suppression.
|
|
2007
|
+
# resp.items[0].avail_suppression.fill_policy #=> String, one of "FULL_AVAIL_ONLY", "PARTIAL_AVAIL"
|
|
2008
|
+
# resp.items[0].avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE", "AFTER_LIVE_EDGE"
|
|
2007
2009
|
# resp.items[0].avail_suppression.value #=> String
|
|
2008
2010
|
# resp.items[0].bumper.end_url #=> String
|
|
2009
2011
|
# resp.items[0].bumper.start_url #=> String
|
|
@@ -2419,7 +2421,8 @@ module Aws::MediaTailor
|
|
|
2419
2421
|
# resp = client.put_playback_configuration({
|
|
2420
2422
|
# ad_decision_server_url: "__string",
|
|
2421
2423
|
# avail_suppression: {
|
|
2422
|
-
#
|
|
2424
|
+
# fill_policy: "FULL_AVAIL_ONLY", # accepts FULL_AVAIL_ONLY, PARTIAL_AVAIL
|
|
2425
|
+
# mode: "OFF", # accepts OFF, BEHIND_LIVE_EDGE, AFTER_LIVE_EDGE
|
|
2423
2426
|
# value: "__string",
|
|
2424
2427
|
# },
|
|
2425
2428
|
# bumper: {
|
|
@@ -2461,7 +2464,8 @@ module Aws::MediaTailor
|
|
|
2461
2464
|
# @example Response structure
|
|
2462
2465
|
#
|
|
2463
2466
|
# resp.ad_decision_server_url #=> String
|
|
2464
|
-
# resp.avail_suppression.
|
|
2467
|
+
# resp.avail_suppression.fill_policy #=> String, one of "FULL_AVAIL_ONLY", "PARTIAL_AVAIL"
|
|
2468
|
+
# resp.avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE", "AFTER_LIVE_EDGE"
|
|
2465
2469
|
# resp.avail_suppression.value #=> String
|
|
2466
2470
|
# resp.bumper.end_url #=> String
|
|
2467
2471
|
# resp.bumper.start_url #=> String
|
|
@@ -3044,7 +3048,7 @@ module Aws::MediaTailor
|
|
|
3044
3048
|
params: params,
|
|
3045
3049
|
config: config)
|
|
3046
3050
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
|
3047
|
-
context[:gem_version] = '1.
|
|
3051
|
+
context[:gem_version] = '1.61.0'
|
|
3048
3052
|
Seahorse::Client::Request.new(handlers, context)
|
|
3049
3053
|
end
|
|
3050
3054
|
|
|
@@ -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.61.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-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|