aws-sdk-mediatailor 1.59.0 → 1.60.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 +126 -1
- data/lib/aws-sdk-mediatailor/client_api.rb +49 -0
- data/lib/aws-sdk-mediatailor/endpoints.rb +14 -0
- data/lib/aws-sdk-mediatailor/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-mediatailor/types.rb +169 -0
- 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: c447fae33b5484c8b26ae6daff3ac1678efcfc1d374622eaefea1def3e43a4fe
|
4
|
+
data.tar.gz: b640ceb8605335ad8e27bc618f2716e9073a7b454ae4a3833f082afddcac4ac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59bdf782d7d3e7f678e5829667a2bde44123a059f4bcd4ee91435e024a6db4e8686489cfbda90848f305c6969c47c41aec5e1e2bea165e689d2bffc00a376c43
|
7
|
+
data.tar.gz: 686d1eca1b0f4fa87ddc43bd32ca3048f28dec6c3d81dbca9c137f1ec81757e5cf47271ef2bb069171e329c0d77ced675dee0177335f2349b257b2ebc9b9c3d2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2023-02-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The AWS Elemental MediaTailor SDK for Channel Assembly has added support for program updates, and the ability to clip the end of VOD sources in programs.
|
8
|
+
|
4
9
|
1.59.0 (2023-01-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -765,7 +765,9 @@ module Aws::MediaTailor
|
|
765
765
|
# * {Types::CreateProgramResponse#ad_breaks #ad_breaks} => Array<Types::AdBreak>
|
766
766
|
# * {Types::CreateProgramResponse#arn #arn} => String
|
767
767
|
# * {Types::CreateProgramResponse#channel_name #channel_name} => String
|
768
|
+
# * {Types::CreateProgramResponse#clip_range #clip_range} => Types::ClipRange
|
768
769
|
# * {Types::CreateProgramResponse#creation_time #creation_time} => Time
|
770
|
+
# * {Types::CreateProgramResponse#duration_millis #duration_millis} => Integer
|
769
771
|
# * {Types::CreateProgramResponse#live_source_name #live_source_name} => String
|
770
772
|
# * {Types::CreateProgramResponse#program_name #program_name} => String
|
771
773
|
# * {Types::CreateProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
@@ -809,6 +811,9 @@ module Aws::MediaTailor
|
|
809
811
|
# live_source_name: "__string",
|
810
812
|
# program_name: "__string", # required
|
811
813
|
# schedule_configuration: { # required
|
814
|
+
# clip_range: {
|
815
|
+
# end_offset_millis: 1, # required
|
816
|
+
# },
|
812
817
|
# transition: { # required
|
813
818
|
# duration_millis: 1,
|
814
819
|
# relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
|
@@ -843,7 +848,9 @@ module Aws::MediaTailor
|
|
843
848
|
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].sub_segments_expected #=> Integer
|
844
849
|
# resp.arn #=> String
|
845
850
|
# resp.channel_name #=> String
|
851
|
+
# resp.clip_range.end_offset_millis #=> Integer
|
846
852
|
# resp.creation_time #=> Time
|
853
|
+
# resp.duration_millis #=> Integer
|
847
854
|
# resp.live_source_name #=> String
|
848
855
|
# resp.program_name #=> String
|
849
856
|
# resp.scheduled_start_time #=> Time
|
@@ -1386,7 +1393,9 @@ module Aws::MediaTailor
|
|
1386
1393
|
# * {Types::DescribeProgramResponse#ad_breaks #ad_breaks} => Array<Types::AdBreak>
|
1387
1394
|
# * {Types::DescribeProgramResponse#arn #arn} => String
|
1388
1395
|
# * {Types::DescribeProgramResponse#channel_name #channel_name} => String
|
1396
|
+
# * {Types::DescribeProgramResponse#clip_range #clip_range} => Types::ClipRange
|
1389
1397
|
# * {Types::DescribeProgramResponse#creation_time #creation_time} => Time
|
1398
|
+
# * {Types::DescribeProgramResponse#duration_millis #duration_millis} => Integer
|
1390
1399
|
# * {Types::DescribeProgramResponse#live_source_name #live_source_name} => String
|
1391
1400
|
# * {Types::DescribeProgramResponse#program_name #program_name} => String
|
1392
1401
|
# * {Types::DescribeProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
@@ -1422,7 +1431,9 @@ module Aws::MediaTailor
|
|
1422
1431
|
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].sub_segments_expected #=> Integer
|
1423
1432
|
# resp.arn #=> String
|
1424
1433
|
# resp.channel_name #=> String
|
1434
|
+
# resp.clip_range.end_offset_millis #=> Integer
|
1425
1435
|
# resp.creation_time #=> Time
|
1436
|
+
# resp.duration_millis #=> Integer
|
1426
1437
|
# resp.live_source_name #=> String
|
1427
1438
|
# resp.program_name #=> String
|
1428
1439
|
# resp.scheduled_start_time #=> Time
|
@@ -2757,6 +2768,120 @@ module Aws::MediaTailor
|
|
2757
2768
|
req.send_request(options)
|
2758
2769
|
end
|
2759
2770
|
|
2771
|
+
# Updates a program within a channel.
|
2772
|
+
#
|
2773
|
+
# @option params [Array<Types::AdBreak>] :ad_breaks
|
2774
|
+
# The ad break configuration settings.
|
2775
|
+
#
|
2776
|
+
# @option params [required, String] :channel_name
|
2777
|
+
# The name of the channel for this Program.
|
2778
|
+
#
|
2779
|
+
# @option params [required, String] :program_name
|
2780
|
+
# The name of the Program.
|
2781
|
+
#
|
2782
|
+
# @option params [required, Types::UpdateProgramScheduleConfiguration] :schedule_configuration
|
2783
|
+
# The schedule configuration settings.
|
2784
|
+
#
|
2785
|
+
# @return [Types::UpdateProgramResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2786
|
+
#
|
2787
|
+
# * {Types::UpdateProgramResponse#ad_breaks #ad_breaks} => Array<Types::AdBreak>
|
2788
|
+
# * {Types::UpdateProgramResponse#arn #arn} => String
|
2789
|
+
# * {Types::UpdateProgramResponse#channel_name #channel_name} => String
|
2790
|
+
# * {Types::UpdateProgramResponse#clip_range #clip_range} => Types::ClipRange
|
2791
|
+
# * {Types::UpdateProgramResponse#creation_time #creation_time} => Time
|
2792
|
+
# * {Types::UpdateProgramResponse#duration_millis #duration_millis} => Integer
|
2793
|
+
# * {Types::UpdateProgramResponse#live_source_name #live_source_name} => String
|
2794
|
+
# * {Types::UpdateProgramResponse#program_name #program_name} => String
|
2795
|
+
# * {Types::UpdateProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
2796
|
+
# * {Types::UpdateProgramResponse#source_location_name #source_location_name} => String
|
2797
|
+
# * {Types::UpdateProgramResponse#vod_source_name #vod_source_name} => String
|
2798
|
+
#
|
2799
|
+
# @example Request syntax with placeholder values
|
2800
|
+
#
|
2801
|
+
# resp = client.update_program({
|
2802
|
+
# ad_breaks: [
|
2803
|
+
# {
|
2804
|
+
# message_type: "SPLICE_INSERT", # accepts SPLICE_INSERT, TIME_SIGNAL
|
2805
|
+
# offset_millis: 1,
|
2806
|
+
# slate: {
|
2807
|
+
# source_location_name: "__string",
|
2808
|
+
# vod_source_name: "__string",
|
2809
|
+
# },
|
2810
|
+
# splice_insert_message: {
|
2811
|
+
# avail_num: 1,
|
2812
|
+
# avails_expected: 1,
|
2813
|
+
# splice_event_id: 1,
|
2814
|
+
# unique_program_id: 1,
|
2815
|
+
# },
|
2816
|
+
# time_signal_message: {
|
2817
|
+
# segmentation_descriptors: [
|
2818
|
+
# {
|
2819
|
+
# segment_num: 1,
|
2820
|
+
# segmentation_event_id: 1,
|
2821
|
+
# segmentation_type_id: 1,
|
2822
|
+
# segmentation_upid: "String",
|
2823
|
+
# segmentation_upid_type: 1,
|
2824
|
+
# segments_expected: 1,
|
2825
|
+
# sub_segment_num: 1,
|
2826
|
+
# sub_segments_expected: 1,
|
2827
|
+
# },
|
2828
|
+
# ],
|
2829
|
+
# },
|
2830
|
+
# },
|
2831
|
+
# ],
|
2832
|
+
# channel_name: "__string", # required
|
2833
|
+
# program_name: "__string", # required
|
2834
|
+
# schedule_configuration: { # required
|
2835
|
+
# clip_range: {
|
2836
|
+
# end_offset_millis: 1, # required
|
2837
|
+
# },
|
2838
|
+
# transition: {
|
2839
|
+
# duration_millis: 1,
|
2840
|
+
# scheduled_start_time_millis: 1,
|
2841
|
+
# },
|
2842
|
+
# },
|
2843
|
+
# })
|
2844
|
+
#
|
2845
|
+
# @example Response structure
|
2846
|
+
#
|
2847
|
+
# resp.ad_breaks #=> Array
|
2848
|
+
# resp.ad_breaks[0].message_type #=> String, one of "SPLICE_INSERT", "TIME_SIGNAL"
|
2849
|
+
# resp.ad_breaks[0].offset_millis #=> Integer
|
2850
|
+
# resp.ad_breaks[0].slate.source_location_name #=> String
|
2851
|
+
# resp.ad_breaks[0].slate.vod_source_name #=> String
|
2852
|
+
# resp.ad_breaks[0].splice_insert_message.avail_num #=> Integer
|
2853
|
+
# resp.ad_breaks[0].splice_insert_message.avails_expected #=> Integer
|
2854
|
+
# resp.ad_breaks[0].splice_insert_message.splice_event_id #=> Integer
|
2855
|
+
# resp.ad_breaks[0].splice_insert_message.unique_program_id #=> Integer
|
2856
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors #=> Array
|
2857
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].segment_num #=> Integer
|
2858
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].segmentation_event_id #=> Integer
|
2859
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].segmentation_type_id #=> Integer
|
2860
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].segmentation_upid #=> String
|
2861
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].segmentation_upid_type #=> Integer
|
2862
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].segments_expected #=> Integer
|
2863
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].sub_segment_num #=> Integer
|
2864
|
+
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].sub_segments_expected #=> Integer
|
2865
|
+
# resp.arn #=> String
|
2866
|
+
# resp.channel_name #=> String
|
2867
|
+
# resp.clip_range.end_offset_millis #=> Integer
|
2868
|
+
# resp.creation_time #=> Time
|
2869
|
+
# resp.duration_millis #=> Integer
|
2870
|
+
# resp.live_source_name #=> String
|
2871
|
+
# resp.program_name #=> String
|
2872
|
+
# resp.scheduled_start_time #=> Time
|
2873
|
+
# resp.source_location_name #=> String
|
2874
|
+
# resp.vod_source_name #=> String
|
2875
|
+
#
|
2876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateProgram AWS API Documentation
|
2877
|
+
#
|
2878
|
+
# @overload update_program(params = {})
|
2879
|
+
# @param [Hash] params ({})
|
2880
|
+
def update_program(params = {}, options = {})
|
2881
|
+
req = build_request(:update_program, params)
|
2882
|
+
req.send_request(options)
|
2883
|
+
end
|
2884
|
+
|
2760
2885
|
# Updates a source location. A source location is a container for
|
2761
2886
|
# sources. For more information about source locations, see [Working
|
2762
2887
|
# with source locations][1] in the *MediaTailor User Guide*.
|
@@ -2919,7 +3044,7 @@ module Aws::MediaTailor
|
|
2919
3044
|
params: params,
|
2920
3045
|
config: config)
|
2921
3046
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
2922
|
-
context[:gem_version] = '1.
|
3047
|
+
context[:gem_version] = '1.60.0'
|
2923
3048
|
Seahorse::Client::Request.new(handlers, context)
|
2924
3049
|
end
|
2925
3050
|
|
@@ -25,6 +25,7 @@ module Aws::MediaTailor
|
|
25
25
|
CdnConfiguration = Shapes::StructureShape.new(name: 'CdnConfiguration')
|
26
26
|
Channel = Shapes::StructureShape.new(name: 'Channel')
|
27
27
|
ChannelState = Shapes::StringShape.new(name: 'ChannelState')
|
28
|
+
ClipRange = Shapes::StructureShape.new(name: 'ClipRange')
|
28
29
|
ConfigurationAliasesRequest = Shapes::MapShape.new(name: 'ConfigurationAliasesRequest')
|
29
30
|
ConfigurationAliasesResponse = Shapes::MapShape.new(name: 'ConfigurationAliasesResponse')
|
30
31
|
ConfigureLogsForChannelRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForChannelRequest')
|
@@ -109,6 +110,7 @@ module Aws::MediaTailor
|
|
109
110
|
LogConfigurationForChannel = Shapes::StructureShape.new(name: 'LogConfigurationForChannel')
|
110
111
|
LogType = Shapes::StringShape.new(name: 'LogType')
|
111
112
|
LogTypes = Shapes::ListShape.new(name: 'LogTypes')
|
113
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
112
114
|
ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules')
|
113
115
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
114
116
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
@@ -155,6 +157,10 @@ module Aws::MediaTailor
|
|
155
157
|
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
156
158
|
UpdateLiveSourceRequest = Shapes::StructureShape.new(name: 'UpdateLiveSourceRequest')
|
157
159
|
UpdateLiveSourceResponse = Shapes::StructureShape.new(name: 'UpdateLiveSourceResponse')
|
160
|
+
UpdateProgramRequest = Shapes::StructureShape.new(name: 'UpdateProgramRequest')
|
161
|
+
UpdateProgramResponse = Shapes::StructureShape.new(name: 'UpdateProgramResponse')
|
162
|
+
UpdateProgramScheduleConfiguration = Shapes::StructureShape.new(name: 'UpdateProgramScheduleConfiguration')
|
163
|
+
UpdateProgramTransition = Shapes::StructureShape.new(name: 'UpdateProgramTransition')
|
158
164
|
UpdateSourceLocationRequest = Shapes::StructureShape.new(name: 'UpdateSourceLocationRequest')
|
159
165
|
UpdateSourceLocationResponse = Shapes::StructureShape.new(name: 'UpdateSourceLocationResponse')
|
160
166
|
UpdateVodSourceRequest = Shapes::StructureShape.new(name: 'UpdateVodSourceRequest')
|
@@ -235,6 +241,9 @@ module Aws::MediaTailor
|
|
235
241
|
Channel.add_member(:tier, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Tier"))
|
236
242
|
Channel.struct_class = Types::Channel
|
237
243
|
|
244
|
+
ClipRange.add_member(:end_offset_millis, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "EndOffsetMillis"))
|
245
|
+
ClipRange.struct_class = Types::ClipRange
|
246
|
+
|
238
247
|
ConfigurationAliasesRequest.key = Shapes::ShapeRef.new(shape: __string)
|
239
248
|
ConfigurationAliasesRequest.value = Shapes::ShapeRef.new(shape: __mapOf__string)
|
240
249
|
|
@@ -319,7 +328,9 @@ module Aws::MediaTailor
|
|
319
328
|
CreateProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
320
329
|
CreateProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
321
330
|
CreateProgramResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
|
331
|
+
CreateProgramResponse.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
|
322
332
|
CreateProgramResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
|
333
|
+
CreateProgramResponse.add_member(:duration_millis, Shapes::ShapeRef.new(shape: __long, location_name: "DurationMillis"))
|
323
334
|
CreateProgramResponse.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
|
324
335
|
CreateProgramResponse.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, location_name: "ProgramName"))
|
325
336
|
CreateProgramResponse.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ScheduledStartTime"))
|
@@ -459,7 +470,9 @@ module Aws::MediaTailor
|
|
459
470
|
DescribeProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
460
471
|
DescribeProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
461
472
|
DescribeProgramResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
|
473
|
+
DescribeProgramResponse.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
|
462
474
|
DescribeProgramResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
|
475
|
+
DescribeProgramResponse.add_member(:duration_millis, Shapes::ShapeRef.new(shape: Long, location_name: "DurationMillis"))
|
463
476
|
DescribeProgramResponse.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
|
464
477
|
DescribeProgramResponse.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, location_name: "ProgramName"))
|
465
478
|
DescribeProgramResponse.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ScheduledStartTime"))
|
@@ -758,6 +771,7 @@ module Aws::MediaTailor
|
|
758
771
|
ScheduleAdBreak.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "VodSourceName"))
|
759
772
|
ScheduleAdBreak.struct_class = Types::ScheduleAdBreak
|
760
773
|
|
774
|
+
ScheduleConfiguration.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
|
761
775
|
ScheduleConfiguration.add_member(:transition, Shapes::ShapeRef.new(shape: Transition, required: true, location_name: "Transition"))
|
762
776
|
ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
|
763
777
|
|
@@ -874,6 +888,33 @@ module Aws::MediaTailor
|
|
874
888
|
UpdateLiveSourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
875
889
|
UpdateLiveSourceResponse.struct_class = Types::UpdateLiveSourceResponse
|
876
890
|
|
891
|
+
UpdateProgramRequest.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
892
|
+
UpdateProgramRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
|
893
|
+
UpdateProgramRequest.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ProgramName"))
|
894
|
+
UpdateProgramRequest.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: UpdateProgramScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
|
895
|
+
UpdateProgramRequest.struct_class = Types::UpdateProgramRequest
|
896
|
+
|
897
|
+
UpdateProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
898
|
+
UpdateProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
899
|
+
UpdateProgramResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
|
900
|
+
UpdateProgramResponse.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
|
901
|
+
UpdateProgramResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
|
902
|
+
UpdateProgramResponse.add_member(:duration_millis, Shapes::ShapeRef.new(shape: __long, location_name: "DurationMillis"))
|
903
|
+
UpdateProgramResponse.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
|
904
|
+
UpdateProgramResponse.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, location_name: "ProgramName"))
|
905
|
+
UpdateProgramResponse.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ScheduledStartTime"))
|
906
|
+
UpdateProgramResponse.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, location_name: "SourceLocationName"))
|
907
|
+
UpdateProgramResponse.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "VodSourceName"))
|
908
|
+
UpdateProgramResponse.struct_class = Types::UpdateProgramResponse
|
909
|
+
|
910
|
+
UpdateProgramScheduleConfiguration.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
|
911
|
+
UpdateProgramScheduleConfiguration.add_member(:transition, Shapes::ShapeRef.new(shape: UpdateProgramTransition, location_name: "Transition"))
|
912
|
+
UpdateProgramScheduleConfiguration.struct_class = Types::UpdateProgramScheduleConfiguration
|
913
|
+
|
914
|
+
UpdateProgramTransition.add_member(:duration_millis, Shapes::ShapeRef.new(shape: __long, location_name: "DurationMillis"))
|
915
|
+
UpdateProgramTransition.add_member(:scheduled_start_time_millis, Shapes::ShapeRef.new(shape: __long, location_name: "ScheduledStartTimeMillis"))
|
916
|
+
UpdateProgramTransition.struct_class = Types::UpdateProgramTransition
|
917
|
+
|
877
918
|
UpdateSourceLocationRequest.add_member(:access_configuration, Shapes::ShapeRef.new(shape: AccessConfiguration, location_name: "AccessConfiguration"))
|
878
919
|
UpdateSourceLocationRequest.add_member(:default_segment_delivery_configuration, Shapes::ShapeRef.new(shape: DefaultSegmentDeliveryConfiguration, location_name: "DefaultSegmentDeliveryConfiguration"))
|
879
920
|
UpdateSourceLocationRequest.add_member(:http_configuration, Shapes::ShapeRef.new(shape: HttpConfiguration, required: true, location_name: "HttpConfiguration"))
|
@@ -1342,6 +1383,14 @@ module Aws::MediaTailor
|
|
1342
1383
|
o.output = Shapes::ShapeRef.new(shape: UpdateLiveSourceResponse)
|
1343
1384
|
end)
|
1344
1385
|
|
1386
|
+
api.add_operation(:update_program, Seahorse::Model::Operation.new.tap do |o|
|
1387
|
+
o.name = "UpdateProgram"
|
1388
|
+
o.http_method = "PUT"
|
1389
|
+
o.http_request_uri = "/channel/{ChannelName}/program/{ProgramName}"
|
1390
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateProgramRequest)
|
1391
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateProgramResponse)
|
1392
|
+
end)
|
1393
|
+
|
1345
1394
|
api.add_operation(:update_source_location, Seahorse::Model::Operation.new.tap do |o|
|
1346
1395
|
o.name = "UpdateSourceLocation"
|
1347
1396
|
o.http_method = "PUT"
|
@@ -585,6 +585,20 @@ module Aws::MediaTailor
|
|
585
585
|
end
|
586
586
|
end
|
587
587
|
|
588
|
+
class UpdateProgram
|
589
|
+
def self.build(context)
|
590
|
+
unless context.config.regional_endpoint
|
591
|
+
endpoint = context.config.endpoint.to_s
|
592
|
+
end
|
593
|
+
Aws::MediaTailor::EndpointParameters.new(
|
594
|
+
region: context.config.region,
|
595
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
596
|
+
use_fips: context.config.use_fips_endpoint,
|
597
|
+
endpoint: endpoint,
|
598
|
+
)
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
588
602
|
class UpdateSourceLocation
|
589
603
|
def self.build(context)
|
590
604
|
unless context.config.regional_endpoint
|
@@ -138,6 +138,8 @@ module Aws::MediaTailor
|
|
138
138
|
Aws::MediaTailor::Endpoints::UpdateChannel.build(context)
|
139
139
|
when :update_live_source
|
140
140
|
Aws::MediaTailor::Endpoints::UpdateLiveSource.build(context)
|
141
|
+
when :update_program
|
142
|
+
Aws::MediaTailor::Endpoints::UpdateProgram.build(context)
|
141
143
|
when :update_source_location
|
142
144
|
Aws::MediaTailor::Endpoints::UpdateSourceLocation.build(context)
|
143
145
|
when :update_vod_source
|
@@ -396,6 +396,22 @@ module Aws::MediaTailor
|
|
396
396
|
include Aws::Structure
|
397
397
|
end
|
398
398
|
|
399
|
+
# Clip range configuration for the VOD source associated with the
|
400
|
+
# program.
|
401
|
+
#
|
402
|
+
# @!attribute [rw] end_offset_millis
|
403
|
+
# The end offset of the clip range, in milliseconds, starting from the
|
404
|
+
# beginning of the VOD source associated with the program.
|
405
|
+
# @return [Integer]
|
406
|
+
#
|
407
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ClipRange AWS API Documentation
|
408
|
+
#
|
409
|
+
class ClipRange < Struct.new(
|
410
|
+
:end_offset_millis)
|
411
|
+
SENSITIVE = []
|
412
|
+
include Aws::Structure
|
413
|
+
end
|
414
|
+
|
399
415
|
# @!attribute [rw] channel_name
|
400
416
|
# The name of the channel.
|
401
417
|
# @return [String]
|
@@ -829,10 +845,18 @@ module Aws::MediaTailor
|
|
829
845
|
# The name to assign to the channel for this program.
|
830
846
|
# @return [String]
|
831
847
|
#
|
848
|
+
# @!attribute [rw] clip_range
|
849
|
+
# The clip range configuration settings.
|
850
|
+
# @return [Types::ClipRange]
|
851
|
+
#
|
832
852
|
# @!attribute [rw] creation_time
|
833
853
|
# The time the program was created.
|
834
854
|
# @return [Time]
|
835
855
|
#
|
856
|
+
# @!attribute [rw] duration_millis
|
857
|
+
# The duration of the live program in milliseconds.
|
858
|
+
# @return [Integer]
|
859
|
+
#
|
836
860
|
# @!attribute [rw] live_source_name
|
837
861
|
# The name of the LiveSource for this Program.
|
838
862
|
# @return [String]
|
@@ -859,7 +883,9 @@ module Aws::MediaTailor
|
|
859
883
|
:ad_breaks,
|
860
884
|
:arn,
|
861
885
|
:channel_name,
|
886
|
+
:clip_range,
|
862
887
|
:creation_time,
|
888
|
+
:duration_millis,
|
863
889
|
:live_source_name,
|
864
890
|
:program_name,
|
865
891
|
:scheduled_start_time,
|
@@ -1518,10 +1544,18 @@ module Aws::MediaTailor
|
|
1518
1544
|
# The name of the channel that the program belongs to.
|
1519
1545
|
# @return [String]
|
1520
1546
|
#
|
1547
|
+
# @!attribute [rw] clip_range
|
1548
|
+
# The clip range configuration settings.
|
1549
|
+
# @return [Types::ClipRange]
|
1550
|
+
#
|
1521
1551
|
# @!attribute [rw] creation_time
|
1522
1552
|
# The timestamp of when the program was created.
|
1523
1553
|
# @return [Time]
|
1524
1554
|
#
|
1555
|
+
# @!attribute [rw] duration_millis
|
1556
|
+
# The duration of the live program in milliseconds.
|
1557
|
+
# @return [Integer]
|
1558
|
+
#
|
1525
1559
|
# @!attribute [rw] live_source_name
|
1526
1560
|
# The name of the LiveSource for this Program.
|
1527
1561
|
# @return [String]
|
@@ -1551,7 +1585,9 @@ module Aws::MediaTailor
|
|
1551
1585
|
:ad_breaks,
|
1552
1586
|
:arn,
|
1553
1587
|
:channel_name,
|
1588
|
+
:clip_range,
|
1554
1589
|
:creation_time,
|
1590
|
+
:duration_millis,
|
1555
1591
|
:live_source_name,
|
1556
1592
|
:program_name,
|
1557
1593
|
:scheduled_start_time,
|
@@ -3310,6 +3346,10 @@ module Aws::MediaTailor
|
|
3310
3346
|
# Schedule configuration parameters. A channel must be stopped before
|
3311
3347
|
# changes can be made to the schedule.
|
3312
3348
|
#
|
3349
|
+
# @!attribute [rw] clip_range
|
3350
|
+
# Program clip range configuration.
|
3351
|
+
# @return [Types::ClipRange]
|
3352
|
+
#
|
3313
3353
|
# @!attribute [rw] transition
|
3314
3354
|
# Program transition configurations.
|
3315
3355
|
# @return [Types::Transition]
|
@@ -3317,6 +3357,7 @@ module Aws::MediaTailor
|
|
3317
3357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ScheduleConfiguration AWS API Documentation
|
3318
3358
|
#
|
3319
3359
|
class ScheduleConfiguration < Struct.new(
|
3360
|
+
:clip_range,
|
3320
3361
|
:transition)
|
3321
3362
|
SENSITIVE = []
|
3322
3363
|
include Aws::Structure
|
@@ -3977,6 +4018,134 @@ module Aws::MediaTailor
|
|
3977
4018
|
include Aws::Structure
|
3978
4019
|
end
|
3979
4020
|
|
4021
|
+
# @!attribute [rw] ad_breaks
|
4022
|
+
# The ad break configuration settings.
|
4023
|
+
# @return [Array<Types::AdBreak>]
|
4024
|
+
#
|
4025
|
+
# @!attribute [rw] channel_name
|
4026
|
+
# The name of the channel for this Program.
|
4027
|
+
# @return [String]
|
4028
|
+
#
|
4029
|
+
# @!attribute [rw] program_name
|
4030
|
+
# The name of the Program.
|
4031
|
+
# @return [String]
|
4032
|
+
#
|
4033
|
+
# @!attribute [rw] schedule_configuration
|
4034
|
+
# The schedule configuration settings.
|
4035
|
+
# @return [Types::UpdateProgramScheduleConfiguration]
|
4036
|
+
#
|
4037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateProgramRequest AWS API Documentation
|
4038
|
+
#
|
4039
|
+
class UpdateProgramRequest < Struct.new(
|
4040
|
+
:ad_breaks,
|
4041
|
+
:channel_name,
|
4042
|
+
:program_name,
|
4043
|
+
:schedule_configuration)
|
4044
|
+
SENSITIVE = []
|
4045
|
+
include Aws::Structure
|
4046
|
+
end
|
4047
|
+
|
4048
|
+
# @!attribute [rw] ad_breaks
|
4049
|
+
# The ad break configuration settings.
|
4050
|
+
# @return [Array<Types::AdBreak>]
|
4051
|
+
#
|
4052
|
+
# @!attribute [rw] arn
|
4053
|
+
# The ARN to assign to the program.
|
4054
|
+
# @return [String]
|
4055
|
+
#
|
4056
|
+
# @!attribute [rw] channel_name
|
4057
|
+
# The name to assign to the channel for this program.
|
4058
|
+
# @return [String]
|
4059
|
+
#
|
4060
|
+
# @!attribute [rw] clip_range
|
4061
|
+
# The clip range configuration settings.
|
4062
|
+
# @return [Types::ClipRange]
|
4063
|
+
#
|
4064
|
+
# @!attribute [rw] creation_time
|
4065
|
+
# The time the program was created.
|
4066
|
+
# @return [Time]
|
4067
|
+
#
|
4068
|
+
# @!attribute [rw] duration_millis
|
4069
|
+
# The duration of the live program in milliseconds.
|
4070
|
+
# @return [Integer]
|
4071
|
+
#
|
4072
|
+
# @!attribute [rw] live_source_name
|
4073
|
+
# The name of the LiveSource for this Program.
|
4074
|
+
# @return [String]
|
4075
|
+
#
|
4076
|
+
# @!attribute [rw] program_name
|
4077
|
+
# The name to assign to this program.
|
4078
|
+
# @return [String]
|
4079
|
+
#
|
4080
|
+
# @!attribute [rw] scheduled_start_time
|
4081
|
+
# The scheduled start time for this Program.
|
4082
|
+
# @return [Time]
|
4083
|
+
#
|
4084
|
+
# @!attribute [rw] source_location_name
|
4085
|
+
# The name to assign to the source location for this program.
|
4086
|
+
# @return [String]
|
4087
|
+
#
|
4088
|
+
# @!attribute [rw] vod_source_name
|
4089
|
+
# The name that's used to refer to a VOD source.
|
4090
|
+
# @return [String]
|
4091
|
+
#
|
4092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateProgramResponse AWS API Documentation
|
4093
|
+
#
|
4094
|
+
class UpdateProgramResponse < Struct.new(
|
4095
|
+
:ad_breaks,
|
4096
|
+
:arn,
|
4097
|
+
:channel_name,
|
4098
|
+
:clip_range,
|
4099
|
+
:creation_time,
|
4100
|
+
:duration_millis,
|
4101
|
+
:live_source_name,
|
4102
|
+
:program_name,
|
4103
|
+
:scheduled_start_time,
|
4104
|
+
:source_location_name,
|
4105
|
+
:vod_source_name)
|
4106
|
+
SENSITIVE = []
|
4107
|
+
include Aws::Structure
|
4108
|
+
end
|
4109
|
+
|
4110
|
+
# Schedule configuration parameters.
|
4111
|
+
#
|
4112
|
+
# @!attribute [rw] clip_range
|
4113
|
+
# Program clip range configuration.
|
4114
|
+
# @return [Types::ClipRange]
|
4115
|
+
#
|
4116
|
+
# @!attribute [rw] transition
|
4117
|
+
# Program transition configuration.
|
4118
|
+
# @return [Types::UpdateProgramTransition]
|
4119
|
+
#
|
4120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateProgramScheduleConfiguration AWS API Documentation
|
4121
|
+
#
|
4122
|
+
class UpdateProgramScheduleConfiguration < Struct.new(
|
4123
|
+
:clip_range,
|
4124
|
+
:transition)
|
4125
|
+
SENSITIVE = []
|
4126
|
+
include Aws::Structure
|
4127
|
+
end
|
4128
|
+
|
4129
|
+
# Program transition configuration.
|
4130
|
+
#
|
4131
|
+
# @!attribute [rw] duration_millis
|
4132
|
+
# The duration of the live program in seconds.
|
4133
|
+
# @return [Integer]
|
4134
|
+
#
|
4135
|
+
# @!attribute [rw] scheduled_start_time_millis
|
4136
|
+
# The date and time that the program is scheduled to start, in epoch
|
4137
|
+
# milliseconds.
|
4138
|
+
# @return [Integer]
|
4139
|
+
#
|
4140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateProgramTransition AWS API Documentation
|
4141
|
+
#
|
4142
|
+
class UpdateProgramTransition < Struct.new(
|
4143
|
+
:duration_millis,
|
4144
|
+
:scheduled_start_time_millis)
|
4145
|
+
SENSITIVE = []
|
4146
|
+
include Aws::Structure
|
4147
|
+
end
|
4148
|
+
|
3980
4149
|
# @!attribute [rw] access_configuration
|
3981
4150
|
# Access configuration parameters. Configures the type of
|
3982
4151
|
# authentication used to access content from your source location.
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
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.60.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: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|