aws-sdk-mediatailor 1.44.0 → 1.45.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 +54 -2
- data/lib/aws-sdk-mediatailor/client_api.rb +25 -0
- data/lib/aws-sdk-mediatailor/types.rb +103 -2
- data/lib/aws-sdk-mediatailor.rb +2 -2
- 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: '0779b9ea619f4bc6e099db8d8d52c314cb4c0b203ae0aa30efe962da3cb57405'
|
4
|
+
data.tar.gz: c12f66df94fb1b84850ac0a55cdf2ba080ad78f063ae2697e978e3fde3b3dcff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 031e6dacd4d9db5ba35056d1489a6b19210e11d0da688e76a0eee3fc916768e52e9c557a88939e43ddc5ca44dff6d40125a7a483b5bded0c998cb9094ea1ad60
|
7
|
+
data.tar.gz: fda18b10c1c6e00b5bc3170ca325b38376b8e0c12dee25af84e9435c72d3e485969e89190d8d6e22464a1291326ea98fdfee702b6c9d1d573b1512902835acfe
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -327,13 +327,60 @@ module Aws::MediaTailor
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Configures Amazon CloudWatch log settings for a playback
|
331
|
+
# configuration.
|
332
|
+
#
|
333
|
+
# @option params [required, Integer] :percent_enabled
|
334
|
+
# The percentage of session logs that MediaTailor sends to your
|
335
|
+
# Cloudwatch Logs account. For example, if your playback configuration
|
336
|
+
# has 1000 sessions and percentEnabled is set to 60, MediaTailor sends
|
337
|
+
# logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides
|
338
|
+
# at random which of the playback configuration sessions to send logs
|
339
|
+
# for. If you want to view logs for a specific session, you can use the
|
340
|
+
# [debug log mode][1].
|
341
|
+
#
|
342
|
+
# Valid values: 0 - 100
|
343
|
+
#
|
344
|
+
#
|
345
|
+
#
|
346
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html
|
347
|
+
#
|
348
|
+
# @option params [required, String] :playback_configuration_name
|
349
|
+
# The name of the playback configuration.
|
350
|
+
#
|
351
|
+
# @return [Types::ConfigureLogsForPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
352
|
+
#
|
353
|
+
# * {Types::ConfigureLogsForPlaybackConfigurationResponse#percent_enabled #percent_enabled} => Integer
|
354
|
+
# * {Types::ConfigureLogsForPlaybackConfigurationResponse#playback_configuration_name #playback_configuration_name} => String
|
355
|
+
#
|
356
|
+
# @example Request syntax with placeholder values
|
357
|
+
#
|
358
|
+
# resp = client.configure_logs_for_playback_configuration({
|
359
|
+
# percent_enabled: 1, # required
|
360
|
+
# playback_configuration_name: "__string", # required
|
361
|
+
# })
|
362
|
+
#
|
363
|
+
# @example Response structure
|
364
|
+
#
|
365
|
+
# resp.percent_enabled #=> Integer
|
366
|
+
# resp.playback_configuration_name #=> String
|
367
|
+
#
|
368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfiguration AWS API Documentation
|
369
|
+
#
|
370
|
+
# @overload configure_logs_for_playback_configuration(params = {})
|
371
|
+
# @param [Hash] params ({})
|
372
|
+
def configure_logs_for_playback_configuration(params = {}, options = {})
|
373
|
+
req = build_request(:configure_logs_for_playback_configuration, params)
|
374
|
+
req.send_request(options)
|
375
|
+
end
|
376
|
+
|
330
377
|
# Creates a channel.
|
331
378
|
#
|
332
379
|
# @option params [required, String] :channel_name
|
333
380
|
#
|
334
381
|
# @option params [Types::SlateSource] :filler_slate
|
335
382
|
# The slate used to fill gaps between programs in the schedule. You must
|
336
|
-
# configure filler slate if your channel uses
|
383
|
+
# configure filler slate if your channel uses a LINEAR PlaybackMode.
|
337
384
|
#
|
338
385
|
# @option params [required, Array<Types::RequestOutputItem>] :outputs
|
339
386
|
# The channel's output properties.
|
@@ -1073,6 +1120,7 @@ module Aws::MediaTailor
|
|
1073
1120
|
# * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
1074
1121
|
# * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
1075
1122
|
# * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
|
1123
|
+
# * {Types::GetPlaybackConfigurationResponse#log_configuration #log_configuration} => Types::LogConfiguration
|
1076
1124
|
# * {Types::GetPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
|
1077
1125
|
# * {Types::GetPlaybackConfigurationResponse#name #name} => String
|
1078
1126
|
# * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
@@ -1108,6 +1156,7 @@ module Aws::MediaTailor
|
|
1108
1156
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
1109
1157
|
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
|
1110
1158
|
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1159
|
+
# resp.log_configuration.percent_enabled #=> Integer
|
1111
1160
|
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1112
1161
|
# resp.name #=> String
|
1113
1162
|
# resp.personalization_threshold_seconds #=> Integer
|
@@ -1269,6 +1318,7 @@ module Aws::MediaTailor
|
|
1269
1318
|
# resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
|
1270
1319
|
# resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
|
1271
1320
|
# resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1321
|
+
# resp.items[0].log_configuration.percent_enabled #=> Integer
|
1272
1322
|
# resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1273
1323
|
# resp.items[0].name #=> String
|
1274
1324
|
# resp.items[0].personalization_threshold_seconds #=> Integer
|
@@ -1539,6 +1589,7 @@ module Aws::MediaTailor
|
|
1539
1589
|
# * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
1540
1590
|
# * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
1541
1591
|
# * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
|
1592
|
+
# * {Types::PutPlaybackConfigurationResponse#log_configuration #log_configuration} => Types::LogConfiguration
|
1542
1593
|
# * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
|
1543
1594
|
# * {Types::PutPlaybackConfigurationResponse#name #name} => String
|
1544
1595
|
# * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
@@ -1612,6 +1663,7 @@ module Aws::MediaTailor
|
|
1612
1663
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
1613
1664
|
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
|
1614
1665
|
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1666
|
+
# resp.log_configuration.percent_enabled #=> Integer
|
1615
1667
|
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1616
1668
|
# resp.name #=> String
|
1617
1669
|
# resp.personalization_threshold_seconds #=> Integer
|
@@ -1937,7 +1989,7 @@ module Aws::MediaTailor
|
|
1937
1989
|
params: params,
|
1938
1990
|
config: config)
|
1939
1991
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
1940
|
-
context[:gem_version] = '1.
|
1992
|
+
context[:gem_version] = '1.45.0'
|
1941
1993
|
Seahorse::Client::Request.new(handlers, context)
|
1942
1994
|
end
|
1943
1995
|
|
@@ -26,6 +26,8 @@ module Aws::MediaTailor
|
|
26
26
|
ChannelState = Shapes::StringShape.new(name: 'ChannelState')
|
27
27
|
ConfigurationAliasesRequest = Shapes::MapShape.new(name: 'ConfigurationAliasesRequest')
|
28
28
|
ConfigurationAliasesResponse = Shapes::MapShape.new(name: 'ConfigurationAliasesResponse')
|
29
|
+
ConfigureLogsForPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationRequest')
|
30
|
+
ConfigureLogsForPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationResponse')
|
29
31
|
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
|
30
32
|
CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
|
31
33
|
CreateProgramRequest = Shapes::StructureShape.new(name: 'CreateProgramRequest')
|
@@ -82,6 +84,7 @@ module Aws::MediaTailor
|
|
82
84
|
ListVodSourcesRequest = Shapes::StructureShape.new(name: 'ListVodSourcesRequest')
|
83
85
|
ListVodSourcesResponse = Shapes::StructureShape.new(name: 'ListVodSourcesResponse')
|
84
86
|
LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
|
87
|
+
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
85
88
|
ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules')
|
86
89
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
87
90
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
@@ -190,6 +193,14 @@ module Aws::MediaTailor
|
|
190
193
|
ConfigurationAliasesResponse.key = Shapes::ShapeRef.new(shape: __string)
|
191
194
|
ConfigurationAliasesResponse.value = Shapes::ShapeRef.new(shape: __mapOf__string)
|
192
195
|
|
196
|
+
ConfigureLogsForPlaybackConfigurationRequest.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
|
197
|
+
ConfigureLogsForPlaybackConfigurationRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName"))
|
198
|
+
ConfigureLogsForPlaybackConfigurationRequest.struct_class = Types::ConfigureLogsForPlaybackConfigurationRequest
|
199
|
+
|
200
|
+
ConfigureLogsForPlaybackConfigurationResponse.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, location_name: "PercentEnabled"))
|
201
|
+
ConfigureLogsForPlaybackConfigurationResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName"))
|
202
|
+
ConfigureLogsForPlaybackConfigurationResponse.struct_class = Types::ConfigureLogsForPlaybackConfigurationResponse
|
203
|
+
|
193
204
|
CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
|
194
205
|
CreateChannelRequest.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
|
195
206
|
CreateChannelRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: RequestOutputs, required: true, location_name: "Outputs"))
|
@@ -389,6 +400,7 @@ module Aws::MediaTailor
|
|
389
400
|
GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
390
401
|
GetPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
391
402
|
GetPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
|
403
|
+
GetPlaybackConfigurationResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
|
392
404
|
GetPlaybackConfigurationResponse.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
|
393
405
|
GetPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
394
406
|
GetPlaybackConfigurationResponse.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
|
@@ -469,6 +481,9 @@ module Aws::MediaTailor
|
|
469
481
|
LivePreRollConfiguration.add_member(:max_duration_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "MaxDurationSeconds"))
|
470
482
|
LivePreRollConfiguration.struct_class = Types::LivePreRollConfiguration
|
471
483
|
|
484
|
+
LogConfiguration.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
|
485
|
+
LogConfiguration.struct_class = Types::LogConfiguration
|
486
|
+
|
472
487
|
ManifestProcessingRules.add_member(:ad_marker_passthrough, Shapes::ShapeRef.new(shape: AdMarkerPassthrough, location_name: "AdMarkerPassthrough"))
|
473
488
|
ManifestProcessingRules.struct_class = Types::ManifestProcessingRules
|
474
489
|
|
@@ -480,6 +495,7 @@ module Aws::MediaTailor
|
|
480
495
|
PlaybackConfiguration.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
481
496
|
PlaybackConfiguration.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
482
497
|
PlaybackConfiguration.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
|
498
|
+
PlaybackConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
|
483
499
|
PlaybackConfiguration.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
|
484
500
|
PlaybackConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
485
501
|
PlaybackConfiguration.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
|
@@ -522,6 +538,7 @@ module Aws::MediaTailor
|
|
522
538
|
PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
|
523
539
|
PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
|
524
540
|
PutPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
|
541
|
+
PutPlaybackConfigurationResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
|
525
542
|
PutPlaybackConfigurationResponse.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
|
526
543
|
PutPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
527
544
|
PutPlaybackConfigurationResponse.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
|
@@ -714,6 +731,14 @@ module Aws::MediaTailor
|
|
714
731
|
"uid" => "mediatailor-2018-04-23",
|
715
732
|
}
|
716
733
|
|
734
|
+
api.add_operation(:configure_logs_for_playback_configuration, Seahorse::Model::Operation.new.tap do |o|
|
735
|
+
o.name = "ConfigureLogsForPlaybackConfiguration"
|
736
|
+
o.http_method = "PUT"
|
737
|
+
o.http_request_uri = "/configureLogs/playbackConfiguration"
|
738
|
+
o.input = Shapes::ShapeRef.new(shape: ConfigureLogsForPlaybackConfigurationRequest)
|
739
|
+
o.output = Shapes::ShapeRef.new(shape: ConfigureLogsForPlaybackConfigurationResponse)
|
740
|
+
end)
|
741
|
+
|
717
742
|
api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
|
718
743
|
o.name = "CreateChannel"
|
719
744
|
o.http_method = "POST"
|
@@ -373,6 +373,66 @@ module Aws::MediaTailor
|
|
373
373
|
include Aws::Structure
|
374
374
|
end
|
375
375
|
|
376
|
+
# Configures Amazon CloudWatch log settings for an existing MediaTailor
|
377
|
+
# playback configuration.
|
378
|
+
#
|
379
|
+
# @note When making an API call, you may pass ConfigureLogsForPlaybackConfigurationRequest
|
380
|
+
# data as a hash:
|
381
|
+
#
|
382
|
+
# {
|
383
|
+
# percent_enabled: 1, # required
|
384
|
+
# playback_configuration_name: "__string", # required
|
385
|
+
# }
|
386
|
+
#
|
387
|
+
# @!attribute [rw] percent_enabled
|
388
|
+
# The percentage of session logs that MediaTailor sends to your
|
389
|
+
# Cloudwatch Logs account. For example, if your playback configuration
|
390
|
+
# has 1000 sessions and percentEnabled is set to 60, MediaTailor sends
|
391
|
+
# logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides
|
392
|
+
# at random which of the playback configuration sessions to send logs
|
393
|
+
# for. If you want to view logs for a specific session, you can use
|
394
|
+
# the [debug log mode][1].
|
395
|
+
#
|
396
|
+
# Valid values: 0 - 100
|
397
|
+
#
|
398
|
+
#
|
399
|
+
#
|
400
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html
|
401
|
+
# @return [Integer]
|
402
|
+
#
|
403
|
+
# @!attribute [rw] playback_configuration_name
|
404
|
+
# The name of the playback configuration.
|
405
|
+
# @return [String]
|
406
|
+
#
|
407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfigurationRequest AWS API Documentation
|
408
|
+
#
|
409
|
+
class ConfigureLogsForPlaybackConfigurationRequest < Struct.new(
|
410
|
+
:percent_enabled,
|
411
|
+
:playback_configuration_name)
|
412
|
+
SENSITIVE = []
|
413
|
+
include Aws::Structure
|
414
|
+
end
|
415
|
+
|
416
|
+
# Amazon CloudWatch log settings for a playback configuration.
|
417
|
+
#
|
418
|
+
# @!attribute [rw] percent_enabled
|
419
|
+
# The percentage of session logs that MediaTailor sends to your
|
420
|
+
# Cloudwatch Logs account.
|
421
|
+
# @return [Integer]
|
422
|
+
#
|
423
|
+
# @!attribute [rw] playback_configuration_name
|
424
|
+
# The name of the playback configuration.
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfigurationResponse AWS API Documentation
|
428
|
+
#
|
429
|
+
class ConfigureLogsForPlaybackConfigurationResponse < Struct.new(
|
430
|
+
:percent_enabled,
|
431
|
+
:playback_configuration_name)
|
432
|
+
SENSITIVE = []
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
376
436
|
# The configuration for this channel.
|
377
437
|
#
|
378
438
|
# @note When making an API call, you may pass CreateChannelRequest
|
@@ -410,7 +470,7 @@ module Aws::MediaTailor
|
|
410
470
|
#
|
411
471
|
# @!attribute [rw] filler_slate
|
412
472
|
# The slate used to fill gaps between programs in the schedule. You
|
413
|
-
# must configure filler slate if your channel uses
|
473
|
+
# must configure filler slate if your channel uses a LINEAR
|
414
474
|
# PlaybackMode.
|
415
475
|
# @return [Types::SlateSource]
|
416
476
|
#
|
@@ -1538,6 +1598,10 @@ module Aws::MediaTailor
|
|
1538
1598
|
# The configuration for pre-roll ad insertion.
|
1539
1599
|
# @return [Types::LivePreRollConfiguration]
|
1540
1600
|
#
|
1601
|
+
# @!attribute [rw] log_configuration
|
1602
|
+
# The Amazon CloudWatch log settings for a playback configuration.
|
1603
|
+
# @return [Types::LogConfiguration]
|
1604
|
+
#
|
1541
1605
|
# @!attribute [rw] manifest_processing_rules
|
1542
1606
|
# The configuration for manifest processing rules. Manifest processing
|
1543
1607
|
# rules enable customization of the personalized manifests created by
|
@@ -1615,6 +1679,7 @@ module Aws::MediaTailor
|
|
1615
1679
|
:dash_configuration,
|
1616
1680
|
:hls_configuration,
|
1617
1681
|
:live_pre_roll_configuration,
|
1682
|
+
:log_configuration,
|
1618
1683
|
:manifest_processing_rules,
|
1619
1684
|
:name,
|
1620
1685
|
:personalization_threshold_seconds,
|
@@ -2018,6 +2083,32 @@ module Aws::MediaTailor
|
|
2018
2083
|
include Aws::Structure
|
2019
2084
|
end
|
2020
2085
|
|
2086
|
+
# Returns Amazon CloudWatch log settings for a playback configuration.
|
2087
|
+
#
|
2088
|
+
# @!attribute [rw] percent_enabled
|
2089
|
+
# The percentage of session logs that MediaTailor sends to your
|
2090
|
+
# Cloudwatch Logs account. For example, if your playback configuration
|
2091
|
+
# has 1000 sessions and percentEnabled is set to 60, MediaTailor sends
|
2092
|
+
# logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides
|
2093
|
+
# at random which of the playback configuration sessions to send logs
|
2094
|
+
# for. If you want to view logs for a specific session, you can use
|
2095
|
+
# the [debug log mode][1].
|
2096
|
+
#
|
2097
|
+
# Valid values: 0 - 100
|
2098
|
+
#
|
2099
|
+
#
|
2100
|
+
#
|
2101
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html
|
2102
|
+
# @return [Integer]
|
2103
|
+
#
|
2104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/LogConfiguration AWS API Documentation
|
2105
|
+
#
|
2106
|
+
class LogConfiguration < Struct.new(
|
2107
|
+
:percent_enabled)
|
2108
|
+
SENSITIVE = []
|
2109
|
+
include Aws::Structure
|
2110
|
+
end
|
2111
|
+
|
2021
2112
|
# The configuration for manifest processing rules. Manifest processing
|
2022
2113
|
# rules enable customization of the personalized manifests created by
|
2023
2114
|
# MediaTailor.
|
@@ -2113,6 +2204,10 @@ module Aws::MediaTailor
|
|
2113
2204
|
# The configuration for pre-roll ad insertion.
|
2114
2205
|
# @return [Types::LivePreRollConfiguration]
|
2115
2206
|
#
|
2207
|
+
# @!attribute [rw] log_configuration
|
2208
|
+
# The Amazon CloudWatch log settings for a playback configuration.
|
2209
|
+
# @return [Types::LogConfiguration]
|
2210
|
+
#
|
2116
2211
|
# @!attribute [rw] manifest_processing_rules
|
2117
2212
|
# The configuration for manifest processing rules. Manifest processing
|
2118
2213
|
# rules enable customization of the personalized manifests created by
|
@@ -2190,6 +2285,7 @@ module Aws::MediaTailor
|
|
2190
2285
|
:dash_configuration,
|
2191
2286
|
:hls_configuration,
|
2192
2287
|
:live_pre_roll_configuration,
|
2288
|
+
:log_configuration,
|
2193
2289
|
:manifest_processing_rules,
|
2194
2290
|
:name,
|
2195
2291
|
:personalization_threshold_seconds,
|
@@ -2452,6 +2548,10 @@ module Aws::MediaTailor
|
|
2452
2548
|
# The configuration for pre-roll ad insertion.
|
2453
2549
|
# @return [Types::LivePreRollConfiguration]
|
2454
2550
|
#
|
2551
|
+
# @!attribute [rw] log_configuration
|
2552
|
+
# Returns Amazon CloudWatch log settings for a playback configuration.
|
2553
|
+
# @return [Types::LogConfiguration]
|
2554
|
+
#
|
2455
2555
|
# @!attribute [rw] manifest_processing_rules
|
2456
2556
|
# The configuration for manifest processing rules. Manifest processing
|
2457
2557
|
# rules enable customization of the personalized manifests created by
|
@@ -2496,6 +2596,7 @@ module Aws::MediaTailor
|
|
2496
2596
|
:dash_configuration,
|
2497
2597
|
:hls_configuration,
|
2498
2598
|
:live_pre_roll_configuration,
|
2599
|
+
:log_configuration,
|
2499
2600
|
:manifest_processing_rules,
|
2500
2601
|
:name,
|
2501
2602
|
:personalization_threshold_seconds,
|
@@ -2510,7 +2611,7 @@ module Aws::MediaTailor
|
|
2510
2611
|
include Aws::Structure
|
2511
2612
|
end
|
2512
2613
|
|
2513
|
-
# The
|
2614
|
+
# The output configuration for this channel.
|
2514
2615
|
#
|
2515
2616
|
# @note When making an API call, you may pass RequestOutputItem
|
2516
2617
|
# data as a hash:
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-mediatailor/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# media_tailor = Aws::MediaTailor::Client.new
|
31
|
-
# resp = media_tailor.
|
31
|
+
# resp = media_tailor.configure_logs_for_playback_configuration(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::MediaTailor
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.45.0'
|
52
52
|
|
53
53
|
end
|
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.45.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: 2021-09-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|