aws-sdk-mediatailor 1.76.0 → 1.78.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,9 @@ module Aws::MediaTailor
23
23
  AdMarkupType = Shapes::StringShape.new(name: 'AdMarkupType')
24
24
  Alert = Shapes::StructureShape.new(name: 'Alert')
25
25
  AlertCategory = Shapes::StringShape.new(name: 'AlertCategory')
26
+ AlternateMedia = Shapes::StructureShape.new(name: 'AlternateMedia')
27
+ AudienceMedia = Shapes::StructureShape.new(name: 'AudienceMedia')
28
+ Audiences = Shapes::ListShape.new(name: 'Audiences')
26
29
  AvailMatchingCriteria = Shapes::StructureShape.new(name: 'AvailMatchingCriteria')
27
30
  AvailSuppression = Shapes::StructureShape.new(name: 'AvailSuppression')
28
31
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
@@ -93,6 +96,7 @@ module Aws::MediaTailor
93
96
  HttpConfiguration = Shapes::StructureShape.new(name: 'HttpConfiguration')
94
97
  HttpPackageConfiguration = Shapes::StructureShape.new(name: 'HttpPackageConfiguration')
95
98
  HttpPackageConfigurations = Shapes::ListShape.new(name: 'HttpPackageConfigurations')
99
+ InsertionMode = Shapes::StringShape.new(name: 'InsertionMode')
96
100
  Integer = Shapes::IntegerShape.new(name: 'Integer')
97
101
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
98
102
  ListAlertsRequest = Shapes::StructureShape.new(name: 'ListAlertsRequest')
@@ -180,6 +184,8 @@ module Aws::MediaTailor
180
184
  __integerMin1Max100 = Shapes::IntegerShape.new(name: '__integerMin1Max100')
181
185
  __listOfAdBreak = Shapes::ListShape.new(name: '__listOfAdBreak')
182
186
  __listOfAlert = Shapes::ListShape.new(name: '__listOfAlert')
187
+ __listOfAlternateMedia = Shapes::ListShape.new(name: '__listOfAlternateMedia')
188
+ __listOfAudienceMedia = Shapes::ListShape.new(name: '__listOfAudienceMedia')
183
189
  __listOfAvailMatchingCriteria = Shapes::ListShape.new(name: '__listOfAvailMatchingCriteria')
184
190
  __listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
185
191
  __listOfLiveSource = Shapes::ListShape.new(name: '__listOfLiveSource')
@@ -203,7 +209,7 @@ module Aws::MediaTailor
203
209
 
204
210
  AdBreak.add_member(:ad_break_metadata, Shapes::ShapeRef.new(shape: AdBreakMetadataList, location_name: "AdBreakMetadata"))
205
211
  AdBreak.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType"))
206
- AdBreak.add_member(:offset_millis, Shapes::ShapeRef.new(shape: __long, location_name: "OffsetMillis"))
212
+ AdBreak.add_member(:offset_millis, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "OffsetMillis"))
207
213
  AdBreak.add_member(:slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "Slate"))
208
214
  AdBreak.add_member(:splice_insert_message, Shapes::ShapeRef.new(shape: SpliceInsertMessage, location_name: "SpliceInsertMessage"))
209
215
  AdBreak.add_member(:time_signal_message, Shapes::ShapeRef.new(shape: TimeSignalMessage, location_name: "TimeSignalMessage"))
@@ -227,6 +233,21 @@ module Aws::MediaTailor
227
233
  Alert.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ResourceArn"))
228
234
  Alert.struct_class = Types::Alert
229
235
 
