Skip to content

Commit 72ad42d

Browse files
author
awstools
committed
feat(client-mediatailor): This release adds support to allow customers to show different content within a channel depending on metadata associated with the viewer.
1 parent 861baa7 commit 72ad42d

File tree

11 files changed

+682
-20
lines changed

11 files changed

+682
-20
lines changed

clients/client-mediatailor/src/commands/CreateChannelCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
6666
* TimeShiftConfiguration: { // TimeShiftConfiguration
6767
* MaxTimeDelaySeconds: Number("int"), // required
6868
* },
69+
* Audiences: [ // Audiences
70+
* "STRING_VALUE",
71+
* ],
6972
* };
7073
* const command = new CreateChannelCommand(input);
7174
* const response = await client.send(command);
@@ -106,6 +109,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
106109
* // TimeShiftConfiguration: { // TimeShiftConfiguration
107110
* // MaxTimeDelaySeconds: Number("int"), // required
108111
* // },
112+
* // Audiences: [ // Audiences
113+
* // "STRING_VALUE",
114+
* // ],
109115
* // };
110116
*
111117
* ```

clients/client-mediatailor/src/commands/CreateProgramCommand.ts

Lines changed: 112 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,66 @@ export interface CreateProgramCommandOutput extends CreateProgramResponse, __Met
8383
* Type: "STRING_VALUE", // required
8484
* },
8585
* ClipRange: { // ClipRange
86-
* EndOffsetMillis: Number("long"), // required
86+
* EndOffsetMillis: Number("long"),
87+
* StartOffsetMillis: Number("long"),
8788
* },
8889
* },
8990
* SourceLocationName: "STRING_VALUE", // required
9091
* VodSourceName: "STRING_VALUE",
92+
* AudienceMedia: [ // __listOfAudienceMedia
93+
* { // AudienceMedia
94+
* Audience: "STRING_VALUE",
95+
* AlternateMedia: [ // __listOfAlternateMedia
96+
* { // AlternateMedia
97+
* SourceLocationName: "STRING_VALUE",
98+
* LiveSourceName: "STRING_VALUE",
99+
* VodSourceName: "STRING_VALUE",
100+
* ClipRange: {
101+
* EndOffsetMillis: Number("long"),
102+
* StartOffsetMillis: Number("long"),
103+
* },
104+
* ScheduledStartTimeMillis: Number("long"),
105+
* AdBreaks: [
106+
* {
107+
* MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
108+
* OffsetMillis: Number("long"), // required
109+
* Slate: {
110+
* SourceLocationName: "STRING_VALUE",
111+
* VodSourceName: "STRING_VALUE",
112+
* },
113+
* SpliceInsertMessage: {
114+
* AvailNum: Number("int"),
115+
* AvailsExpected: Number("int"),
116+
* SpliceEventId: Number("int"),
117+
* UniqueProgramId: Number("int"),
118+
* },
119+
* TimeSignalMessage: {
120+
* SegmentationDescriptors: [
121+
* {
122+
* SegmentationEventId: Number("int"),
123+
* SegmentationUpidType: Number("int"),
124+
* SegmentationUpid: "STRING_VALUE",
125+
* SegmentationTypeId: Number("int"),
126+
* SegmentNum: Number("int"),
127+
* SegmentsExpected: Number("int"),
128+
* SubSegmentNum: Number("int"),
129+
* SubSegmentsExpected: Number("int"),
130+
* },
131+
* ],
132+
* },
133+
* AdBreakMetadata: [
134+
* {
135+
* Key: "STRING_VALUE", // required
136+
* Value: "STRING_VALUE", // required
137+
* },
138+
* ],
139+
* },
140+
* ],
141+
* DurationMillis: Number("long"),
142+
* },
143+
* ],
144+
* },
145+
* ],
91146
* };
92147
* const command = new CreateProgramCommand(input);
93148
* const response = await client.send(command);
@@ -137,9 +192,64 @@ export interface CreateProgramCommandOutput extends CreateProgramResponse, __Met
137192
* // SourceLocationName: "STRING_VALUE",
138193
* // VodSourceName: "STRING_VALUE",
139194
* // ClipRange: { // ClipRange
140-
* // EndOffsetMillis: Number("long"), // required
195+
* // EndOffsetMillis: Number("long"),
196+
* // StartOffsetMillis: Number("long"),
141197
* // },
142198
* // DurationMillis: Number("long"),
199+
* // AudienceMedia: [ // __listOfAudienceMedia
200+
* // { // AudienceMedia
201+
* // Audience: "STRING_VALUE",
202+
* // AlternateMedia: [ // __listOfAlternateMedia
203+
* // { // AlternateMedia
204+
* // SourceLocationName: "STRING_VALUE",
205+
* // LiveSourceName: "STRING_VALUE",
206+
* // VodSourceName: "STRING_VALUE",
207+
* // ClipRange: {
208+
* // EndOffsetMillis: Number("long"),
209+
* // StartOffsetMillis: Number("long"),
210+
* // },
211+
* // ScheduledStartTimeMillis: Number("long"),
212+
* // AdBreaks: [
213+
* // {
214+
* // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
215+
* // OffsetMillis: Number("long"), // required
216+
* // Slate: {
217+
* // SourceLocationName: "STRING_VALUE",
218+
* // VodSourceName: "STRING_VALUE",
219+
* // },
220+
* // SpliceInsertMessage: {
221+
* // AvailNum: Number("int"),
222+
* // AvailsExpected: Number("int"),
223+
* // SpliceEventId: Number("int"),
224+
* // UniqueProgramId: Number("int"),
225+
* // },
226+
* // TimeSignalMessage: {
227+
* // SegmentationDescriptors: [
228+
* // {
229+
* // SegmentationEventId: Number("int"),
230+
* // SegmentationUpidType: Number("int"),
231+
* // SegmentationUpid: "STRING_VALUE",
232+
* // SegmentationTypeId: Number("int"),
233+
* // SegmentNum: Number("int"),
234+
* // SegmentsExpected: Number("int"),
235+
* // SubSegmentNum: Number("int"),
236+
* // SubSegmentsExpected: Number("int"),
237+
* // },
238+
* // ],
239+
* // },
240+
* // AdBreakMetadata: [
241+
* // {
242+
* // Key: "STRING_VALUE", // required
243+
* // Value: "STRING_VALUE", // required
244+
* // },
245+
* // ],
246+
* // },
247+
* // ],
248+
* // DurationMillis: Number("long"),
249+
* // },
250+
* // ],
251+
* // },
252+
* // ],
143253
* // };
144254
*
145255
* ```

