Skip to content

Commit 91299a8

Browse files
Added support for Recurring Prefetch and Traffic Shaping on both Single and Recurring Prefetch. ListPrefetchSchedules now return single prefetchs by default and can be provided scheduleType of SINGLE, RECURRING, AND ALL.
1 parent d7eede0 commit 91299a8

30 files changed

+1899
-46
lines changed

generator/ServiceModels/mediatailor/mediatailor-2018-04-23.api.json

Lines changed: 69 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -887,10 +887,8 @@
887887
"CreatePrefetchScheduleRequest":{
888888
"type":"structure",
889889
"required":[
890-
"Consumption",
891890
"Name",
892-
"PlaybackConfigurationName",
893-
"Retrieval"
891+
"PlaybackConfigurationName"
894892
],
895893
"members":{
896894
"Consumption":{"shape":"PrefetchConsumption"},
@@ -905,6 +903,8 @@
905903
"locationName":"PlaybackConfigurationName"
906904
},
907905
"Retrieval":{"shape":"PrefetchRetrieval"},
906+
"RecurringPrefetchConfiguration":{"shape":"RecurringPrefetchConfiguration"},
907+
"ScheduleType":{"shape":"PrefetchScheduleType"},
908908
"StreamId":{"shape":"__string"}
909909
}
910910
},
@@ -916,6 +916,8 @@
916916
"Name":{"shape":"__string"},
917917
"PlaybackConfigurationName":{"shape":"__string"},
918918
"Retrieval":{"shape":"PrefetchRetrieval"},
919+
"RecurringPrefetchConfiguration":{"shape":"RecurringPrefetchConfiguration"},
920+
"ScheduleType":{"shape":"PrefetchScheduleType"},
919921
"StreamId":{"shape":"__string"}
920922
}
921923
},
@@ -1527,6 +1529,8 @@
15271529
"Name":{"shape":"__string"},
15281530
"PlaybackConfigurationName":{"shape":"__string"},
15291531
"Retrieval":{"shape":"PrefetchRetrieval"},
1532+
"ScheduleType":{"shape":"PrefetchScheduleType"},
1533+
"RecurringPrefetchConfiguration":{"shape":"RecurringPrefetchConfiguration"},
15301534
"StreamId":{"shape":"__string"}
15311535
}
15321536
},
@@ -1689,6 +1693,14 @@
16891693
"NextToken":{"shape":"__string"}
16901694
}
16911695
},
1696+
"ListPrefetchScheduleType":{
1697+
"type":"string",
1698+
"enum":[
1699+
"SINGLE",
1700+
"RECURRING",
1701+
"ALL"
1702+
]
1703+
},
16921704
"ListPrefetchSchedulesRequest":{
16931705
"type":"structure",
16941706
"required":["PlaybackConfigurationName"],
@@ -1700,6 +1712,7 @@
17001712
"location":"uri",
17011713
"locationName":"PlaybackConfigurationName"
17021714
},
1715+
"ScheduleType":{"shape":"ListPrefetchScheduleType"},
17031716
"StreamId":{"shape":"__string"}
17041717
}
17051718
},
@@ -1975,27 +1988,36 @@
19751988
"members":{
19761989
"DynamicVariables":{"shape":"__mapOf__string"},
19771990
"EndTime":{"shape":"__timestampUnix"},
1978-
"StartTime":{"shape":"__timestampUnix"}
1991+
"StartTime":{"shape":"__timestampUnix"},
1992+
"TrafficShapingType":{"shape":"TrafficShapingType"},
1993+
"TrafficShapingRetrievalWindow":{"shape":"TrafficShapingRetrievalWindow"}
19791994
}
19801995
},
19811996
"PrefetchSchedule":{
19821997
"type":"structure",
19831998
"required":[
19841999
"Arn",
1985-
"Consumption",
19862000
"Name",
1987-
"PlaybackConfigurationName",
1988-
"Retrieval"
2001+
"PlaybackConfigurationName"
19892002
],
19902003
"members":{
19912004
"Arn":{"shape":"__string"},
19922005
"Consumption":{"shape":"PrefetchConsumption"},
19932006
"Name":{"shape":"__string"},
19942007
"PlaybackConfigurationName":{"shape":"__string"},
19952008
"Retrieval":{"shape":"PrefetchRetrieval"},
2009+
"ScheduleType":{"shape":"PrefetchScheduleType"},
2010+
"RecurringPrefetchConfiguration":{"shape":"RecurringPrefetchConfiguration"},
19962011
"StreamId":{"shape":"__string"}
19972012
}
19982013
},
2014+
"PrefetchScheduleType":{
2015+
"type":"string",
2016+
"enum":[
2017+
"SINGLE",
2018+
"RECURRING"
2019+
]
2020+
},
19992021
"PutChannelPolicyRequest":{
20002022
"type":"structure",
20012023
"required":[
@@ -2070,6 +2092,36 @@
20702092
"AdConditioningConfiguration":{"shape":"AdConditioningConfiguration"}
20712093
}
20722094
},
2095+
"RecurringConsumption":{
2096+
"type":"structure",
2097+
"members":{
2098+
"RetrievedAdExpirationSeconds":{"shape":"__integer"},
2099+
"AvailMatchingCriteria":{"shape":"__listOfAvailMatchingCriteria"}
2100+
}
2101+
},
2102+
"RecurringPrefetchConfiguration":{
2103+
"type":"structure",
2104+
"required":[
2105+
"EndTime",
2106+
"RecurringConsumption",
2107+
"RecurringRetrieval"
2108+
],
2109+
"members":{
2110+
"StartTime":{"shape":"__timestampUnix"},
2111+
"EndTime":{"shape":"__timestampUnix"},
2112+
"RecurringConsumption":{"shape":"RecurringConsumption"},
2113+
"RecurringRetrieval":{"shape":"RecurringRetrieval"}
2114+
}
2115+
},
2116+
"RecurringRetrieval":{
2117+
"type":"structure",
2118+
"members":{
2119+
"DynamicVariables":{"shape":"__mapOf__string"},
2120+
"DelayAfterAvailEndSeconds":{"shape":"__integer"},
2121+
"TrafficShapingType":{"shape":"TrafficShapingType"},
2122+
"TrafficShapingRetrievalWindow":{"shape":"TrafficShapingRetrievalWindow"}
2123+
}
2124+
},
20732125
"RelativePosition":{
20742126
"type":"string",
20752127
"enum":[
@@ -2308,6 +2360,16 @@
23082360
"SegmentationDescriptors":{"shape":"SegmentationDescriptorList"}
23092361
}
23102362
},
2363+
"TrafficShapingRetrievalWindow":{
2364+
"type":"structure",
2365+
"members":{
2366+
"RetrievalWindowDurationSeconds":{"shape":"__integer"}
2367+
}
2368+
},
2369+
"TrafficShapingType":{
2370+
"type":"string",
2371+
"enum":["RETRIEVAL_WINDOW"]
2372+
},
23112373
"Transition":{
23122374
"type":"structure",
23132375
"required":[

0 commit comments

Comments
 (0)