236
+ AlternateMedia.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
237
+ AlternateMedia.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
238
+ AlternateMedia.add_member(:duration_millis, Shapes::ShapeRef.new(shape: __long, location_name: "DurationMillis"))
239
+ AlternateMedia.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
240
+ AlternateMedia.add_member(:scheduled_start_time_millis, Shapes::ShapeRef.new(shape: __long, location_name: "ScheduledStartTimeMillis"))
241
+ AlternateMedia.add_member(:source_location_name, Shapes::ShapeRef.new(shape: __string, location_name: "SourceLocationName"))
242
+ AlternateMedia.add_member(:vod_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "VodSourceName"))
243
+ AlternateMedia.struct_class = Types::AlternateMedia
244
+
245
+ AudienceMedia.add_member(:alternate_media, Shapes::ShapeRef.new(shape: __listOfAlternateMedia, location_name: "AlternateMedia"))
246
+ AudienceMedia.add_member(:audience, Shapes::ShapeRef.new(shape: __string, location_name: "Audience"))
247
+ AudienceMedia.struct_class = Types::AudienceMedia
248
+
249
+ Audiences.member = Shapes::ShapeRef.new(shape: String)
250
+
230
251
  AvailMatchingCriteria.add_member(:dynamic_variable, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DynamicVariable"))
231
252
  AvailMatchingCriteria.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
232
253
  AvailMatchingCriteria.struct_class = Types::AvailMatchingCriteria
@@ -248,6 +269,7 @@ module Aws::MediaTailor
248
269
  CdnConfiguration.struct_class = Types::CdnConfiguration
249
270
 
250
271
  Channel.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
272
+ Channel.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
251
273
  Channel.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
252
274
  Channel.add_member(:channel_state, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelState"))
253
275
  Channel.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -260,7 +282,8 @@ module Aws::MediaTailor
260
282
  Channel.add_member(:tier, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Tier"))
261
283
  Channel.struct_class = Types::Channel
262
284
 
263
- ClipRange.add_member(:end_offset_millis, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "EndOffsetMillis"))
285
+ ClipRange.add_member(:end_offset_millis, Shapes::ShapeRef.new(shape: __long, location_name: "EndOffsetMillis", metadata: {"box"=>true}))
286
+ ClipRange.add_member(:start_offset_millis, Shapes::ShapeRef.new(shape: __long, location_name: "StartOffsetMillis"))
264
287
  ClipRange.struct_class = Types::ClipRange
265
288
 
266
289
  ConfigurationAliasesRequest.key = Shapes::ShapeRef.new(shape: __string)
@@ -285,6 +308,7 @@ module Aws::MediaTailor
285
308
  ConfigureLogsForPlaybackConfigurationResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName"))
286
309
  ConfigureLogsForPlaybackConfigurationResponse.struct_class = Types::ConfigureLogsForPlaybackConfigurationResponse
287
310
 
311
+ CreateChannelRequest.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
288
312
  CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
289
313
  CreateChannelRequest.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
290
314
  CreateChannelRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: RequestOutputs, required: true, location_name: "Outputs"))
@@ -295,6 +319,7 @@ module Aws::MediaTailor
295
319
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
296
320
 
297
321
  CreateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
322
+ CreateChannelResponse.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
298
323
  CreateChannelResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
299
324
  CreateChannelResponse.add_member(:channel_state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "ChannelState"))
300
325
  CreateChannelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -338,6 +363,7 @@ module Aws::MediaTailor
338
363
  CreatePrefetchScheduleResponse.struct_class = Types::CreatePrefetchScheduleResponse
339
364
 
340
365
  CreateProgramRequest.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
366
+ CreateProgramRequest.add_member(:audience_media, Shapes::ShapeRef.new(shape: __listOfAudienceMedia, location_name: "AudienceMedia"))
341
367
  CreateProgramRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
342
368
  CreateProgramRequest.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
343
369
  CreateProgramRequest.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ProgramName"))
@@ -348,6 +374,7 @@ module Aws::MediaTailor
348
374
 
349
375
  CreateProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
350
376
  CreateProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
377
+ CreateProgramResponse.add_member(:audience_media, Shapes::ShapeRef.new(shape: __listOfAudienceMedia, location_name: "AudienceMedia"))
351
378
  CreateProgramResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
352
379
  CreateProgramResponse.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
353
380
  CreateProgramResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -459,6 +486,7 @@ module Aws::MediaTailor
459
486
  DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
460
487
 
461
488
  DescribeChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
489
+ DescribeChannelResponse.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
462
490
  DescribeChannelResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
463
491
  DescribeChannelResponse.add_member(:channel_state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "ChannelState"))
464
492
  DescribeChannelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -491,6 +519,7 @@ module Aws::MediaTailor
491
519
 
492
520
  DescribeProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
493
521
  DescribeProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
522
+ DescribeProgramResponse.add_member(:audience_media, Shapes::ShapeRef.new(shape: __listOfAudienceMedia, location_name: "AudienceMedia"))
494
523
  DescribeProgramResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
495
524
  DescribeProgramResponse.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
