Skip to content

Commit e3400a2

Browse files
Updated API models and rebuilt service gems.
1 parent 17f3365 commit e3400a2

File tree

10 files changed

+141
-27
lines changed

10 files changed

+141
-27
lines changed

apis/mediatailor/2018-04-23/api-2.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,15 +725,17 @@
725725
],
726726
"members":{
727727
"PercentEnabled":{"shape":"__integer"},
728-
"PlaybackConfigurationName":{"shape":"__string"}
728+
"PlaybackConfigurationName":{"shape":"__string"},
729+
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"}
729730
}
730731
},
731732
"ConfigureLogsForPlaybackConfigurationResponse":{
732733
"type":"structure",
733734
"required":["PercentEnabled"],
734735
"members":{
735736
"PercentEnabled":{"shape":"__integer"},
736-
"PlaybackConfigurationName":{"shape":"__string"}
737+
"PlaybackConfigurationName":{"shape":"__string"},
738+
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"}
737739
}
738740
},
739741
"CreateChannelRequest":{
@@ -1749,7 +1751,8 @@
17491751
"type":"structure",
17501752
"required":["PercentEnabled"],
17511753
"members":{
1752-
"PercentEnabled":{"shape":"__integer"}
1754+
"PercentEnabled":{"shape":"__integer"},
1755+
"EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"}
17531756
}
17541757
},
17551758
"LogConfigurationForChannel":{
@@ -1766,6 +1769,13 @@
17661769
"type":"list",
17671770
"member":{"shape":"LogType"}
17681771
},
1772+
"LoggingStrategy":{
1773+
"type":"string",
1774+
"enum":[
1775+
"VENDED_LOGS",
1776+
"LEGACY_CLOUDWATCH"
1777+
]
1778+
},
17691779
"Long":{
17701780
"type":"long",
17711781
"box":true
@@ -2499,6 +2509,10 @@
24992509
"type":"list",
25002510
"member":{"shape":"LiveSource"}
25012511
},
2512+
"__listOfLoggingStrategies":{
2513+
"type":"list",
2514+
"member":{"shape":"LoggingStrategy"}
2515+
},
25022516
"__listOfPlaybackConfiguration":{
25032517
"type":"list",
25042518
"member":{"shape":"PlaybackConfiguration"}

apis/mediatailor/2018-04-23/docs-2.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@
9292
"AdConditioningConfiguration": {
9393
"base": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>",
9494
"refs": {
95-
"GetPlaybackConfigurationResponse$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns. </p>",
96-
"PlaybackConfiguration$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>",
97-
"PutPlaybackConfigurationRequest$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>",
98-
"PutPlaybackConfigurationResponse$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>"
95+
"GetPlaybackConfigurationResponse$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>",
96+
"PlaybackConfiguration$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.</p>",
97+
"PutPlaybackConfigurationRequest$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>",
98+
"PutPlaybackConfigurationResponse$AdConditioningConfiguration": "<p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>"
9999
}
100100
},
101101
"AdMarkerPassthrough": {
@@ -711,6 +711,12 @@
711711
"LogConfigurationForChannel$LogTypes": "<p>The log types.</p>"
712712
}
713713
},
714+
"LoggingStrategy": {
715+
"base": null,
716+
"refs": {
717+
"__listOfLoggingStrategies$member": null
718+
}
719+
},
714720
"Long": {
715721
"base": null,
716722
"refs": {
@@ -948,7 +954,7 @@
948954
"StreamingMediaFileConditioning": {
949955
"base": null,
950956
"refs": {
951-
"AdConditioningConfiguration$StreamingMediaFileConditioning": "<p>For ads that have media files with streaming delivery, indicates what transcoding action MediaTailor it first receives these ads from the ADS. <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads. <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow. For more information about ad conditioning see <a href=\"https://docs.aws.amazon.com/precondition-ads.html\">https://docs.aws.amazon.com/precondition-ads.html</a>.</p>"
957+
"AdConditioningConfiguration$StreamingMediaFileConditioning": "<p>For ads that have media files with streaming delivery and supported file extensions, indicates what transcoding action MediaTailor takes when it first receives these ads from the ADS. <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads. <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow. For more information about ad conditioning see <a href=\"https://docs.aws.amazon.com/precondition-ads.html\">https://docs.aws.amazon.com/precondition-ads.html</a>.</p>"
952958
}
953959
},
954960
"String": {
@@ -1163,6 +1169,14 @@
11631169
"ListLiveSourcesResponse$Items": "<p>Lists the live sources.</p>"
11641170
}
11651171
},
1172+
"__listOfLoggingStrategies": {
1173+
"base": null,
1174+
"refs": {
1175+
"ConfigureLogsForPlaybackConfigurationRequest$EnabledLoggingStrategies": "<p>The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose <code>LEGACY_CLOUDWATCH</code>. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, choose <code>VENDED_LOGS</code>. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.</p> <p>To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2\">Enable logging from AWS services, Logging that requires additional permissions [V2]</a>.</p>",
1176+
"ConfigureLogsForPlaybackConfigurationResponse$EnabledLoggingStrategies": "<p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. </p>",
1177+
"LogConfiguration$EnabledLoggingStrategies": "<p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. </p>"
1178+
}
1179+
},
11661180
"__listOfPlaybackConfiguration": {
11671181
"base": null,
11681182
"refs": {

gems/aws-sdk-mediatailor/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.94.0 (2025-02-03)
5+
------------------
6+
7+
* Feature - Add support for CloudWatch Vended Logs which allows for delivery of customer logs to CloudWatch Logs, S3, or Firehose.
8+
49
1.93.0 (2025-01-30)
510
------------------
611

gems/aws-sdk-mediatailor/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.93.0
1+
1.94.0

gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module Plugins
5454
autoload :EndpointProvider, 'aws-sdk-mediatailor/endpoint_provider'
5555
autoload :Endpoints, 'aws-sdk-mediatailor/endpoints'
5656

57-
GEM_VERSION = '1.93.0'
57+
GEM_VERSION = '1.94.0'
5858

5959
end
6060

gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,22 +526,42 @@ def configure_logs_for_channel(params = {}, options = {})
526526
# @option params [required, String] :playback_configuration_name
527527
# The name of the playback configuration.
528528
#
529+
# @option params [Array<String>] :enabled_logging_strategies
530+
# The method used for collecting logs from AWS Elemental MediaTailor. To
531+
# configure MediaTailor to send logs directly to Amazon CloudWatch Logs,
532+
# choose `LEGACY_CLOUDWATCH`. To configure MediaTailor to send logs to
533+
# CloudWatch, which then vends the logs to your destination of choice,
534+
# choose `VENDED_LOGS`. Supported destinations are CloudWatch Logs log
535+
# group, Amazon S3 bucket, and Amazon Data Firehose stream.
536+
#
537+
# To use vended logs, you must configure the delivery destination in
538+
# Amazon CloudWatch, as described in [Enable logging from AWS services,
539+
# Logging that requires additional permissions \[V2\]][1].
540+
#
541+
#
542+
#
543+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2
544+
#
529545
# @return [Types::ConfigureLogsForPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
530546
#
531547
# * {Types::ConfigureLogsForPlaybackConfigurationResponse#percent_enabled #percent_enabled} => Integer
532548
# * {Types::ConfigureLogsForPlaybackConfigurationResponse#playback_configuration_name #playback_configuration_name} => String
549+
# * {Types::ConfigureLogsForPlaybackConfigurationResponse#enabled_logging_strategies #enabled_logging_strategies} => Array&lt;String&gt;
533550
#
534551
# @example Request syntax with placeholder values
535552
#
536553
# resp = client.configure_logs_for_playback_configuration({
537554
# percent_enabled: 1, # required
538555
# playback_configuration_name: "__string", # required
556+
# enabled_logging_strategies: ["VENDED_LOGS"], # accepts VENDED_LOGS, LEGACY_CLOUDWATCH
539557
# })
540558
#
541559
# @example Response structure
542560
#
543561
# resp.percent_enabled #=> Integer
544562
# resp.playback_configuration_name #=> String
563+
# resp.enabled_logging_strategies #=> Array
564+
# resp.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH"
545565
#
546566
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfiguration AWS API Documentation
547567
#
@@ -1991,6 +2011,8 @@ def get_channel_schedule(params = {}, options = {})
19912011
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
19922012
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
19932013
# resp.log_configuration.percent_enabled #=> Integer
2014+
# resp.log_configuration.enabled_logging_strategies #=> Array
2015+
# resp.log_configuration.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH"
19942016
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
19952017
# resp.name #=> String
19962018
# resp.personalization_threshold_seconds #=> Integer
@@ -2305,6 +2327,8 @@ def list_live_sources(params = {}, options = {})
23052327
# resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
23062328
# resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
23072329
# resp.items[0].log_configuration.percent_enabled #=> Integer
2330+
# resp.items[0].log_configuration.enabled_logging_strategies #=> Array
2331+
# resp.items[0].log_configuration.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH"
23082332
# resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
23092333
# resp.items[0].name #=> String
23102334
# resp.items[0].personalization_threshold_seconds #=> Integer
@@ -2689,7 +2713,8 @@ def put_channel_policy(params = {}, options = {})
26892713
#
26902714
# @option params [Types::AdConditioningConfiguration] :ad_conditioning_configuration
26912715
# The setting that indicates what conditioning MediaTailor will perform
2692-
# on ads that the ad decision server (ADS) returns.
2716+
# on ads that the ad decision server (ADS) returns, and what priority
2717+
# MediaTailor uses when inserting ads.
26932718
#
26942719
# @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
26952720
#
@@ -2785,6 +2810,8 @@ def put_channel_policy(params = {}, options = {})
27852810
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
27862811
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
27872812
# resp.log_configuration.percent_enabled #=> Integer
2813+
# resp.log_configuration.enabled_logging_strategies #=> Array
2814+
# resp.log_configuration.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH"
27882815
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
27892816
# resp.name #=> String
27902817
# resp.personalization_threshold_seconds #=> Integer
@@ -3477,7 +3504,7 @@ def build_request(operation_name, params = {})
34773504
tracer: tracer
34783505
)
34793506
context[:gem_name] = 'aws-sdk-mediatailor'
3480-
context[:gem_version] = '1.93.0'
3507+
context[:gem_version] = '1.94.0'
34813508
Seahorse::Client::Request.new(handlers, context)
34823509
end
34833510

gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client_api.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ module ClientApi
123123
LogConfigurationForChannel = Shapes::StructureShape.new(name: 'LogConfigurationForChannel')
124124
LogType = Shapes::StringShape.new(name: 'LogType')
125125
LogTypes = Shapes::ListShape.new(name: 'LogTypes')
126+
LoggingStrategy = Shapes::StringShape.new(name: 'LoggingStrategy')
126127
Long = Shapes::IntegerShape.new(name: 'Long')
127128
ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules')
128129
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -192,6 +193,7 @@ module ClientApi
192193
__listOfAvailMatchingCriteria = Shapes::ListShape.new(name: '__listOfAvailMatchingCriteria')
193194
__listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
194195
__listOfLiveSource = Shapes::ListShape.new(name: '__listOfLiveSource')
196+
__listOfLoggingStrategies = Shapes::ListShape.new(name: '__listOfLoggingStrategies')
195197
__listOfPlaybackConfiguration = Shapes::ListShape.new(name: '__listOfPlaybackConfiguration')
196198
__listOfPrefetchSchedule = Shapes::ListShape.new(name: '__listOfPrefetchSchedule')
197199
__listOfScheduleAdBreak = Shapes::ListShape.new(name: '__listOfScheduleAdBreak')
@@ -308,10 +310,12 @@ module ClientApi
308310

309311
ConfigureLogsForPlaybackConfigurationRequest.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
310312
ConfigureLogsForPlaybackConfigurationRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName"))
313+
ConfigureLogsForPlaybackConfigurationRequest.add_member(:enabled_logging_strategies, Shapes::ShapeRef.new(shape: __listOfLoggingStrategies, location_name: "EnabledLoggingStrategies"))
311314
ConfigureLogsForPlaybackConfigurationRequest.struct_class = Types::ConfigureLogsForPlaybackConfigurationRequest
312315

313316
ConfigureLogsForPlaybackConfigurationResponse.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
314317
ConfigureLogsForPlaybackConfigurationResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName"))
318+
ConfigureLogsForPlaybackConfigurationResponse.add_member(:enabled_logging_strategies, Shapes::ShapeRef.new(shape: __listOfLoggingStrategies, location_name: "EnabledLoggingStrategies"))
315319
ConfigureLogsForPlaybackConfigurationResponse.struct_class = Types::ConfigureLogsForPlaybackConfigurationResponse
316320

317321
CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
@@ -722,6 +726,7 @@ module ClientApi
722726
LiveSource.struct_class = Types::LiveSource
723727

724728
LogConfiguration.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
729+
LogConfiguration.add_member(:enabled_logging_strategies, Shapes::ShapeRef.new(shape: __listOfLoggingStrategies, location_name: "EnabledLoggingStrategies"))
725730
LogConfiguration.struct_class = Types::LogConfiguration
726731

727732
LogConfigurationForChannel.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "LogTypes"))
@@ -1052,6 +1057,8 @@ module ClientApi
10521057

10531058
__listOfLiveSource.member = Shapes::ShapeRef.new(shape: LiveSource)
10541059

1060+
__listOfLoggingStrategies.member = Shapes::ShapeRef.new(shape: LoggingStrategy)
1061+
10551062
__listOfPlaybackConfiguration.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration)
10561063

10571064
__listOfPrefetchSchedule.member = Shapes::ShapeRef.new(shape: PrefetchSchedule)

0 commit comments

Comments
 (0)