aws-sdk-mediatailor 1.44.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ module Aws::MediaTailor
18
18
  AdBreak = Shapes::StructureShape.new(name: 'AdBreak')
19
19
  AdMarkerPassthrough = Shapes::StructureShape.new(name: 'AdMarkerPassthrough')
20
20
  Alert = Shapes::StructureShape.new(name: 'Alert')
21
+ AvailMatchingCriteria = Shapes::StructureShape.new(name: 'AvailMatchingCriteria')
21
22
  AvailSuppression = Shapes::StructureShape.new(name: 'AvailSuppression')
22
23
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
23
24
  Bumper = Shapes::StructureShape.new(name: 'Bumper')
@@ -26,8 +27,12 @@ module Aws::MediaTailor
26
27
  ChannelState = Shapes::StringShape.new(name: 'ChannelState')
27
28
  ConfigurationAliasesRequest = Shapes::MapShape.new(name: 'ConfigurationAliasesRequest')
28
29
  ConfigurationAliasesResponse = Shapes::MapShape.new(name: 'ConfigurationAliasesResponse')
30
+ ConfigureLogsForPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationRequest')
31
+ ConfigureLogsForPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'ConfigureLogsForPlaybackConfigurationResponse')
29
32
  CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
30
33
  CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
34
+ CreatePrefetchScheduleRequest = Shapes::StructureShape.new(name: 'CreatePrefetchScheduleRequest')
35
+ CreatePrefetchScheduleResponse = Shapes::StructureShape.new(name: 'CreatePrefetchScheduleResponse')
31
36
  CreateProgramRequest = Shapes::StructureShape.new(name: 'CreateProgramRequest')
32
37
  CreateProgramResponse = Shapes::StructureShape.new(name: 'CreateProgramResponse')
33
38
  CreateSourceLocationRequest = Shapes::StructureShape.new(name: 'CreateSourceLocationRequest')
@@ -44,6 +49,8 @@ module Aws::MediaTailor
44
49
  DeleteChannelResponse = Shapes::StructureShape.new(name: 'DeleteChannelResponse')
45
50
  DeletePlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'DeletePlaybackConfigurationRequest')
46
51
  DeletePlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'DeletePlaybackConfigurationResponse')
52
+ DeletePrefetchScheduleRequest = Shapes::StructureShape.new(name: 'DeletePrefetchScheduleRequest')
53
+ DeletePrefetchScheduleResponse = Shapes::StructureShape.new(name: 'DeletePrefetchScheduleResponse')
47
54
  DeleteProgramRequest = Shapes::StructureShape.new(name: 'DeleteProgramRequest')
48
55
  DeleteProgramResponse = Shapes::StructureShape.new(name: 'DeleteProgramResponse')
49
56
  DeleteSourceLocationRequest = Shapes::StructureShape.new(name: 'DeleteSourceLocationRequest')
@@ -64,6 +71,8 @@ module Aws::MediaTailor
64
71
  GetChannelScheduleResponse = Shapes::StructureShape.new(name: 'GetChannelScheduleResponse')
65
72
  GetPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'GetPlaybackConfigurationRequest')
66
73
  GetPlaybackConfigurationResponse = Shapes::StructureShape.new(name: 'GetPlaybackConfigurationResponse')
74
+ GetPrefetchScheduleRequest = Shapes::StructureShape.new(name: 'GetPrefetchScheduleRequest')
75
+ GetPrefetchScheduleResponse = Shapes::StructureShape.new(name: 'GetPrefetchScheduleResponse')
67
76
  HlsConfiguration = Shapes::StructureShape.new(name: 'HlsConfiguration')
68
77
  HlsPlaylistSettings = Shapes::StructureShape.new(name: 'HlsPlaylistSettings')
69
78
  HttpConfiguration = Shapes::StructureShape.new(name: 'HttpConfiguration')
@@ -75,6 +84,8 @@ module Aws::MediaTailor
75
84
  ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
76
85
  ListPlaybackConfigurationsRequest = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsRequest')
77
86
  ListPlaybackConfigurationsResponse = Shapes::StructureShape.new(name: 'ListPlaybackConfigurationsResponse')
