From e3400a20e97320c2027a3db954422089482a2534 Mon Sep 17 00:00:00 2001 From: AWS SDK For Ruby Date: Mon, 3 Feb 2025 19:10:33 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/mediatailor/2018-04-23/api-2.json | 20 +++++- apis/mediatailor/2018-04-23/docs-2.json | 24 +++++-- gems/aws-sdk-mediatailor/CHANGELOG.md | 5 ++ gems/aws-sdk-mediatailor/VERSION | 2 +- .../lib/aws-sdk-mediatailor.rb | 2 +- .../lib/aws-sdk-mediatailor/client.rb | 31 +++++++- .../lib/aws-sdk-mediatailor/client_api.rb | 7 ++ .../lib/aws-sdk-mediatailor/types.rb | 70 +++++++++++++++---- gems/aws-sdk-mediatailor/sig/client.rbs | 4 +- gems/aws-sdk-mediatailor/sig/types.rbs | 3 + 10 files changed, 141 insertions(+), 27 deletions(-) diff --git a/apis/mediatailor/2018-04-23/api-2.json b/apis/mediatailor/2018-04-23/api-2.json index b93e7b06a44..51a4d46857e 100644 --- a/apis/mediatailor/2018-04-23/api-2.json +++ b/apis/mediatailor/2018-04-23/api-2.json @@ -725,7 +725,8 @@ ], "members":{ "PercentEnabled":{"shape":"__integer"}, - "PlaybackConfigurationName":{"shape":"__string"} + "PlaybackConfigurationName":{"shape":"__string"}, + "EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"} } }, "ConfigureLogsForPlaybackConfigurationResponse":{ @@ -733,7 +734,8 @@ "required":["PercentEnabled"], "members":{ "PercentEnabled":{"shape":"__integer"}, - "PlaybackConfigurationName":{"shape":"__string"} + "PlaybackConfigurationName":{"shape":"__string"}, + "EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"} } }, "CreateChannelRequest":{ @@ -1749,7 +1751,8 @@ "type":"structure", "required":["PercentEnabled"], "members":{ - "PercentEnabled":{"shape":"__integer"} + "PercentEnabled":{"shape":"__integer"}, + "EnabledLoggingStrategies":{"shape":"__listOfLoggingStrategies"} } }, "LogConfigurationForChannel":{ @@ -1766,6 +1769,13 @@ "type":"list", "member":{"shape":"LogType"} }, + "LoggingStrategy":{ + "type":"string", + "enum":[ + "VENDED_LOGS", + "LEGACY_CLOUDWATCH" + ] + }, "Long":{ "type":"long", "box":true @@ -2499,6 +2509,10 @@ "type":"list", "member":{"shape":"LiveSource"} }, + "__listOfLoggingStrategies":{ + "type":"list", + "member":{"shape":"LoggingStrategy"} + }, "__listOfPlaybackConfiguration":{ "type":"list", "member":{"shape":"PlaybackConfiguration"} diff --git a/apis/mediatailor/2018-04-23/docs-2.json b/apis/mediatailor/2018-04-23/docs-2.json index 6a2b67ae5bd..f4393207a97 100644 --- a/apis/mediatailor/2018-04-23/docs-2.json +++ b/apis/mediatailor/2018-04-23/docs-2.json @@ -92,10 +92,10 @@ "AdConditioningConfiguration": { "base": "

The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.

", "refs": { - "GetPlaybackConfigurationResponse$AdConditioningConfiguration": "

The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.

", - "PlaybackConfiguration$AdConditioningConfiguration": "

The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.

", - "PutPlaybackConfigurationRequest$AdConditioningConfiguration": "

The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.

", - "PutPlaybackConfigurationResponse$AdConditioningConfiguration": "

The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.

" + "GetPlaybackConfigurationResponse$AdConditioningConfiguration": "

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.

", + "PlaybackConfiguration$AdConditioningConfiguration": "

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.

", + "PutPlaybackConfigurationRequest$AdConditioningConfiguration": "

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.

", + "PutPlaybackConfigurationResponse$AdConditioningConfiguration": "

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.

" } }, "AdMarkerPassthrough": { @@ -711,6 +711,12 @@ "LogConfigurationForChannel$LogTypes": "

The log types.

" } }, + "LoggingStrategy": { + "base": null, + "refs": { + "__listOfLoggingStrategies$member": null + } + }, "Long": { "base": null, "refs": { @@ -948,7 +954,7 @@ "StreamingMediaFileConditioning": { "base": null, "refs": { - "AdConditioningConfiguration$StreamingMediaFileConditioning": "

For ads that have media files with streaming delivery, indicates what transcoding action MediaTailor it first receives these ads from the ADS. TRANSCODE indicates that MediaTailor must transcode the ads. NONE 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 https://docs.aws.amazon.com/precondition-ads.html.

" + "AdConditioningConfiguration$StreamingMediaFileConditioning": "

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. TRANSCODE indicates that MediaTailor must transcode the ads. NONE 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 https://docs.aws.amazon.com/precondition-ads.html.

" } }, "String": { @@ -1163,6 +1169,14 @@ "ListLiveSourcesResponse$Items": "

Lists the live sources.

" } }, + "__listOfLoggingStrategies": { + "base": null, + "refs": { + "ConfigureLogsForPlaybackConfigurationRequest$EnabledLoggingStrategies": "

The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose LEGACY_CLOUDWATCH. To configure MediaTailor to send logs to CloudWatch, which then vends the logs to your destination of choice, choose VENDED_LOGS. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.

To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in Enable logging from AWS services, Logging that requires additional permissions [V2].

", + "ConfigureLogsForPlaybackConfigurationResponse$EnabledLoggingStrategies": "

The method used for collecting logs from AWS Elemental MediaTailor. LEGACY_CLOUDWATCH indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. VENDED_LOGS 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.

", + "LogConfiguration$EnabledLoggingStrategies": "

The method used for collecting logs from AWS Elemental MediaTailor. LEGACY_CLOUDWATCH indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. VENDED_LOGS 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.

" + } + }, "__listOfPlaybackConfiguration": { "base": null, "refs": { diff --git a/gems/aws-sdk-mediatailor/CHANGELOG.md b/gems/aws-sdk-mediatailor/CHANGELOG.md index 1116ea63243..54d74437809 100644 --- a/gems/aws-sdk-mediatailor/CHANGELOG.md +++ b/gems/aws-sdk-mediatailor/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.94.0 (2025-02-03) +------------------ + +* Feature - Add support for CloudWatch Vended Logs which allows for delivery of customer logs to CloudWatch Logs, S3, or Firehose. + 1.93.0 (2025-01-30) ------------------ diff --git a/gems/aws-sdk-mediatailor/VERSION b/gems/aws-sdk-mediatailor/VERSION index 95784efddbc..8db4a57b3d0 100644 --- a/gems/aws-sdk-mediatailor/VERSION +++ b/gems/aws-sdk-mediatailor/VERSION @@ -1 +1 @@ -1.93.0 +1.94.0 diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb index b2ab91237c6..9cd508ab154 100644 --- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb +++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb @@ -54,7 +54,7 @@ module Plugins autoload :EndpointProvider, 'aws-sdk-mediatailor/endpoint_provider' autoload :Endpoints, 'aws-sdk-mediatailor/endpoints' - GEM_VERSION = '1.93.0' + GEM_VERSION = '1.94.0' end diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb index a1597960122..3ab83259f44 100644 --- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb +++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb @@ -526,22 +526,42 @@ def configure_logs_for_channel(params = {}, options = {}) # @option params [required, String] :playback_configuration_name # The name of the playback configuration. # + # @option params [Array] :enabled_logging_strategies + # The method used for collecting logs from AWS Elemental MediaTailor. To + # configure MediaTailor to send logs directly to Amazon CloudWatch Logs, + # choose `LEGACY_CLOUDWATCH`. To configure MediaTailor to send logs to + # CloudWatch, which then vends the logs to your destination of choice, + # choose `VENDED_LOGS`. Supported destinations are CloudWatch Logs log + # group, Amazon S3 bucket, and Amazon Data Firehose stream. + # + # To use vended logs, you must configure the delivery destination in + # Amazon CloudWatch, as described in [Enable logging from AWS services, + # Logging that requires additional permissions \[V2\]][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2 + # # @return [Types::ConfigureLogsForPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ConfigureLogsForPlaybackConfigurationResponse#percent_enabled #percent_enabled} => Integer # * {Types::ConfigureLogsForPlaybackConfigurationResponse#playback_configuration_name #playback_configuration_name} => String + # * {Types::ConfigureLogsForPlaybackConfigurationResponse#enabled_logging_strategies #enabled_logging_strategies} => Array<String> # # @example Request syntax with placeholder values # # resp = client.configure_logs_for_playback_configuration({ # percent_enabled: 1, # required # playback_configuration_name: "__string", # required + # enabled_logging_strategies: ["VENDED_LOGS"], # accepts VENDED_LOGS, LEGACY_CLOUDWATCH # }) # # @example Response structure # # resp.percent_enabled #=> Integer # resp.playback_configuration_name #=> String + # resp.enabled_logging_strategies #=> Array + # resp.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH" # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfiguration AWS API Documentation # @@ -1991,6 +2011,8 @@ def get_channel_schedule(params = {}, options = {}) # resp.live_pre_roll_configuration.ad_decision_server_url #=> String # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer # resp.log_configuration.percent_enabled #=> Integer + # resp.log_configuration.enabled_logging_strategies #=> Array + # resp.log_configuration.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH" # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean # resp.name #=> String # resp.personalization_threshold_seconds #=> Integer @@ -2305,6 +2327,8 @@ def list_live_sources(params = {}, options = {}) # resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String # resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer # resp.items[0].log_configuration.percent_enabled #=> Integer + # resp.items[0].log_configuration.enabled_logging_strategies #=> Array + # resp.items[0].log_configuration.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH" # resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean # resp.items[0].name #=> String # resp.items[0].personalization_threshold_seconds #=> Integer @@ -2689,7 +2713,8 @@ def put_channel_policy(params = {}, options = {}) # # @option params [Types::AdConditioningConfiguration] :ad_conditioning_configuration # The setting that indicates what conditioning MediaTailor will perform - # on ads that the ad decision server (ADS) returns. + # on ads that the ad decision server (ADS) returns, and what priority + # MediaTailor uses when inserting ads. # # @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -2785,6 +2810,8 @@ def put_channel_policy(params = {}, options = {}) # resp.live_pre_roll_configuration.ad_decision_server_url #=> String # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer # resp.log_configuration.percent_enabled #=> Integer + # resp.log_configuration.enabled_logging_strategies #=> Array + # resp.log_configuration.enabled_logging_strategies[0] #=> String, one of "VENDED_LOGS", "LEGACY_CLOUDWATCH" # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean # resp.name #=> String # resp.personalization_threshold_seconds #=> Integer @@ -3477,7 +3504,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-mediatailor' - context[:gem_version] = '1.93.0' + context[:gem_version] = '1.94.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client_api.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client_api.rb index a6eb92e5600..48ed392ba8e 100644 --- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client_api.rb +++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client_api.rb @@ -123,6 +123,7 @@ module ClientApi LogConfigurationForChannel = Shapes::StructureShape.new(name: 'LogConfigurationForChannel') LogType = Shapes::StringShape.new(name: 'LogType') LogTypes = Shapes::ListShape.new(name: 'LogTypes') + LoggingStrategy = Shapes::StringShape.new(name: 'LoggingStrategy') Long = Shapes::IntegerShape.new(name: 'Long') ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') @@ -192,6 +193,7 @@ module ClientApi __listOfAvailMatchingCriteria = Shapes::ListShape.new(name: '__listOfAvailMatchingCriteria') __listOfChannel = Shapes::ListShape.new(name: '__listOfChannel') __listOfLiveSource = Shapes::ListShape.new(name: '__listOfLiveSource') + __listOfLoggingStrategies = Shapes::ListShape.new(name: '__listOfLoggingStrategies') __listOfPlaybackConfiguration = Shapes::ListShape.new(name: '__listOfPlaybackConfiguration') __listOfPrefetchSchedule = Shapes::ListShape.new(name: '__listOfPrefetchSchedule') __listOfScheduleAdBreak = Shapes::ListShape.new(name: '__listOfScheduleAdBreak') @@ -308,10 +310,12 @@ module ClientApi ConfigureLogsForPlaybackConfigurationRequest.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled")) ConfigureLogsForPlaybackConfigurationRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName")) + ConfigureLogsForPlaybackConfigurationRequest.add_member(:enabled_logging_strategies, Shapes::ShapeRef.new(shape: __listOfLoggingStrategies, location_name: "EnabledLoggingStrategies")) ConfigureLogsForPlaybackConfigurationRequest.struct_class = Types::ConfigureLogsForPlaybackConfigurationRequest ConfigureLogsForPlaybackConfigurationResponse.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled")) ConfigureLogsForPlaybackConfigurationResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName")) + ConfigureLogsForPlaybackConfigurationResponse.add_member(:enabled_logging_strategies, Shapes::ShapeRef.new(shape: __listOfLoggingStrategies, location_name: "EnabledLoggingStrategies")) ConfigureLogsForPlaybackConfigurationResponse.struct_class = Types::ConfigureLogsForPlaybackConfigurationResponse CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName")) @@ -722,6 +726,7 @@ module ClientApi LiveSource.struct_class = Types::LiveSource LogConfiguration.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled")) + LogConfiguration.add_member(:enabled_logging_strategies, Shapes::ShapeRef.new(shape: __listOfLoggingStrategies, location_name: "EnabledLoggingStrategies")) LogConfiguration.struct_class = Types::LogConfiguration LogConfigurationForChannel.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "LogTypes")) @@ -1052,6 +1057,8 @@ module ClientApi __listOfLiveSource.member = Shapes::ShapeRef.new(shape: LiveSource) + __listOfLoggingStrategies.member = Shapes::ShapeRef.new(shape: LoggingStrategy) + __listOfPlaybackConfiguration.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration) __listOfPrefetchSchedule.member = Shapes::ShapeRef.new(shape: PrefetchSchedule) diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb index 9e27e1b8284..551c4a68669 100644 --- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb +++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/types.rb @@ -166,13 +166,13 @@ class AdBreakOpportunity < Struct.new( # on ads that the ad decision server (ADS) returns. # # @!attribute [rw] streaming_media_file_conditioning - # For ads that have media files with streaming delivery, indicates - # what transcoding action MediaTailor it first receives these ads from - # the ADS. `TRANSCODE` indicates that MediaTailor must transcode the - # ads. `NONE` 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 + # 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. `TRANSCODE` indicates + # that MediaTailor must transcode the ads. `NONE` 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 # [https://docs.aws.amazon.com/precondition-ads.html][1]. # # @@ -651,11 +651,29 @@ class ConfigureLogsForChannelResponse < Struct.new( # The name of the playback configuration. # @return [String] # + # @!attribute [rw] enabled_logging_strategies + # The method used for collecting logs from AWS Elemental MediaTailor. + # To configure MediaTailor to send logs directly to Amazon CloudWatch + # Logs, choose `LEGACY_CLOUDWATCH`. To configure MediaTailor to send + # logs to CloudWatch, which then vends the logs to your destination of + # choice, choose `VENDED_LOGS`. Supported destinations are CloudWatch + # Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. + # + # To use vended logs, you must configure the delivery destination in + # Amazon CloudWatch, as described in [Enable logging from AWS + # services, Logging that requires additional permissions \[V2\]][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2 + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfigurationRequest AWS API Documentation # class ConfigureLogsForPlaybackConfigurationRequest < Struct.new( :percent_enabled, - :playback_configuration_name) + :playback_configuration_name, + :enabled_logging_strategies) SENSITIVE = [] include Aws::Structure end @@ -669,11 +687,21 @@ class ConfigureLogsForPlaybackConfigurationRequest < Struct.new( # The name of the playback configuration. # @return [String] # + # @!attribute [rw] enabled_logging_strategies + # The method used for collecting logs from AWS Elemental MediaTailor. + # `LEGACY_CLOUDWATCH` indicates that MediaTailor is sending logs + # directly to Amazon CloudWatch Logs. `VENDED_LOGS` 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. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfigurationResponse AWS API Documentation # class ConfigureLogsForPlaybackConfigurationResponse < Struct.new( :percent_enabled, - :playback_configuration_name) + :playback_configuration_name, + :enabled_logging_strategies) SENSITIVE = [] include Aws::Structure end @@ -2216,7 +2244,8 @@ class GetPlaybackConfigurationRequest < Struct.new( # # @!attribute [rw] ad_conditioning_configuration # The setting that indicates what conditioning MediaTailor will - # perform on ads that the ad decision server (ADS) returns. + # perform on ads that the ad decision server (ADS) returns, and what + # priority MediaTailor uses when inserting ads. # @return [Types::AdConditioningConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfigurationResponse AWS API Documentation @@ -2881,10 +2910,20 @@ class LiveSource < Struct.new( # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html # @return [Integer] # + # @!attribute [rw] enabled_logging_strategies + # The method used for collecting logs from AWS Elemental MediaTailor. + # `LEGACY_CLOUDWATCH` indicates that MediaTailor is sending logs + # directly to Amazon CloudWatch Logs. `VENDED_LOGS` 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. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/LogConfiguration AWS API Documentation # class LogConfiguration < Struct.new( - :percent_enabled) + :percent_enabled, + :enabled_logging_strategies) SENSITIVE = [] include Aws::Structure end @@ -3079,7 +3118,8 @@ class ManifestProcessingRules < Struct.new( # # @!attribute [rw] ad_conditioning_configuration # The setting that indicates what conditioning MediaTailor will - # perform on ads that the ad decision server (ADS) returns. + # perform on ads that the ad decision server (ADS) returns, and what + # priority MediaTailor uses when inserting ads. # @return [Types::AdConditioningConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PlaybackConfiguration AWS API Documentation @@ -3383,7 +3423,8 @@ class PutChannelPolicyResponse < Aws::EmptyStructure; end # # @!attribute [rw] ad_conditioning_configuration # The setting that indicates what conditioning MediaTailor will - # perform on ads that the ad decision server (ADS) returns. + # perform on ads that the ad decision server (ADS) returns, and what + # priority MediaTailor uses when inserting ads. # @return [Types::AdConditioningConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfigurationRequest AWS API Documentation @@ -3555,7 +3596,8 @@ class PutPlaybackConfigurationRequest < Struct.new( # # @!attribute [rw] ad_conditioning_configuration # The setting that indicates what conditioning MediaTailor will - # perform on ads that the ad decision server (ADS) returns. + # perform on ads that the ad decision server (ADS) returns, and what + # priority MediaTailor uses when inserting ads. # @return [Types::AdConditioningConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfigurationResponse AWS API Documentation diff --git a/gems/aws-sdk-mediatailor/sig/client.rbs b/gems/aws-sdk-mediatailor/sig/client.rbs index 0a662f77fd1..c886ec82bd1 100644 --- a/gems/aws-sdk-mediatailor/sig/client.rbs +++ b/gems/aws-sdk-mediatailor/sig/client.rbs @@ -93,11 +93,13 @@ module Aws include ::Seahorse::Client::_ResponseSuccess[Types::ConfigureLogsForPlaybackConfigurationResponse] def percent_enabled: () -> ::Integer def playback_configuration_name: () -> ::String + def enabled_logging_strategies: () -> ::Array[("VENDED_LOGS" | "LEGACY_CLOUDWATCH")] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#configure_logs_for_playback_configuration-instance_method def configure_logs_for_playback_configuration: ( percent_enabled: ::Integer, - playback_configuration_name: ::String + playback_configuration_name: ::String, + ?enabled_logging_strategies: Array[("VENDED_LOGS" | "LEGACY_CLOUDWATCH")] ) -> _ConfigureLogsForPlaybackConfigurationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ConfigureLogsForPlaybackConfigurationResponseSuccess diff --git a/gems/aws-sdk-mediatailor/sig/types.rbs b/gems/aws-sdk-mediatailor/sig/types.rbs index a3dc0ff1de2..02597a23a3e 100644 --- a/gems/aws-sdk-mediatailor/sig/types.rbs +++ b/gems/aws-sdk-mediatailor/sig/types.rbs @@ -133,12 +133,14 @@ module Aws::MediaTailor class ConfigureLogsForPlaybackConfigurationRequest attr_accessor percent_enabled: ::Integer attr_accessor playback_configuration_name: ::String + attr_accessor enabled_logging_strategies: ::Array[("VENDED_LOGS" | "LEGACY_CLOUDWATCH")] SENSITIVE: [] end class ConfigureLogsForPlaybackConfigurationResponse attr_accessor percent_enabled: ::Integer attr_accessor playback_configuration_name: ::String + attr_accessor enabled_logging_strategies: ::Array[("VENDED_LOGS" | "LEGACY_CLOUDWATCH")] SENSITIVE: [] end @@ -687,6 +689,7 @@ module Aws::MediaTailor class LogConfiguration attr_accessor percent_enabled: ::Integer + attr_accessor enabled_logging_strategies: ::Array[("VENDED_LOGS" | "LEGACY_CLOUDWATCH")] SENSITIVE: [] end