Skip to content

Commit 9927740

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent e5b7766 commit 9927740

File tree

6 files changed

+577
-128
lines changed

6 files changed

+577
-128
lines changed

codegen/sdk-codegen/aws-models/cloudformation.json

+122-22
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/kms.json

+10-6
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/mediatailor.json

+179-2
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,79 @@
225225
}
226226
}
227227
},
228+
"com.amazonaws.mediatailor#AlternateMedia": {
229+
"type": "structure",
230+
"members": {
231+
"SourceLocationName": {
232+
"target": "com.amazonaws.mediatailor#__string",
233+
"traits": {
234+
"smithy.api#documentation": "<p>The name of the source location for alternateMedia.</p>"
235+
}
236+
},
237+
"LiveSourceName": {
238+
"target": "com.amazonaws.mediatailor#__string",
239+
"traits": {
240+
"smithy.api#documentation": "<p>The name of the live source for alternateMedia.</p>"
241+
}
242+
},
243+
"VodSourceName": {
244+
"target": "com.amazonaws.mediatailor#__string",
245+
"traits": {
246+
"smithy.api#documentation": "<p>The name of the VOD source for alternateMedia.</p>"
247+
}
248+
},
249+
"ClipRange": {
250+
"target": "com.amazonaws.mediatailor#ClipRange"
251+
},
252+
"ScheduledStartTimeMillis": {
253+
"target": "com.amazonaws.mediatailor#__long",
254+
"traits": {
255+
"smithy.api#documentation": "<p>The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.</p>"
256+
}
257+
},
258+
"AdBreaks": {
259+
"target": "com.amazonaws.mediatailor#__listOfAdBreak",
260+
"traits": {
261+
"smithy.api#documentation": "<p>Ad break configuration parameters defined in AlternateMedia.</p>"
262+
}
263+
},
264+
"DurationMillis": {
265+
"target": "com.amazonaws.mediatailor#__long",
266+
"traits": {
267+
"smithy.api#documentation": "<p>The duration of the alternateMedia in milliseconds.</p>"
268+
}
269+
}
270+
},
271+
"traits": {
272+
"smithy.api#documentation": "<p>A playlist of media (VOD and/or live) to be played instead of the default media on a particular program.</p>"
273+
}
274+
},
275+
"com.amazonaws.mediatailor#AudienceMedia": {
276+
"type": "structure",
277+
"members": {
278+
"Audience": {
279+
"target": "com.amazonaws.mediatailor#__string",
280+
"traits": {
281+
"smithy.api#documentation": "<p>The Audience defined in AudienceMedia.</p>"
282+
}
283+
},
284+
"AlternateMedia": {
285+
"target": "com.amazonaws.mediatailor#__listOfAlternateMedia",
286+
"traits": {
287+
"smithy.api#documentation": "<p>The list of AlternateMedia defined in AudienceMedia.</p>"
288+
}
289+
}
290+
},
291+
"traits": {
292+
"smithy.api#documentation": "<p>An AudienceMedia object contains an Audience and a list of AlternateMedia.</p>"
293+
}
294+
},
295+
"com.amazonaws.mediatailor#Audiences": {
296+
"type": "list",
297+
"member": {
298+
"target": "smithy.api#String"
299+
}
300+
},
228301
"com.amazonaws.mediatailor#AvailMatchingCriteria": {
229302
"type": "structure",
230303
"members": {
@@ -402,6 +475,12 @@
402475
"smithy.api#documentation": "<p>The log configuration.</p>",
403476
"smithy.api#required": {}
404477
}
478+
},
479+
"Audiences": {
480+
"target": "com.amazonaws.mediatailor#Audiences",
481+
"traits": {
482+
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
483+
}
405484
}
406485
},
407486
"traits": {
@@ -520,8 +599,15 @@
520599
"EndOffsetMillis": {
521600
"target": "com.amazonaws.mediatailor#__long",
522601
"traits": {
523-
"smithy.api#documentation": "<p>The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.</p>",
524-
"smithy.api#required": {}
602+
"smithy.api#addedDefault": {},
603+
"smithy.api#default": 0,
604+
"smithy.api#documentation": "<p>The end offset of the clip range, in milliseconds, starting from the beginning of the VOD source associated with the program.</p>"
605+
}
606+
},
607+
"StartOffsetMillis": {
608+
"target": "com.amazonaws.mediatailor#__long",
609+
"traits": {
610+
"smithy.api#documentation": "<p>The start offset of the clip range, in milliseconds. This offset truncates the start at the number of milliseconds into the duration of the VOD source.</p>"
525611
}
526612
}
527613
},
@@ -745,6 +831,12 @@
745831
"traits": {
746832
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration you want to associate to the channel.\n </p>"
747833
}
834+
},
835+
"Audiences": {
836+
"target": "com.amazonaws.mediatailor#Audiences",
837+
"traits": {
838+
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
839+
}
748840
}
749841
}
750842
},
@@ -823,6 +915,12 @@
823915
"traits": {
824916
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration assigned to the channel.\n </p>"
825917
}
918+
},
919+
"Audiences": {
920+
"target": "com.amazonaws.mediatailor#Audiences",
921+
"traits": {
922+
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
923+
}
826924
}
827925
}
828926
},
@@ -1095,6 +1193,12 @@
10951193
"traits": {
10961194
"smithy.api#documentation": "<p>The name that's used to refer to a VOD source.</p>"
10971195
}
1196+
},
1197+
"AudienceMedia": {
1198+
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
1199+
"traits": {
1200+
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
1201+
}
10981202
}
10991203
}
11001204
},
@@ -1166,6 +1270,12 @@
11661270
"traits": {
11671271
"smithy.api#documentation": "<p>The duration of the live program in milliseconds.</p>"
11681272
}
1273+
},
1274+
"AudienceMedia": {
1275+
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
1276+
"traits": {
1277+
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
1278+
}
11691279
}
11701280
}
11711281
},
@@ -1910,6 +2020,12 @@
19102020
"traits": {
19112021
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration for the channel.\n </p>"
19122022
}
2023+
},
2024+
"Audiences": {
2025+
"target": "com.amazonaws.mediatailor#Audiences",
2026+
"traits": {
2027+
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
2028+
}
19132029
}
19142030
}
19152031
},
@@ -2107,6 +2223,12 @@
21072223
"traits": {
21082224
"smithy.api#documentation": "<p>The duration of the live program in milliseconds.</p>"
21092225
}
2226+
},
2227+
"AudienceMedia": {
2228+
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
2229+
"traits": {
2230+
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
2231+
}
21102232
}
21112233
}
21122234
},
@@ -2408,6 +2530,13 @@
24082530
"smithy.api#documentation": "<p>(Optional) If the playback configuration has more than <code>MaxResults</code> channel schedules, use <code>NextToken</code> to get the second and subsequent pages of results.</p>\n <p>For the first <code>GetChannelScheduleRequest</code> request, omit this value.</p>\n <p>For the second and subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request.</p>\n <p>If the previous response didn't include a <code>NextToken</code> element, there are no more channel schedules to get.</p>",
24092531
"smithy.api#httpQuery": "nextToken"
24102532
}
2533+
},
2534+
"Audience": {
2535+
"target": "com.amazonaws.mediatailor#__string",
2536+
"traits": {
2537+
"smithy.api#documentation": "<p>The single audience for GetChannelScheduleRequest.</p>",
2538+
"smithy.api#httpQuery": "audience"
2539+
}
24112540
}
24122541
}
24132542
},
@@ -5147,6 +5276,12 @@
51475276
"traits": {
51485277
"smithy.api#documentation": "<p>The name of the VOD source.</p>"
51495278
}
5279+
},
5280+
"Audiences": {
5281+
"target": "com.amazonaws.mediatailor#Audiences",
5282+
"traits": {
5283+
"smithy.api#documentation": "<p>The list of audiences defined in ScheduleEntry.</p>"
5284+
}
51505285
}
51515286
},
51525287
"traits": {
@@ -5167,6 +5302,12 @@
51675302
"traits": {
51685303
"smithy.api#enumValue": "FILLER_SLATE"
51695304
}
5305+
},
5306+
"ALTERNATE_MEDIA": {
5307+
"target": "smithy.api#Unit",
5308+
"traits": {
5309+
"smithy.api#enumValue": "ALTERNATE_MEDIA"
5310+
}
51705311
}
51715312
}
51725313
},
@@ -5741,6 +5882,12 @@
57415882
"traits": {
57425883
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration you want to associate to the channel.\n </p>"
57435884
}
5885+
},
5886+
"Audiences": {
5887+
"target": "com.amazonaws.mediatailor#Audiences",
5888+
"traits": {
5889+
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
5890+
}
57445891
}
57455892
}
57465893
},
@@ -5819,6 +5966,12 @@
58195966
"traits": {
58205967
"smithy.api#documentation": "<p>\n The time-shifted viewing configuration for the channel.\n </p>"
58215968
}
5969+
},
5970+
"Audiences": {
5971+
"target": "com.amazonaws.mediatailor#Audiences",
5972+
"traits": {
5973+
"smithy.api#documentation": "<p>The list of audiences defined in channel.</p>"
5974+
}
58225975
}
58235976
}
58245977
},
@@ -5965,6 +6118,12 @@
59656118
"smithy.api#documentation": "<p>The schedule configuration settings.</p>",
59666119
"smithy.api#required": {}
59676120
}
6121+
},
6122+
"AudienceMedia": {
6123+
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
6124+
"traits": {
6125+
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
6126+
}
59686127
}
59696128
}
59706129
},
@@ -6036,6 +6195,12 @@
60366195
"traits": {
60376196
"smithy.api#documentation": "<p>The scheduled start time for this Program.</p>"
60386197
}
6198+
},
6199+
"AudienceMedia": {
6200+
"target": "com.amazonaws.mediatailor#__listOfAudienceMedia",
6201+
"traits": {
6202+
"smithy.api#documentation": "<p>The list of AudienceMedia defined in program.</p>"
6203+
}
60396204
}
60406205
}
60416206
},
@@ -6420,6 +6585,18 @@
64206585
"target": "com.amazonaws.mediatailor#Alert"
64216586
}
64226587
},
6588+
"com.amazonaws.mediatailor#__listOfAlternateMedia": {
6589+
"type": "list",
6590+
"member": {
6591+
"target": "com.amazonaws.mediatailor#AlternateMedia"
6592+
}
6593+
},
6594+
"com.amazonaws.mediatailor#__listOfAudienceMedia": {
6595+
"type": "list",
6596+
"member": {
6597+
"target": "com.amazonaws.mediatailor#AudienceMedia"
6598+
}
6599+
},
64236600
"com.amazonaws.mediatailor#__listOfAvailMatchingCriteria": {
64246601
"type": "list",
64256602
"member": {

0 commit comments

Comments
 (0)