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