aws-sdk-mediatailor 1.92.0 → 1.93.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module Aws::MediaTailor
54
54
  autoload :EndpointProvider, 'aws-sdk-mediatailor/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-mediatailor/endpoints'
56
56
 
57
- GEM_VERSION = '1.92.0'
57
+ GEM_VERSION = '1.93.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -104,7 +104,6 @@ module Aws
104
104
  interface _CreateChannelResponseSuccess
105
105
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelResponse]
106
106
  def arn: () -> ::String
107
- def audiences: () -> ::Array[::String]
108
107
  def channel_name: () -> ::String
109
108
  def channel_state: () -> ("RUNNING" | "STOPPED")
110
109
  def creation_time: () -> ::Time
@@ -115,10 +114,10 @@ module Aws
115
114
  def tags: () -> ::Hash[::String, ::String]
116
115
  def tier: () -> ::String
117
116
  def time_shift_configuration: () -> Types::TimeShiftConfiguration
117
+ def audiences: () -> ::Array[::String]
118
118
  end
119
119
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#create_channel-instance_method
120
120
  def create_channel: (
121
- ?audiences: Array[::String],
122
121
  channel_name: ::String,
123
122
  ?filler_slate: {
124
123
  source_location_name: ::String?,
@@ -133,8 +132,8 @@ module Aws
133
132
  suggested_presentation_delay_seconds: ::Integer?
134
133
  }?,
135
134
  hls_playlist_settings: {
136
- ad_markup_type: Array[("DATERANGE" | "SCTE35_ENHANCED")]?,
137
- manifest_window_seconds: ::Integer?
135
+ manifest_window_seconds: ::Integer?,
136
+ ad_markup_type: Array[("DATERANGE" | "SCTE35_ENHANCED")]?
138
137
  }?,
139
138
  manifest_name: ::String,
140
139
  source_group: ::String
@@ -145,7 +144,8 @@ module Aws
145
144
  ?tier: ("BASIC" | "STANDARD"),
146
145
  ?time_shift_configuration: {
147
146
  max_time_delay_seconds: ::Integer
148
- }
147
+ },
148
+ ?audiences: Array[::String]
149
149
  ) -> _CreateChannelResponseSuccess
150
150
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
151
151
 
@@ -210,27 +210,21 @@ module Aws
210
210
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateProgramResponse]
211
211
  def ad_breaks: () -> ::Array[Types::AdBreak]
212
212
  def arn: () -> ::String
213
- def audience_media: () -> ::Array[Types::AudienceMedia]
214
213
  def channel_name: () -> ::String
215
- def clip_range: () -> Types::ClipRange
216
214
  def creation_time: () -> ::Time
217
- def duration_millis: () -> ::Integer
218
215
  def live_source_name: () -> ::String
219
216
  def program_name: () -> ::String
220
217
  def scheduled_start_time: () -> ::Time
221
218
  def source_location_name: () -> ::String
222
219
  def vod_source_name: () -> ::String
220
+ def clip_range: () -> Types::ClipRange
221
+ def duration_millis: () -> ::Integer
222
+ def audience_media: () -> ::Array[Types::AudienceMedia]
223
223
  end