87
+ ListPrefetchSchedulesRequest = Shapes::StructureShape.new(name: 'ListPrefetchSchedulesRequest')
88
+ ListPrefetchSchedulesResponse = Shapes::StructureShape.new(name: 'ListPrefetchSchedulesResponse')
78
89
  ListSourceLocationsRequest = Shapes::StructureShape.new(name: 'ListSourceLocationsRequest')
79
90
  ListSourceLocationsResponse = Shapes::StructureShape.new(name: 'ListSourceLocationsResponse')
80
91
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -82,13 +93,18 @@ module Aws::MediaTailor
82
93
  ListVodSourcesRequest = Shapes::StructureShape.new(name: 'ListVodSourcesRequest')
83
94
  ListVodSourcesResponse = Shapes::StructureShape.new(name: 'ListVodSourcesResponse')
84
95
  LivePreRollConfiguration = Shapes::StructureShape.new(name: 'LivePreRollConfiguration')
96
+ LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
85
97
  ManifestProcessingRules = Shapes::StructureShape.new(name: 'ManifestProcessingRules')
86
98
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
87
99
  MessageType = Shapes::StringShape.new(name: 'MessageType')
88
100
  Mode = Shapes::StringShape.new(name: 'Mode')
101
+ Operator = Shapes::StringShape.new(name: 'Operator')
89
102
  OriginManifestType = Shapes::StringShape.new(name: 'OriginManifestType')
90
103
  PlaybackConfiguration = Shapes::StructureShape.new(name: 'PlaybackConfiguration')
91
104
  PlaybackMode = Shapes::StringShape.new(name: 'PlaybackMode')
105
+ PrefetchConsumption = Shapes::StructureShape.new(name: 'PrefetchConsumption')
106
+ PrefetchRetrieval = Shapes::StructureShape.new(name: 'PrefetchRetrieval')
107
+ PrefetchSchedule = Shapes::StructureShape.new(name: 'PrefetchSchedule')
92
108
  PutChannelPolicyRequest = Shapes::StructureShape.new(name: 'PutChannelPolicyRequest')
93
109
  PutChannelPolicyResponse = Shapes::StructureShape.new(name: 'PutChannelPolicyResponse')
94
110
  PutPlaybackConfigurationRequest = Shapes::StructureShape.new(name: 'PutPlaybackConfigurationRequest')
@@ -124,10 +140,13 @@ module Aws::MediaTailor
124
140
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
125
141
  __integer = Shapes::IntegerShape.new(name: '__integer')
126
142
  __integerMin1 = Shapes::IntegerShape.new(name: '__integerMin1')
143
+ __integerMin1Max100 = Shapes::IntegerShape.new(name: '__integerMin1Max100')
127
144
  __listOfAdBreak = Shapes::ListShape.new(name: '__listOfAdBreak')
128
145
  __listOfAlert = Shapes::ListShape.new(name: '__listOfAlert')
146
+ __listOfAvailMatchingCriteria = Shapes::ListShape.new(name: '__listOfAvailMatchingCriteria')
129
147
  __listOfChannel = Shapes::ListShape.new(name: '__listOfChannel')
130
148
  __listOfPlaybackConfiguration = Shapes::ListShape.new(name: '__listOfPlaybackConfiguration')
149
+ __listOfPrefetchSchedule = Shapes::ListShape.new(name: '__listOfPrefetchSchedule')
131
150
  __listOfScheduleAdBreak = Shapes::ListShape.new(name: '__listOfScheduleAdBreak')
132
151
  __listOfScheduleEntry = Shapes::ListShape.new(name: '__listOfScheduleEntry')
133
152
  __listOfSourceLocation = Shapes::ListShape.new(name: '__listOfSourceLocation')
@@ -158,6 +177,10 @@ module Aws::MediaTailor
158
177
  Alert.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ResourceArn"))
159
178
  Alert.struct_class = Types::Alert
160
179
 
180
+ AvailMatchingCriteria.add_member(:dynamic_variable, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DynamicVariable"))
181
+ AvailMatchingCriteria.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
182
+ AvailMatchingCriteria.struct_class = Types::AvailMatchingCriteria
183
+
161
184
  AvailSuppression.add_member(:mode, Shapes::ShapeRef.new(shape: Mode, location_name: "Mode"))
162
185
  AvailSuppression.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "Value"))