clients/client-mediatailor/src/commands/DescribeChannelCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
8181
* // TimeShiftConfiguration: { // TimeShiftConfiguration
8282
* // MaxTimeDelaySeconds: Number("int"), // required
8383
* // },
84+
* // Audiences: [ // Audiences
85+
* // "STRING_VALUE",
86+
* // ],
8487
* // };
8588
*
8689
* ```

clients/client-mediatailor/src/commands/DescribeProgramCommand.ts

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,64 @@ export interface DescribeProgramCommandOutput extends DescribeProgramResponse, _
8686
* // SourceLocationName: "STRING_VALUE",
8787
* // VodSourceName: "STRING_VALUE",
8888
* // ClipRange: { // ClipRange
89-
* // EndOffsetMillis: Number("long"), // required
89+
* // EndOffsetMillis: Number("long"),
90+
* // StartOffsetMillis: Number("long"),
9091
* // },
9192
* // DurationMillis: Number("long"),
93+
* // AudienceMedia: [ // __listOfAudienceMedia
94+
* // { // AudienceMedia
95+
* // Audience: "STRING_VALUE",
96+
* // AlternateMedia: [ // __listOfAlternateMedia
97+
* // { // AlternateMedia
98+
* // SourceLocationName: "STRING_VALUE",
99+
* // LiveSourceName: "STRING_VALUE",
100+
* // VodSourceName: "STRING_VALUE",
101+
* // ClipRange: {
102+
* // EndOffsetMillis: Number("long"),
103+
* // StartOffsetMillis: Number("long"),
104+
* // },
105+
* // ScheduledStartTimeMillis: Number("long"),
106+
* // AdBreaks: [
107+
* // {
108+
* // MessageType: "SPLICE_INSERT" || "TIME_SIGNAL",
109+
* // OffsetMillis: Number("long"), // required
110+
* // Slate: {
111+
* // SourceLocationName: "STRING_VALUE",
112+
* // VodSourceName: "STRING_VALUE",
113+
* // },
114+
* // SpliceInsertMessage: {
115+
* // AvailNum: Number("int"),
116+
* // AvailsExpected: Number("int"),
117+
* // SpliceEventId: Number("int"),
118+
* // UniqueProgramId: Number("int"),
119+
* // },
120+
* // TimeSignalMessage: {
121+
* // SegmentationDescriptors: [
122+
* // {
123+
* // SegmentationEventId: Number("int"),
124+
* // SegmentationUpidType: Number("int"),
125+
* // SegmentationUpid: "STRING_VALUE",
126+
* // SegmentationTypeId: Number("int"),
127+
* // SegmentNum: Number("int"),
128+
* // SegmentsExpected: Number("int"),
129+
* // SubSegmentNum: Number("int"),
130+
* // SubSegmentsExpected: Number("int"),
131+
* // },
132+
* // ],
133+
* // },
134+
* // AdBreakMetadata: [
135+
* // {
136+
* // Key: "STRING_VALUE", // required
137+
* // Value: "STRING_VALUE", // required
138+
* // },
139+
* // ],
140+
* // },
141+
* // ],
142+
* // DurationMillis: Number("long"),
143+
* // },
144+
* // ],
145+
* // },
146+
* // ],
92147
* // };
93148
*
94149
* ```