224
224
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#create_program-instance_method
225
225
  def create_program: (
226
226
  ?ad_breaks: Array[
227
227
  {
228
- ad_break_metadata: Array[
229
- {
230
- key: ::String,
231
- value: ::String
232
- },
233
- ]?,
234
228
  message_type: ("SPLICE_INSERT" | "TIME_SIGNAL")?,
235
229
  offset_millis: ::Integer,
236
230
  slate: {
@@ -246,31 +240,58 @@ module Aws
246
240
  time_signal_message: {
247
241
  segmentation_descriptors: Array[
248
242
  {
249
- segment_num: ::Integer?,
250
243
  segmentation_event_id: ::Integer?,
251
- segmentation_type_id: ::Integer?,
252
- segmentation_upid: ::String?,
253
244
  segmentation_upid_type: ::Integer?,
245
+ segmentation_upid: ::String?,
246
+ segmentation_type_id: ::Integer?,
247
+ segment_num: ::Integer?,
254
248
  segments_expected: ::Integer?,
255
249
  sub_segment_num: ::Integer?,
256
250
  sub_segments_expected: ::Integer?
257
251
  },
258
252
  ]?
259
- }?
253
+ }?,
254
+ ad_break_metadata: Array[
255
+ {
256
+ key: ::String,
257
+ value: ::String
258
+ },
259
+ ]?
260
260
  },
261
261
  ],
262
+ channel_name: ::String,
263
+ ?live_source_name: ::String,
264
+ program_name: ::String,
265
+ schedule_configuration: {
266
+ transition: {
267
+ duration_millis: ::Integer?,
268
+ relative_position: ("BEFORE_PROGRAM" | "AFTER_PROGRAM"),
269
+ relative_program: ::String?,
270
+ scheduled_start_time_millis: ::Integer?,
271
+ type: ::String
272
+ },
273
+ clip_range: {
274
+ end_offset_millis: ::Integer?,
275
+ start_offset_millis: ::Integer?
276
+ }?
277
+ },
278
+ source_location_name: ::String,
279
+ ?vod_source_name: ::String,
262
280
  ?audience_media: Array[
263
281
  {
282
+ audience: ::String?,
264
283
  alternate_media: Array[
265
284
  {
285
+ source_location_name: ::String?,
286
+ live_source_name: ::String?,
287
+ vod_source_name: ::String?,
288
+ clip_range: {
289
+ end_offset_millis: ::Integer?,
290
+ start_offset_millis: ::Integer?
291
+ }?,
292
+ scheduled_start_time_millis: ::Integer?,
266
293
  ad_breaks: Array[
267
294
  {
268
- ad_break_metadata: Array[
269
- {
270
- key: ::String,
271
- value: ::String
272
- },
273
- ]?,
274
295
  message_type: ("SPLICE_INSERT" | "TIME_SIGNAL")?,
275
296
  offset_millis: ::Integer,
276
297
  slate: {
@@ -286,51 +307,30 @@ module Aws
286
307
  time_signal_message: {
287
308
  segmentation_descriptors: Array[
288
309
  {
289
- segment_num: ::Integer?,
290
310
  segmentation_event_id: ::Integer?,
291
- segmentation_type_id: ::Integer?,
292
- segmentation_upid: ::String?,
293
311
  segmentation_upid_type: ::Integer?,
312
+ segmentation_upid: ::String?,
313
+ segmentation_type_id: ::Integer?,
314
+ segment_num: ::Integer?,
294
315
  segments_expected: ::Integer?,
295
316
  sub_segment_num: ::Integer?,
296
317
  sub_segments_expected: ::Integer?
297
318
  },
298
319
  ]?
299
- }?
320
+ }?,
321
+ ad_break_metadata: Array[
322
+ {
323
+ key: ::String,
324
+ value: ::String
325
+ },
326
+ ]?
300
327
  },
301
328
  ]?,
302
- clip_range: {
303
- end_offset_millis: ::Integer?,
304
- start_offset_millis: ::Integer?
305
- }?,
306
- duration_millis: ::Integer?,
307
- live_source_name: ::String?,
308
- scheduled_start_time_millis: ::Integer?,
309
- source_location_name: ::String?,
310
- vod_source_name: ::String?
329
+ duration_millis: ::Integer?
311
330
  },
312
- ]?,
313
- audience: ::String?
331
+ ]?
314
332
  },
315
- ],
316
- channel_name: ::String,
317
- ?live_source_name: ::String,
318
- program_name: ::String,
319
- schedule_configuration: {
320
- clip_range: {
321
- end_offset_millis: ::Integer?,
322
- start_offset_millis: ::Integer?
323
- }?,
324
- transition: {
325
- duration_millis: ::Integer?,
326
- relative_position: ("BEFORE_PROGRAM" | "AFTER_PROGRAM"),
327
- relative_program: ::String?,
328
- scheduled_start_time_millis: ::Integer?,
329
- type: ::String
330
- }
331
- },
332
- source_location_name: ::String,
333
- ?vod_source_name: ::String
333
+ ]
334
334
  ) -> _CreateProgramResponseSuccess
335
335
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProgramResponseSuccess
336
336
 
