@aws-sdk/client-mediatailor 3.787.0 → 3.796.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +50 -3
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +29 -0
- package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +56 -0
- package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +28 -0
- package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +29 -0
- package/dist-types/models/models_0.d.ts +186 -10
- package/dist-types/ts3.4/models/models_0.d.ts +52 -4
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -59,6 +59,7 @@ __export(index_exports, {
|
|
|
59
59
|
ListChannelsCommand: () => ListChannelsCommand,
|
|
60
60
|
ListLiveSourcesCommand: () => ListLiveSourcesCommand,
|
|
61
61
|
ListPlaybackConfigurationsCommand: () => ListPlaybackConfigurationsCommand,
|
|
62
|
+
ListPrefetchScheduleType: () => ListPrefetchScheduleType,
|
|
62
63
|
ListPrefetchSchedulesCommand: () => ListPrefetchSchedulesCommand,
|
|
63
64
|
ListSourceLocationsCommand: () => ListSourceLocationsCommand,
|
|
64
65
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
@@ -74,6 +75,7 @@ __export(index_exports, {
|
|
|
74
75
|
Operator: () => Operator,
|
|
75
76
|
OriginManifestType: () => OriginManifestType,
|
|
76
77
|
PlaybackMode: () => PlaybackMode,
|
|
78
|
+
PrefetchScheduleType: () => PrefetchScheduleType,
|
|
77
79
|
PutChannelPolicyCommand: () => PutChannelPolicyCommand,
|
|
78
80
|
PutPlaybackConfigurationCommand: () => PutPlaybackConfigurationCommand,
|
|
79
81
|
RelativePosition: () => RelativePosition,
|
|
@@ -83,6 +85,7 @@ __export(index_exports, {
|
|
|
83
85
|
StreamingMediaFileConditioning: () => StreamingMediaFileConditioning,
|
|
84
86
|
TagResourceCommand: () => TagResourceCommand,
|
|
85
87
|
Tier: () => Tier,
|
|
88
|
+
TrafficShapingType: () => TrafficShapingType,
|
|
86
89
|
Type: () => Type,
|
|
87
90
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
88
91
|
UpdateChannelCommand: () => UpdateChannelCommand,
|
|
@@ -400,6 +403,13 @@ var ManifestServiceExcludeEventType = {
|
|
|
400
403
|
UNKNOWN_HOST: "UNKNOWN_HOST",
|
|
401
404
|
UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST: "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST"
|
|
402
405
|
};
|
|
406
|
+
var TrafficShapingType = {
|
|
407
|
+
RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW"
|
|
408
|
+
};
|
|
409
|
+
var PrefetchScheduleType = {
|
|
410
|
+
RECURRING: "RECURRING",
|
|
411
|
+
SINGLE: "SINGLE"
|
|
412
|
+
};
|
|
403
413
|
var ScheduleEntryType = {
|
|
404
414
|
ALTERNATE_MEDIA: "ALTERNATE_MEDIA",
|
|
405
415
|
FILLER_SLATE: "FILLER_SLATE",
|
|
@@ -446,6 +456,11 @@ var RelativePosition = {
|
|
|
446
456
|
AFTER_PROGRAM: "AFTER_PROGRAM",
|
|
447
457
|
BEFORE_PROGRAM: "BEFORE_PROGRAM"
|
|
448
458
|
};
|
|
459
|
+
var ListPrefetchScheduleType = {
|
|
460
|
+
ALL: "ALL",
|
|
461
|
+
RECURRING: "RECURRING",
|
|
462
|
+
SINGLE: "SINGLE"
|
|
463
|
+
};
|
|
449
464
|
|
|
450
465
|
// src/protocols/Aws_restJson1.ts
|
|
451
466
|
var se_ConfigureLogsForChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -535,7 +550,9 @@ var se_CreatePrefetchScheduleCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
535
550
|
body = JSON.stringify(
|
|
536
551
|
(0, import_smithy_client.take)(input, {
|
|
537
552
|
Consumption: /* @__PURE__ */ __name((_) => se_PrefetchConsumption(_, context), "Consumption"),
|
|
553
|
+
RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => se_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"),
|
|
538
554
|
Retrieval: /* @__PURE__ */ __name((_) => se_PrefetchRetrieval(_, context), "Retrieval"),
|
|
555
|
+
ScheduleType: [],
|
|
539
556
|
StreamId: []
|
|
540
557
|
})
|
|
541
558
|
);
|
|
@@ -831,6 +848,7 @@ var se_ListPrefetchSchedulesCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
831
848
|
(0, import_smithy_client.take)(input, {
|
|
832
849
|
MaxResults: [],
|
|
833
850
|
NextToken: [],
|
|
851
|
+
ScheduleType: [],
|
|
834
852
|
StreamId: []
|
|
835
853
|
})
|
|
836
854
|
);
|
|
@@ -1145,7 +1163,9 @@ var de_CreatePrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1145
1163
|
Consumption: /* @__PURE__ */ __name((_) => de_PrefetchConsumption(_, context), "Consumption"),
|
|
1146
1164
|
Name: import_smithy_client.expectString,
|
|
1147
1165
|
PlaybackConfigurationName: import_smithy_client.expectString,
|
|
1166
|
+
RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => de_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"),
|
|
1148
1167
|
Retrieval: /* @__PURE__ */ __name((_) => de_PrefetchRetrieval(_, context), "Retrieval"),
|
|
1168
|
+
ScheduleType: import_smithy_client.expectString,
|
|
1149
1169
|
StreamId: import_smithy_client.expectString
|
|
1150
1170
|
});
|
|
1151
1171
|
Object.assign(contents, doc);
|
|
@@ -1488,7 +1508,9 @@ var de_GetPrefetchScheduleCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1488
1508
|
Consumption: /* @__PURE__ */ __name((_) => de_PrefetchConsumption(_, context), "Consumption"),
|
|
1489
1509
|
Name: import_smithy_client.expectString,
|
|
1490
1510
|
PlaybackConfigurationName: import_smithy_client.expectString,
|
|
1511
|
+
RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => de_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"),
|
|
1491
1512
|
Retrieval: /* @__PURE__ */ __name((_) => de_PrefetchRetrieval(_, context), "Retrieval"),
|
|
1513
|
+
ScheduleType: import_smithy_client.expectString,
|
|
1492
1514
|
StreamId: import_smithy_client.expectString
|
|
1493
1515
|
});
|
|
1494
1516
|
Object.assign(contents, doc);
|
|
@@ -1853,9 +1875,19 @@ var se_PrefetchRetrieval = /* @__PURE__ */ __name((input, context) => {
|
|
|
1853
1875
|
return (0, import_smithy_client.take)(input, {
|
|
1854
1876
|
DynamicVariables: import_smithy_client._json,
|
|
1855
1877
|
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
1856
|
-
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
1878
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"),
|
|
1879
|
+
TrafficShapingRetrievalWindow: import_smithy_client._json,
|
|
1880
|
+
TrafficShapingType: []
|
|
1857
1881
|
});
|
|
1858
1882
|
}, "se_PrefetchRetrieval");
|
|
1883
|
+
var se_RecurringPrefetchConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1884
|
+
return (0, import_smithy_client.take)(input, {
|
|
1885
|
+
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
1886
|
+
RecurringConsumption: import_smithy_client._json,
|
|
1887
|
+
RecurringRetrieval: import_smithy_client._json,
|
|
1888
|
+
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
|
|
1889
|
+
});
|
|
1890
|
+
}, "se_RecurringPrefetchConfiguration");
|
|
1859
1891
|
var de___listOfAlert = /* @__PURE__ */ __name((output, context) => {
|
|
1860
1892
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1861
1893
|
return de_Alert(entry, context);
|
|
@@ -1983,7 +2015,9 @@ var de_PrefetchRetrieval = /* @__PURE__ */ __name((output, context) => {
|
|
|
1983
2015
|
return (0, import_smithy_client.take)(output, {
|
|
1984
2016
|
DynamicVariables: import_smithy_client._json,
|
|
1985
2017
|
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
1986
|
-
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
2018
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
2019
|
+
TrafficShapingRetrievalWindow: import_smithy_client._json,
|
|
2020
|
+
TrafficShapingType: import_smithy_client.expectString
|
|
1987
2021
|
});
|
|
1988
2022
|
}, "de_PrefetchRetrieval");
|
|
1989
2023
|
var de_PrefetchSchedule = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -1992,10 +2026,20 @@ var de_PrefetchSchedule = /* @__PURE__ */ __name((output, context) => {
|
|
|
1992
2026
|
Consumption: /* @__PURE__ */ __name((_) => de_PrefetchConsumption(_, context), "Consumption"),
|
|
1993
2027
|
Name: import_smithy_client.expectString,
|
|
1994
2028
|
PlaybackConfigurationName: import_smithy_client.expectString,
|
|
2029
|
+
RecurringPrefetchConfiguration: /* @__PURE__ */ __name((_) => de_RecurringPrefetchConfiguration(_, context), "RecurringPrefetchConfiguration"),
|
|
1995
2030
|
Retrieval: /* @__PURE__ */ __name((_) => de_PrefetchRetrieval(_, context), "Retrieval"),
|
|
2031
|
+
ScheduleType: import_smithy_client.expectString,
|
|
1996
2032
|
StreamId: import_smithy_client.expectString
|
|
1997
2033
|
});
|
|
1998
2034
|
}, "de_PrefetchSchedule");
|
|
2035
|
+
var de_RecurringPrefetchConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
2036
|
+
return (0, import_smithy_client.take)(output, {
|
|
2037
|
+
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
2038
|
+
RecurringConsumption: import_smithy_client._json,
|
|
2039
|
+
RecurringRetrieval: import_smithy_client._json,
|
|
2040
|
+
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
|
|
2041
|
+
});
|
|
2042
|
+
}, "de_RecurringPrefetchConfiguration");
|
|
1999
2043
|
var de_ScheduleAdBreak = /* @__PURE__ */ __name((output, context) => {
|
|
2000
2044
|
return (0, import_smithy_client.take)(output, {
|
|
2001
2045
|
ApproximateDurationSeconds: import_smithy_client.expectLong,
|
|
@@ -2879,12 +2923,15 @@ var paginateListVodSources = (0, import_core.createPaginator)(MediaTailorClient,
|
|
|
2879
2923
|
OriginManifestType,
|
|
2880
2924
|
InsertionMode,
|
|
2881
2925
|
ManifestServiceExcludeEventType,
|
|
2926
|
+
TrafficShapingType,
|
|
2927
|
+
PrefetchScheduleType,
|
|
2882
2928
|
ScheduleEntryType,
|
|
2883
2929
|
AccessType,
|
|
2884
2930
|
BadRequestException,
|
|
2885
2931
|
PlaybackMode,
|
|
2886
2932
|
Tier,
|
|
2887
2933
|
ChannelState,
|
|
2888
|
-
RelativePosition
|
|
2934
|
+
RelativePosition,
|
|
2935
|
+
ListPrefetchScheduleType
|
|
2889
2936
|
});
|
|
2890
2937
|
|
|
@@ -127,6 +127,13 @@ export const ManifestServiceExcludeEventType = {
|
|
|
127
127
|
UNKNOWN_HOST: "UNKNOWN_HOST",
|
|
128
128
|
UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST: "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST",
|
|
129
129
|
};
|
|
130
|
+
export const TrafficShapingType = {
|
|
131
|
+
RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW",
|
|
132
|
+
};
|
|
133
|
+
export const PrefetchScheduleType = {
|
|
134
|
+
RECURRING: "RECURRING",
|
|
135
|
+
SINGLE: "SINGLE",
|
|
136
|
+
};
|
|
130
137
|
export const ScheduleEntryType = {
|
|
131
138
|
ALTERNATE_MEDIA: "ALTERNATE_MEDIA",
|
|
132
139
|
FILLER_SLATE: "FILLER_SLATE",
|
|
@@ -167,3 +174,8 @@ export const RelativePosition = {
|
|
|
167
174
|
AFTER_PROGRAM: "AFTER_PROGRAM",
|
|
168
175
|
BEFORE_PROGRAM: "BEFORE_PROGRAM",
|
|
169
176
|
};
|
|
177
|
+
export const ListPrefetchScheduleType = {
|
|
178
|
+
ALL: "ALL",
|
|
179
|
+
RECURRING: "RECURRING",
|
|
180
|
+
SINGLE: "SINGLE",
|
|
181
|
+
};
|
|
@@ -81,7 +81,9 @@ export const se_CreatePrefetchScheduleCommand = async (input, context) => {
|
|
|
81
81
|
let body;
|
|
82
82
|
body = JSON.stringify(take(input, {
|
|
83
83
|
Consumption: (_) => se_PrefetchConsumption(_, context),
|
|
84
|
+
RecurringPrefetchConfiguration: (_) => se_RecurringPrefetchConfiguration(_, context),
|
|
84
85
|
Retrieval: (_) => se_PrefetchRetrieval(_, context),
|
|
86
|
+
ScheduleType: [],
|
|
85
87
|
StreamId: [],
|
|
86
88
|
}));
|
|
87
89
|
b.m("POST").h(headers).b(body);
|
|
@@ -369,6 +371,7 @@ export const se_ListPrefetchSchedulesCommand = async (input, context) => {
|
|
|
369
371
|
body = JSON.stringify(take(input, {
|
|
370
372
|
MaxResults: [],
|
|
371
373
|
NextToken: [],
|
|
374
|
+
ScheduleType: [],
|
|
372
375
|
StreamId: [],
|
|
373
376
|
}));
|
|
374
377
|
b.m("POST").h(headers).b(body);
|
|
@@ -666,7 +669,9 @@ export const de_CreatePrefetchScheduleCommand = async (output, context) => {
|
|
|
666
669
|
Consumption: (_) => de_PrefetchConsumption(_, context),
|
|
667
670
|
Name: __expectString,
|
|
668
671
|
PlaybackConfigurationName: __expectString,
|
|
672
|
+
RecurringPrefetchConfiguration: (_) => de_RecurringPrefetchConfiguration(_, context),
|
|
669
673
|
Retrieval: (_) => de_PrefetchRetrieval(_, context),
|
|
674
|
+
ScheduleType: __expectString,
|
|
670
675
|
StreamId: __expectString,
|
|
671
676
|
});
|
|
672
677
|
Object.assign(contents, doc);
|
|
@@ -1009,7 +1014,9 @@ export const de_GetPrefetchScheduleCommand = async (output, context) => {
|
|
|
1009
1014
|
Consumption: (_) => de_PrefetchConsumption(_, context),
|
|
1010
1015
|
Name: __expectString,
|
|
1011
1016
|
PlaybackConfigurationName: __expectString,
|
|
1017
|
+
RecurringPrefetchConfiguration: (_) => de_RecurringPrefetchConfiguration(_, context),
|
|
1012
1018
|
Retrieval: (_) => de_PrefetchRetrieval(_, context),
|
|
1019
|
+
ScheduleType: __expectString,
|
|
1013
1020
|
StreamId: __expectString,
|
|
1014
1021
|
});
|
|
1015
1022
|
Object.assign(contents, doc);
|
|
@@ -1375,6 +1382,16 @@ const se_PrefetchRetrieval = (input, context) => {
|
|
|
1375
1382
|
DynamicVariables: _json,
|
|
1376
1383
|
EndTime: (_) => _.getTime() / 1000,
|
|
1377
1384
|
StartTime: (_) => _.getTime() / 1000,
|
|
1385
|
+
TrafficShapingRetrievalWindow: _json,
|
|
1386
|
+
TrafficShapingType: [],
|
|
1387
|
+
});
|
|
1388
|
+
};
|
|
1389
|
+
const se_RecurringPrefetchConfiguration = (input, context) => {
|
|
1390
|
+
return take(input, {
|
|
1391
|
+
EndTime: (_) => _.getTime() / 1000,
|
|
1392
|
+
RecurringConsumption: _json,
|
|
1393
|
+
RecurringRetrieval: _json,
|
|
1394
|
+
StartTime: (_) => _.getTime() / 1000,
|
|
1378
1395
|
});
|
|
1379
1396
|
};
|
|
1380
1397
|
const de___listOfAlert = (output, context) => {
|
|
@@ -1523,6 +1540,8 @@ const de_PrefetchRetrieval = (output, context) => {
|
|
|
1523
1540
|
DynamicVariables: _json,
|
|
1524
1541
|
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1525
1542
|
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1543
|
+
TrafficShapingRetrievalWindow: _json,
|
|
1544
|
+
TrafficShapingType: __expectString,
|
|
1526
1545
|
});
|
|
1527
1546
|
};
|
|
1528
1547
|
const de_PrefetchSchedule = (output, context) => {
|
|
@@ -1531,10 +1550,20 @@ const de_PrefetchSchedule = (output, context) => {
|
|
|
1531
1550
|
Consumption: (_) => de_PrefetchConsumption(_, context),
|
|
1532
1551
|
Name: __expectString,
|
|
1533
1552
|
PlaybackConfigurationName: __expectString,
|
|
1553
|
+
RecurringPrefetchConfiguration: (_) => de_RecurringPrefetchConfiguration(_, context),
|
|
1534
1554
|
Retrieval: (_) => de_PrefetchRetrieval(_, context),
|
|
1555
|
+
ScheduleType: __expectString,
|
|
1535
1556
|
StreamId: __expectString,
|
|
1536
1557
|
});
|
|
1537
1558
|
};
|
|
1559
|
+
const de_RecurringPrefetchConfiguration = (output, context) => {
|
|
1560
|
+
return take(output, {
|
|
1561
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1562
|
+
RecurringConsumption: _json,
|
|
1563
|
+
RecurringRetrieval: _json,
|
|
1564
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1565
|
+
});
|
|
1566
|
+
};
|
|
1538
1567
|
const de_ScheduleAdBreak = (output, context) => {
|
|
1539
1568
|
return take(output, {
|
|
1540
1569
|
ApproximateDurationSeconds: __expectLong,
|
|
@@ -53,7 +53,35 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
53
53
|
* },
|
|
54
54
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
55
55
|
* StartTime: new Date("TIMESTAMP"),
|
|
56
|
+
* TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
57
|
+
* TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
58
|
+
* RetrievalWindowDurationSeconds: Number("int"),
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
62
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
63
|
+
* EndTime: new Date("TIMESTAMP"), // required
|
|
64
|
+
* RecurringConsumption: { // RecurringConsumption
|
|
65
|
+
* RetrievedAdExpirationSeconds: Number("int"),
|
|
66
|
+
* AvailMatchingCriteria: [
|
|
67
|
+
* {
|
|
68
|
+
* DynamicVariable: "STRING_VALUE", // required
|
|
69
|
+
* Operator: "EQUALS", // required
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* RecurringRetrieval: { // RecurringRetrieval
|
|
74
|
+
* DynamicVariables: {
|
|
75
|
+
* "<keys>": "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* DelayAfterAvailEndSeconds: Number("int"),
|
|
78
|
+
* TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
79
|
+
* TrafficShapingRetrievalWindow: {
|
|
80
|
+
* RetrievalWindowDurationSeconds: Number("int"),
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
56
83
|
* },
|
|
84
|
+
* ScheduleType: "SINGLE" || "RECURRING",
|
|
57
85
|
* StreamId: "STRING_VALUE",
|
|
58
86
|
* };
|
|
59
87
|
* const command = new CreatePrefetchScheduleCommand(input);
|
|
@@ -78,7 +106,35 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
78
106
|
* // },
|
|
79
107
|
* // EndTime: new Date("TIMESTAMP"), // required
|
|
80
108
|
* // StartTime: new Date("TIMESTAMP"),
|
|
109
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
110
|
+
* // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
111
|
+
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
115
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
116
|
+
* // EndTime: new Date("TIMESTAMP"), // required
|
|
117
|
+
* // RecurringConsumption: { // RecurringConsumption
|
|
118
|
+
* // RetrievedAdExpirationSeconds: Number("int"),
|
|
119
|
+
* // AvailMatchingCriteria: [
|
|
120
|
+
* // {
|
|
121
|
+
* // DynamicVariable: "STRING_VALUE", // required
|
|
122
|
+
* // Operator: "EQUALS", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // RecurringRetrieval: { // RecurringRetrieval
|
|
127
|
+
* // DynamicVariables: {
|
|
128
|
+
* // "<keys>": "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // DelayAfterAvailEndSeconds: Number("int"),
|
|
131
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
132
|
+
* // TrafficShapingRetrievalWindow: {
|
|
133
|
+
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
81
136
|
* // },
|
|
137
|
+
* // ScheduleType: "SINGLE" || "RECURRING",
|
|
82
138
|
* // StreamId: "STRING_VALUE",
|
|
83
139
|
* // };
|
|
84
140
|
*
|
|
@@ -60,6 +60,34 @@ declare const GetPrefetchScheduleCommand_base: {
|
|
|
60
60
|
* // },
|
|
61
61
|
* // EndTime: new Date("TIMESTAMP"), // required
|
|
62
62
|
* // StartTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
64
|
+
* // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
65
|
+
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ScheduleType: "SINGLE" || "RECURRING",
|
|
69
|
+
* // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
70
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // EndTime: new Date("TIMESTAMP"), // required
|
|
72
|
+
* // RecurringConsumption: { // RecurringConsumption
|
|
73
|
+
* // RetrievedAdExpirationSeconds: Number("int"),
|
|
74
|
+
* // AvailMatchingCriteria: [
|
|
75
|
+
* // {
|
|
76
|
+
* // DynamicVariable: "STRING_VALUE", // required
|
|
77
|
+
* // Operator: "EQUALS", // required
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // RecurringRetrieval: { // RecurringRetrieval
|
|
82
|
+
* // DynamicVariables: {
|
|
83
|
+
* // "<keys>": "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // DelayAfterAvailEndSeconds: Number("int"),
|
|
86
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
87
|
+
* // TrafficShapingRetrievalWindow: {
|
|
88
|
+
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
63
91
|
* // },
|
|
64
92
|
* // StreamId: "STRING_VALUE",
|
|
65
93
|
* // };
|
|
@@ -38,6 +38,7 @@ declare const ListPrefetchSchedulesCommand_base: {
|
|
|
38
38
|
* MaxResults: Number("int"),
|
|
39
39
|
* NextToken: "STRING_VALUE",
|
|
40
40
|
* PlaybackConfigurationName: "STRING_VALUE", // required
|
|
41
|
+
* ScheduleType: "SINGLE" || "RECURRING" || "ALL",
|
|
41
42
|
* StreamId: "STRING_VALUE",
|
|
42
43
|
* };
|
|
43
44
|
* const command = new ListPrefetchSchedulesCommand(input);
|
|
@@ -64,6 +65,34 @@ declare const ListPrefetchSchedulesCommand_base: {
|
|
|
64
65
|
* // },
|
|
65
66
|
* // EndTime: new Date("TIMESTAMP"), // required
|
|
66
67
|
* // StartTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
69
|
+
* // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
70
|
+
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // ScheduleType: "SINGLE" || "RECURRING",
|
|
74
|
+
* // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
75
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
76
|
+
* // EndTime: new Date("TIMESTAMP"), // required
|
|
77
|
+
* // RecurringConsumption: { // RecurringConsumption
|
|
78
|
+
* // RetrievedAdExpirationSeconds: Number("int"),
|
|
79
|
+
* // AvailMatchingCriteria: [
|
|
80
|
+
* // {
|
|
81
|
+
* // DynamicVariable: "STRING_VALUE", // required
|
|
82
|
+
* // Operator: "EQUALS", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // },
|
|
86
|
+
* // RecurringRetrieval: { // RecurringRetrieval
|
|
87
|
+
* // DynamicVariables: {
|
|
88
|
+
* // "<keys>": "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // DelayAfterAvailEndSeconds: Number("int"),
|
|
91
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
92
|
+
* // TrafficShapingRetrievalWindow: {
|
|
93
|
+
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
67
96
|
* // },
|
|
68
97
|
* // StreamId: "STRING_VALUE",
|
|
69
98
|
* // },
|
|
@@ -828,7 +828,7 @@ export interface LivePreRollConfiguration {
|
|
|
828
828
|
/**
|
|
829
829
|
* <p>Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).</p>
|
|
830
830
|
* <p>For more information about ADS logs, inlcuding descriptions of the event types, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/ads-log-format.html">MediaTailor ADS logs description and event types</a>
|
|
831
|
-
*
|
|
831
|
+
* in Elemental MediaTailor User Guide.</p>
|
|
832
832
|
* @public
|
|
833
833
|
*/
|
|
834
834
|
export interface AdsInteractionLog {
|
|
@@ -1062,7 +1062,7 @@ export interface PlaybackConfiguration {
|
|
|
1062
1062
|
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
1063
1063
|
}
|
|
1064
1064
|
/**
|
|
1065
|
-
* <p>
|
|
1065
|
+
* <p>For single prefetch, describes how and when that MediaTailor places prefetched ads into upcoming ad breaks.</p>
|
|
1066
1066
|
* @public
|
|
1067
1067
|
*/
|
|
1068
1068
|
export interface PrefetchConsumption {
|
|
@@ -1082,6 +1082,97 @@ export interface PrefetchConsumption {
|
|
|
1082
1082
|
*/
|
|
1083
1083
|
StartTime?: Date | undefined;
|
|
1084
1084
|
}
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>The settings that determine how and when MediaTailor places prefetched ads into upcoming ad breaks for recurring prefetch scedules.</p>
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
export interface RecurringConsumption {
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>The number of seconds that an ad is available for insertion after it was prefetched.</p>
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
RetrievedAdExpirationSeconds?: number | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* <p>The configuration for the dynamic variables that determine which ad breaks that MediaTailor inserts prefetched ads in.</p>
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
AvailMatchingCriteria?: AvailMatchingCriteria[] | undefined;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* <p>The configuration that tells Elemental MediaTailor how to spread out requests to the ad decision server (ADS). Instead of sending ADS requests for all sessions at the same time, MediaTailor spreads the requests across the amount of time specified in the retrieval window.</p>
|
|
1103
|
+
* @public
|
|
1104
|
+
*/
|
|
1105
|
+
export interface TrafficShapingRetrievalWindow {
|
|
1106
|
+
/**
|
|
1107
|
+
* <p>The amount of time, in seconds, that MediaTailor spreads prefetch requests to the ADS. </p>
|
|
1108
|
+
* @public
|
|
1109
|
+
*/
|
|
1110
|
+
RetrievalWindowDurationSeconds?: number | undefined;
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @public
|
|
1114
|
+
* @enum
|
|
1115
|
+
*/
|
|
1116
|
+
export declare const TrafficShapingType: {
|
|
1117
|
+
readonly RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW";
|
|
1118
|
+
};
|
|
1119
|
+
/**
|
|
1120
|
+
* @public
|
|
1121
|
+
*/
|
|
1122
|
+
export type TrafficShapingType = (typeof TrafficShapingType)[keyof typeof TrafficShapingType];
|
|
1123
|
+
/**
|
|
1124
|
+
* <p>With recurring prefetch, MediaTailor automatically prefetches ads for every avail that occurs during the retrieval window. The following
|
|
1125
|
+
* configurations describe the MediaTailor behavior when prefetching ads for a live event.</p>
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
1128
|
+
export interface RecurringRetrieval {
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>The dynamic variables to use for substitution during prefetch requests to the ADS.</p>
|
|
1131
|
+
* @public
|
|
1132
|
+
*/
|
|
1133
|
+
DynamicVariables?: Record<string, string> | undefined;
|
|
1134
|
+
/**
|
|
1135
|
+
* <p>The number of seconds that MediaTailor waits after an ad avail before prefetching ads for the next avail. If not set, the default is 0 (no delay).</p>
|
|
1136
|
+
* @public
|
|
1137
|
+
*/
|
|
1138
|
+
DelayAfterAvailEndSeconds?: number | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* <p>Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.</p>
|
|
1141
|
+
* @public
|
|
1142
|
+
*/
|
|
1143
|
+
TrafficShapingType?: TrafficShapingType | undefined;
|
|
1144
|
+
/**
|
|
1145
|
+
* <p>Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.</p>
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* <p>The configuration that defines how MediaTailor performs recurring prefetch. </p>
|
|
1152
|
+
* @public
|
|
1153
|
+
*/
|
|
1154
|
+
export interface RecurringPrefetchConfiguration {
|
|
1155
|
+
/**
|
|
1156
|
+
* <p>The start time for the window that MediaTailor prefetches and inserts ads in a live event. </p>
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
StartTime?: Date | undefined;
|
|
1160
|
+
/**
|
|
1161
|
+
* <p>The end time for the window that MediaTailor prefetches and inserts ads in a live event. </p>
|
|
1162
|
+
* @public
|
|
1163
|
+
*/
|
|
1164
|
+
EndTime: Date | undefined;
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>The settings that determine how and when MediaTailor places prefetched ads into upcoming ad breaks for recurring prefetch scedules.</p>
|
|
1167
|
+
* @public
|
|
1168
|
+
*/
|
|
1169
|
+
RecurringConsumption: RecurringConsumption | undefined;
|
|
1170
|
+
/**
|
|
1171
|
+
* <p>The configuration for prefetch ad retrieval from the ADS.</p>
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
RecurringRetrieval: RecurringRetrieval | undefined;
|
|
1175
|
+
}
|
|
1085
1176
|
/**
|
|
1086
1177
|
* <p>A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.</p>
|
|
1087
1178
|
* @public
|
|
@@ -1103,7 +1194,29 @@ export interface PrefetchRetrieval {
|
|
|
1103
1194
|
* @public
|
|
1104
1195
|
*/
|
|
1105
1196
|
StartTime?: Date | undefined;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>Indicates if this configuration uses a retrieval window for traffic shaping and limiting the number of requests to the ADS at one time.</p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
TrafficShapingType?: TrafficShapingType | undefined;
|
|
1202
|
+
/**
|
|
1203
|
+
* <p>Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.</p>
|
|
1204
|
+
* @public
|
|
1205
|
+
*/
|
|
1206
|
+
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
1106
1207
|
}
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
* @enum
|
|
1211
|
+
*/
|
|
1212
|
+
export declare const PrefetchScheduleType: {
|
|
1213
|
+
readonly RECURRING: "RECURRING";
|
|
1214
|
+
readonly SINGLE: "SINGLE";
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* @public
|
|
1218
|
+
*/
|
|
1219
|
+
export type PrefetchScheduleType = (typeof PrefetchScheduleType)[keyof typeof PrefetchScheduleType];
|
|
1107
1220
|
/**
|
|
1108
1221
|
* <p>A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Using ad prefetching</a> in the <i>MediaTailor User Guide</i>.</p>
|
|
1109
1222
|
* @public
|
|
@@ -1115,10 +1228,10 @@ export interface PrefetchSchedule {
|
|
|
1115
1228
|
*/
|
|
1116
1229
|
Arn: string | undefined;
|
|
1117
1230
|
/**
|
|
1118
|
-
* <p>Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a <i>consumption window</i>. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.</p>
|
|
1231
|
+
* <p>Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks for single prefetch schedules. Ad consumption occurs within a span of time that you define, called a <i>consumption window</i>. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.</p>
|
|
1119
1232
|
* @public
|
|
1120
1233
|
*/
|
|
1121
|
-
Consumption
|
|
1234
|
+
Consumption?: PrefetchConsumption | undefined;
|
|
1122
1235
|
/**
|
|
1123
1236
|
* <p>The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.</p>
|
|
1124
1237
|
* @public
|
|
@@ -1133,7 +1246,19 @@ export interface PrefetchSchedule {
|
|
|
1133
1246
|
* <p>A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).</p>
|
|
1134
1247
|
* @public
|
|
1135
1248
|
*/
|
|
1136
|
-
Retrieval
|
|
1249
|
+
Retrieval?: PrefetchRetrieval | undefined;
|
|
1250
|
+
/**
|
|
1251
|
+
* <p>The frequency that MediaTailor creates prefetch schedules. <code>SINGLE</code> indicates that this schedule applies to one ad break. <code>RECURRING</code> indicates that MediaTailor automatically creates a schedule for each ad avail in a live event.</p>
|
|
1252
|
+
* <p>For more information about the prefetch types and when you might use each, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Prefetching ads in Elemental MediaTailor.</a>
|
|
1253
|
+
* </p>
|
|
1254
|
+
* @public
|
|
1255
|
+
*/
|
|
1256
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
1257
|
+
/**
|
|
1258
|
+
* <p>The settings that determine how and when MediaTailor prefetches ads and inserts them into ad breaks.</p>
|
|
1259
|
+
* @public
|
|
1260
|
+
*/
|
|
1261
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
1137
1262
|
/**
|
|
1138
1263
|
* <p>An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.</p>
|
|
1139
1264
|
* @public
|
|
@@ -2594,10 +2719,10 @@ export interface CreateLiveSourceResponse {
|
|
|
2594
2719
|
*/
|
|
2595
2720
|
export interface CreatePrefetchScheduleRequest {
|
|
2596
2721
|
/**
|
|
2597
|
-
* <p>The configuration settings for
|
|
2722
|
+
* <p>The configuration settings for how and when MediaTailor consumes prefetched ads from the ad decision server for single prefetch schedules. Each consumption configuration contains an end time and an optional start time that define the <i>consumption window</i>. Prefetch schedules automatically expire no earlier than seven days after the end time.</p>
|
|
2598
2723
|
* @public
|
|
2599
2724
|
*/
|
|
2600
|
-
Consumption
|
|
2725
|
+
Consumption?: PrefetchConsumption | undefined;
|
|
2601
2726
|
/**
|
|
2602
2727
|
* <p>The name to assign to the schedule request.</p>
|
|
2603
2728
|
* @public
|
|
@@ -2612,7 +2737,19 @@ export interface CreatePrefetchScheduleRequest {
|
|
|
2612
2737
|
* <p>The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.</p>
|
|
2613
2738
|
* @public
|
|
2614
2739
|
*/
|
|
2615
|
-
Retrieval
|
|
2740
|
+
Retrieval?: PrefetchRetrieval | undefined;
|
|
2741
|
+
/**
|
|
2742
|
+
* <p>The configuration that defines how and when MediaTailor performs ad prefetching in a live event.</p>
|
|
2743
|
+
* @public
|
|
2744
|
+
*/
|
|
2745
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
2746
|
+
/**
|
|
2747
|
+
* <p>The frequency that MediaTailor creates prefetch schedules. <code>SINGLE</code> indicates that this schedule applies to one ad break. <code>RECURRING</code> indicates that MediaTailor automatically creates a schedule for each ad avail in a live event.</p>
|
|
2748
|
+
* <p>For more information about the prefetch types and when you might use each, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/prefetching-ads.html">Prefetching ads in Elemental MediaTailor.</a>
|
|
2749
|
+
* </p>
|
|
2750
|
+
* @public
|
|
2751
|
+
*/
|
|
2752
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
2616
2753
|
/**
|
|
2617
2754
|
* <p>An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If <code>StreamId</code> is specified, MediaTailor returns all of the prefetch schedules with an exact match on <code>StreamId</code>. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of <code>StreamId</code>.</p>
|
|
2618
2755
|
* @public
|
|
@@ -2629,7 +2766,7 @@ export interface CreatePrefetchScheduleResponse {
|
|
|
2629
2766
|
*/
|
|
2630
2767
|
Arn?: string | undefined;
|
|
2631
2768
|
/**
|
|
2632
|
-
* <p>The configuration settings for
|
|
2769
|
+
* <p>The configuration settings for how and when MediaTailor consumes prefetched ads from the ad decision server for single prefetch schedules. Each consumption configuration contains an end time and an optional start time that define the <i>consumption window</i>. Prefetch schedules automatically expire no earlier than seven days after the end time.</p>
|
|
2633
2770
|
* @public
|
|
2634
2771
|
*/
|
|
2635
2772
|
Consumption?: PrefetchConsumption | undefined;
|
|
@@ -2648,6 +2785,16 @@ export interface CreatePrefetchScheduleResponse {
|
|
|
2648
2785
|
* @public
|
|
2649
2786
|
*/
|
|
2650
2787
|
Retrieval?: PrefetchRetrieval | undefined;
|
|
2788
|
+
/**
|
|
2789
|
+
* <p>The configuration that defines how MediaTailor performs recurring prefetch. </p>
|
|
2790
|
+
* @public
|
|
2791
|
+
*/
|
|
2792
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
2793
|
+
/**
|
|
2794
|
+
* <p>The frequency that MediaTailor creates prefetch schedules. <code>SINGLE</code> indicates that this schedule applies to one ad break. <code>RECURRING</code> indicates that MediaTailor automatically creates a schedule for each ad avail in a live event.</p>
|
|
2795
|
+
* @public
|
|
2796
|
+
*/
|
|
2797
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
2651
2798
|
/**
|
|
2652
2799
|
* <p>An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If <code>StreamId</code> is specified, MediaTailor returns all of the prefetch schedules with an exact match on <code>StreamId</code>. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of <code>StreamId</code>.</p>
|
|
2653
2800
|
* @public
|
|
@@ -3230,7 +3377,7 @@ export interface GetPrefetchScheduleResponse {
|
|
|
3230
3377
|
*/
|
|
3231
3378
|
Arn?: string | undefined;
|
|
3232
3379
|
/**
|
|
3233
|
-
* <p>
|
|
3380
|
+
* <p>The configuration settings for how and when MediaTailor consumes prefetched ads from the ad decision server for single prefetch schedules. Each consumption configuration contains an end time and an optional start time that define the <i>consumption window</i>. Prefetch schedules automatically expire no earlier than seven days after the end time.</p>
|
|
3234
3381
|
* @public
|
|
3235
3382
|
*/
|
|
3236
3383
|
Consumption?: PrefetchConsumption | undefined;
|
|
@@ -3249,6 +3396,16 @@ export interface GetPrefetchScheduleResponse {
|
|
|
3249
3396
|
* @public
|
|
3250
3397
|
*/
|
|
3251
3398
|
Retrieval?: PrefetchRetrieval | undefined;
|
|
3399
|
+
/**
|
|
3400
|
+
* <p>The frequency that MediaTailor creates prefetch schedules. <code>SINGLE</code> indicates that this schedule applies to one ad break. <code>RECURRING</code> indicates that MediaTailor automatically creates a schedule for each ad avail in a live event.</p>
|
|
3401
|
+
* @public
|
|
3402
|
+
*/
|
|
3403
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
3404
|
+
/**
|
|
3405
|
+
* <p>The configuration that defines how and when MediaTailor performs ad prefetching in a live event.</p>
|
|
3406
|
+
* @public
|
|
3407
|
+
*/
|
|
3408
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
3252
3409
|
/**
|
|
3253
3410
|
* <p>An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.</p>
|
|
3254
3411
|
* @public
|
|
@@ -3355,6 +3512,19 @@ export interface ListPlaybackConfigurationsResponse {
|
|
|
3355
3512
|
*/
|
|
3356
3513
|
NextToken?: string | undefined;
|
|
3357
3514
|
}
|
|
3515
|
+
/**
|
|
3516
|
+
* @public
|
|
3517
|
+
* @enum
|
|
3518
|
+
*/
|
|
3519
|
+
export declare const ListPrefetchScheduleType: {
|
|
3520
|
+
readonly ALL: "ALL";
|
|
3521
|
+
readonly RECURRING: "RECURRING";
|
|
3522
|
+
readonly SINGLE: "SINGLE";
|
|
3523
|
+
};
|
|
3524
|
+
/**
|
|
3525
|
+
* @public
|
|
3526
|
+
*/
|
|
3527
|
+
export type ListPrefetchScheduleType = (typeof ListPrefetchScheduleType)[keyof typeof ListPrefetchScheduleType];
|
|
3358
3528
|
/**
|
|
3359
3529
|
* @public
|
|
3360
3530
|
*/
|
|
@@ -3377,6 +3547,12 @@ export interface ListPrefetchSchedulesRequest {
|
|
|
3377
3547
|
* @public
|
|
3378
3548
|
*/
|
|
3379
3549
|
PlaybackConfigurationName: string | undefined;
|
|
3550
|
+
/**
|
|
3551
|
+
* <p>The type of prefetch schedules that you want to list. <code>SINGLE</code> indicates that you want to list the configured single prefetch schedules. <code>RECURRING</code>
|
|
3552
|
+
* indicates that you want to list the configured recurring prefetch schedules. <code>ALL</code> indicates that you want to list all configured prefetch schedules.</p>
|
|
3553
|
+
* @public
|
|
3554
|
+
*/
|
|
3555
|
+
ScheduleType?: ListPrefetchScheduleType | undefined;
|
|
3380
3556
|
/**
|
|
3381
3557
|
* <p>An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.</p>
|
|
3382
3558
|
* @public
|
|
@@ -336,17 +336,51 @@ export interface PrefetchConsumption {
|
|
|
336
336
|
EndTime: Date | undefined;
|
|
337
337
|
StartTime?: Date | undefined;
|
|
338
338
|
}
|
|
339
|
+
export interface RecurringConsumption {
|
|
340
|
+
RetrievedAdExpirationSeconds?: number | undefined;
|
|
341
|
+
AvailMatchingCriteria?: AvailMatchingCriteria[] | undefined;
|
|
342
|
+
}
|
|
343
|
+
export interface TrafficShapingRetrievalWindow {
|
|
344
|
+
RetrievalWindowDurationSeconds?: number | undefined;
|
|
345
|
+
}
|
|
346
|
+
export declare const TrafficShapingType: {
|
|
347
|
+
readonly RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW";
|
|
348
|
+
};
|
|
349
|
+
export type TrafficShapingType =
|
|
350
|
+
(typeof TrafficShapingType)[keyof typeof TrafficShapingType];
|
|
351
|
+
export interface RecurringRetrieval {
|
|
352
|
+
DynamicVariables?: Record<string, string> | undefined;
|
|
353
|
+
DelayAfterAvailEndSeconds?: number | undefined;
|
|
354
|
+
TrafficShapingType?: TrafficShapingType | undefined;
|
|
355
|
+
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface RecurringPrefetchConfiguration {
|
|
358
|
+
StartTime?: Date | undefined;
|
|
359
|
+
EndTime: Date | undefined;
|
|
360
|
+
RecurringConsumption: RecurringConsumption | undefined;
|
|
361
|
+
RecurringRetrieval: RecurringRetrieval | undefined;
|
|
362
|
+
}
|
|
339
363
|
export interface PrefetchRetrieval {
|
|
340
364
|
DynamicVariables?: Record<string, string> | undefined;
|
|
341
365
|
EndTime: Date | undefined;
|
|
342
366
|
StartTime?: Date | undefined;
|
|
367
|
+
TrafficShapingType?: TrafficShapingType | undefined;
|
|
368
|
+
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
343
369
|
}
|
|
370
|
+
export declare const PrefetchScheduleType: {
|
|
371
|
+
readonly RECURRING: "RECURRING";
|
|
372
|
+
readonly SINGLE: "SINGLE";
|
|
373
|
+
};
|
|
374
|
+
export type PrefetchScheduleType =
|
|
375
|
+
(typeof PrefetchScheduleType)[keyof typeof PrefetchScheduleType];
|
|
344
376
|
export interface PrefetchSchedule {
|
|
345
377
|
Arn: string | undefined;
|
|
346
|
-
Consumption
|
|
378
|
+
Consumption?: PrefetchConsumption | undefined;
|
|
347
379
|
Name: string | undefined;
|
|
348
380
|
PlaybackConfigurationName: string | undefined;
|
|
349
|
-
Retrieval
|
|
381
|
+
Retrieval?: PrefetchRetrieval | undefined;
|
|
382
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
383
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
350
384
|
StreamId?: string | undefined;
|
|
351
385
|
}
|
|
352
386
|
export interface ScheduleAdBreak {
|
|
@@ -699,10 +733,12 @@ export interface CreateLiveSourceResponse {
|
|
|
699
733
|
Tags?: Record<string, string> | undefined;
|
|
700
734
|
}
|
|
701
735
|
export interface CreatePrefetchScheduleRequest {
|
|
702
|
-
Consumption
|
|
736
|
+
Consumption?: PrefetchConsumption | undefined;
|
|
703
737
|
Name: string | undefined;
|
|
704
738
|
PlaybackConfigurationName: string | undefined;
|
|
705
|
-
Retrieval
|
|
739
|
+
Retrieval?: PrefetchRetrieval | undefined;
|
|
740
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
741
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
706
742
|
StreamId?: string | undefined;
|
|
707
743
|
}
|
|
708
744
|
export interface CreatePrefetchScheduleResponse {
|
|
@@ -711,6 +747,8 @@ export interface CreatePrefetchScheduleResponse {
|
|
|
711
747
|
Name?: string | undefined;
|
|
712
748
|
PlaybackConfigurationName?: string | undefined;
|
|
713
749
|
Retrieval?: PrefetchRetrieval | undefined;
|
|
750
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
751
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
714
752
|
StreamId?: string | undefined;
|
|
715
753
|
}
|
|
716
754
|
export interface CreateSourceLocationRequest {
|
|
@@ -857,6 +895,8 @@ export interface GetPrefetchScheduleResponse {
|
|
|
857
895
|
Name?: string | undefined;
|
|
858
896
|
PlaybackConfigurationName?: string | undefined;
|
|
859
897
|
Retrieval?: PrefetchRetrieval | undefined;
|
|
898
|
+
ScheduleType?: PrefetchScheduleType | undefined;
|
|
899
|
+
RecurringPrefetchConfiguration?: RecurringPrefetchConfiguration | undefined;
|
|
860
900
|
StreamId?: string | undefined;
|
|
861
901
|
}
|
|
862
902
|
export interface ListAlertsRequest {
|
|
@@ -885,10 +925,18 @@ export interface ListPlaybackConfigurationsResponse {
|
|
|
885
925
|
Items?: PlaybackConfiguration[] | undefined;
|
|
886
926
|
NextToken?: string | undefined;
|
|
887
927
|
}
|
|
928
|
+
export declare const ListPrefetchScheduleType: {
|
|
929
|
+
readonly ALL: "ALL";
|
|
930
|
+
readonly RECURRING: "RECURRING";
|
|
931
|
+
readonly SINGLE: "SINGLE";
|
|
932
|
+
};
|
|
933
|
+
export type ListPrefetchScheduleType =
|
|
934
|
+
(typeof ListPrefetchScheduleType)[keyof typeof ListPrefetchScheduleType];
|
|
888
935
|
export interface ListPrefetchSchedulesRequest {
|
|
889
936
|
MaxResults?: number | undefined;
|
|
890
937
|
NextToken?: string | undefined;
|
|
891
938
|
PlaybackConfigurationName: string | undefined;
|
|
939
|
+
ScheduleType?: ListPrefetchScheduleType | undefined;
|
|
892
940
|
StreamId?: string | undefined;
|
|
893
941
|
}
|
|
894
942
|
export interface ListPrefetchSchedulesResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediatailor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.796.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediatailor",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.796.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.796.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.796.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.796.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|