496
525
  DescribeProgramResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -536,6 +565,7 @@ module Aws::MediaTailor
536
565
  GetChannelPolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: __string, location_name: "Policy"))
537
566
  GetChannelPolicyResponse.struct_class = Types::GetChannelPolicyResponse
538
567
 
568
+ GetChannelScheduleRequest.add_member(:audience, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "audience"))
539
569
  GetChannelScheduleRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
540
570
  GetChannelScheduleRequest.add_member(:duration_minutes, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "durationMinutes"))
541
571
  GetChannelScheduleRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -556,6 +586,7 @@ module Aws::MediaTailor
556
586
  GetPlaybackConfigurationResponse.add_member(:configuration_aliases, Shapes::ShapeRef.new(shape: ConfigurationAliasesResponse, location_name: "ConfigurationAliases"))
557
587
  GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
558
588
  GetPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
589
+ GetPlaybackConfigurationResponse.add_member(:insertion_mode, Shapes::ShapeRef.new(shape: InsertionMode, location_name: "InsertionMode"))
559
590
  GetPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
560
591
  GetPlaybackConfigurationResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
561
592
  GetPlaybackConfigurationResponse.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
@@ -701,6 +732,7 @@ module Aws::MediaTailor
701
732
  PlaybackConfiguration.add_member(:configuration_aliases, Shapes::ShapeRef.new(shape: ConfigurationAliasesResponse, location_name: "ConfigurationAliases"))
702
733
  PlaybackConfiguration.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
703
734
  PlaybackConfiguration.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
735
+ PlaybackConfiguration.add_member(:insertion_mode, Shapes::ShapeRef.new(shape: InsertionMode, location_name: "InsertionMode"))
704
736
  PlaybackConfiguration.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
705
737
  PlaybackConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
706
738
  PlaybackConfiguration.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
@@ -745,6 +777,7 @@ module Aws::MediaTailor
745
777
  PutPlaybackConfigurationRequest.add_member(:cdn_configuration, Shapes::ShapeRef.new(shape: CdnConfiguration, location_name: "CdnConfiguration"))
746
778
  PutPlaybackConfigurationRequest.add_member(:configuration_aliases, Shapes::ShapeRef.new(shape: ConfigurationAliasesRequest, location_name: "ConfigurationAliases"))
747
779
  PutPlaybackConfigurationRequest.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfigurationForPut, location_name: "DashConfiguration"))
780
+ PutPlaybackConfigurationRequest.add_member(:insertion_mode, Shapes::ShapeRef.new(shape: InsertionMode, location_name: "InsertionMode"))
748
781
  PutPlaybackConfigurationRequest.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
749
782
  PutPlaybackConfigurationRequest.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
750
783
  PutPlaybackConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
@@ -762,6 +795,7 @@ module Aws::MediaTailor
762
795
  PutPlaybackConfigurationResponse.add_member(:configuration_aliases, Shapes::ShapeRef.new(shape: ConfigurationAliasesResponse, location_name: "ConfigurationAliases"))
763
796
  PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
764
797
  PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
798
+ PutPlaybackConfigurationResponse.add_member(:insertion_mode, Shapes::ShapeRef.new(shape: InsertionMode, location_name: "InsertionMode"))
765
799
  PutPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
766
800
  PutPlaybackConfigurationResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
767
801
  PutPlaybackConfigurationResponse.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
@@ -806,6 +840,7 @@ module Aws::MediaTailor
806
840
  ScheduleEntry.add_member(:approximate_duration_seconds, Shapes::ShapeRef.new(shape: __long, location_name: "ApproximateDurationSeconds"))
807
841
  ScheduleEntry.add_member(:approximate_start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "ApproximateStartTime"))
808
842
  ScheduleEntry.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
843
+ ScheduleEntry.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
809
844
  ScheduleEntry.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ChannelName"))
810
845
  ScheduleEntry.add_member(:live_source_name, Shapes::ShapeRef.new(shape: __string, location_name: "LiveSourceName"))
811
846
  ScheduleEntry.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProgramName"))
@@ -888,6 +923,7 @@ module Aws::MediaTailor
888
923
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
889
924
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
890
925
 
926
+ UpdateChannelRequest.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
891
927
  UpdateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
892
928
  UpdateChannelRequest.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
893
929
  UpdateChannelRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: RequestOutputs, required: true, location_name: "Outputs"))