@@ -477,18 +477,18 @@ module Aws
477
477
  interface _DescribeChannelResponseSuccess
478
478
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeChannelResponse]
479
479
  def arn: () -> ::String
480
- def audiences: () -> ::Array[::String]
481
480
  def channel_name: () -> ::String
482
481
  def channel_state: () -> ("RUNNING" | "STOPPED")
483
482
  def creation_time: () -> ::Time
484
483
  def filler_slate: () -> Types::SlateSource
485
484
  def last_modified_time: () -> ::Time
486
- def log_configuration: () -> Types::LogConfigurationForChannel
487
485
  def outputs: () -> ::Array[Types::ResponseOutputItem]
488
486
  def playback_mode: () -> ::String
489
487
  def tags: () -> ::Hash[::String, ::String]
490
488
  def tier: () -> ::String
489
+ def log_configuration: () -> Types::LogConfigurationForChannel
491
490
  def time_shift_configuration: () -> Types::TimeShiftConfiguration
491
+ def audiences: () -> ::Array[::String]
492
492
  end
493
493
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#describe_channel-instance_method
494
494
  def describe_channel: (
@@ -517,16 +517,16 @@ module Aws
517
517
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProgramResponse]
518
518
  def ad_breaks: () -> ::Array[Types::AdBreak]
519
519
  def arn: () -> ::String
520
- def audience_media: () -> ::Array[Types::AudienceMedia]
521
520
  def channel_name: () -> ::String
522
- def clip_range: () -> Types::ClipRange
523
521
  def creation_time: () -> ::Time
524
- def duration_millis: () -> ::Integer
525
522
  def live_source_name: () -> ::String
526
523
  def program_name: () -> ::String
527
524
  def scheduled_start_time: () -> ::Time
528
525
  def source_location_name: () -> ::String
529
526
  def vod_source_name: () -> ::String
527
+ def clip_range: () -> Types::ClipRange
528
+ def duration_millis: () -> ::Integer
529
+ def audience_media: () -> ::Array[Types::AudienceMedia]
530
530
  end