163
186
  AvailSuppression.struct_class = Types::AvailSuppression
@@ -190,6 +213,14 @@ module Aws::MediaTailor
190
213
  ConfigurationAliasesResponse.key = Shapes::ShapeRef.new(shape: __string)
191
214
  ConfigurationAliasesResponse.value = Shapes::ShapeRef.new(shape: __mapOf__string)
192
215
 
216
+ ConfigureLogsForPlaybackConfigurationRequest.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
217
+ ConfigureLogsForPlaybackConfigurationRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName"))
218
+ ConfigureLogsForPlaybackConfigurationRequest.struct_class = Types::ConfigureLogsForPlaybackConfigurationRequest
219
+
220
+ ConfigureLogsForPlaybackConfigurationResponse.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, location_name: "PercentEnabled"))
221
+ ConfigureLogsForPlaybackConfigurationResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName"))
222
+ ConfigureLogsForPlaybackConfigurationResponse.struct_class = Types::ConfigureLogsForPlaybackConfigurationResponse
223
+
193
224
  CreateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
194
225
  CreateChannelRequest.add_member(:filler_slate, Shapes::ShapeRef.new(shape: SlateSource, location_name: "FillerSlate"))
195
226
  CreateChannelRequest.add_member(:outputs, Shapes::ShapeRef.new(shape: RequestOutputs, required: true, location_name: "Outputs"))
@@ -208,6 +239,21 @@ module Aws::MediaTailor
208
239
  CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
209
240
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
210
241
 
242
+ CreatePrefetchScheduleRequest.add_member(:consumption, Shapes::ShapeRef.new(shape: PrefetchConsumption, required: true, location_name: "Consumption"))
243
+ CreatePrefetchScheduleRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "Name"))
244
+ CreatePrefetchScheduleRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "PlaybackConfigurationName"))
245
+ CreatePrefetchScheduleRequest.add_member(:retrieval, Shapes::ShapeRef.new(shape: PrefetchRetrieval, required: true, location_name: "Retrieval"))
246
+ CreatePrefetchScheduleRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "StreamId"))
247
+ CreatePrefetchScheduleRequest.struct_class = Types::CreatePrefetchScheduleRequest
248
+
249
+ CreatePrefetchScheduleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
250
+ CreatePrefetchScheduleResponse.add_member(:consumption, Shapes::ShapeRef.new(shape: PrefetchConsumption, location_name: "Consumption"))
251
+ CreatePrefetchScheduleResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
252
+ CreatePrefetchScheduleResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName"))
253
+ CreatePrefetchScheduleResponse.add_member(:retrieval, Shapes::ShapeRef.new(shape: PrefetchRetrieval, location_name: "Retrieval"))
254
+ CreatePrefetchScheduleResponse.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "StreamId"))
255
+ CreatePrefetchScheduleResponse.struct_class = Types::CreatePrefetchScheduleResponse
256
+
211
257
  CreateProgramRequest.add_member(:ad_breaks, Shapes::ShapeRef.new(shape: __listOfAdBreak, location_name: "AdBreaks"))
212
258
  CreateProgramRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
213
259
  CreateProgramRequest.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "programName"))
@@ -291,6 +337,12 @@ module Aws::MediaTailor
291
337
 
292
338
  DeletePlaybackConfigurationResponse.struct_class = Types::DeletePlaybackConfigurationResponse
293
339
 
340
+ DeletePrefetchScheduleRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "Name"))
341
+ DeletePrefetchScheduleRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "PlaybackConfigurationName"))
342
+ DeletePrefetchScheduleRequest.struct_class = Types::DeletePrefetchScheduleRequest
343
+
344
+ DeletePrefetchScheduleResponse.struct_class = Types::DeletePrefetchScheduleResponse
345
+
294
346
  DeleteProgramRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
295
347
  DeleteProgramRequest.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "programName"))
296
348
  DeleteProgramRequest.struct_class = Types::DeleteProgramRequest
@@ -389,6 +441,7 @@ module Aws::MediaTailor
389
441
  GetPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
390
442
  GetPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
391
443
  GetPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
