aws-sdk-mediatailor 1.54.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +268 -7
- data/lib/aws-sdk-mediatailor/client_api.rb +139 -2
- data/lib/aws-sdk-mediatailor/types.rb +423 -22
- data/lib/aws-sdk-mediatailor.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f56c5614cf751813e7621aa9ce31219c635b8abe0d33c439610ee8bba602654
|
4
|
+
data.tar.gz: 447960706e0fa9ee83fe124ffd3f1b438112fa03e170ada7f8fd87b518099c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d3a33193c7ae57870c248f46f9c87287e48840a2c09cda471b8d6ed84fa35b8513efd9331d705fc473e04040c1f0ca45d0fff925c9ddb7e97a4140dd9225beb
|
7
|
+
data.tar.gz: 609c7bde9677009d1448995a0be3080b239de7c3b579ee3098009d9d15ec705df913199ab08c42d0293ea128f87000262ae5e62bfab5f0de3eda54cc63c223f1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.0 (2022-04-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces tiered channels and adds support for live sources. Customers using a STANDARD channel can now create programs using live sources.
|
8
|
+
|
4
9
|
1.54.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
@@ -424,6 +424,9 @@ module Aws::MediaTailor
|
|
424
424
|
# @option params [Hash<String,String>] :tags
|
425
425
|
# The tags to assign to the channel.
|
426
426
|
#
|
427
|
+
# @option params [String] :tier
|
428
|
+
# The tier of the channel.
|
429
|
+
#
|
427
430
|
# @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
428
431
|
#
|
429
432
|
# * {Types::CreateChannelResponse#arn #arn} => String
|
@@ -435,6 +438,7 @@ module Aws::MediaTailor
|
|
435
438
|
# * {Types::CreateChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
436
439
|
# * {Types::CreateChannelResponse#playback_mode #playback_mode} => String
|
437
440
|
# * {Types::CreateChannelResponse#tags #tags} => Hash<String,String>
|
441
|
+
# * {Types::CreateChannelResponse#tier #tier} => String
|
438
442
|
#
|
439
443
|
# @example Request syntax with placeholder values
|
440
444
|
#
|
@@ -463,6 +467,7 @@ module Aws::MediaTailor
|
|
463
467
|
# tags: {
|
464
468
|
# "__string" => "__string",
|
465
469
|
# },
|
470
|
+
# tier: "BASIC", # accepts BASIC, STANDARD
|
466
471
|
# })
|
467
472
|
#
|
468
473
|
# @example Response structure
|
@@ -486,6 +491,7 @@ module Aws::MediaTailor
|
|
486
491
|
# resp.playback_mode #=> String
|
487
492
|
# resp.tags #=> Hash
|
488
493
|
# resp.tags["__string"] #=> String
|
494
|
+
# resp.tier #=> String
|
489
495
|
#
|
490
496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel AWS API Documentation
|
491
497
|
#
|
@@ -496,6 +502,68 @@ module Aws::MediaTailor
|
|
496
502
|
req.send_request(options)
|
497
503
|
end
|
498
504
|
|
505
|
+
# Creates name for a specific live source in a source location.
|
506
|
+
#
|
507
|
+
# @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
|
508
|
+
# A list of HTTP package configuration parameters for this live source.
|
509
|
+
#
|
510
|
+
# @option params [required, String] :live_source_name
|
511
|
+
#
|
512
|
+
# @option params [required, String] :source_location_name
|
513
|
+
#
|
514
|
+
# @option params [Hash<String,String>] :tags
|
515
|
+
# The tags to assign to the live source.
|
516
|
+
#
|
517
|
+
# @return [Types::CreateLiveSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
518
|
+
#
|
519
|
+
# * {Types::CreateLiveSourceResponse#arn #arn} => String
|
520
|
+
# * {Types::CreateLiveSourceResponse#creation_time #creation_time} => Time
|
521
|
+
# * {Types::CreateLiveSourceResponse#http_package_configurations #http_package_configurations} => Array<Types::HttpPackageConfiguration>
|
522
|
+
# * {Types::CreateLiveSourceResponse#last_modified_time #last_modified_time} => Time
|
523
|
+
# * {Types::CreateLiveSourceResponse#live_source_name #live_source_name} => String
|
524
|
+
# * {Types::CreateLiveSourceResponse#source_location_name #source_location_name} => String
|
525
|
+
# * {Types::CreateLiveSourceResponse#tags #tags} => Hash<String,String>
|
526
|
+
#
|
527
|
+
# @example Request syntax with placeholder values
|
528
|
+
#
|
529
|
+
# resp = client.create_live_source({
|
530
|
+
# http_package_configurations: [ # required
|
531
|
+
# {
|
532
|
+
# path: "__string", # required
|
533
|
+
# source_group: "__string", # required
|
534
|
+
# type: "DASH", # required, accepts DASH, HLS
|
535
|
+
# },
|
536
|
+
# ],
|
537
|
+
# live_source_name: "__string", # required
|
538
|
+
# source_location_name: "__string", # required
|
539
|
+
# tags: {
|
540
|
+
# "__string" => "__string",
|
541
|
+
# },
|
542
|
+
# })
|
543
|
+
#
|
544
|
+
# @example Response structure
|
545
|
+
#
|
546
|
+
# resp.arn #=> String
|
547
|
+
# resp.creation_time #=> Time
|
548
|
+
# resp.http_package_configurations #=> Array
|
549
|
+
# resp.http_package_configurations[0].path #=> String
|
550
|
+
# resp.http_package_configurations[0].source_group #=> String
|
551
|
+
# resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
|
552
|
+
# resp.last_modified_time #=> Time
|
553
|
+
# resp.live_source_name #=> String
|
554
|
+
# resp.source_location_name #=> String
|
555
|
+
# resp.tags #=> Hash
|
556
|
+
# resp.tags["__string"] #=> String
|
557
|
+
#
|
558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateLiveSource AWS API Documentation
|
559
|
+
#
|
560
|
+
# @overload create_live_source(params = {})
|
561
|
+
# @param [Hash] params ({})
|
562
|
+
def create_live_source(params = {}, options = {})
|
563
|
+
req = build_request(:create_live_source, params)
|
564
|
+
req.send_request(options)
|
565
|
+
end
|
566
|
+
|
499
567
|
# Creates a new prefetch schedule for the specified playback
|
500
568
|
# configuration.
|
501
569
|
#
|
@@ -589,6 +657,9 @@ module Aws::MediaTailor
|
|
589
657
|
#
|
590
658
|
# @option params [required, String] :channel_name
|
591
659
|
#
|
660
|
+
# @option params [String] :live_source_name
|
661
|
+
# The name of the LiveSource for this Program.
|
662
|
+
#
|
592
663
|
# @option params [required, String] :program_name
|
593
664
|
#
|
594
665
|
# @option params [required, Types::ScheduleConfiguration] :schedule_configuration
|
@@ -597,7 +668,7 @@ module Aws::MediaTailor
|
|
597
668
|
# @option params [required, String] :source_location_name
|
598
669
|
# The name of the source location.
|
599
670
|
#
|
600
|
-
# @option params [
|
671
|
+
# @option params [String] :vod_source_name
|
601
672
|
# The name that's used to refer to a VOD source.
|
602
673
|
#
|
603
674
|
# @return [Types::CreateProgramResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -606,6 +677,7 @@ module Aws::MediaTailor
|
|
606
677
|
# * {Types::CreateProgramResponse#arn #arn} => String
|
607
678
|
# * {Types::CreateProgramResponse#channel_name #channel_name} => String
|
608
679
|
# * {Types::CreateProgramResponse#creation_time #creation_time} => Time
|
680
|
+
# * {Types::CreateProgramResponse#live_source_name #live_source_name} => String
|
609
681
|
# * {Types::CreateProgramResponse#program_name #program_name} => String
|
610
682
|
# * {Types::CreateProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
611
683
|
# * {Types::CreateProgramResponse#source_location_name #source_location_name} => String
|
@@ -631,9 +703,11 @@ module Aws::MediaTailor
|
|
631
703
|
# },
|
632
704
|
# ],
|
633
705
|
# channel_name: "__string", # required
|
706
|
+
# live_source_name: "__string",
|
634
707
|
# program_name: "__string", # required
|
635
708
|
# schedule_configuration: { # required
|
636
709
|
# transition: { # required
|
710
|
+
# duration_millis: 1,
|
637
711
|
# relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
|
638
712
|
# relative_program: "__string",
|
639
713
|
# scheduled_start_time_millis: 1,
|
@@ -641,7 +715,7 @@ module Aws::MediaTailor
|
|
641
715
|
# },
|
642
716
|
# },
|
643
717
|
# source_location_name: "__string", # required
|
644
|
-
# vod_source_name: "__string",
|
718
|
+
# vod_source_name: "__string",
|
645
719
|
# })
|
646
720
|
#
|
647
721
|
# @example Response structure
|
@@ -658,6 +732,7 @@ module Aws::MediaTailor
|
|
658
732
|
# resp.arn #=> String
|
659
733
|
# resp.channel_name #=> String
|
660
734
|
# resp.creation_time #=> Time
|
735
|
+
# resp.live_source_name #=> String
|
661
736
|
# resp.program_name #=> String
|
662
737
|
# resp.scheduled_start_time #=> Time
|
663
738
|
# resp.source_location_name #=> String
|
@@ -685,7 +760,8 @@ module Aws::MediaTailor
|
|
685
760
|
# The source's HTTP package configurations.
|
686
761
|
#
|
687
762
|
# @option params [Array<Types::SegmentDeliveryConfiguration>] :segment_delivery_configurations
|
688
|
-
#
|
763
|
+
# A list of the segment delivery configurations associated with this
|
764
|
+
# resource.
|
689
765
|
#
|
690
766
|
# @option params [required, String] :source_location_name
|
691
767
|
#
|
@@ -763,7 +839,7 @@ module Aws::MediaTailor
|
|
763
839
|
# Creates name for a specific VOD source in a source location.
|
764
840
|
#
|
765
841
|
# @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
|
766
|
-
#
|
842
|
+
# A list of HTTP package configuration parameters for this VOD source.
|
767
843
|
#
|
768
844
|
# @option params [required, String] :source_location_name
|
769
845
|
#
|
@@ -864,6 +940,30 @@ module Aws::MediaTailor
|
|
864
940
|
req.send_request(options)
|
865
941
|
end
|
866
942
|
|
943
|
+
# Deletes a specific live source in a specific source location.
|
944
|
+
#
|
945
|
+
# @option params [required, String] :live_source_name
|
946
|
+
#
|
947
|
+
# @option params [required, String] :source_location_name
|
948
|
+
#
|
949
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
950
|
+
#
|
951
|
+
# @example Request syntax with placeholder values
|
952
|
+
#
|
953
|
+
# resp = client.delete_live_source({
|
954
|
+
# live_source_name: "__string", # required
|
955
|
+
# source_location_name: "__string", # required
|
956
|
+
# })
|
957
|
+
#
|
958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteLiveSource AWS API Documentation
|
959
|
+
#
|
960
|
+
# @overload delete_live_source(params = {})
|
961
|
+
# @param [Hash] params ({})
|
962
|
+
def delete_live_source(params = {}, options = {})
|
963
|
+
req = build_request(:delete_live_source, params)
|
964
|
+
req.send_request(options)
|
965
|
+
end
|
966
|
+
|
867
967
|
# Deletes the playback configuration for the specified name.
|
868
968
|
#
|
869
969
|
# @option params [required, String] :name
|
@@ -995,6 +1095,7 @@ module Aws::MediaTailor
|
|
995
1095
|
# * {Types::DescribeChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
996
1096
|
# * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
|
997
1097
|
# * {Types::DescribeChannelResponse#tags #tags} => Hash<String,String>
|
1098
|
+
# * {Types::DescribeChannelResponse#tier #tier} => String
|
998
1099
|
#
|
999
1100
|
# @example Request syntax with placeholder values
|
1000
1101
|
#
|
@@ -1023,6 +1124,7 @@ module Aws::MediaTailor
|
|
1023
1124
|
# resp.playback_mode #=> String
|
1024
1125
|
# resp.tags #=> Hash
|
1025
1126
|
# resp.tags["__string"] #=> String
|
1127
|
+
# resp.tier #=> String
|
1026
1128
|
#
|
1027
1129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel AWS API Documentation
|
1028
1130
|
#
|
@@ -1033,6 +1135,53 @@ module Aws::MediaTailor
|
|
1033
1135
|
req.send_request(options)
|
1034
1136
|
end
|
1035
1137
|
|
1138
|
+
# Provides details about a specific live source in a specific source
|
1139
|
+
# location.
|
1140
|
+
#
|
1141
|
+
# @option params [required, String] :live_source_name
|
1142
|
+
#
|
1143
|
+
# @option params [required, String] :source_location_name
|
1144
|
+
#
|
1145
|
+
# @return [Types::DescribeLiveSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1146
|
+
#
|
1147
|
+
# * {Types::DescribeLiveSourceResponse#arn #arn} => String
|
1148
|
+
# * {Types::DescribeLiveSourceResponse#creation_time #creation_time} => Time
|
1149
|
+
# * {Types::DescribeLiveSourceResponse#http_package_configurations #http_package_configurations} => Array<Types::HttpPackageConfiguration>
|
1150
|
+
# * {Types::DescribeLiveSourceResponse#last_modified_time #last_modified_time} => Time
|
1151
|
+
# * {Types::DescribeLiveSourceResponse#live_source_name #live_source_name} => String
|
1152
|
+
# * {Types::DescribeLiveSourceResponse#source_location_name #source_location_name} => String
|
1153
|
+
# * {Types::DescribeLiveSourceResponse#tags #tags} => Hash<String,String>
|
1154
|
+
#
|
1155
|
+
# @example Request syntax with placeholder values
|
1156
|
+
#
|
1157
|
+
# resp = client.describe_live_source({
|
1158
|
+
# live_source_name: "__string", # required
|
1159
|
+
# source_location_name: "__string", # required
|
1160
|
+
# })
|
1161
|
+
#
|
1162
|
+
# @example Response structure
|
1163
|
+
#
|
1164
|
+
# resp.arn #=> String
|
1165
|
+
# resp.creation_time #=> Time
|
1166
|
+
# resp.http_package_configurations #=> Array
|
1167
|
+
# resp.http_package_configurations[0].path #=> String
|
1168
|
+
# resp.http_package_configurations[0].source_group #=> String
|
1169
|
+
# resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
|
1170
|
+
# resp.last_modified_time #=> Time
|
1171
|
+
# resp.live_source_name #=> String
|
1172
|
+
# resp.source_location_name #=> String
|
1173
|
+
# resp.tags #=> Hash
|
1174
|
+
# resp.tags["__string"] #=> String
|
1175
|
+
#
|
1176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeLiveSource AWS API Documentation
|
1177
|
+
#
|
1178
|
+
# @overload describe_live_source(params = {})
|
1179
|
+
# @param [Hash] params ({})
|
1180
|
+
def describe_live_source(params = {}, options = {})
|
1181
|
+
req = build_request(:describe_live_source, params)
|
1182
|
+
req.send_request(options)
|
1183
|
+
end
|
1184
|
+
|
1036
1185
|
# Retrieves the properties of the requested program.
|
1037
1186
|
#
|
1038
1187
|
# @option params [required, String] :channel_name
|
@@ -1045,6 +1194,7 @@ module Aws::MediaTailor
|
|
1045
1194
|
# * {Types::DescribeProgramResponse#arn #arn} => String
|
1046
1195
|
# * {Types::DescribeProgramResponse#channel_name #channel_name} => String
|
1047
1196
|
# * {Types::DescribeProgramResponse#creation_time #creation_time} => Time
|
1197
|
+
# * {Types::DescribeProgramResponse#live_source_name #live_source_name} => String
|
1048
1198
|
# * {Types::DescribeProgramResponse#program_name #program_name} => String
|
1049
1199
|
# * {Types::DescribeProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
1050
1200
|
# * {Types::DescribeProgramResponse#source_location_name #source_location_name} => String
|
@@ -1071,6 +1221,7 @@ module Aws::MediaTailor
|
|
1071
1221
|
# resp.arn #=> String
|
1072
1222
|
# resp.channel_name #=> String
|
1073
1223
|
# resp.creation_time #=> Time
|
1224
|
+
# resp.live_source_name #=> String
|
1074
1225
|
# resp.program_name #=> String
|
1075
1226
|
# resp.scheduled_start_time #=> Time
|
1076
1227
|
# resp.source_location_name #=> String
|
@@ -1241,6 +1392,7 @@ module Aws::MediaTailor
|
|
1241
1392
|
# resp.items[0].approximate_start_time #=> Time
|
1242
1393
|
# resp.items[0].arn #=> String
|
1243
1394
|
# resp.items[0].channel_name #=> String
|
1395
|
+
# resp.items[0].live_source_name #=> String
|
1244
1396
|
# resp.items[0].program_name #=> String
|
1245
1397
|
# resp.items[0].schedule_ad_breaks #=> Array
|
1246
1398
|
# resp.items[0].schedule_ad_breaks[0].approximate_duration_seconds #=> Integer
|
@@ -1467,6 +1619,7 @@ module Aws::MediaTailor
|
|
1467
1619
|
# resp.items[0].playback_mode #=> String
|
1468
1620
|
# resp.items[0].tags #=> Hash
|
1469
1621
|
# resp.items[0].tags["__string"] #=> String
|
1622
|
+
# resp.items[0].tier #=> String
|
1470
1623
|
# resp.next_token #=> String
|
1471
1624
|
#
|
1472
1625
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels AWS API Documentation
|
@@ -1478,6 +1631,54 @@ module Aws::MediaTailor
|
|
1478
1631
|
req.send_request(options)
|
1479
1632
|
end
|
1480
1633
|
|
1634
|
+
# lists all the live sources in a source location.
|
1635
|
+
#
|
1636
|
+
# @option params [Integer] :max_results
|
1637
|
+
#
|
1638
|
+
# @option params [String] :next_token
|
1639
|
+
#
|
1640
|
+
# @option params [required, String] :source_location_name
|
1641
|
+
#
|
1642
|
+
# @return [Types::ListLiveSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1643
|
+
#
|
1644
|
+
# * {Types::ListLiveSourcesResponse#items #items} => Array<Types::LiveSource>
|
1645
|
+
# * {Types::ListLiveSourcesResponse#next_token #next_token} => String
|
1646
|
+
#
|
1647
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1648
|
+
#
|
1649
|
+
# @example Request syntax with placeholder values
|
1650
|
+
#
|
1651
|
+
# resp = client.list_live_sources({
|
1652
|
+
# max_results: 1,
|
1653
|
+
# next_token: "__string",
|
1654
|
+
# source_location_name: "__string", # required
|
1655
|
+
# })
|
1656
|
+
#
|
1657
|
+
# @example Response structure
|
1658
|
+
#
|
1659
|
+
# resp.items #=> Array
|
1660
|
+
# resp.items[0].arn #=> String
|
1661
|
+
# resp.items[0].creation_time #=> Time
|
1662
|
+
# resp.items[0].http_package_configurations #=> Array
|
1663
|
+
# resp.items[0].http_package_configurations[0].path #=> String
|
1664
|
+
# resp.items[0].http_package_configurations[0].source_group #=> String
|
1665
|
+
# resp.items[0].http_package_configurations[0].type #=> String, one of "DASH", "HLS"
|
1666
|
+
# resp.items[0].last_modified_time #=> Time
|
1667
|
+
# resp.items[0].live_source_name #=> String
|
1668
|
+
# resp.items[0].source_location_name #=> String
|
1669
|
+
# resp.items[0].tags #=> Hash
|
1670
|
+
# resp.items[0].tags["__string"] #=> String
|
1671
|
+
# resp.next_token #=> String
|
1672
|
+
#
|
1673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListLiveSources AWS API Documentation
|
1674
|
+
#
|
1675
|
+
# @overload list_live_sources(params = {})
|
1676
|
+
# @param [Hash] params ({})
|
1677
|
+
def list_live_sources(params = {}, options = {})
|
1678
|
+
req = build_request(:list_live_sources, params)
|
1679
|
+
req.send_request(options)
|
1680
|
+
end
|
1681
|
+
|
1481
1682
|
# Returns a list of the playback configurations defined in AWS Elemental
|
1482
1683
|
# MediaTailor. You can specify a maximum number of configurations to
|
1483
1684
|
# return at a time. The default maximum is 50. Results are returned in
|
@@ -2081,6 +2282,7 @@ module Aws::MediaTailor
|
|
2081
2282
|
# * {Types::UpdateChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
2082
2283
|
# * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
|
2083
2284
|
# * {Types::UpdateChannelResponse#tags #tags} => Hash<String,String>
|
2285
|
+
# * {Types::UpdateChannelResponse#tier #tier} => String
|
2084
2286
|
#
|
2085
2287
|
# @example Request syntax with placeholder values
|
2086
2288
|
#
|
@@ -2128,6 +2330,7 @@ module Aws::MediaTailor
|
|
2128
2330
|
# resp.playback_mode #=> String
|
2129
2331
|
# resp.tags #=> Hash
|
2130
2332
|
# resp.tags["__string"] #=> String
|
2333
|
+
# resp.tier #=> String
|
2131
2334
|
#
|
2132
2335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel AWS API Documentation
|
2133
2336
|
#
|
@@ -2138,6 +2341,63 @@ module Aws::MediaTailor
|
|
2138
2341
|
req.send_request(options)
|
2139
2342
|
end
|
2140
2343
|
|
2344
|
+
# Updates a specific live source in a specific source location.
|
2345
|
+
#
|
2346
|
+
# @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
|
2347
|
+
# A list of HTTP package configurations for the live source on this
|
2348
|
+
# account.
|
2349
|
+
#
|
2350
|
+
# @option params [required, String] :live_source_name
|
2351
|
+
#
|
2352
|
+
# @option params [required, String] :source_location_name
|
2353
|
+
#
|
2354
|
+
# @return [Types::UpdateLiveSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2355
|
+
#
|
2356
|
+
# * {Types::UpdateLiveSourceResponse#arn #arn} => String
|
2357
|
+
# * {Types::UpdateLiveSourceResponse#creation_time #creation_time} => Time
|
2358
|
+
# * {Types::UpdateLiveSourceResponse#http_package_configurations #http_package_configurations} => Array<Types::HttpPackageConfiguration>
|
2359
|
+
# * {Types::UpdateLiveSourceResponse#last_modified_time #last_modified_time} => Time
|
2360
|
+
# * {Types::UpdateLiveSourceResponse#live_source_name #live_source_name} => String
|
2361
|
+
# * {Types::UpdateLiveSourceResponse#source_location_name #source_location_name} => String
|
2362
|
+
# * {Types::UpdateLiveSourceResponse#tags #tags} => Hash<String,String>
|
2363
|
+
#
|
2364
|
+
# @example Request syntax with placeholder values
|
2365
|
+
#
|
2366
|
+
# resp = client.update_live_source({
|
2367
|
+
# http_package_configurations: [ # required
|
2368
|
+
# {
|
2369
|
+
# path: "__string", # required
|
2370
|
+
# source_group: "__string", # required
|
2371
|
+
# type: "DASH", # required, accepts DASH, HLS
|
2372
|
+
# },
|
2373
|
+
# ],
|
2374
|
+
# live_source_name: "__string", # required
|
2375
|
+
# source_location_name: "__string", # required
|
2376
|
+
# })
|
2377
|
+
#
|
2378
|
+
# @example Response structure
|
2379
|
+
#
|
2380
|
+
# resp.arn #=> String
|
2381
|
+
# resp.creation_time #=> Time
|
2382
|
+
# resp.http_package_configurations #=> Array
|
2383
|
+
# resp.http_package_configurations[0].path #=> String
|
2384
|
+
# resp.http_package_configurations[0].source_group #=> String
|
2385
|
+
# resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
|
2386
|
+
# resp.last_modified_time #=> Time
|
2387
|
+
# resp.live_source_name #=> String
|
2388
|
+
# resp.source_location_name #=> String
|
2389
|
+
# resp.tags #=> Hash
|
2390
|
+
# resp.tags["__string"] #=> String
|
2391
|
+
#
|
2392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateLiveSource AWS API Documentation
|
2393
|
+
#
|
2394
|
+
# @overload update_live_source(params = {})
|
2395
|
+
# @param [Hash] params ({})
|
2396
|
+
def update_live_source(params = {}, options = {})
|
2397
|
+
req = build_request(:update_live_source, params)
|
2398
|
+
req.send_request(options)
|
2399
|
+
end
|
2400
|
+
|
2141
2401
|
# Updates a source location on a specific channel.
|
2142
2402
|
#
|
2143
2403
|
# @option params [Types::AccessConfiguration] :access_configuration
|
@@ -2151,7 +2411,8 @@ module Aws::MediaTailor
|
|
2151
2411
|
# The HTTP configuration for the source location.
|
2152
2412
|
#
|
2153
2413
|
# @option params [Array<Types::SegmentDeliveryConfiguration>] :segment_delivery_configurations
|
2154
|
-
#
|
2414
|
+
# A list of the segment delivery configurations associated with this
|
2415
|
+
# resource.
|
2155
2416
|
#
|
2156
2417
|
# @option params [required, String] :source_location_name
|
2157
2418
|
#
|
@@ -2223,7 +2484,7 @@ module Aws::MediaTailor
|
|
2223
2484
|
# Updates a specific VOD source in a specific source location.
|
2224
2485
|
#
|
2225
2486
|
# @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
|
2226
|
-
#
|
2487
|
+
# A list of HTTP package configurations for the VOD source on this
|
2227
2488
|
# account.
|
2228
2489
|
#
|
2229
2490
|
# @option params [required, String] :source_location_name
|
@@ -2290,7 +2551,7 @@ module Aws::MediaTailor
|
|
2290
2551
|
params: params,
|
2291
2552
|
config: config)
|
2292
2553
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
2293
|
-
context[:gem_version] = '1.
|
2554
|
+
context[:gem_version] = '1.55.0'
|
2294
2555
|
Seahorse::Client::Request.new(handlers, context)
|
2295
2556
|
end
|
2296
2557
|
|