@aws-sdk/client-mediatailor 3.899.0 → 3.900.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 +4 -1
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreatePrefetchScheduleCommand.d.ts +20 -4
- package/dist-types/commands/GetPrefetchScheduleCommand.d.ts +10 -2
- package/dist-types/commands/ListPrefetchSchedulesCommand.d.ts +10 -2
- package/dist-types/models/models_0.d.ts +43 -16
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -404,7 +404,8 @@ var ManifestServiceExcludeEventType = {
|
|
|
404
404
|
UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST: "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST"
|
|
405
405
|
};
|
|
406
406
|
var TrafficShapingType = {
|
|
407
|
-
RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW"
|
|
407
|
+
RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW",
|
|
408
|
+
TPS: "TPS"
|
|
408
409
|
};
|
|
409
410
|
var PrefetchScheduleType = {
|
|
410
411
|
RECURRING: "RECURRING",
|
|
@@ -1877,6 +1878,7 @@ var se_PrefetchRetrieval = /* @__PURE__ */ __name((input, context) => {
|
|
|
1877
1878
|
EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
|
|
1878
1879
|
StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"),
|
|
1879
1880
|
TrafficShapingRetrievalWindow: import_smithy_client._json,
|
|
1881
|
+
TrafficShapingTpsConfiguration: import_smithy_client._json,
|
|
1880
1882
|
TrafficShapingType: []
|
|
1881
1883
|
});
|
|
1882
1884
|
}, "se_PrefetchRetrieval");
|
|
@@ -2017,6 +2019,7 @@ var de_PrefetchRetrieval = /* @__PURE__ */ __name((output, context) => {
|
|
|
2017
2019
|
EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
|
|
2018
2020
|
StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
|
|
2019
2021
|
TrafficShapingRetrievalWindow: import_smithy_client._json,
|
|
2022
|
+
TrafficShapingTpsConfiguration: import_smithy_client._json,
|
|
2020
2023
|
TrafficShapingType: import_smithy_client.expectString
|
|
2021
2024
|
});
|
|
2022
2025
|
}, "de_PrefetchRetrieval");
|
|
@@ -1383,6 +1383,7 @@ const se_PrefetchRetrieval = (input, context) => {
|
|
|
1383
1383
|
EndTime: (_) => _.getTime() / 1_000,
|
|
1384
1384
|
StartTime: (_) => _.getTime() / 1_000,
|
|
1385
1385
|
TrafficShapingRetrievalWindow: _json,
|
|
1386
|
+
TrafficShapingTpsConfiguration: _json,
|
|
1386
1387
|
TrafficShapingType: [],
|
|
1387
1388
|
});
|
|
1388
1389
|
};
|
|
@@ -1541,6 +1542,7 @@ const de_PrefetchRetrieval = (output, context) => {
|
|
|
1541
1542
|
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1542
1543
|
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1543
1544
|
TrafficShapingRetrievalWindow: _json,
|
|
1545
|
+
TrafficShapingTpsConfiguration: _json,
|
|
1544
1546
|
TrafficShapingType: __expectString,
|
|
1545
1547
|
});
|
|
1546
1548
|
};
|
|
@@ -55,10 +55,14 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
55
55
|
* },
|
|
56
56
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
57
57
|
* StartTime: new Date("TIMESTAMP"),
|
|
58
|
-
* TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
58
|
+
* TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
59
59
|
* TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
60
60
|
* RetrievalWindowDurationSeconds: Number("int"),
|
|
61
61
|
* },
|
|
62
|
+
* TrafficShapingTpsConfiguration: { // TrafficShapingTpsConfiguration
|
|
63
|
+
* PeakTps: Number("int"),
|
|
64
|
+
* PeakConcurrentUsers: Number("int"),
|
|
65
|
+
* },
|
|
62
66
|
* },
|
|
63
67
|
* RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
64
68
|
* StartTime: new Date("TIMESTAMP"),
|
|
@@ -77,10 +81,14 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
77
81
|
* "<keys>": "STRING_VALUE",
|
|
78
82
|
* },
|
|
79
83
|
* DelayAfterAvailEndSeconds: Number("int"),
|
|
80
|
-
* TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
84
|
+
* TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
81
85
|
* TrafficShapingRetrievalWindow: {
|
|
82
86
|
* RetrievalWindowDurationSeconds: Number("int"),
|
|
83
87
|
* },
|
|
88
|
+
* TrafficShapingTpsConfiguration: {
|
|
89
|
+
* PeakTps: Number("int"),
|
|
90
|
+
* PeakConcurrentUsers: Number("int"),
|
|
91
|
+
* },
|
|
84
92
|
* },
|
|
85
93
|
* },
|
|
86
94
|
* ScheduleType: "SINGLE" || "RECURRING",
|
|
@@ -108,10 +116,14 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
108
116
|
* // },
|
|
109
117
|
* // EndTime: new Date("TIMESTAMP"), // required
|
|
110
118
|
* // StartTime: new Date("TIMESTAMP"),
|
|
111
|
-
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
119
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
112
120
|
* // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
113
121
|
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
114
122
|
* // },
|
|
123
|
+
* // TrafficShapingTpsConfiguration: { // TrafficShapingTpsConfiguration
|
|
124
|
+
* // PeakTps: Number("int"),
|
|
125
|
+
* // PeakConcurrentUsers: Number("int"),
|
|
126
|
+
* // },
|
|
115
127
|
* // },
|
|
116
128
|
* // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
117
129
|
* // StartTime: new Date("TIMESTAMP"),
|
|
@@ -130,10 +142,14 @@ declare const CreatePrefetchScheduleCommand_base: {
|
|
|
130
142
|
* // "<keys>": "STRING_VALUE",
|
|
131
143
|
* // },
|
|
132
144
|
* // DelayAfterAvailEndSeconds: Number("int"),
|
|
133
|
-
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
145
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
134
146
|
* // TrafficShapingRetrievalWindow: {
|
|
135
147
|
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
136
148
|
* // },
|
|
149
|
+
* // TrafficShapingTpsConfiguration: {
|
|
150
|
+
* // PeakTps: Number("int"),
|
|
151
|
+
* // PeakConcurrentUsers: Number("int"),
|
|
152
|
+
* // },
|
|
137
153
|
* // },
|
|
138
154
|
* // },
|
|
139
155
|
* // ScheduleType: "SINGLE" || "RECURRING",
|
|
@@ -62,10 +62,14 @@ declare const GetPrefetchScheduleCommand_base: {
|
|
|
62
62
|
* // },
|
|
63
63
|
* // EndTime: new Date("TIMESTAMP"), // required
|
|
64
64
|
* // StartTime: new Date("TIMESTAMP"),
|
|
65
|
-
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
65
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
66
66
|
* // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
67
67
|
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
68
68
|
* // },
|
|
69
|
+
* // TrafficShapingTpsConfiguration: { // TrafficShapingTpsConfiguration
|
|
70
|
+
* // PeakTps: Number("int"),
|
|
71
|
+
* // PeakConcurrentUsers: Number("int"),
|
|
72
|
+
* // },
|
|
69
73
|
* // },
|
|
70
74
|
* // ScheduleType: "SINGLE" || "RECURRING",
|
|
71
75
|
* // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
@@ -85,10 +89,14 @@ declare const GetPrefetchScheduleCommand_base: {
|
|
|
85
89
|
* // "<keys>": "STRING_VALUE",
|
|
86
90
|
* // },
|
|
87
91
|
* // DelayAfterAvailEndSeconds: Number("int"),
|
|
88
|
-
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
92
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
89
93
|
* // TrafficShapingRetrievalWindow: {
|
|
90
94
|
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
91
95
|
* // },
|
|
96
|
+
* // TrafficShapingTpsConfiguration: {
|
|
97
|
+
* // PeakTps: Number("int"),
|
|
98
|
+
* // PeakConcurrentUsers: Number("int"),
|
|
99
|
+
* // },
|
|
92
100
|
* // },
|
|
93
101
|
* // },
|
|
94
102
|
* // StreamId: "STRING_VALUE",
|
|
@@ -67,10 +67,14 @@ declare const ListPrefetchSchedulesCommand_base: {
|
|
|
67
67
|
* // },
|
|
68
68
|
* // EndTime: new Date("TIMESTAMP"), // required
|
|
69
69
|
* // StartTime: new Date("TIMESTAMP"),
|
|
70
|
-
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
70
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
71
71
|
* // TrafficShapingRetrievalWindow: { // TrafficShapingRetrievalWindow
|
|
72
72
|
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
73
73
|
* // },
|
|
74
|
+
* // TrafficShapingTpsConfiguration: { // TrafficShapingTpsConfiguration
|
|
75
|
+
* // PeakTps: Number("int"),
|
|
76
|
+
* // PeakConcurrentUsers: Number("int"),
|
|
77
|
+
* // },
|
|
74
78
|
* // },
|
|
75
79
|
* // ScheduleType: "SINGLE" || "RECURRING",
|
|
76
80
|
* // RecurringPrefetchConfiguration: { // RecurringPrefetchConfiguration
|
|
@@ -90,10 +94,14 @@ declare const ListPrefetchSchedulesCommand_base: {
|
|
|
90
94
|
* // "<keys>": "STRING_VALUE",
|
|
91
95
|
* // },
|
|
92
96
|
* // DelayAfterAvailEndSeconds: Number("int"),
|
|
93
|
-
* // TrafficShapingType: "RETRIEVAL_WINDOW",
|
|
97
|
+
* // TrafficShapingType: "RETRIEVAL_WINDOW" || "TPS",
|
|
94
98
|
* // TrafficShapingRetrievalWindow: {
|
|
95
99
|
* // RetrievalWindowDurationSeconds: Number("int"),
|
|
96
100
|
* // },
|
|
101
|
+
* // TrafficShapingTpsConfiguration: {
|
|
102
|
+
* // PeakTps: Number("int"),
|
|
103
|
+
* // PeakConcurrentUsers: Number("int"),
|
|
104
|
+
* // },
|
|
97
105
|
* // },
|
|
98
106
|
* // },
|
|
99
107
|
* // StreamId: "STRING_VALUE",
|
|
@@ -1082,12 +1082,29 @@ export interface TrafficShapingRetrievalWindow {
|
|
|
1082
1082
|
*/
|
|
1083
1083
|
RetrievalWindowDurationSeconds?: number | undefined;
|
|
1084
1084
|
}
|
|
1085
|
+
/**
|
|
1086
|
+
* <p>The configuration for TPS-based traffic shaping. This approach limits requests to the ad decision server (ADS) based on transactions per second and concurrent users, providing more intuitive capacity management compared to time-window based traffic shaping.</p>
|
|
1087
|
+
* @public
|
|
1088
|
+
*/
|
|
1089
|
+
export interface TrafficShapingTpsConfiguration {
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>The maximum number of transactions per second (TPS) that your ad decision server (ADS) can handle. MediaTailor uses this value along with concurrent users and headroom multiplier to calculate optimal traffic distribution and prevent ADS overload.</p>
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
1094
|
+
PeakTps?: number | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* <p>The expected peak number of concurrent viewers for your content. MediaTailor uses this value along with peak TPS to determine how to distribute prefetch requests across the available capacity without exceeding your ADS limits.</p>
|
|
1097
|
+
* @public
|
|
1098
|
+
*/
|
|
1099
|
+
PeakConcurrentUsers?: number | undefined;
|
|
1100
|
+
}
|
|
1085
1101
|
/**
|
|
1086
1102
|
* @public
|
|
1087
1103
|
* @enum
|
|
1088
1104
|
*/
|
|
1089
1105
|
export declare const TrafficShapingType: {
|
|
1090
1106
|
readonly RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW";
|
|
1107
|
+
readonly TPS: "TPS";
|
|
1091
1108
|
};
|
|
1092
1109
|
/**
|
|
1093
1110
|
* @public
|
|
@@ -1109,7 +1126,7 @@ export interface RecurringRetrieval {
|
|
|
1109
1126
|
*/
|
|
1110
1127
|
DelayAfterAvailEndSeconds?: number | undefined;
|
|
1111
1128
|
/**
|
|
1112
|
-
* <p>Indicates
|
|
1129
|
+
* <p>Indicates the type of traffic shaping used for traffic shaping and limiting the number of requests to the ADS at one time.</p>
|
|
1113
1130
|
* @public
|
|
1114
1131
|
*/
|
|
1115
1132
|
TrafficShapingType?: TrafficShapingType | undefined;
|
|
@@ -1118,6 +1135,11 @@ export interface RecurringRetrieval {
|
|
|
1118
1135
|
* @public
|
|
1119
1136
|
*/
|
|
1120
1137
|
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
1138
|
+
/**
|
|
1139
|
+
* <p>The configuration for TPS-based traffic shaping that limits the number of requests to the ad decision server (ADS) based on transactions per second instead of time windows.</p>
|
|
1140
|
+
* @public
|
|
1141
|
+
*/
|
|
1142
|
+
TrafficShapingTpsConfiguration?: TrafficShapingTpsConfiguration | undefined;
|
|
1121
1143
|
}
|
|
1122
1144
|
/**
|
|
1123
1145
|
* <p>The configuration that defines how MediaTailor performs recurring prefetch. </p>
|
|
@@ -1166,7 +1188,7 @@ export interface PrefetchRetrieval {
|
|
|
1166
1188
|
*/
|
|
1167
1189
|
StartTime?: Date | undefined;
|
|
1168
1190
|
/**
|
|
1169
|
-
* <p>Indicates
|
|
1191
|
+
* <p>Indicates the type of traffic shaping used for prefetch traffic shaping and limiting the number of requests to the ADS at one time.</p>
|
|
1170
1192
|
* @public
|
|
1171
1193
|
*/
|
|
1172
1194
|
TrafficShapingType?: TrafficShapingType | undefined;
|
|
@@ -1175,6 +1197,11 @@ export interface PrefetchRetrieval {
|
|
|
1175
1197
|
* @public
|
|
1176
1198
|
*/
|
|
1177
1199
|
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>The configuration for TPS-based traffic shaping that limits the number of requests to the ad decision server (ADS) based on transactions per second instead of time windows.</p>
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
TrafficShapingTpsConfiguration?: TrafficShapingTpsConfiguration | undefined;
|
|
1178
1205
|
}
|
|
1179
1206
|
/**
|
|
1180
1207
|
* @public
|
|
@@ -1951,12 +1978,12 @@ export interface GetChannelScheduleResponse {
|
|
|
1951
1978
|
*/
|
|
1952
1979
|
export interface ListChannelsRequest {
|
|
1953
1980
|
/**
|
|
1954
|
-
* <p>The maximum number of channels that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> channels, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
1981
|
+
* <p>The maximum number of channels that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> channels, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
1955
1982
|
* @public
|
|
1956
1983
|
*/
|
|
1957
1984
|
MaxResults?: number | undefined;
|
|
1958
1985
|
/**
|
|
1959
|
-
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
|
|
1986
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListChannels</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
1960
1987
|
* @public
|
|
1961
1988
|
*/
|
|
1962
1989
|
NextToken?: string | undefined;
|
|
@@ -3324,12 +3351,12 @@ export interface GetPrefetchScheduleResponse {
|
|
|
3324
3351
|
*/
|
|
3325
3352
|
export interface ListAlertsRequest {
|
|
3326
3353
|
/**
|
|
3327
|
-
* <p>The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> alerts, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
3354
|
+
* <p>The maximum number of alerts that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> alerts, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3328
3355
|
* @public
|
|
3329
3356
|
*/
|
|
3330
3357
|
MaxResults?: number | undefined;
|
|
3331
3358
|
/**
|
|
3332
|
-
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
|
|
3359
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListAlerts</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3333
3360
|
* @public
|
|
3334
3361
|
*/
|
|
3335
3362
|
NextToken?: string | undefined;
|
|
@@ -3359,12 +3386,12 @@ export interface ListAlertsResponse {
|
|
|
3359
3386
|
*/
|
|
3360
3387
|
export interface ListLiveSourcesRequest {
|
|
3361
3388
|
/**
|
|
3362
|
-
* <p>The maximum number of live sources that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> live sources, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
3389
|
+
* <p>The maximum number of live sources that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> live sources, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3363
3390
|
* @public
|
|
3364
3391
|
*/
|
|
3365
3392
|
MaxResults?: number | undefined;
|
|
3366
3393
|
/**
|
|
3367
|
-
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
|
|
3394
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListLiveSources</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3368
3395
|
* @public
|
|
3369
3396
|
*/
|
|
3370
3397
|
NextToken?: string | undefined;
|
|
@@ -3394,12 +3421,12 @@ export interface ListLiveSourcesResponse {
|
|
|
3394
3421
|
*/
|
|
3395
3422
|
export interface ListPlaybackConfigurationsRequest {
|
|
3396
3423
|
/**
|
|
3397
|
-
* <p>The maximum number of playback configurations that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> playback configurations, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
3424
|
+
* <p>The maximum number of playback configurations that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> playback configurations, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3398
3425
|
* @public
|
|
3399
3426
|
*/
|
|
3400
3427
|
MaxResults?: number | undefined;
|
|
3401
3428
|
/**
|
|
3402
|
-
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
|
|
3429
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListPlaybackConfigurations</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3403
3430
|
* @public
|
|
3404
3431
|
*/
|
|
3405
3432
|
NextToken?: string | undefined;
|
|
@@ -3437,12 +3464,12 @@ export type ListPrefetchScheduleType = (typeof ListPrefetchScheduleType)[keyof t
|
|
|
3437
3464
|
*/
|
|
3438
3465
|
export interface ListPrefetchSchedulesRequest {
|
|
3439
3466
|
/**
|
|
3440
|
-
* <p>The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> prefetch schedules, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
3467
|
+
* <p>The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> prefetch schedules, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3441
3468
|
* @public
|
|
3442
3469
|
*/
|
|
3443
3470
|
MaxResults?: number | undefined;
|
|
3444
3471
|
/**
|
|
3445
|
-
* <p>
|
|
3472
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListPrefetchSchedules</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3446
3473
|
* @public
|
|
3447
3474
|
*/
|
|
3448
3475
|
NextToken?: string | undefined;
|
|
@@ -3482,12 +3509,12 @@ export interface ListPrefetchSchedulesResponse {
|
|
|
3482
3509
|
*/
|
|
3483
3510
|
export interface ListSourceLocationsRequest {
|
|
3484
3511
|
/**
|
|
3485
|
-
* <p> The maximum number of source locations that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> source locations, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
3512
|
+
* <p> The maximum number of source locations that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> source locations, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3486
3513
|
* @public
|
|
3487
3514
|
*/
|
|
3488
3515
|
MaxResults?: number | undefined;
|
|
3489
3516
|
/**
|
|
3490
|
-
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
|
|
3517
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListSourceLocations</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3491
3518
|
* @public
|
|
3492
3519
|
*/
|
|
3493
3520
|
NextToken?: string | undefined;
|
|
@@ -3532,12 +3559,12 @@ export interface ListTagsForResourceResponse {
|
|
|
3532
3559
|
*/
|
|
3533
3560
|
export interface ListVodSourcesRequest {
|
|
3534
3561
|
/**
|
|
3535
|
-
* <p> The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> VOD sources, use the value of <code>NextToken</code> in the response to get the next page of results.</p>
|
|
3562
|
+
* <p> The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than <code>MaxResults</code> VOD sources, use the value of <code>NextToken</code> in the response to get the next page of results.</p> <p>The default value is 100. MediaTailor uses DynamoDB-based pagination, which means that a response might contain fewer than <code>MaxResults</code> items, including 0 items, even when more results are available. To retrieve all results, you must continue making requests using the <code>NextToken</code> value from each response until the response no longer includes a <code>NextToken</code> value.</p>
|
|
3536
3563
|
* @public
|
|
3537
3564
|
*/
|
|
3538
3565
|
MaxResults?: number | undefined;
|
|
3539
3566
|
/**
|
|
3540
|
-
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p>
|
|
3567
|
+
* <p>Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.</p> <p>For the first <code>ListVodSources</code> request, omit this value. For subsequent requests, get the value of <code>NextToken</code> from the previous response and specify that value for <code>NextToken</code> in the request. Continue making requests until the response no longer includes a <code>NextToken</code> value, which indicates that all results have been retrieved.</p>
|
|
3541
3568
|
* @public
|
|
3542
3569
|
*/
|
|
3543
3570
|
NextToken?: string | undefined;
|
|
@@ -343,8 +343,13 @@ export interface RecurringConsumption {
|
|
|
343
343
|
export interface TrafficShapingRetrievalWindow {
|
|
344
344
|
RetrievalWindowDurationSeconds?: number | undefined;
|
|
345
345
|
}
|
|
346
|
+
export interface TrafficShapingTpsConfiguration {
|
|
347
|
+
PeakTps?: number | undefined;
|
|
348
|
+
PeakConcurrentUsers?: number | undefined;
|
|
349
|
+
}
|
|
346
350
|
export declare const TrafficShapingType: {
|
|
347
351
|
readonly RETRIEVAL_WINDOW: "RETRIEVAL_WINDOW";
|
|
352
|
+
readonly TPS: "TPS";
|
|
348
353
|
};
|
|
349
354
|
export type TrafficShapingType =
|
|
350
355
|
(typeof TrafficShapingType)[keyof typeof TrafficShapingType];
|
|
@@ -353,6 +358,7 @@ export interface RecurringRetrieval {
|
|
|
353
358
|
DelayAfterAvailEndSeconds?: number | undefined;
|
|
354
359
|
TrafficShapingType?: TrafficShapingType | undefined;
|
|
355
360
|
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
361
|
+
TrafficShapingTpsConfiguration?: TrafficShapingTpsConfiguration | undefined;
|
|
356
362
|
}
|
|
357
363
|
export interface RecurringPrefetchConfiguration {
|
|
358
364
|
StartTime?: Date | undefined;
|
|
@@ -366,6 +372,7 @@ export interface PrefetchRetrieval {
|
|
|
366
372
|
StartTime?: Date | undefined;
|
|
367
373
|
TrafficShapingType?: TrafficShapingType | undefined;
|
|
368
374
|
TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
|
|
375
|
+
TrafficShapingTpsConfiguration?: TrafficShapingTpsConfiguration | undefined;
|
|
369
376
|
}
|
|
370
377
|
export declare const PrefetchScheduleType: {
|
|
371
378
|
readonly RECURRING: "RECURRING";
|
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.900.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",
|