@@ -895,6 +931,7 @@ module Aws::MediaTailor
895
931
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
896
932
 
897
933
  UpdateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
934
+ UpdateChannelResponse.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "Audiences"))
898
935
  UpdateChannelResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
899
936
  UpdateChannelResponse.add_member(:channel_state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "ChannelState"))
900
937
  UpdateChannelResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -922,6 +959,7 @@ module Aws::MediaTailor
922
959
  UpdateLiveSourceResponse.struct_class = Types::UpdateLiveSourceResponse
923
960
 
924
961
  UpdateProgramRequest.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
962
+ UpdateProgramRequest.add_member(:audience_media, Shapes::ShapeRef.new(shape: __listOfAudienceMedia, location_name: "AudienceMedia"))
925
963
  UpdateProgramRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ChannelName"))
926
964
  UpdateProgramRequest.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ProgramName"))
927
965
  UpdateProgramRequest.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: UpdateProgramScheduleConfiguration, required: true, location_name: "ScheduleConfiguration"))
@@ -929,6 +967,7 @@ module Aws::MediaTailor
929
967
 
930
968
  UpdateProgramResponse.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
931
969
  UpdateProgramResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
970
+ UpdateProgramResponse.add_member(:audience_media, Shapes::ShapeRef.new(shape: __listOfAudienceMedia, location_name: "AudienceMedia"))
932
971
  UpdateProgramResponse.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, location_name: "ChannelName"))
933
972
  UpdateProgramResponse.add_member(:clip_range, Shapes::ShapeRef.new(shape: ClipRange, location_name: "ClipRange"))
934
973
  UpdateProgramResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "CreationTime"))
@@ -993,6 +1032,10 @@ module Aws::MediaTailor
993
1032
 
994
1033
  __listOfAlert.member = Shapes::ShapeRef.new(shape: Alert)
995
1034
 
1035
+ __listOfAlternateMedia.member = Shapes::ShapeRef.new(shape: AlternateMedia)
1036
+
1037
+ __listOfAudienceMedia.member = Shapes::ShapeRef.new(shape: AudienceMedia)
1038
+
996
1039
  __listOfAvailMatchingCriteria.member = Shapes::ShapeRef.new(shape: AvailMatchingCriteria)
997
1040
 
998
1041
  __listOfChannel.member = Shapes::ShapeRef.new(shape: Channel)
@@ -223,6 +223,73 @@ module Aws::MediaTailor
223
223
  include Aws::Structure
224
224
  end
225
225
 
226
+ # A playlist of media (VOD and/or live) to be played instead of the
227
+ # default media on a particular program.
228
+ #
229
+ # @!attribute [rw] ad_breaks
230
+ # Ad break configuration parameters defined in AlternateMedia.
231
+ # @return [Array<Types::AdBreak>]
232
+ #
233
+ # @!attribute [rw] clip_range
234
+ # Clip range configuration for the VOD source associated with the
235
+ # program.
236
+ # @return [Types::ClipRange]
237
+ #
238
+ # @!attribute [rw] duration_millis
239
+ # The duration of the alternateMedia in milliseconds.
240
+ # @return [Integer]
241
+ #
242
+ # @!attribute [rw] live_source_name
243
+ # The name of the live source for alternateMedia.
244
+ # @return [String]
245
+ #
246
+ # @!attribute [rw] scheduled_start_time_millis
247
+ # The date and time that the alternateMedia is scheduled to start, in
248
+ # epoch milliseconds.
249
+ # @return [Integer]
250
+ #
251
+ # @!attribute [rw] source_location_name
252
+ # The name of the source location for alternateMedia.
253
+ # @return [String]
254
+ #
255
+ # @!attribute [rw] vod_source_name
256
+ # The name of the VOD source for alternateMedia.
257
+ # @return [String]
258
+ #
259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AlternateMedia AWS API Documentation
260
+ #
261
+ class AlternateMedia < Struct.new(
262
+ :ad_breaks,
263
+ :clip_range,
264
+ :duration_millis,
265
+ :live_source_name,
266
+ :scheduled_start_time_millis,
267
+ :source_location_name,
268
+ :vod_source_name)
269
+ SENSITIVE = []
270
+ include Aws::Structure
271
+ end
272
+
273
+ # An AudienceMedia object contains an Audience and a list of
274
+ # AlternateMedia.
275
+ #
276
+ # @!attribute [rw] alternate_media
277
+ # The list of AlternateMedia defined in AudienceMedia.
278
+ # @return [Array<Types::AlternateMedia>]
279
+ #
280
+ # @!attribute [rw] audience
281
+ # The Audience defined in AudienceMedia.
282
+ # @return [String]
283
+ #
284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/AudienceMedia AWS API Documentation
285
+ #
286
+ class AudienceMedia < Struct.new(
287
+ :alternate_media,
288
+ :audience)
289
+ SENSITIVE = []
290
+ include Aws::Structure
291
+ end
292
+
226
293
  # MediaTailor only places (consumes) prefetched ads if the ad break