444
+ GetPlaybackConfigurationResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
392
445
  GetPlaybackConfigurationResponse.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
393
446
  GetPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
394
447
  GetPlaybackConfigurationResponse.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
@@ -401,6 +454,18 @@ module Aws::MediaTailor
401
454
  GetPlaybackConfigurationResponse.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
402
455
  GetPlaybackConfigurationResponse.struct_class = Types::GetPlaybackConfigurationResponse
403
456
 
457
+ GetPrefetchScheduleRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "Name"))
458
+ GetPrefetchScheduleRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "PlaybackConfigurationName"))
459
+ GetPrefetchScheduleRequest.struct_class = Types::GetPrefetchScheduleRequest
460
+
461
+ GetPrefetchScheduleResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
462
+ GetPrefetchScheduleResponse.add_member(:consumption, Shapes::ShapeRef.new(shape: PrefetchConsumption, location_name: "Consumption"))
463
+ GetPrefetchScheduleResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
464
+ GetPrefetchScheduleResponse.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, location_name: "PlaybackConfigurationName"))
465
+ GetPrefetchScheduleResponse.add_member(:retrieval, Shapes::ShapeRef.new(shape: PrefetchRetrieval, location_name: "Retrieval"))
466
+ GetPrefetchScheduleResponse.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "StreamId"))
467
+ GetPrefetchScheduleResponse.struct_class = Types::GetPrefetchScheduleResponse
468
+
404
469
  HlsConfiguration.add_member(:manifest_endpoint_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "ManifestEndpointPrefix"))
405
470
  HlsConfiguration.struct_class = Types::HlsConfiguration
406
471
 
@@ -442,6 +507,16 @@ module Aws::MediaTailor
442
507
  ListPlaybackConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
443
508
  ListPlaybackConfigurationsResponse.struct_class = Types::ListPlaybackConfigurationsResponse
444
509
 
510
+ ListPrefetchSchedulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max100, location_name: "MaxResults"))
511
+ ListPrefetchSchedulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
512
+ ListPrefetchSchedulesRequest.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "PlaybackConfigurationName"))
513
+ ListPrefetchSchedulesRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "StreamId"))
514
+ ListPrefetchSchedulesRequest.struct_class = Types::ListPrefetchSchedulesRequest
515
+
516
+ ListPrefetchSchedulesResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfPrefetchSchedule, location_name: "Items"))
517
+ ListPrefetchSchedulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
518
+ ListPrefetchSchedulesResponse.struct_class = Types::ListPrefetchSchedulesResponse
519
+
445
520
  ListSourceLocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
446
521
  ListSourceLocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
447
522
  ListSourceLocationsRequest.struct_class = Types::ListSourceLocationsRequest
@@ -469,6 +544,9 @@ module Aws::MediaTailor
469
544
  LivePreRollConfiguration.add_member(:max_duration_seconds, Shapes::ShapeRef.new(shape: __integer, location_name: "MaxDurationSeconds"))
470
545
  LivePreRollConfiguration.struct_class = Types::LivePreRollConfiguration
471
546
 
547
+ LogConfiguration.add_member(:percent_enabled, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "PercentEnabled"))
548
+ LogConfiguration.struct_class = Types::LogConfiguration
549
+
472
550
  ManifestProcessingRules.add_member(:ad_marker_passthrough, Shapes::ShapeRef.new(shape: AdMarkerPassthrough, location_name: "AdMarkerPassthrough"))
473
551
  ManifestProcessingRules.struct_class = Types::ManifestProcessingRules
474
552
 
@@ -480,6 +558,7 @@ module Aws::MediaTailor
480
558
  PlaybackConfiguration.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
481
559
  PlaybackConfiguration.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
482
560
  PlaybackConfiguration.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
561
+ PlaybackConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
483
562
  PlaybackConfiguration.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
484
563
  PlaybackConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
485
564
  PlaybackConfiguration.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
@@ -492,6 +571,24 @@ module Aws::MediaTailor
492
571
  PlaybackConfiguration.add_member(:video_content_source_url, Shapes::ShapeRef.new(shape: __string, location_name: "VideoContentSourceUrl"))
493
572
  PlaybackConfiguration.struct_class = Types::PlaybackConfiguration
