aws-sdk-mediatailor 1.43.0 → 1.47.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +319 -4
- data/lib/aws-sdk-mediatailor/client_api.rb +158 -0
- data/lib/aws-sdk-mediatailor/types.rb +672 -12
- data/lib/aws-sdk-mediatailor.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e691cb0b3731362da039d83d1cfb5503d18fbdd0d01a67844bbddcb36f9ffd6
|
4
|
+
data.tar.gz: 21a536c9aaebf7cc50db299966894ec2b5496a68abff2db6d71ae6d272da0752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1570a433787803a0bf01eee9fc65b1b05db699ae354d61b5c37aa6b2acd583e8755deb1383e04709dd876149ecfd85d2101b48041d0f327eae1c3dc8e814943d
|
7
|
+
data.tar.gz: 2f8da74f85d50e95f55435f6009c9c438a9a69b60b6714a33bc04a4c4d6c458c3482cba3b0912868126c28a3a42d86b77aae2b2586c884ff57d6695788b5078c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.47.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.46.0 (2021-10-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - MediaTailor now supports ad prefetching.
|
13
|
+
|
14
|
+
1.45.0 (2021-09-22)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support to configure logs for playback configuration.
|
18
|
+
|
19
|
+
1.44.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds support for wall clock programs in LINEAR channels.
|
23
|
+
|
4
24
|
1.43.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
@@ -327,16 +327,73 @@ 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
|
#
|
381
|
+
# @option params [Types::SlateSource] :filler_slate
|
382
|
+
# The slate used to fill gaps between programs in the schedule. You must
|
383
|
+
# configure filler slate if your channel uses a LINEAR PlaybackMode.
|
384
|
+
#
|
334
385
|
# @option params [required, Array<Types::RequestOutputItem>] :outputs
|
335
386
|
# The channel's output properties.
|
336
387
|
#
|
337
388
|
# @option params [required, String] :playback_mode
|
338
|
-
# The type of playback mode for this channel.
|
339
|
-
#
|
389
|
+
# The type of playback mode to use for this channel.
|
390
|
+
#
|
391
|
+
# LINEAR - The programs in the schedule play once back-to-back in the
|
392
|
+
# schedule.
|
393
|
+
#
|
394
|
+
# LOOP - The programs in the schedule play back-to-back in an endless
|
395
|
+
# loop. When the last program in the schedule stops playing, playback
|
396
|
+
# loops back to the first program in the schedule.
|
340
397
|
#
|
341
398
|
# @option params [Hash<String,String>] :tags
|
342
399
|
# The tags to assign to the channel.
|
@@ -347,6 +404,7 @@ module Aws::MediaTailor
|
|
347
404
|
# * {Types::CreateChannelResponse#channel_name #channel_name} => String
|
348
405
|
# * {Types::CreateChannelResponse#channel_state #channel_state} => String
|
349
406
|
# * {Types::CreateChannelResponse#creation_time #creation_time} => Time
|
407
|
+
# * {Types::CreateChannelResponse#filler_slate #filler_slate} => Types::SlateSource
|
350
408
|
# * {Types::CreateChannelResponse#last_modified_time #last_modified_time} => Time
|
351
409
|
# * {Types::CreateChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
352
410
|
# * {Types::CreateChannelResponse#playback_mode #playback_mode} => String
|
@@ -356,6 +414,10 @@ module Aws::MediaTailor
|
|
356
414
|
#
|
357
415
|
# resp = client.create_channel({
|
358
416
|
# channel_name: "__string", # required
|
417
|
+
# filler_slate: {
|
418
|
+
# source_location_name: "__string",
|
419
|
+
# vod_source_name: "__string",
|
420
|
+
# },
|
359
421
|
# outputs: [ # required
|
360
422
|
# {
|
361
423
|
# dash_playlist_settings: {
|
@@ -371,7 +433,7 @@ module Aws::MediaTailor
|
|
371
433
|
# source_group: "__string", # required
|
372
434
|
# },
|
373
435
|
# ],
|
374
|
-
# playback_mode: "LOOP", # required, accepts LOOP
|
436
|
+
# playback_mode: "LOOP", # required, accepts LOOP, LINEAR
|
375
437
|
# tags: {
|
376
438
|
# "__string" => "__string",
|
377
439
|
# },
|
@@ -383,6 +445,8 @@ module Aws::MediaTailor
|
|
383
445
|
# resp.channel_name #=> String
|
384
446
|
# resp.channel_state #=> String, one of "RUNNING", "STOPPED"
|
385
447
|
# resp.creation_time #=> Time
|
448
|
+
# resp.filler_slate.source_location_name #=> String
|
449
|
+
# resp.filler_slate.vod_source_name #=> String
|
386
450
|
# resp.last_modified_time #=> Time
|
387
451
|
# resp.outputs #=> Array
|
388
452
|
# resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
@@ -406,6 +470,92 @@ module Aws::MediaTailor
|
|
406
470
|
req.send_request(options)
|
407
471
|
end
|
408
472
|
|
473
|
+
# Creates a new prefetch schedule for the specified playback
|
474
|
+
# configuration.
|
475
|
+
#
|
476
|
+
# @option params [required, Types::PrefetchConsumption] :consumption
|
477
|
+
# The configuration settings for MediaTailor's *consumption* of the
|
478
|
+
# prefetched ads from the ad decision server. Each consumption
|
479
|
+
# configuration contains an end time and an optional start time that
|
480
|
+
# define the *consumption window*. Prefetch schedules automatically
|
481
|
+
# expire no earlier than seven days after the end time.
|
482
|
+
#
|
483
|
+
# @option params [required, String] :name
|
484
|
+
#
|
485
|
+
# @option params [required, String] :playback_configuration_name
|
486
|
+
#
|
487
|
+
# @option params [required, Types::PrefetchRetrieval] :retrieval
|
488
|
+
# The configuration settings for retrieval of prefetched ads from the ad
|
489
|
+
# decision server. Only one set of prefetched ads will be retrieved and
|
490
|
+
# subsequently consumed for each ad break.
|
491
|
+
#
|
492
|
+
# @option params [String] :stream_id
|
493
|
+
# An optional stream identifier that MediaTailor uses to prefetch ads
|
494
|
+
# for multiple streams that use the same playback configuration. If
|
495
|
+
# StreamId is specified, MediaTailor returns all of the prefetch
|
496
|
+
# schedules with an exact match on StreamId. If not specified,
|
497
|
+
# MediaTailor returns all of the prefetch schedules for the playback
|
498
|
+
# configuration, regardless of StreamId.
|
499
|
+
#
|
500
|
+
# @return [Types::CreatePrefetchScheduleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
501
|
+
#
|
502
|
+
# * {Types::CreatePrefetchScheduleResponse#arn #arn} => String
|
503
|
+
# * {Types::CreatePrefetchScheduleResponse#consumption #consumption} => Types::PrefetchConsumption
|
504
|
+
# * {Types::CreatePrefetchScheduleResponse#name #name} => String
|
505
|
+
# * {Types::CreatePrefetchScheduleResponse#playback_configuration_name #playback_configuration_name} => String
|
506
|
+
# * {Types::CreatePrefetchScheduleResponse#retrieval #retrieval} => Types::PrefetchRetrieval
|
507
|
+
# * {Types::CreatePrefetchScheduleResponse#stream_id #stream_id} => String
|
508
|
+
#
|
509
|
+
# @example Request syntax with placeholder values
|
510
|
+
#
|
511
|
+
# resp = client.create_prefetch_schedule({
|
512
|
+
# consumption: { # required
|
513
|
+
# avail_matching_criteria: [
|
514
|
+
# {
|
515
|
+
# dynamic_variable: "__string", # required
|
516
|
+
# operator: "EQUALS", # required, accepts EQUALS
|
517
|
+
# },
|
518
|
+
# ],
|
519
|
+
# end_time: Time.now, # required
|
520
|
+
# start_time: Time.now,
|
521
|
+
# },
|
522
|
+
# name: "__string", # required
|
523
|
+
# playback_configuration_name: "__string", # required
|
524
|
+
# retrieval: { # required
|
525
|
+
# dynamic_variables: {
|
526
|
+
# "__string" => "__string",
|
527
|
+
# },
|
528
|
+
# end_time: Time.now, # required
|
529
|
+
# start_time: Time.now,
|
530
|
+
# },
|
531
|
+
# stream_id: "__string",
|
532
|
+
# })
|
533
|
+
#
|
534
|
+
# @example Response structure
|
535
|
+
#
|
536
|
+
# resp.arn #=> String
|
537
|
+
# resp.consumption.avail_matching_criteria #=> Array
|
538
|
+
# resp.consumption.avail_matching_criteria[0].dynamic_variable #=> String
|
539
|
+
# resp.consumption.avail_matching_criteria[0].operator #=> String, one of "EQUALS"
|
540
|
+
# resp.consumption.end_time #=> Time
|
541
|
+
# resp.consumption.start_time #=> Time
|
542
|
+
# resp.name #=> String
|
543
|
+
# resp.playback_configuration_name #=> String
|
544
|
+
# resp.retrieval.dynamic_variables #=> Hash
|
545
|
+
# resp.retrieval.dynamic_variables["__string"] #=> String
|
546
|
+
# resp.retrieval.end_time #=> Time
|
547
|
+
# resp.retrieval.start_time #=> Time
|
548
|
+
# resp.stream_id #=> String
|
549
|
+
#
|
550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreatePrefetchSchedule AWS API Documentation
|
551
|
+
#
|
552
|
+
# @overload create_prefetch_schedule(params = {})
|
553
|
+
# @param [Hash] params ({})
|
554
|
+
def create_prefetch_schedule(params = {}, options = {})
|
555
|
+
req = build_request(:create_prefetch_schedule, params)
|
556
|
+
req.send_request(options)
|
557
|
+
end
|
558
|
+
|
409
559
|
# Creates a program.
|
410
560
|
#
|
411
561
|
# @option params [Array<Types::AdBreak>] :ad_breaks
|
@@ -431,6 +581,7 @@ module Aws::MediaTailor
|
|
431
581
|
# * {Types::CreateProgramResponse#channel_name #channel_name} => String
|
432
582
|
# * {Types::CreateProgramResponse#creation_time #creation_time} => Time
|
433
583
|
# * {Types::CreateProgramResponse#program_name #program_name} => String
|
584
|
+
# * {Types::CreateProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
434
585
|
# * {Types::CreateProgramResponse#source_location_name #source_location_name} => String
|
435
586
|
# * {Types::CreateProgramResponse#vod_source_name #vod_source_name} => String
|
436
587
|
#
|
@@ -459,6 +610,7 @@ module Aws::MediaTailor
|
|
459
610
|
# transition: { # required
|
460
611
|
# relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
|
461
612
|
# relative_program: "__string",
|
613
|
+
# scheduled_start_time_millis: 1,
|
462
614
|
# type: "__string", # required
|
463
615
|
# },
|
464
616
|
# },
|
@@ -481,6 +633,7 @@ module Aws::MediaTailor
|
|
481
633
|
# resp.channel_name #=> String
|
482
634
|
# resp.creation_time #=> Time
|
483
635
|
# resp.program_name #=> String
|
636
|
+
# resp.scheduled_start_time #=> Time
|
484
637
|
# resp.source_location_name #=> String
|
485
638
|
# resp.vod_source_name #=> String
|
486
639
|
#
|
@@ -693,6 +846,32 @@ module Aws::MediaTailor
|
|
693
846
|
req.send_request(options)
|
694
847
|
end
|
695
848
|
|
849
|
+
# Deletes a prefetch schedule for a specific playback configuration. If
|
850
|
+
# you call DeletePrefetchSchedule on an expired prefetch schedule,
|
851
|
+
# MediaTailor returns an HTTP 404 status code.
|
852
|
+
#
|
853
|
+
# @option params [required, String] :name
|
854
|
+
#
|
855
|
+
# @option params [required, String] :playback_configuration_name
|
856
|
+
#
|
857
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
858
|
+
#
|
859
|
+
# @example Request syntax with placeholder values
|
860
|
+
#
|
861
|
+
# resp = client.delete_prefetch_schedule({
|
862
|
+
# name: "__string", # required
|
863
|
+
# playback_configuration_name: "__string", # required
|
864
|
+
# })
|
865
|
+
#
|
866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePrefetchSchedule AWS API Documentation
|
867
|
+
#
|
868
|
+
# @overload delete_prefetch_schedule(params = {})
|
869
|
+
# @param [Hash] params ({})
|
870
|
+
def delete_prefetch_schedule(params = {}, options = {})
|
871
|
+
req = build_request(:delete_prefetch_schedule, params)
|
872
|
+
req.send_request(options)
|
873
|
+
end
|
874
|
+
|
696
875
|
# Deletes a specific program on a specific channel.
|
697
876
|
#
|
698
877
|
# @option params [required, String] :channel_name
|
@@ -772,6 +951,7 @@ module Aws::MediaTailor
|
|
772
951
|
# * {Types::DescribeChannelResponse#channel_name #channel_name} => String
|
773
952
|
# * {Types::DescribeChannelResponse#channel_state #channel_state} => String
|
774
953
|
# * {Types::DescribeChannelResponse#creation_time #creation_time} => Time
|
954
|
+
# * {Types::DescribeChannelResponse#filler_slate #filler_slate} => Types::SlateSource
|
775
955
|
# * {Types::DescribeChannelResponse#last_modified_time #last_modified_time} => Time
|
776
956
|
# * {Types::DescribeChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
777
957
|
# * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
|
@@ -789,6 +969,8 @@ module Aws::MediaTailor
|
|
789
969
|
# resp.channel_name #=> String
|
790
970
|
# resp.channel_state #=> String, one of "RUNNING", "STOPPED"
|
791
971
|
# resp.creation_time #=> Time
|
972
|
+
# resp.filler_slate.source_location_name #=> String
|
973
|
+
# resp.filler_slate.vod_source_name #=> String
|
792
974
|
# resp.last_modified_time #=> Time
|
793
975
|
# resp.outputs #=> Array
|
794
976
|
# resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
@@ -825,6 +1007,7 @@ module Aws::MediaTailor
|
|
825
1007
|
# * {Types::DescribeProgramResponse#channel_name #channel_name} => String
|
826
1008
|
# * {Types::DescribeProgramResponse#creation_time #creation_time} => Time
|
827
1009
|
# * {Types::DescribeProgramResponse#program_name #program_name} => String
|
1010
|
+
# * {Types::DescribeProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
828
1011
|
# * {Types::DescribeProgramResponse#source_location_name #source_location_name} => String
|
829
1012
|
# * {Types::DescribeProgramResponse#vod_source_name #vod_source_name} => String
|
830
1013
|
#
|
@@ -850,6 +1033,7 @@ module Aws::MediaTailor
|
|
850
1033
|
# resp.channel_name #=> String
|
851
1034
|
# resp.creation_time #=> Time
|
852
1035
|
# resp.program_name #=> String
|
1036
|
+
# resp.scheduled_start_time #=> Time
|
853
1037
|
# resp.source_location_name #=> String
|
854
1038
|
# resp.vod_source_name #=> String
|
855
1039
|
#
|
@@ -1020,6 +1204,7 @@ module Aws::MediaTailor
|
|
1020
1204
|
# resp.items[0].schedule_ad_breaks[0].approximate_start_time #=> Time
|
1021
1205
|
# resp.items[0].schedule_ad_breaks[0].source_location_name #=> String
|
1022
1206
|
# resp.items[0].schedule_ad_breaks[0].vod_source_name #=> String
|
1207
|
+
# resp.items[0].schedule_entry_type #=> String, one of "PROGRAM", "FILLER_SLATE"
|
1023
1208
|
# resp.items[0].source_location_name #=> String
|
1024
1209
|
# resp.items[0].vod_source_name #=> String
|
1025
1210
|
# resp.next_token #=> String
|
@@ -1047,6 +1232,7 @@ module Aws::MediaTailor
|
|
1047
1232
|
# * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
1048
1233
|
# * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
1049
1234
|
# * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
|
1235
|
+
# * {Types::GetPlaybackConfigurationResponse#log_configuration #log_configuration} => Types::LogConfiguration
|
1050
1236
|
# * {Types::GetPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
|
1051
1237
|
# * {Types::GetPlaybackConfigurationResponse#name #name} => String
|
1052
1238
|
# * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
@@ -1082,6 +1268,7 @@ module Aws::MediaTailor
|
|
1082
1268
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
1083
1269
|
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
|
1084
1270
|
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1271
|
+
# resp.log_configuration.percent_enabled #=> Integer
|
1085
1272
|
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1086
1273
|
# resp.name #=> String
|
1087
1274
|
# resp.personalization_threshold_seconds #=> Integer
|
@@ -1103,6 +1290,55 @@ module Aws::MediaTailor
|
|
1103
1290
|
req.send_request(options)
|
1104
1291
|
end
|
1105
1292
|
|
1293
|
+
# Returns information about the prefetch schedule for a specific
|
1294
|
+
# playback configuration. If you call GetPrefetchSchedule on an expired
|
1295
|
+
# prefetch schedule, MediaTailor returns an HTTP 404 status code.
|
1296
|
+
#
|
1297
|
+
# @option params [required, String] :name
|
1298
|
+
#
|
1299
|
+
# @option params [required, String] :playback_configuration_name
|
1300
|
+
#
|
1301
|
+
# @return [Types::GetPrefetchScheduleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1302
|
+
#
|
1303
|
+
# * {Types::GetPrefetchScheduleResponse#arn #arn} => String
|
1304
|
+
# * {Types::GetPrefetchScheduleResponse#consumption #consumption} => Types::PrefetchConsumption
|
1305
|
+
# * {Types::GetPrefetchScheduleResponse#name #name} => String
|
1306
|
+
# * {Types::GetPrefetchScheduleResponse#playback_configuration_name #playback_configuration_name} => String
|
1307
|
+
# * {Types::GetPrefetchScheduleResponse#retrieval #retrieval} => Types::PrefetchRetrieval
|
1308
|
+
# * {Types::GetPrefetchScheduleResponse#stream_id #stream_id} => String
|
1309
|
+
#
|
1310
|
+
# @example Request syntax with placeholder values
|
1311
|
+
#
|
1312
|
+
# resp = client.get_prefetch_schedule({
|
1313
|
+
# name: "__string", # required
|
1314
|
+
# playback_configuration_name: "__string", # required
|
1315
|
+
# })
|
1316
|
+
#
|
1317
|
+
# @example Response structure
|
1318
|
+
#
|
1319
|
+
# resp.arn #=> String
|
1320
|
+
# resp.consumption.avail_matching_criteria #=> Array
|
1321
|
+
# resp.consumption.avail_matching_criteria[0].dynamic_variable #=> String
|
1322
|
+
# resp.consumption.avail_matching_criteria[0].operator #=> String, one of "EQUALS"
|
1323
|
+
# resp.consumption.end_time #=> Time
|
1324
|
+
# resp.consumption.start_time #=> Time
|
1325
|
+
# resp.name #=> String
|
1326
|
+
# resp.playback_configuration_name #=> String
|
1327
|
+
# resp.retrieval.dynamic_variables #=> Hash
|
1328
|
+
# resp.retrieval.dynamic_variables["__string"] #=> String
|
1329
|
+
# resp.retrieval.end_time #=> Time
|
1330
|
+
# resp.retrieval.start_time #=> Time
|
1331
|
+
# resp.stream_id #=> String
|
1332
|
+
#
|
1333
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPrefetchSchedule AWS API Documentation
|
1334
|
+
#
|
1335
|
+
# @overload get_prefetch_schedule(params = {})
|
1336
|
+
# @param [Hash] params ({})
|
1337
|
+
def get_prefetch_schedule(params = {}, options = {})
|
1338
|
+
req = build_request(:get_prefetch_schedule, params)
|
1339
|
+
req.send_request(options)
|
1340
|
+
end
|
1341
|
+
|
1106
1342
|
# Returns a list of alerts for the given resource.
|
1107
1343
|
#
|
1108
1344
|
# @option params [Integer] :max_results
|
@@ -1173,6 +1409,8 @@ module Aws::MediaTailor
|
|
1173
1409
|
# resp.items[0].channel_name #=> String
|
1174
1410
|
# resp.items[0].channel_state #=> String
|
1175
1411
|
# resp.items[0].creation_time #=> Time
|
1412
|
+
# resp.items[0].filler_slate.source_location_name #=> String
|
1413
|
+
# resp.items[0].filler_slate.vod_source_name #=> String
|
1176
1414
|
# resp.items[0].last_modified_time #=> Time
|
1177
1415
|
# resp.items[0].outputs #=> Array
|
1178
1416
|
# resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
@@ -1241,6 +1479,7 @@ module Aws::MediaTailor
|
|
1241
1479
|
# resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
|
1242
1480
|
# resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
|
1243
1481
|
# resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1482
|
+
# resp.items[0].log_configuration.percent_enabled #=> Integer
|
1244
1483
|
# resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1245
1484
|
# resp.items[0].name #=> String
|
1246
1485
|
# resp.items[0].personalization_threshold_seconds #=> Integer
|
@@ -1263,6 +1502,77 @@ module Aws::MediaTailor
|
|
1263
1502
|
req.send_request(options)
|
1264
1503
|
end
|
1265
1504
|
|
1505
|
+
# Creates a new prefetch schedule.
|
1506
|
+
#
|
1507
|
+
# @option params [Integer] :max_results
|
1508
|
+
# The maximum number of prefetch schedules that you want MediaTailor to
|
1509
|
+
# return in response to the current request. If the playback
|
1510
|
+
# configuration has more than MaxResults prefetch schedules, use the
|
1511
|
+
# value of NextToken in the response to get the next page of results.
|
1512
|
+
#
|
1513
|
+
# @option params [String] :next_token
|
1514
|
+
# (Optional) If the playback configuration has more than MaxResults
|
1515
|
+
# prefetch schedules, use NextToken to get the second and subsequent
|
1516
|
+
# pages of results.
|
1517
|
+
#
|
1518
|
+
# For the first ListPrefetchSchedulesRequest request, omit this value.
|
1519
|
+
#
|
1520
|
+
# For the second and subsequent requests, get the value of NextToken
|
1521
|
+
# from the previous response and specify that value for NextToken in the
|
1522
|
+
# request.
|
1523
|
+
#
|
1524
|
+
# If the previous response didn't include a NextToken element, there
|
1525
|
+
# are no more prefetch schedules to get.
|
1526
|
+
#
|
1527
|
+
# @option params [required, String] :playback_configuration_name
|
1528
|
+
#
|
1529
|
+
# @option params [String] :stream_id
|
1530
|
+
# An optional filtering parameter whereby MediaTailor filters the
|
1531
|
+
# prefetch schedules to include only specific streams.
|
1532
|
+
#
|
1533
|
+
# @return [Types::ListPrefetchSchedulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1534
|
+
#
|
1535
|
+
# * {Types::ListPrefetchSchedulesResponse#items #items} => Array<Types::PrefetchSchedule>
|
1536
|
+
# * {Types::ListPrefetchSchedulesResponse#next_token #next_token} => String
|
1537
|
+
#
|
1538
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1539
|
+
#
|
1540
|
+
# @example Request syntax with placeholder values
|
1541
|
+
#
|
1542
|
+
# resp = client.list_prefetch_schedules({
|
1543
|
+
# max_results: 1,
|
1544
|
+
# next_token: "__string",
|
1545
|
+
# playback_configuration_name: "__string", # required
|
1546
|
+
# stream_id: "__string",
|
1547
|
+
# })
|
1548
|
+
#
|
1549
|
+
# @example Response structure
|
1550
|
+
#
|
1551
|
+
# resp.items #=> Array
|
1552
|
+
# resp.items[0].arn #=> String
|
1553
|
+
# resp.items[0].consumption.avail_matching_criteria #=> Array
|
1554
|
+
# resp.items[0].consumption.avail_matching_criteria[0].dynamic_variable #=> String
|
1555
|
+
# resp.items[0].consumption.avail_matching_criteria[0].operator #=> String, one of "EQUALS"
|
1556
|
+
# resp.items[0].consumption.end_time #=> Time
|
1557
|
+
# resp.items[0].consumption.start_time #=> Time
|
1558
|
+
# resp.items[0].name #=> String
|
1559
|
+
# resp.items[0].playback_configuration_name #=> String
|
1560
|
+
# resp.items[0].retrieval.dynamic_variables #=> Hash
|
1561
|
+
# resp.items[0].retrieval.dynamic_variables["__string"] #=> String
|
1562
|
+
# resp.items[0].retrieval.end_time #=> Time
|
1563
|
+
# resp.items[0].retrieval.start_time #=> Time
|
1564
|
+
# resp.items[0].stream_id #=> String
|
1565
|
+
# resp.next_token #=> String
|
1566
|
+
#
|
1567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPrefetchSchedules AWS API Documentation
|
1568
|
+
#
|
1569
|
+
# @overload list_prefetch_schedules(params = {})
|
1570
|
+
# @param [Hash] params ({})
|
1571
|
+
def list_prefetch_schedules(params = {}, options = {})
|
1572
|
+
req = build_request(:list_prefetch_schedules, params)
|
1573
|
+
req.send_request(options)
|
1574
|
+
end
|
1575
|
+
|
1266
1576
|
# Retrieves a list of source locations.
|
1267
1577
|
#
|
1268
1578
|
# @option params [Integer] :max_results
|
@@ -1511,6 +1821,7 @@ module Aws::MediaTailor
|
|
1511
1821
|
# * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
1512
1822
|
# * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
1513
1823
|
# * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
|
1824
|
+
# * {Types::PutPlaybackConfigurationResponse#log_configuration #log_configuration} => Types::LogConfiguration
|
1514
1825
|
# * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
|
1515
1826
|
# * {Types::PutPlaybackConfigurationResponse#name #name} => String
|
1516
1827
|
# * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
@@ -1584,6 +1895,7 @@ module Aws::MediaTailor
|
|
1584
1895
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
1585
1896
|
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
|
1586
1897
|
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1898
|
+
# resp.log_configuration.percent_enabled #=> Integer
|
1587
1899
|
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1588
1900
|
# resp.name #=> String
|
1589
1901
|
# resp.personalization_threshold_seconds #=> Integer
|
@@ -1712,6 +2024,7 @@ module Aws::MediaTailor
|
|
1712
2024
|
# * {Types::UpdateChannelResponse#channel_name #channel_name} => String
|
1713
2025
|
# * {Types::UpdateChannelResponse#channel_state #channel_state} => String
|
1714
2026
|
# * {Types::UpdateChannelResponse#creation_time #creation_time} => Time
|
2027
|
+
# * {Types::UpdateChannelResponse#filler_slate #filler_slate} => Types::SlateSource
|
1715
2028
|
# * {Types::UpdateChannelResponse#last_modified_time #last_modified_time} => Time
|
1716
2029
|
# * {Types::UpdateChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
1717
2030
|
# * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
|
@@ -1744,6 +2057,8 @@ module Aws::MediaTailor
|
|
1744
2057
|
# resp.channel_name #=> String
|
1745
2058
|
# resp.channel_state #=> String, one of "RUNNING", "STOPPED"
|
1746
2059
|
# resp.creation_time #=> Time
|
2060
|
+
# resp.filler_slate.source_location_name #=> String
|
2061
|
+
# resp.filler_slate.vod_source_name #=> String
|
1747
2062
|
# resp.last_modified_time #=> Time
|
1748
2063
|
# resp.outputs #=> Array
|
1749
2064
|
# resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
@@ -1906,7 +2221,7 @@ module Aws::MediaTailor
|
|
1906
2221
|
params: params,
|
1907
2222
|
config: config)
|
1908
2223
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
1909
|
-
context[:gem_version] = '1.
|
2224
|
+
context[:gem_version] = '1.47.0'
|
1910
2225
|
Seahorse::Client::Request.new(handlers, context)
|
1911
2226
|
end
|
1912
2227
|
|