227
294
  # meets the criteria defined by the dynamic variables. This gives you
228
295
  # granular control over which ad break to place the prefetched ads into.
@@ -398,6 +465,10 @@ module Aws::MediaTailor
398
465
  # The ARN of the channel.
399
466
  # @return [String]
400
467
  #
468
+ # @!attribute [rw] audiences
469
+ # The list of audiences defined in channel.
470
+ # @return [Array<String>]
471
+ #
401
472
  # @!attribute [rw] channel_name
402
473
  # The name of the channel.
403
474
  # @return [String]
@@ -459,6 +530,7 @@ module Aws::MediaTailor
459
530
  #
460
531
  class Channel < Struct.new(
461
532
  :arn,
533
+ :audiences,
462
534
  :channel_name,
463
535
  :channel_state,
464
536
  :creation_time,
@@ -481,10 +553,17 @@ module Aws::MediaTailor
481
553
  # beginning of the VOD source associated with the program.
482
554
  # @return [Integer]
483
555
  #
556
+ # @!attribute [rw] start_offset_millis
557
+ # The start offset of the clip range, in milliseconds. This offset
558
+ # truncates the start at the number of milliseconds into the duration
559
+ # of the VOD source.
560
+ # @return [Integer]
561
+ #
484
562
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ClipRange AWS API Documentation
485
563
  #
486
564
  class ClipRange < Struct.new(
487
- :end_offset_millis)
565
+ :end_offset_millis,
566
+ :start_offset_millis)
488
567
  SENSITIVE = []
489
568
  include Aws::Structure
490
569
  end
@@ -573,6 +652,10 @@ module Aws::MediaTailor
573
652
  include Aws::Structure
574
653
  end
575
654
 
655
+ # @!attribute [rw] audiences
656
+ # The list of audiences defined in channel.
657
+ # @return [Array<String>]
658
+ #
576
659
  # @!attribute [rw] channel_name
577
660
  # The name of the channel.
578
661
  # @return [String]
@@ -622,6 +705,7 @@ module Aws::MediaTailor
622
705
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannelRequest AWS API Documentation
623
706
  #