494
573
 
574
+ PrefetchConsumption.add_member(:avail_matching_criteria, Shapes::ShapeRef.new(shape: __listOfAvailMatchingCriteria, location_name: "AvailMatchingCriteria"))
575
+ PrefetchConsumption.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampUnix, required: true, location_name: "EndTime"))
576
+ PrefetchConsumption.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "StartTime"))
577
+ PrefetchConsumption.struct_class = Types::PrefetchConsumption
578
+
579
+ PrefetchRetrieval.add_member(:dynamic_variables, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "DynamicVariables"))
580
+ PrefetchRetrieval.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampUnix, required: true, location_name: "EndTime"))
581
+ PrefetchRetrieval.add_member(:start_time, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "StartTime"))
582
+ PrefetchRetrieval.struct_class = Types::PrefetchRetrieval
583
+
584
+ PrefetchSchedule.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
585
+ PrefetchSchedule.add_member(:consumption, Shapes::ShapeRef.new(shape: PrefetchConsumption, required: true, location_name: "Consumption"))
586
+ PrefetchSchedule.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
587
+ PrefetchSchedule.add_member(:playback_configuration_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "PlaybackConfigurationName"))
588
+ PrefetchSchedule.add_member(:retrieval, Shapes::ShapeRef.new(shape: PrefetchRetrieval, required: true, location_name: "Retrieval"))
589
+ PrefetchSchedule.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "StreamId"))
590
+ PrefetchSchedule.struct_class = Types::PrefetchSchedule
591
+
495
592
  PutChannelPolicyRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelName"))
496
593
  PutChannelPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Policy"))
497
594
  PutChannelPolicyRequest.struct_class = Types::PutChannelPolicyRequest
@@ -522,6 +619,7 @@ module Aws::MediaTailor
522
619
  PutPlaybackConfigurationResponse.add_member(:dash_configuration, Shapes::ShapeRef.new(shape: DashConfiguration, location_name: "DashConfiguration"))
523
620
  PutPlaybackConfigurationResponse.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: HlsConfiguration, location_name: "HlsConfiguration"))
524
621
  PutPlaybackConfigurationResponse.add_member(:live_pre_roll_configuration, Shapes::ShapeRef.new(shape: LivePreRollConfiguration, location_name: "LivePreRollConfiguration"))
622
+ PutPlaybackConfigurationResponse.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "LogConfiguration"))
525
623
  PutPlaybackConfigurationResponse.add_member(:manifest_processing_rules, Shapes::ShapeRef.new(shape: ManifestProcessingRules, location_name: "ManifestProcessingRules"))
526
624
  PutPlaybackConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
527
625
  PutPlaybackConfigurationResponse.add_member(:personalization_threshold_seconds, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "PersonalizationThresholdSeconds"))
@@ -678,10 +776,14 @@ module Aws::MediaTailor
678
776
 
679
777
  __listOfAlert.member = Shapes::ShapeRef.new(shape: Alert)
680
778
 
779
+ __listOfAvailMatchingCriteria.member = Shapes::ShapeRef.new(shape: AvailMatchingCriteria)
780
+
681
781
  __listOfChannel.member = Shapes::ShapeRef.new(shape: Channel)
682
782
 
683
783
  __listOfPlaybackConfiguration.member = Shapes::ShapeRef.new(shape: PlaybackConfiguration)
684
784
 
785
+ __listOfPrefetchSchedule.member = Shapes::ShapeRef.new(shape: PrefetchSchedule)
786
+
685
787
  __listOfScheduleAdBreak.member = Shapes::ShapeRef.new(shape: ScheduleAdBreak)
686
788
 
687
789
  __listOfScheduleEntry.member = Shapes::ShapeRef.new(shape: ScheduleEntry)
@@ -714,6 +816,14 @@ module Aws::MediaTailor
714
816
  "uid" => "mediatailor-2018-04-23",
715
817
  }
716
818
 