531
531
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#describe_program-instance_method
532
532
  def describe_program: (
@@ -588,11 +588,11 @@ module Aws
588
588
  end
589
589
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#get_channel_schedule-instance_method
590
590
  def get_channel_schedule: (
591
- ?audience: ::String,
592
591
  channel_name: ::String,
593
592
  ?duration_minutes: ::String,
594
593
  ?max_results: ::Integer,
595
- ?next_token: ::String
594
+ ?next_token: ::String,
595
+ ?audience: ::String
596
596
  ) -> _GetChannelScheduleResponseSuccess
597
597
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChannelScheduleResponseSuccess
598
598
 
@@ -618,6 +618,7 @@ module Aws
618
618
  def tags: () -> ::Hash[::String, ::String]
619
619
  def transcode_profile_name: () -> ::String
620
620
  def video_content_source_url: () -> ::String
621
+ def ad_conditioning_configuration: () -> Types::AdConditioningConfiguration
621
622
  end
622
623
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#get_playback_configuration-instance_method
623
624
  def get_playback_configuration: (
@@ -772,14 +773,15 @@ module Aws
772
773
  def tags: () -> ::Hash[::String, ::String]
773
774
  def transcode_profile_name: () -> ::String
774
775
  def video_content_source_url: () -> ::String
776
+ def ad_conditioning_configuration: () -> Types::AdConditioningConfiguration
775
777
  end
776
778
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#put_playback_configuration-instance_method
777
779
  def put_playback_configuration: (
778
780
  ?ad_decision_server_url: ::String,
779
781
  ?avail_suppression: {
780
- fill_policy: ("FULL_AVAIL_ONLY" | "PARTIAL_AVAIL")?,
781
782
  mode: ("OFF" | "BEHIND_LIVE_EDGE" | "AFTER_LIVE_EDGE")?,
782
- value: ::String?
783
+ value: ::String?,
784
+ fill_policy: ("FULL_AVAIL_ONLY" | "PARTIAL_AVAIL")?
783
785
  },
784
786
  ?bumper: {
785
787
  end_url: ::String?,
@@ -809,7 +811,10 @@ module Aws
809
811
  ?slate_ad_url: ::String,
810
812
  ?tags: Hash[::String, ::String],
811
813
  ?transcode_profile_name: ::String,
812
- ?video_content_source_url: ::String
814
+ ?video_content_source_url: ::String,
815
+ ?ad_conditioning_configuration: {
816
+ streaming_media_file_conditioning: ("TRANSCODE" | "NONE")
817
+ }
813
818
  ) -> _PutPlaybackConfigurationResponseSuccess
814
819
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPlaybackConfigurationResponseSuccess
815
820
 
@@ -848,7 +853,6 @@ module Aws
848
853
  interface _UpdateChannelResponseSuccess
849
854
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelResponse]
850
855
  def arn: () -> ::String
851
- def audiences: () -> ::Array[::String]
852
856
  def channel_name: () -> ::String
853
857
  def channel_state: () -> ("RUNNING" | "STOPPED")
854
858
  def creation_time: () -> ::Time
@@ -859,10 +863,10 @@ module Aws
859
863
  def tags: () -> ::Hash[::String, ::String]
860
864
  def tier: () -> ::String
861
865
  def time_shift_configuration: () -> Types::TimeShiftConfiguration
866
+ def audiences: () -> ::Array[::String]
862
867
  end
863
868
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#update_channel-instance_method
864
869
  def update_channel: (
865
- ?audiences: Array[::String],
866
870
  channel_name: ::String,
867
871
  ?filler_slate: {
868
872
  source_location_name: ::String?,
@@ -877,8 +881,8 @@ module Aws
877
881
  suggested_presentation_delay_seconds: ::Integer?
878
882
  }?,
879
883
  hls_playlist_settings: {
880
- ad_markup_type: Array[("DATERANGE" | "SCTE35_ENHANCED")]?,
881
- manifest_window_seconds: ::Integer?
884
+ manifest_window_seconds: ::Integer?,
885
+ ad_markup_type: Array[("DATERANGE" | "SCTE35_ENHANCED")]?
882
886
  }?,
883
887
  manifest_name: ::String,
884
888
  source_group: ::String
@@ -886,7 +890,8 @@ module Aws
886
890
  ],
887
891
  ?time_shift_configuration: {
888
892
  max_time_delay_seconds: ::Integer
889
- }
893
+ },
894
+ ?audiences: Array[::String]
890
895
  ) -> _UpdateChannelResponseSuccess
891
896
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
892
897
 
@@ -918,27 +923,21 @@ module Aws
918
923
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProgramResponse]
919
924
  def ad_breaks: () -> ::Array[Types::AdBreak]
920
925
  def arn: () -> ::String
921
- def audience_media: () -> ::Array[Types::AudienceMedia]
922
926
  def channel_name: () -> ::String
923
- def clip_range: () -> Types::ClipRange
924
927
  def creation_time: () -> ::Time
925
- def duration_millis: () -> ::Integer
926
- def live_source_name: () -> ::String
927
928
  def program_name: () -> ::String
928
- def scheduled_start_time: () -> ::Time
929
929
  def source_location_name: () -> ::String
930
930
  def vod_source_name: () -> ::String
931
+ def live_source_name: () -> ::String
932
+ def clip_range: () -> Types::ClipRange
933
+ def duration_millis: () -> ::Integer
934
+ def scheduled_start_time: () -> ::Time
935
+ def audience_media: () -> ::Array[Types::AudienceMedia]
931
936
  end