624
707
  class CreateChannelRequest < Struct.new(
708
+ :audiences,
625
709
  :channel_name,
626
710
  :filler_slate,
627
711
  :outputs,
@@ -637,6 +721,10 @@ module Aws::MediaTailor
637
721
  # The Amazon Resource Name (ARN) to assign to the channel.
638
722
  # @return [String]
639
723
  #
724
+ # @!attribute [rw] audiences
725
+ # The list of audiences defined in channel.
726
+ # @return [Array<String>]
727
+ #
640
728
  # @!attribute [rw] channel_name
641
729
  # The name to assign to the channel.
642
730
  # @return [String]
@@ -689,6 +777,7 @@ module Aws::MediaTailor
689
777
  #
690
778
  class CreateChannelResponse < Struct.new(
691
779
  :arn,
780
+ :audiences,
692
781
  :channel_name,
693
782
  :channel_state,
694
783
  :creation_time,
@@ -883,6 +972,10 @@ module Aws::MediaTailor
883
972
  # The ad break configuration settings.
884
973
  # @return [Array<Types::AdBreak>]
885
974
  #
975
+ # @!attribute [rw] audience_media
976
+ # The list of AudienceMedia defined in program.
977
+ # @return [Array<Types::AudienceMedia>]
978
+ #
886
979
  # @!attribute [rw] channel_name
887
980
  # The name of the channel for this Program.
888
981
  # @return [String]
@@ -911,6 +1004,7 @@ module Aws::MediaTailor
911
1004
  #
912
1005
  class CreateProgramRequest < Struct.new(
913
1006
  :ad_breaks,
1007
+ :audience_media,
914
1008
  :channel_name,
915
1009
  :live_source_name,
916
1010
  :program_name,
@@ -929,6 +1023,10 @@ module Aws::MediaTailor
929
1023
  # The ARN to assign to the program.
930
1024
  # @return [String]
931
1025
  #
1026
+ # @!attribute [rw] audience_media
1027
+ # The list of AudienceMedia defined in program.
1028
+ # @return [Array<Types::AudienceMedia>]
1029
+ #
932
1030
  # @!attribute [rw] channel_name
933
1031
  # The name to assign to the channel for this program.
934
1032
  # @return [String]
@@ -970,6 +1068,7 @@ module Aws::MediaTailor
970
1068
  class CreateProgramResponse < Struct.new(
971
1069
  :ad_breaks,
972
1070
  :arn,
1071
+ :audience_media,
973
1072
  :channel_name,
974
1073
  :clip_range,
975
1074
  :creation_time,
@@ -1471,6 +1570,10 @@ module Aws::MediaTailor
1471
1570
  # The ARN of the channel.
1472
1571
  # @return [String]
1473
1572
  #
1573
+ # @!attribute [rw] audiences
1574
+ # The list of audiences defined in channel.
1575
+ # @return [Array<String>]
1576
+ #
1474
1577
  # @!attribute [rw] channel_name
1475
1578
  # The name of the channel.
1476
1579
  # @return [String]
@@ -1527,6 +1630,7 @@ module Aws::MediaTailor
1527
1630
  #
1528
1631
  class DescribeChannelResponse < Struct.new(
1529
1632
  :arn,
1633
+ :audiences,
1530
1634
  :channel_name,
1531
1635
  :channel_state,
1532
1636
  :creation_time,
@@ -1633,6 +1737,10 @@ module Aws::MediaTailor
1633
1737
  # The ARN of the program.
1634
1738
  # @return [String]
1635
1739
  #
1740
+ # @!attribute [rw] audience_media
1741
+ # The list of AudienceMedia defined in program.
1742
+ # @return [Array<Types::AudienceMedia>]
1743
+ #
1636
1744
  # @!attribute [rw] channel_name
1637
1745
  # The name of the channel that the program belongs to.
1638
1746
  # @return [String]
@@ -1677,6 +1785,7 @@ module Aws::MediaTailor
1677
1785
  class DescribeProgramResponse < Struct.new(
1678
1786
  :ad_breaks,
1679
1787
  :arn,
1788
+ :audience_media,
1680
1789
  :channel_name,
1681
1790
  :clip_range,
1682
1791
  :creation_time,
@@ -1859,6 +1968,10 @@ module Aws::MediaTailor
1859
1968
  include Aws::Structure
1860
1969
  end
1861
1970
 
1971
+ # @!attribute [rw] audience
1972
+ # The single audience for GetChannelScheduleRequest.
1973
+ # @return [String]
1974
+ #
1862
1975
  # @!attribute [rw] channel_name
1863
1976
  # The name of the channel associated with this Channel Schedule.
1864
1977
  # @return [String]
@@ -1892,6 +2005,7 @@ module Aws::MediaTailor
1892
2005
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelScheduleRequest AWS API Documentation
1893
2006
  #
1894
2007
  class GetChannelScheduleRequest < Struct.new(
2008
+ :audience,
1895
2009
  :channel_name,
1896
2010
  :duration_minutes,
1897
2011
  :max_results,
@@ -1983,6 +2097,15 @@ module Aws::MediaTailor
1983
2097
  # The configuration for HLS content.
1984
2098
  # @return [Types::HlsConfiguration]
1985
2099
  #
2100
+ # @!attribute [rw] insertion_mode
2101
+ # The setting that controls whether players can use stitched or guided
2102
+ # ad insertion. The default, `STITCHED_ONLY`, forces all player
2103
+ # sessions to use stitched (server-side) ad insertion. Choosing
2104
+ # `PLAYER_SELECT` allows players to select either stitched or guided
2105
+ # ad insertion at session-initialization time. The default for players
2106
+ # that do not specify an insertion mode is stitched.
2107
+ # @return [String]
2108
+ #
1986
2109
  # @!attribute [rw] live_pre_roll_configuration
1987
2110
  # The configuration for pre-roll ad insertion.
1988
2111
  # @return [Types::LivePreRollConfiguration]
@@ -2074,6 +2197,7 @@ module Aws::MediaTailor
2074
2197
  :configuration_aliases,
2075
2198
  :dash_configuration,
2076
2199
  :hls_configuration,
2200
+ :insertion_mode,
2077
2201
  :live_pre_roll_configuration,
2078
2202
  :log_configuration,
2079
2203
  :manifest_processing_rules,
@@ -2828,6 +2952,15 @@ module Aws::MediaTailor
2828
2952
  # The configuration for HLS content.
2829
2953
  # @return [Types::HlsConfiguration]
2830
2954
  #
2955
+ # @!attribute [rw] insertion_mode
2956
+ # The setting that controls whether players can use stitched or guided
2957
+ # ad insertion. The default, `STITCHED_ONLY`, forces all player
2958
+ # sessions to use stitched (server-side) ad insertion. Choosing
2959
+ # `PLAYER_SELECT` allows players to select either stitched or guided
2960
+ # ad insertion at session-initialization time. The default for players
2961
+ # that do not specify an insertion mode is stitched.
2962
+ # @return [String]
2963
+ #
2831
2964
  # @!attribute [rw] live_pre_roll_configuration
2832
2965
  # The configuration for pre-roll ad insertion.
2833
2966
  # @return [Types::LivePreRollConfiguration]
@@ -2919,6 +3052,7 @@ module Aws::MediaTailor
2919
3052
  :configuration_aliases,
2920
3053
  :dash_configuration,
2921
3054
  :hls_configuration,
3055
+ :insertion_mode,
2922
3056
  :live_pre_roll_configuration,
2923
3057
  :log_configuration,
2924
3058
  :manifest_processing_rules,
@@ -3134,6 +3268,15 @@ module Aws::MediaTailor
3134
3268
  # The configuration for DASH content.
3135
3269
  # @return [Types::DashConfigurationForPut]
3136
3270
  #
3271
+ # @!attribute [rw] insertion_mode
3272
+ # The setting that controls whether players can use stitched or guided
3273
+ # ad insertion. The default, `STITCHED_ONLY`, forces all player
3274
+ # sessions to use stitched (server-side) ad insertion. Choosing
3275
+ # `PLAYER_SELECT` allows players to select either stitched or guided
3276
+ # ad insertion at session-initialization time. The default for players
3277
+ # that do not specify an insertion mode is stitched.
3278
+ # @return [String]
3279
+ #
3137
3280
  # @!attribute [rw] live_pre_roll_configuration
3138
3281
  # The configuration for pre-roll ad insertion.
3139
3282
  # @return [Types::LivePreRollConfiguration]
@@ -3206,6 +3349,7 @@ module Aws::MediaTailor
3206
3349
  :cdn_configuration,
3207
3350
  :configuration_aliases,
3208
3351
  :dash_configuration,
3352
+ :insertion_mode,
3209
3353
  :live_pre_roll_configuration,
3210
3354
  :manifest_processing_rules,
3211
3355
  :name,
@@ -3270,6 +3414,15 @@ module Aws::MediaTailor
3270
3414
  # The configuration for HLS content.
3271
3415
  # @return [Types::HlsConfiguration]
3272
3416
  #
3417
+ # @!attribute [rw] insertion_mode
3418
+ # The setting that controls whether players can use stitched or guided
3419
+ # ad insertion. The default, `STITCHED_ONLY`, forces all player
3420
+ # sessions to use stitched (server-side) ad insertion. Choosing
3421
+ # `PLAYER_SELECT` allows players to select either stitched or guided
3422
+ # ad insertion at session-initialization time. The default for players
3423
+ # that do not specify an insertion mode is stitched.
3424
+ # @return [String]
3425
+ #
3273
3426
  # @!attribute [rw] live_pre_roll_configuration
3274
3427
  # The configuration for pre-roll ad insertion.
3275
3428
  # @return [Types::LivePreRollConfiguration]
@@ -3362,6 +3515,7 @@ module Aws::MediaTailor
3362
3515
  :configuration_aliases,
3363
3516
  :dash_configuration,
3364
3517
  :hls_configuration,
3518
+ :insertion_mode,
3365
3519
  :live_pre_roll_configuration,
3366
3520
  :log_configuration,
3367
3521
  :manifest_processing_rules,
@@ -3509,6 +3663,10 @@ module Aws::MediaTailor
3509
3663
  # The ARN of the program.
3510
3664
  # @return [String]
3511
3665
  #
3666
+ # @!attribute [rw] audiences
3667
+ # The list of audiences defined in ScheduleEntry.
3668
+ # @return [Array<String>]
3669
+ #
3512
3670
  # @!attribute [rw] channel_name
3513
3671
  # The name of the channel that uses this schedule.
3514
3672
  # @return [String]
@@ -3543,6 +3701,7 @@ module Aws::MediaTailor
3543
3701
  :approximate_duration_seconds,
3544
3702
  :approximate_start_time,
3545
3703
  :arn,
3704
+ :audiences,
3546
3705
  :channel_name,
3547
3706
  :live_source_name,
3548
3707
  :program_name,
@@ -3995,6 +4154,10 @@ module Aws::MediaTailor
3995
4154
  include Aws::Structure
3996
4155
  end
3997
4156
 
4157
+ # @!attribute [rw] audiences
4158
+ # The list of audiences defined in channel.
4159
+ # @return [Array<String>]
4160
+ #
3998
4161
  # @!attribute [rw] channel_name
3999
4162
  # The name of the channel.
4000
4163
  # @return [String]
@@ -4018,6 +4181,7 @@ module Aws::MediaTailor
4018
4181
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannelRequest AWS API Documentation
4019
4182
  #
4020
4183
  class UpdateChannelRequest < Struct.new(
4184
+ :audiences,
4021
4185
  :channel_name,
4022
4186
  :filler_slate,
4023
4187
  :outputs,
@@ -4030,6 +4194,10 @@ module Aws::MediaTailor
4030
4194
  # The Amazon Resource Name (ARN) associated with the channel.
4031
4195
  # @return [String]
4032
4196
  #
4197
+ # @!attribute [rw] audiences
4198
+ # The list of audiences defined in channel.
4199
+ # @return [Array<String>]
4200
+ #
4033
4201
  # @!attribute [rw] channel_name
4034
4202
  # The name of the channel.
4035
4203
  # @return [String]
@@ -4090,6 +4258,7 @@ module Aws::MediaTailor
4090
4258
  #
4091
4259
  class UpdateChannelResponse < Struct.new(
4092
4260
  :arn,
4261
+ :audiences,
4093
4262
  :channel_name,
4094
4263
  :channel_state,
4095
4264
  :creation_time,
@@ -4181,6 +4350,10 @@ module Aws::MediaTailor
4181
4350
  # The ad break configuration settings.
4182
4351
  # @return [Array<Types::AdBreak>]
4183
4352
  #
4353
+ # @!attribute [rw] audience_media
4354
+ # The list of AudienceMedia defined in program.
4355
+ # @return [Array<Types::AudienceMedia>]
4356
+ #
4184
4357
  # @!attribute [rw] channel_name
4185
4358
  # The name of the channel for this Program.
4186
4359
  # @return [String]
@@ -4197,6 +4370,7 @@ module Aws::MediaTailor
4197
4370
  #
4198
4371
  class UpdateProgramRequest < Struct.new(
4199
4372
  :ad_breaks,
4373
+ :audience_media,
4200
4374
  :channel_name,
4201
4375
  :program_name,
4202
4376
  :schedule_configuration)
@@ -4212,6 +4386,10 @@ module Aws::MediaTailor
4212
4386
  # The ARN to assign to the program.
4213
4387
  # @return [String]
4214
4388
  #
4389
+ # @!attribute [rw] audience_media
4390
+ # The list of AudienceMedia defined in program.
4391
+ # @return [Array<Types::AudienceMedia>]
4392
+ #
4215
4393
  # @!attribute [rw] channel_name
4216
4394
  # The name to assign to the channel for this program.
4217
4395
  # @return [String]
@@ -4253,6 +4431,7 @@ module Aws::MediaTailor
4253
4431
  class UpdateProgramResponse < Struct.new(
4254
4432
  :ad_breaks,
4255
4433
  :arn,
4434
+ :audience_media,
4256
4435
  :channel_name,
4257
4436
  :clip_range,
4258
4437
  :creation_time,
@@ -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.76.0'
55
+ GEM_VERSION = '1.78.0'
56
56
 
57
57
  end