aws-sdk-mediatailor 1.58.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mediatailor/client.rb +166 -1
- data/lib/aws-sdk-mediatailor/client_api.rb +77 -0
- data/lib/aws-sdk-mediatailor/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-mediatailor/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-mediatailor/endpoints.rb +28 -0
- data/lib/aws-sdk-mediatailor/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-mediatailor/types.rb +227 -0
- 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: 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,16 @@
|
|
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
|
+
|
9
|
+
1.59.0 (2023-01-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release introduces the As Run logging type, along with API and documentation updates.
|
13
|
+
|
4
14
|
1.58.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -368,6 +368,41 @@ module Aws::MediaTailor
|
|
368
368
|
|
369
369
|
# @!group API Operations
|
370
370
|
|
371
|
+
# Configures Amazon CloudWatch log settings for a channel.
|
372
|
+
#
|
373
|
+
# @option params [required, String] :channel_name
|
374
|
+
# The name of the channel.
|
375
|
+
#
|
376
|
+
# @option params [required, Array<String>] :log_types
|
377
|
+
# The types of logs to collect.
|
378
|
+
#
|
379
|
+
# @return [Types::ConfigureLogsForChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
380
|
+
#
|
381
|
+
# * {Types::ConfigureLogsForChannelResponse#channel_name #channel_name} => String
|
382
|
+
# * {Types::ConfigureLogsForChannelResponse#log_types #log_types} => Array<String>
|
383
|
+
#
|
384
|
+
# @example Request syntax with placeholder values
|
385
|
+
#
|
386
|
+
# resp = client.configure_logs_for_channel({
|
387
|
+
# channel_name: "__string", # required
|
388
|
+
# log_types: ["AS_RUN"], # required, accepts AS_RUN
|
389
|
+
# })
|
390
|
+
#
|
391
|
+
# @example Response structure
|
392
|
+
#
|
393
|
+
# resp.channel_name #=> String
|
394
|
+
# resp.log_types #=> Array
|
395
|
+
# resp.log_types[0] #=> String, one of "AS_RUN"
|
396
|
+
#
|
397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForChannel AWS API Documentation
|
398
|
+
#
|
399
|
+
# @overload configure_logs_for_channel(params = {})
|
400
|
+
# @param [Hash] params ({})
|
401
|
+
def configure_logs_for_channel(params = {}, options = {})
|
402
|
+
req = build_request(:configure_logs_for_channel, params)
|
403
|
+
req.send_request(options)
|
404
|
+
end
|
405
|
+
|
371
406
|
# Amazon CloudWatch log settings for a playback configuration.
|
372
407
|
#
|
373
408
|
# @option params [required, Integer] :percent_enabled
|
@@ -730,7 +765,9 @@ module Aws::MediaTailor
|
|
730
765
|
# * {Types::CreateProgramResponse#ad_breaks #ad_breaks} => Array<Types::AdBreak>
|
731
766
|
# * {Types::CreateProgramResponse#arn #arn} => String
|
732
767
|
# * {Types::CreateProgramResponse#channel_name #channel_name} => String
|
768
|
+
# * {Types::CreateProgramResponse#clip_range #clip_range} => Types::ClipRange
|
733
769
|
# * {Types::CreateProgramResponse#creation_time #creation_time} => Time
|
770
|
+
# * {Types::CreateProgramResponse#duration_millis #duration_millis} => Integer
|
734
771
|
# * {Types::CreateProgramResponse#live_source_name #live_source_name} => String
|
735
772
|
# * {Types::CreateProgramResponse#program_name #program_name} => String
|
736
773
|
# * {Types::CreateProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
@@ -774,6 +811,9 @@ module Aws::MediaTailor
|
|
774
811
|
# live_source_name: "__string",
|
775
812
|
# program_name: "__string", # required
|
776
813
|
# schedule_configuration: { # required
|
814
|
+
# clip_range: {
|
815
|
+
# end_offset_millis: 1, # required
|
816
|
+
# },
|
777
817
|
# transition: { # required
|
778
818
|
# duration_millis: 1,
|
779
819
|
# relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
|
@@ -808,7 +848,9 @@ module Aws::MediaTailor
|
|
808
848
|
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].sub_segments_expected #=> Integer
|
809
849
|
# resp.arn #=> String
|
810
850
|
# resp.channel_name #=> String
|
851
|
+
# resp.clip_range.end_offset_millis #=> Integer
|
811
852
|
# resp.creation_time #=> Time
|
853
|
+
# resp.duration_millis #=> Integer
|
812
854
|
# resp.live_source_name #=> String
|
813
855
|
# resp.program_name #=> String
|
814
856
|
# resp.scheduled_start_time #=> Time
|
@@ -1239,6 +1281,7 @@ module Aws::MediaTailor
|
|
1239
1281
|
# * {Types::DescribeChannelResponse#creation_time #creation_time} => Time
|
1240
1282
|
# * {Types::DescribeChannelResponse#filler_slate #filler_slate} => Types::SlateSource
|
1241
1283
|
# * {Types::DescribeChannelResponse#last_modified_time #last_modified_time} => Time
|
1284
|
+
# * {Types::DescribeChannelResponse#log_configuration #log_configuration} => Types::LogConfigurationForChannel
|
1242
1285
|
# * {Types::DescribeChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
1243
1286
|
# * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
|
1244
1287
|
# * {Types::DescribeChannelResponse#tags #tags} => Hash<String,String>
|
@@ -1259,6 +1302,8 @@ module Aws::MediaTailor
|
|
1259
1302
|
# resp.filler_slate.source_location_name #=> String
|
1260
1303
|
# resp.filler_slate.vod_source_name #=> String
|
1261
1304
|
# resp.last_modified_time #=> Time
|
1305
|
+
# resp.log_configuration.log_types #=> Array
|
1306
|
+
# resp.log_configuration.log_types[0] #=> String, one of "AS_RUN"
|
1262
1307
|
# resp.outputs #=> Array
|
1263
1308
|
# resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
1264
1309
|
# resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
|
@@ -1348,7 +1393,9 @@ module Aws::MediaTailor
|
|
1348
1393
|
# * {Types::DescribeProgramResponse#ad_breaks #ad_breaks} => Array<Types::AdBreak>
|
1349
1394
|
# * {Types::DescribeProgramResponse#arn #arn} => String
|
1350
1395
|
# * {Types::DescribeProgramResponse#channel_name #channel_name} => String
|
1396
|
+
# * {Types::DescribeProgramResponse#clip_range #clip_range} => Types::ClipRange
|
1351
1397
|
# * {Types::DescribeProgramResponse#creation_time #creation_time} => Time
|
1398
|
+
# * {Types::DescribeProgramResponse#duration_millis #duration_millis} => Integer
|
1352
1399
|
# * {Types::DescribeProgramResponse#live_source_name #live_source_name} => String
|
1353
1400
|
# * {Types::DescribeProgramResponse#program_name #program_name} => String
|
1354
1401
|
# * {Types::DescribeProgramResponse#scheduled_start_time #scheduled_start_time} => Time
|
@@ -1384,7 +1431,9 @@ module Aws::MediaTailor
|
|
1384
1431
|
# resp.ad_breaks[0].time_signal_message.segmentation_descriptors[0].sub_segments_expected #=> Integer
|
1385
1432
|
# resp.arn #=> String
|
1386
1433
|
# resp.channel_name #=> String
|
1434
|
+
# resp.clip_range.end_offset_millis #=> Integer
|
1387
1435
|
# resp.creation_time #=> Time
|
1436
|
+
# resp.duration_millis #=> Integer
|
1388
1437
|
# resp.live_source_name #=> String
|
1389
1438
|
# resp.program_name #=> String
|
1390
1439
|
# resp.scheduled_start_time #=> Time
|
@@ -1835,6 +1884,8 @@ module Aws::MediaTailor
|
|
1835
1884
|
# resp.items[0].filler_slate.source_location_name #=> String
|
1836
1885
|
# resp.items[0].filler_slate.vod_source_name #=> String
|
1837
1886
|
# resp.items[0].last_modified_time #=> Time
|
1887
|
+
# resp.items[0].log_configuration.log_types #=> Array
|
1888
|
+
# resp.items[0].log_configuration.log_types[0] #=> String, one of "AS_RUN"
|
1838
1889
|
# resp.items[0].outputs #=> Array
|
1839
1890
|
# resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
1840
1891
|
# resp.items[0].outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
|
@@ -2717,6 +2768,120 @@ module Aws::MediaTailor
|
|
2717
2768
|
req.send_request(options)
|
2718
2769
|
end
|
2719
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
|
+
|
2720
2885
|
# Updates a source location. A source location is a container for
|
2721
2886
|
# sources. For more information about source locations, see [Working
|
2722
2887
|
# with source locations][1] in the *MediaTailor User Guide*.
|
@@ -2879,7 +3044,7 @@ module Aws::MediaTailor
|
|
2879
3044
|
params: params,
|
2880
3045
|
config: config)
|
2881
3046
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
2882
|
-
context[:gem_version] = '1.
|
3047
|
+
context[:gem_version] = '1.60.0'
|
2883
3048
|
Seahorse::Client::Request.new(handlers, context)
|
2884
3049
|
end
|
2885
3050
|
|
@@ -25,8 +25,11 @@ 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')
|
31
|
+
ConfigureLogsForChannelRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForChannelRequest')
|
32
|
+
ConfigureLogsForChannelResponse = Shapes::StructureShape.new(name: 'ConfigureLogsForChannelResponse')
|
30
33
|
ConfigureLogsForPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationRequest')
|
31
34
|
ConfigureLogsForPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationResponse')
|
32
35
|
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
|
@@ -104,6 +107,10 @@ module Aws::MediaTailor
|
|
104
107
|
LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
|
105
108
|
LiveSource = Shapes::StructureShape.new(name: 'LiveSource')
|
106
109
|
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
110
|
+
LogConfigurationForChannel = Shapes::StructureShape.new(name: 'LogConfigurationForChannel')
|
111
|
+
LogType = Shapes::StringShape.new(name: 'LogType')
|
112
|
+
LogTypes = Shapes::ListShape.new(name: 'LogTypes')
|
113
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
107
114
|
ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules')
|
108
115
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
109
116
|
MessageType = Shapes::StringShape.new(name: 'MessageType')
|
@@ -150,6 +157,10 @@ module Aws::MediaTailor
|
|
150
157
|
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
|
151
158
|
UpdateLiveSourceRequest = Shapes::StructureShape.new(name: 'UpdateLiveSourceRequest')
|
152
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')
|
153
164
|
UpdateSourceLocationRequest = Shapes::StructureShape.new(name: 'UpdateSourceLocationRequest')
|
154
165
|
UpdateSourceLocationResponse = Shapes::StructureShape.new(name: 'UpdateSourceLocationResponse')
|
155
166
|
UpdateVodSourceRequest = Shapes::StructureShape.new(name: 'UpdateVodSourceRequest')
|
@@ -223,18 +234,30 @@ module Aws::MediaTailor
|
|
223
234
|
Channel.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
|
224
235
|
Channel.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
|
225
236
|
Channel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "LastModifiedTime"))
|
237
|
+
Channel.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfigurationForChannel, required: true, location_name: "LogConfiguration"))
|
226
238
|
Channel.add_member(:outputs, Shapes::ShapeRef.new(shape: ResponseOutputs, required: true, location_name: "Outputs"))
|
227
239
|
Channel.add_member(:playback_mode, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackMode"))
|
228
240
|
Channel.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
229
241
|
Channel.add_member(:tier, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Tier"))
|
230
242
|
Channel.struct_class = Types::Channel
|
231
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
|
+
|
232
247
|
ConfigurationAliasesRequest.key = Shapes::ShapeRef.new(shape: __string)
|
233
248
|
ConfigurationAliasesRequest.value = Shapes::ShapeRef.new(shape: __mapOf__string)
|
234
249
|
|
235
250
|
ConfigurationAliasesResponse.key = Shapes::ShapeRef.new(shape: __string)
|
236
251
|
ConfigurationAliasesResponse.value = Shapes::ShapeRef.new(shape: __mapOf__string)
|
237
252
|
|
253
|
+
ConfigureLogsForChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
|
254
|
+
ConfigureLogsForChannelRequest.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, required: true, location_name: "LogTypes"))
|
255
|
+
ConfigureLogsForChannelRequest.struct_class = Types::ConfigureLogsForChannelRequest
|
256
|
+
|
257
|
+
ConfigureLogsForChannelResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
|
258
|
+
ConfigureLogsForChannelResponse.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "LogTypes"))
|
259
|
+
ConfigureLogsForChannelResponse.struct_class = Types::ConfigureLogsForChannelResponse
|
260
|
+
|
238
261
|
ConfigureLogsForPlaybackConfigurationRequest.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
|
239
262
|
ConfigureLogsForPlaybackConfigurationRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName"))
|
240
263
|
ConfigureLogsForPlaybackConfigurationRequest.struct_class = Types::ConfigureLogsForPlaybackConfigurationRequest
|
@@ -305,7 +328,9 @@ module Aws::MediaTailor
|
|
305
328
|
CreateProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
306
329
|
CreateProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
307
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"))
|
308
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"))
|
309
334
|
CreateProgramResponse.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
|
310
335
|
CreateProgramResponse.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, location_name: "ProgramName"))
|
311
336
|
CreateProgramResponse.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ScheduledStartTime"))
|
@@ -418,6 +443,7 @@ module Aws::MediaTailor
|
|
418
443
|
DescribeChannelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
|
419
444
|
DescribeChannelResponse.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
|
420
445
|
DescribeChannelResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "LastModifiedTime"))
|
446
|
+
DescribeChannelResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfigurationForChannel, required: true, location_name: "LogConfiguration"))
|
421
447
|
DescribeChannelResponse.add_member(:outputs, Shapes::ShapeRef.new(shape: ResponseOutputs, location_name: "Outputs"))
|
422
448
|
DescribeChannelResponse.add_member(:playback_mode, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackMode"))
|
423
449
|
DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
@@ -444,7 +470,9 @@ module Aws::MediaTailor
|
|
444
470
|
DescribeProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
|
445
471
|
DescribeProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
446
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"))
|
447
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"))
|
448
476
|
DescribeProgramResponse.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
|
449
477
|
DescribeProgramResponse.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, location_name: "ProgramName"))
|
450
478
|
DescribeProgramResponse.add_member(:scheduled_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ScheduledStartTime"))
|
@@ -630,6 +658,11 @@ module Aws::MediaTailor
|
|
630
658
|
LogConfiguration.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
|
631
659
|
LogConfiguration.struct_class = Types::LogConfiguration
|
632
660
|
|
661
|
+
LogConfigurationForChannel.add_member(:log_types, Shapes::ShapeRef.new(shape: LogTypes, location_name: "LogTypes"))
|
662
|
+
LogConfigurationForChannel.struct_class = Types::LogConfigurationForChannel
|
663
|
+
|
664
|
+
LogTypes.member = Shapes::ShapeRef.new(shape: LogType)
|
665
|
+
|
633
666
|
ManifestProcessingRules.add_member(:ad_marker_passthrough, Shapes::ShapeRef.new(shape: AdMarkerPassthrough, location_name: "AdMarkerPassthrough"))
|
634
667
|
ManifestProcessingRules.struct_class = Types::ManifestProcessingRules
|
635
668
|
|
@@ -738,6 +771,7 @@ module Aws::MediaTailor
|
|
738
771
|
ScheduleAdBreak.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "VodSourceName"))
|
739
772
|
ScheduleAdBreak.struct_class = Types::ScheduleAdBreak
|
740
773
|
|
774
|
+
ScheduleConfiguration.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
|
741
775
|
ScheduleConfiguration.add_member(:transition, Shapes::ShapeRef.new(shape: Transition, required: true, location_name: "Transition"))
|
742
776
|
ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
|
743
777
|
|
@@ -854,6 +888,33 @@ module Aws::MediaTailor
|
|
854
888
|
UpdateLiveSourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
855
889
|
UpdateLiveSourceResponse.struct_class = Types::UpdateLiveSourceResponse
|
856
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
|
+
|
857
918
|
UpdateSourceLocationRequest.add_member(:access_configuration, Shapes::ShapeRef.new(shape: AccessConfiguration, location_name: "AccessConfiguration"))
|
858
919
|
UpdateSourceLocationRequest.add_member(:default_segment_delivery_configuration, Shapes::ShapeRef.new(shape: DefaultSegmentDeliveryConfiguration, location_name: "DefaultSegmentDeliveryConfiguration"))
|
859
920
|
UpdateSourceLocationRequest.add_member(:http_configuration, Shapes::ShapeRef.new(shape: HttpConfiguration, required: true, location_name: "HttpConfiguration"))
|
@@ -943,6 +1004,14 @@ module Aws::MediaTailor
|
|
943
1004
|
"uid" => "mediatailor-2018-04-23",
|
944
1005
|
}
|
945
1006
|
|
1007
|
+
api.add_operation(:configure_logs_for_channel, Seahorse::Model::Operation.new.tap do |o|
|
1008
|
+
o.name = "ConfigureLogsForChannel"
|
1009
|
+
o.http_method = "PUT"
|
1010
|
+
o.http_request_uri = "/configureLogs/channel"
|
1011
|
+
o.input = Shapes::ShapeRef.new(shape: ConfigureLogsForChannelRequest)
|
1012
|
+
o.output = Shapes::ShapeRef.new(shape: ConfigureLogsForChannelResponse)
|
1013
|
+
end)
|
1014
|
+
|
946
1015
|
api.add_operation(:configure_logs_for_playback_configuration, Seahorse::Model::Operation.new.tap do |o|
|
947
1016
|
o.name = "ConfigureLogsForPlaybackConfiguration"
|
948
1017
|
o.http_method = "PUT"
|
@@ -1314,6 +1383,14 @@ module Aws::MediaTailor
|
|
1314
1383
|
o.output = Shapes::ShapeRef.new(shape: UpdateLiveSourceResponse)
|
1315
1384
|
end)
|
1316
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
|
+
|
1317
1394
|
api.add_operation(:update_source_location, Seahorse::Model::Operation.new.tap do |o|
|
1318
1395
|
o.name = "UpdateSourceLocation"
|
1319
1396
|
o.http_method = "PUT"
|
@@ -50,6 +50,9 @@ module Aws::MediaTailor
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -15,7 +15,7 @@ module Aws::MediaTailor
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
21
|
end
|
@@ -11,6 +11,20 @@
|
|
11
11
|
module Aws::MediaTailor
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class ConfigureLogsForChannel
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::MediaTailor::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
14
28
|
class ConfigureLogsForPlaybackConfiguration
|
15
29
|
def self.build(context)
|
16
30
|
unless context.config.regional_endpoint
|
@@ -571,6 +585,20 @@ module Aws::MediaTailor
|
|
571
585
|
end
|
572
586
|
end
|
573
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
|
+
|
574
602
|
class UpdateSourceLocation
|
575
603
|
def self.build(context)
|
576
604
|
unless context.config.regional_endpoint
|
@@ -56,6 +56,8 @@ module Aws::MediaTailor
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :configure_logs_for_channel
|
60
|
+
Aws::MediaTailor::Endpoints::ConfigureLogsForChannel.build(context)
|
59
61
|
when :configure_logs_for_playback_configuration
|
60
62
|
Aws::MediaTailor::Endpoints::ConfigureLogsForPlaybackConfiguration.build(context)
|
61
63
|
when :create_channel
|
@@ -136,6 +138,8 @@ module Aws::MediaTailor
|
|
136
138
|
Aws::MediaTailor::Endpoints::UpdateChannel.build(context)
|
137
139
|
when :update_live_source
|
138
140
|
Aws::MediaTailor::Endpoints::UpdateLiveSource.build(context)
|
141
|
+
when :update_program
|
142
|
+
Aws::MediaTailor::Endpoints::UpdateProgram.build(context)
|
139
143
|
when :update_source_location
|
140
144
|
Aws::MediaTailor::Endpoints::UpdateSourceLocation.build(context)
|
141
145
|
when :update_vod_source
|
@@ -344,6 +344,10 @@ module Aws::MediaTailor
|
|
344
344
|
# The timestamp of when the channel was last modified.
|
345
345
|
# @return [Time]
|
346
346
|
#
|
347
|
+
# @!attribute [rw] log_configuration
|
348
|
+
# The log configuration.
|
349
|
+
# @return [Types::LogConfigurationForChannel]
|
350
|
+
#
|
347
351
|
# @!attribute [rw] outputs
|
348
352
|
# The channel's output properties.
|
349
353
|
# @return [Array<Types::ResponseOutputItem>]
|
@@ -383,6 +387,7 @@ module Aws::MediaTailor
|
|
383
387
|
:creation_time,
|
384
388
|
:filler_slate,
|
385
389
|
:last_modified_time,
|
390
|
+
:log_configuration,
|
386
391
|
:outputs,
|
387
392
|
:playback_mode,
|
388
393
|
:tags,
|
@@ -391,6 +396,56 @@ module Aws::MediaTailor
|
|
391
396
|
include Aws::Structure
|
392
397
|
end
|
393
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
|
+
|
415
|
+
# @!attribute [rw] channel_name
|
416
|
+
# The name of the channel.
|
417
|
+
# @return [String]
|
418
|
+
#
|
419
|
+
# @!attribute [rw] log_types
|
420
|
+
# The types of logs to collect.
|
421
|
+
# @return [Array<String>]
|
422
|
+
#
|
423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForChannelRequest AWS API Documentation
|
424
|
+
#
|
425
|
+
class ConfigureLogsForChannelRequest < Struct.new(
|
426
|
+
:channel_name,
|
427
|
+
:log_types)
|
428
|
+
SENSITIVE = []
|
429
|
+
include Aws::Structure
|
430
|
+
end
|
431
|
+
|
432
|
+
# @!attribute [rw] channel_name
|
433
|
+
# The name of the channel.
|
434
|
+
# @return [String]
|
435
|
+
#
|
436
|
+
# @!attribute [rw] log_types
|
437
|
+
# The types of logs collected.
|
438
|
+
# @return [Array<String>]
|
439
|
+
#
|
440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForChannelResponse AWS API Documentation
|
441
|
+
#
|
442
|
+
class ConfigureLogsForChannelResponse < Struct.new(
|
443
|
+
:channel_name,
|
444
|
+
:log_types)
|
445
|
+
SENSITIVE = []
|
446
|
+
include Aws::Structure
|
447
|
+
end
|
448
|
+
|
394
449
|
# Configures Amazon CloudWatch log settings for a playback
|
395
450
|
# configuration.
|
396
451
|
#
|
@@ -790,10 +845,18 @@ module Aws::MediaTailor
|
|
790
845
|
# The name to assign to the channel for this program.
|
791
846
|
# @return [String]
|
792
847
|
#
|
848
|
+
# @!attribute [rw] clip_range
|
849
|
+
# The clip range configuration settings.
|
850
|
+
# @return [Types::ClipRange]
|
851
|
+
#
|
793
852
|
# @!attribute [rw] creation_time
|
794
853
|
# The time the program was created.
|
795
854
|
# @return [Time]
|
796
855
|
#
|
856
|
+
# @!attribute [rw] duration_millis
|
857
|
+
# The duration of the live program in milliseconds.
|
858
|
+
# @return [Integer]
|
859
|
+
#
|
797
860
|
# @!attribute [rw] live_source_name
|
798
861
|
# The name of the LiveSource for this Program.
|
799
862
|
# @return [String]
|
@@ -820,7 +883,9 @@ module Aws::MediaTailor
|
|
820
883
|
:ad_breaks,
|
821
884
|
:arn,
|
822
885
|
:channel_name,
|
886
|
+
:clip_range,
|
823
887
|
:creation_time,
|
888
|
+
:duration_millis,
|
824
889
|
:live_source_name,
|
825
890
|
:program_name,
|
826
891
|
:scheduled_start_time,
|
@@ -1339,6 +1404,10 @@ module Aws::MediaTailor
|
|
1339
1404
|
# The timestamp of when the channel was last modified.
|
1340
1405
|
# @return [Time]
|
1341
1406
|
#
|
1407
|
+
# @!attribute [rw] log_configuration
|
1408
|
+
# The log configuration for the channel.
|
1409
|
+
# @return [Types::LogConfigurationForChannel]
|
1410
|
+
#
|
1342
1411
|
# @!attribute [rw] outputs
|
1343
1412
|
# The channel's output properties.
|
1344
1413
|
# @return [Array<Types::ResponseOutputItem>]
|
@@ -1371,6 +1440,7 @@ module Aws::MediaTailor
|
|
1371
1440
|
:creation_time,
|
1372
1441
|
:filler_slate,
|
1373
1442
|
:last_modified_time,
|
1443
|
+
:log_configuration,
|
1374
1444
|
:outputs,
|
1375
1445
|
:playback_mode,
|
1376
1446
|
:tags,
|
@@ -1474,10 +1544,18 @@ module Aws::MediaTailor
|
|
1474
1544
|
# The name of the channel that the program belongs to.
|
1475
1545
|
# @return [String]
|
1476
1546
|
#
|
1547
|
+
# @!attribute [rw] clip_range
|
1548
|
+
# The clip range configuration settings.
|
1549
|
+
# @return [Types::ClipRange]
|
1550
|
+
#
|
1477
1551
|
# @!attribute [rw] creation_time
|
1478
1552
|
# The timestamp of when the program was created.
|
1479
1553
|
# @return [Time]
|
1480
1554
|
#
|
1555
|
+
# @!attribute [rw] duration_millis
|
1556
|
+
# The duration of the live program in milliseconds.
|
1557
|
+
# @return [Integer]
|
1558
|
+
#
|
1481
1559
|
# @!attribute [rw] live_source_name
|
1482
1560
|
# The name of the LiveSource for this Program.
|
1483
1561
|
# @return [String]
|
@@ -1507,7 +1585,9 @@ module Aws::MediaTailor
|
|
1507
1585
|
:ad_breaks,
|
1508
1586
|
:arn,
|
1509
1587
|
:channel_name,
|
1588
|
+
:clip_range,
|
1510
1589
|
:creation_time,
|
1590
|
+
:duration_millis,
|
1511
1591
|
:live_source_name,
|
1512
1592
|
:program_name,
|
1513
1593
|
:scheduled_start_time,
|
@@ -2519,6 +2599,20 @@ module Aws::MediaTailor
|
|
2519
2599
|
include Aws::Structure
|
2520
2600
|
end
|
2521
2601
|
|
2602
|
+
# The log configuration for the channel.
|
2603
|
+
#
|
2604
|
+
# @!attribute [rw] log_types
|
2605
|
+
# The log types.
|
2606
|
+
# @return [Array<String>]
|
2607
|
+
#
|
2608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/LogConfigurationForChannel AWS API Documentation
|
2609
|
+
#
|
2610
|
+
class LogConfigurationForChannel < Struct.new(
|
2611
|
+
:log_types)
|
2612
|
+
SENSITIVE = []
|
2613
|
+
include Aws::Structure
|
2614
|
+
end
|
2615
|
+
|
2522
2616
|
# The configuration for manifest processing rules. Manifest processing
|
2523
2617
|
# rules enable customization of the personalized manifests created by
|
2524
2618
|
# MediaTailor.
|
@@ -3252,6 +3346,10 @@ module Aws::MediaTailor
|
|
3252
3346
|
# Schedule configuration parameters. A channel must be stopped before
|
3253
3347
|
# changes can be made to the schedule.
|
3254
3348
|
#
|
3349
|
+
# @!attribute [rw] clip_range
|
3350
|
+
# Program clip range configuration.
|
3351
|
+
# @return [Types::ClipRange]
|
3352
|
+
#
|
3255
3353
|
# @!attribute [rw] transition
|
3256
3354
|
# Program transition configurations.
|
3257
3355
|
# @return [Types::Transition]
|
@@ -3259,6 +3357,7 @@ module Aws::MediaTailor
|
|
3259
3357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ScheduleConfiguration AWS API Documentation
|
3260
3358
|
#
|
3261
3359
|
class ScheduleConfiguration < Struct.new(
|
3360
|
+
:clip_range,
|
3262
3361
|
:transition)
|
3263
3362
|
SENSITIVE = []
|
3264
3363
|
include Aws::Structure
|
@@ -3919,6 +4018,134 @@ module Aws::MediaTailor
|
|
3919
4018
|
include Aws::Structure
|
3920
4019
|
end
|
3921
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
|
+
|
3922
4149
|
# @!attribute [rw] access_configuration
|
3923
4150
|
# Access configuration parameters. Configures the type of
|
3924
4151
|
# authentication used to access content from your source location.
|
data/lib/aws-sdk-mediatailor.rb
CHANGED
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-mediatailor/customizations'
|
|
32
32
|
# structure.
|
33
33
|
#
|
34
34
|
# media_tailor = Aws::MediaTailor::Client.new
|
35
|
-
# resp = media_tailor.
|
35
|
+
# resp = media_tailor.configure_logs_for_channel(params)
|
36
36
|
#
|
37
37
|
# See {Client} for more information.
|
38
38
|
#
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::MediaTailor
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.60.0'
|
56
56
|
|
57
57
|
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.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
|