819
+ api.add_operation(:configure_logs_for_playback_configuration, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "ConfigureLogsForPlaybackConfiguration"
821
+ o.http_method = "PUT"
822
+ o.http_request_uri = "/configureLogs/playbackConfiguration"
823
+ o.input = Shapes::ShapeRef.new(shape: ConfigureLogsForPlaybackConfigurationRequest)
824
+ o.output = Shapes::ShapeRef.new(shape: ConfigureLogsForPlaybackConfigurationResponse)
825
+ end)
826
+
717
827
  api.add_operation(:create_channel, Seahorse::Model::Operation.new.tap do |o|
718
828
  o.name = "CreateChannel"
719
829
  o.http_method = "POST"
@@ -722,6 +832,14 @@ module Aws::MediaTailor
722
832
  o.output = Shapes::ShapeRef.new(shape: CreateChannelResponse)
723
833
  end)
724
834
 
835
+ api.add_operation(:create_prefetch_schedule, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "CreatePrefetchSchedule"
837
+ o.http_method = "POST"
838
+ o.http_request_uri = "/prefetchSchedule/{PlaybackConfigurationName}/{Name}"
839
+ o.input = Shapes::ShapeRef.new(shape: CreatePrefetchScheduleRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: CreatePrefetchScheduleResponse)
841
+ end)
842
+
725
843
  api.add_operation(:create_program, Seahorse::Model::Operation.new.tap do |o|
726
844
  o.name = "CreateProgram"
727
845
  o.http_method = "POST"
@@ -770,6 +888,14 @@ module Aws::MediaTailor
770
888
  o.output = Shapes::ShapeRef.new(shape: DeletePlaybackConfigurationResponse)
771
889
  end)
772
890
 
891
+ api.add_operation(:delete_prefetch_schedule, Seahorse::Model::Operation.new.tap do |o|
892
+ o.name = "DeletePrefetchSchedule"
893
+ o.http_method = "DELETE"
894
+ o.http_request_uri = "/prefetchSchedule/{PlaybackConfigurationName}/{Name}"
895
+ o.input = Shapes::ShapeRef.new(shape: DeletePrefetchScheduleRequest)
896
+ o.output = Shapes::ShapeRef.new(shape: DeletePrefetchScheduleResponse)
897
+ end)
898
+
773
899
  api.add_operation(:delete_program, Seahorse::Model::Operation.new.tap do |o|
774
900
  o.name = "DeleteProgram"
775
901
  o.http_method = "DELETE"
@@ -856,6 +982,14 @@ module Aws::MediaTailor
856
982
  o.output = Shapes::ShapeRef.new(shape: GetPlaybackConfigurationResponse)
857
983
  end)
858
984
 
985
+ api.add_operation(:get_prefetch_schedule, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "GetPrefetchSchedule"
987
+ o.http_method = "GET"
988
+ o.http_request_uri = "/prefetchSchedule/{PlaybackConfigurationName}/{Name}"
989
+ o.input = Shapes::ShapeRef.new(shape: GetPrefetchScheduleRequest)
990
+ o.output = Shapes::ShapeRef.new(shape: GetPrefetchScheduleResponse)
991
+ end)
992
+
859
993
  api.add_operation(:list_alerts, Seahorse::Model::Operation.new.tap do |o|
860
994
  o.name = "ListAlerts"
861
995
  o.http_method = "GET"
@@ -898,6 +1032,20 @@ module Aws::MediaTailor
898
1032
  )
899
1033
  end)
900
1034
 
1035
+ api.add_operation(:list_prefetch_schedules, Seahorse::Model::Operation.new.tap do |o|
1036
+ o.name = "ListPrefetchSchedules"
1037
+ o.http_method = "POST"
1038
+ o.http_request_uri = "/prefetchSchedule/{PlaybackConfigurationName}"
1039
+ o.input = Shapes::ShapeRef.new(shape: ListPrefetchSchedulesRequest)
1040
+ o.output = Shapes::ShapeRef.new(shape: ListPrefetchSchedulesResponse)
1041
+ o[:pager] = Aws::Pager.new(
1042
+ limit_key: "max_results",
1043
+ tokens: {
1044
+ "next_token" => "next_token"
1045
+ }
1046
+ )
1047
+ end)
1048
+
901
1049
  api.add_operation(:list_source_locations, Seahorse::Model::Operation.new.tap do |o|
902
1050
  o.name = "ListSourceLocations"
903
1051
  o.http_method = "GET"