932
937
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaTailor/Client.html#update_program-instance_method
933
938
  def update_program: (
934
939
  ?ad_breaks: Array[
935
940
  {
936
- ad_break_metadata: Array[
937
- {
938
- key: ::String,
939
- value: ::String
940
- },
941
- ]?,
942
941
  message_type: ("SPLICE_INSERT" | "TIME_SIGNAL")?,
943
942
  offset_millis: ::Integer,
944
943
  slate: {
@@ -954,31 +953,52 @@ module Aws
954
953
  time_signal_message: {
955
954
  segmentation_descriptors: Array[
956
955
  {
957
- segment_num: ::Integer?,
958
956
  segmentation_event_id: ::Integer?,
959
- segmentation_type_id: ::Integer?,
960
- segmentation_upid: ::String?,
961
957
  segmentation_upid_type: ::Integer?,
958
+ segmentation_upid: ::String?,
959
+ segmentation_type_id: ::Integer?,
960
+ segment_num: ::Integer?,
962
961
  segments_expected: ::Integer?,
963
962
  sub_segment_num: ::Integer?,
964
963
  sub_segments_expected: ::Integer?
965
964
  },
966
965
  ]?
967
- }?
966
+ }?,
967
+ ad_break_metadata: Array[
968
+ {
969
+ key: ::String,
970
+ value: ::String
971
+ },
972
+ ]?
968
973
  },
969
974
  ],
975
+ channel_name: ::String,
976
+ program_name: ::String,
977
+ schedule_configuration: {
978
+ transition: {
979
+ scheduled_start_time_millis: ::Integer?,
980
+ duration_millis: ::Integer?
981
+ }?,
982
+ clip_range: {
983
+ end_offset_millis: ::Integer?,
984
+ start_offset_millis: ::Integer?
985
+ }?
986
+ },
970
987
  ?audience_media: Array[
971
988
  {
989
+ audience: ::String?,
972
990
  alternate_media: Array[
973
991
  {
992
+ source_location_name: ::String?,
993
+ live_source_name: ::String?,
994
+ vod_source_name: ::String?,
995
+ clip_range: {
996
+ end_offset_millis: ::Integer?,
997
+ start_offset_millis: ::Integer?
998
+ }?,
999
+ scheduled_start_time_millis: ::Integer?,
974
1000
  ad_breaks: Array[
975
1001
  {
976
- ad_break_metadata: Array[
977
- {
978
- key: ::String,
979
- value: ::String
980
- },
981
- ]?,
982
1002
  message_type: ("SPLICE_INSERT" | "TIME_SIGNAL")?,
983
1003
  offset_millis: ::Integer,
984
1004
  slate: {
@@ -994,45 +1014,30 @@ module Aws
994
1014
  time_signal_message: {
995
1015
  segmentation_descriptors: Array[
996
1016
  {
997
- segment_num: ::Integer?,
998
1017
  segmentation_event_id: ::Integer?,
999
- segmentation_type_id: ::Integer?,
1000
- segmentation_upid: ::String?,
1001
1018
  segmentation_upid_type: ::Integer?,
1019
+ segmentation_upid: ::String?,
1020
+ segmentation_type_id: ::Integer?,
1021
+ segment_num: ::Integer?,
1002
1022
  segments_expected: ::Integer?,
1003
1023
  sub_segment_num: ::Integer?,
1004
1024
  sub_segments_expected: ::Integer?
1005
1025
  },
1006
1026
  ]?
1007
- }?
1027
+ }?,
1028
+ ad_break_metadata: Array[
1029
+ {
1030
+ key: ::String,
1031
+ value: ::String
1032
+ },
1033
+ ]?
1008
1034
  },
1009
1035
  ]?,
1010
- clip_range: {
1011
- end_offset_millis: ::Integer?,
1012
- start_offset_millis: ::Integer?
1013
- }?,
1014
- duration_millis: ::Integer?,
1015
- live_source_name: ::String?,
1016
- scheduled_start_time_millis: ::Integer?,
1017
- source_location_name: ::String?,
1018
- vod_source_name: ::String?
1036
+ duration_millis: ::Integer?
1019
1037
  },
1020
- ]?,
1021
- audience: ::String?
1038
+ ]?
1022
1039
  },
1023
- ],
1024
- channel_name: ::String,
1025
- program_name: ::String,
1026
- schedule_configuration: {
1027
- clip_range: {
1028
- end_offset_millis: ::Integer?,
1029
- start_offset_millis: ::Integer?
1030
- }?,
1031
- transition: {
1032
- duration_millis: ::Integer?,
1033
- scheduled_start_time_millis: ::Integer?
1034
- }?
1035
- }
1040
+ ]
1036
1041
  ) -> _UpdateProgramResponseSuccess
1037
1042
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProgramResponseSuccess
1038
1043