clients/client-mediatailor/src/commands/GetChannelScheduleCommand.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export interface GetChannelScheduleCommandOutput extends GetChannelScheduleRespo
3939
* DurationMinutes: "STRING_VALUE",
4040
* MaxResults: Number("int"),
4141
* NextToken: "STRING_VALUE",
42+
* Audience: "STRING_VALUE",
4243
* };
4344
* const command = new GetChannelScheduleCommand(input);
4445
* const response = await client.send(command);
@@ -59,9 +60,12 @@ export interface GetChannelScheduleCommandOutput extends GetChannelScheduleRespo
5960
* // VodSourceName: "STRING_VALUE",
6061
* // },
6162
* // ],
62-
* // ScheduleEntryType: "PROGRAM" || "FILLER_SLATE",
63+
* // ScheduleEntryType: "PROGRAM" || "FILLER_SLATE" || "ALTERNATE_MEDIA",
6364
* // SourceLocationName: "STRING_VALUE", // required
6465
* // VodSourceName: "STRING_VALUE",
66+
* // Audiences: [ // Audiences
67+
* // "STRING_VALUE",
68+
* // ],
6569
* // },
6670
* // ],
6771
* // NextToken: "STRING_VALUE",

clients/client-mediatailor/src/commands/ListChannelsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
8181
* // "AS_RUN",
8282
* // ],
8383
* // },
84+
* // Audiences: [ // Audiences
85+
* // "STRING_VALUE",
86+
* // ],
8487
* // },
8588
* // ],
8689
* // NextToken: "STRING_VALUE",

clients/client-mediatailor/src/commands/UpdateChannelCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
6161
* TimeShiftConfiguration: { // TimeShiftConfiguration
6262
* MaxTimeDelaySeconds: Number("int"), // required
6363
* },
64+
* Audiences: [ // Audiences
65+
* "STRING_VALUE",
66+
* ],
6467
* };
6568
* const command = new UpdateChannelCommand(input);
6669
* const response = await client.send(command);
@@ -101,6 +104,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
101104
* // TimeShiftConfiguration: { // TimeShiftConfiguration
102105
* // MaxTimeDelaySeconds: Number("int"), // required
103106
* // },
107+
* // Audiences: [ // Audiences
108+
* // "STRING_VALUE",
109+
* // ],
104110
* // };
105111
*
106112
* ```

0 commit comments

Comments
 (0)