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