@aws-sdk/client-mediatailor 3.1105.0 → 3.1106.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1104.0";
72
+ var version = "3.1105.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -182,6 +182,7 @@ const _APC = "AdsPersonalizationConcurrency";
182
182
  const _APT = "AdsPersonalizationTimeouts";
183
183
  const _ARTM = "AdsRequestTimeoutMilliseconds";
184
184
  const _AS = "AvailSuppression";
185
+ const _ASM = "AdSequencingMode";
185
186
  const _AST = "ApproximateStartTime";
186
187
  const _ASUP = "AdSegmentUrlPrefix";
187
188
  const _AT = "AccessType";
@@ -414,6 +415,8 @@ const _PPC = "PutPlaybackConfiguration";
414
415
  const _PPCR = "PutPlaybackConfigurationRequest";
415
416
  const _PPCRu = "PutPlaybackConfigurationResponse";
416
417
  const _PR = "PrefetchRetrieval";
418
+ const _PRADSC = "PreRollAdDecisionServerConfiguration";
419
+ const _PRVR = "PreRollVastResponse";
417
420
  const _PS = "PrefetchSchedule";
418
421
  const _PT = "PeakTps";
419
422
  const _PTS = "PersonalizationThresholdSeconds";
@@ -520,6 +523,7 @@ const _UVSRp = "UpdateVodSourceResponse";
520
523
  const _V = "Value";
521
524
  const _VCSU = "VideoContentSourceUrl";
522
525
  const _VMAPTM = "VodMaximumAdsPersonalizationTimeMilliseconds";
526
+ const _VR = "VastResponse";
523
527
  const _VS = "VodSource";
524
528
  const _VSN = "VodSourceName";
525
529
  const _a = "audience";
@@ -589,8 +593,8 @@ var AdConditioningConfiguration$ = [3, n0, _ACC,
589
593
  ];
590
594
  var AdDecisionServerConfiguration$ = [3, n0, _ADSC,
591
595
  0,
592
- [_HR],
593
- [() => HttpRequest$]
596
+ [_HR, _VR],
597
+ [() => HttpRequest$, () => VastResponse$]
594
598
  ];
595
599
  var AdMarkerPassthrough$ = [3, n0, _AMP,
596
600
  0,
@@ -1094,8 +1098,8 @@ var ListVodSourcesResponse$ = [3, n0, _LVSRi,
1094
1098
  ];
1095
1099
  var LivePreRollConfiguration$ = [3, n0, _LPRC,
1096
1100
  0,
1097
- [_ADSU, _MDS],
1098
- [0, 1]
1101
+ [_ADSU, _MDS, _ADSC],
1102
+ [0, 1, () => PreRollAdDecisionServerConfiguration$]
1099
1103
  ];
1100
1104
  var LiveSource$ = [3, n0, _LS,
1101
1105
  0,
@@ -1142,6 +1146,16 @@ var PrefetchSchedule$ = [3, n0, _PS,
1142
1146
  [_Ar, _N, _PCN, _Co, _Re, _ST, _RPC, _SI, _Ta],
1143
1147
  [0, 0, 0, () => PrefetchConsumption$, () => PrefetchRetrieval$, 0, () => RecurringPrefetchConfiguration$, 0, [128 | 0, { [_jN]: _t }]], 3
1144
1148
  ];
1149
+ var PreRollAdDecisionServerConfiguration$ = [3, n0, _PRADSC,
1150
+ 0,
1151
+ [_VR],
1152
+ [() => PreRollVastResponse$]
1153
+ ];
1154
+ var PreRollVastResponse$ = [3, n0, _PRVR,
1155
+ 0,
1156
+ [_ASM],
1157
+ [0]
1158
+ ];
1145
1159
  var PutChannelPolicyRequest$ = [3, n0, _PCPR,
1146
1160
  0,
1147
1161
  [_CN, _P],
@@ -1362,6 +1376,11 @@ var UpdateVodSourceResponse$ = [3, n0, _UVSRp,
1362
1376
  [_Ar, _CT, _HPC, _LMT, _SLN, _Ta, _VSN],
1363
1377
  [0, 7, () => HttpPackageConfigurations, 7, 0, [128 | 0, { [_jN]: _t }], 0]
1364
1378
  ];
1379
+ var VastResponse$ = [3, n0, _VR,
1380
+ 0,
1381
+ [_ASM],
1382
+ [0]
1383
+ ];
1365
1384
  var VodSource$ = [3, n0, _VS,
1366
1385
  0,
1367
1386
  [_Ar, _HPC, _SLN, _VSN, _CT, _LMT, _Ta],
@@ -2066,6 +2085,12 @@ const Method = {
2066
2085
  GET: "GET",
2067
2086
  POST: "POST",
2068
2087
  };
2088
+ const AdSequencingMode = {
2089
+ FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE",
2090
+ FOLLOW_AD_SEQUENCE_ONLY_LIVE: "FOLLOW_AD_SEQUENCE_ONLY_LIVE",
2091
+ FOLLOW_AD_SEQUENCE_ONLY_VOD: "FOLLOW_AD_SEQUENCE_ONLY_VOD",
2092
+ IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE",
2093
+ };
2069
2094
  const FillPolicy = {
2070
2095
  FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
2071
2096
  PARTIAL_AVAIL: "PARTIAL_AVAIL",
@@ -2087,6 +2112,10 @@ const InsertionMode = {
2087
2112
  PLAYER_SELECT: "PLAYER_SELECT",
2088
2113
  STITCHED_ONLY: "STITCHED_ONLY",
2089
2114
  };
2115
+ const PreRollAdSequencingMode = {
2116
+ FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE",
2117
+ IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE",
2118
+ };
2090
2119
  const ManifestServiceExcludeEventType = {
2091
2120
  CONFIG_SECURITY_ERROR: "CONFIG_SECURITY_ERROR",
2092
2121
  CONFIG_SYNTAX_ERROR: "CONFIG_SYNTAX_ERROR",
@@ -2175,6 +2204,7 @@ exports.AdConditioningConfiguration$ = AdConditioningConfiguration$;
2175
2204
  exports.AdDecisionServerConfiguration$ = AdDecisionServerConfiguration$;
2176
2205
  exports.AdMarkerPassthrough$ = AdMarkerPassthrough$;
2177
2206
  exports.AdMarkupType = AdMarkupType;
2207
+ exports.AdSequencingMode = AdSequencingMode;
2178
2208
  exports.AdsInteractionExcludeEventType = AdsInteractionExcludeEventType;
2179
2209
  exports.AdsInteractionLog$ = AdsInteractionLog$;
2180
2210
  exports.AdsInteractionPublishOptInEventType = AdsInteractionPublishOptInEventType;
@@ -2380,6 +2410,9 @@ exports.Operator = Operator;
2380
2410
  exports.OriginManifestType = OriginManifestType;
2381
2411
  exports.PlaybackConfiguration$ = PlaybackConfiguration$;
2382
2412
  exports.PlaybackMode = PlaybackMode;
2413
+ exports.PreRollAdDecisionServerConfiguration$ = PreRollAdDecisionServerConfiguration$;
2414
+ exports.PreRollAdSequencingMode = PreRollAdSequencingMode;
2415
+ exports.PreRollVastResponse$ = PreRollVastResponse$;
2383
2416
  exports.PrefetchConsumption$ = PrefetchConsumption$;
2384
2417
  exports.PrefetchRetrieval$ = PrefetchRetrieval$;
2385
2418
  exports.PrefetchSchedule$ = PrefetchSchedule$;
@@ -2459,6 +2492,7 @@ exports.UpdateVodSource$ = UpdateVodSource$;
2459
2492
  exports.UpdateVodSourceCommand = UpdateVodSourceCommand;
2460
2493
  exports.UpdateVodSourceRequest$ = UpdateVodSourceRequest$;
2461
2494
  exports.UpdateVodSourceResponse$ = UpdateVodSourceResponse$;
2495
+ exports.VastResponse$ = VastResponse$;
2462
2496
  exports.VodSource$ = VodSource$;
2463
2497
  exports.errorTypeRegistries = errorTypeRegistries;
2464
2498
  exports.paginateGetChannelSchedule = paginateGetChannelSchedule;
@@ -101,6 +101,12 @@ export const Method = {
101
101
  GET: "GET",
102
102
  POST: "POST",
103
103
  };
104
+ export const AdSequencingMode = {
105
+ FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE",
106
+ FOLLOW_AD_SEQUENCE_ONLY_LIVE: "FOLLOW_AD_SEQUENCE_ONLY_LIVE",
107
+ FOLLOW_AD_SEQUENCE_ONLY_VOD: "FOLLOW_AD_SEQUENCE_ONLY_VOD",
108
+ IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE",
109
+ };
104
110
  export const FillPolicy = {
105
111
  FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
106
112
  PARTIAL_AVAIL: "PARTIAL_AVAIL",
@@ -122,6 +128,10 @@ export const InsertionMode = {
122
128
  PLAYER_SELECT: "PLAYER_SELECT",
123
129
  STITCHED_ONLY: "STITCHED_ONLY",
124
130
  };
131
+ export const PreRollAdSequencingMode = {
132
+ FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE",
133
+ IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE",
134
+ };
125
135
  export const ManifestServiceExcludeEventType = {
126
136
  CONFIG_SECURITY_ERROR: "CONFIG_SECURITY_ERROR",
127
137
  CONFIG_SYNTAX_ERROR: "CONFIG_SYNTAX_ERROR",
@@ -24,6 +24,7 @@ const _APC = "AdsPersonalizationConcurrency";
24
24
  const _APT = "AdsPersonalizationTimeouts";
25
25
  const _ARTM = "AdsRequestTimeoutMilliseconds";
26
26
  const _AS = "AvailSuppression";
27
+ const _ASM = "AdSequencingMode";
27
28
  const _AST = "ApproximateStartTime";
28
29
  const _ASUP = "AdSegmentUrlPrefix";
29
30
  const _AT = "AccessType";
@@ -256,6 +257,8 @@ const _PPC = "PutPlaybackConfiguration";
256
257
  const _PPCR = "PutPlaybackConfigurationRequest";
257
258
  const _PPCRu = "PutPlaybackConfigurationResponse";
258
259
  const _PR = "PrefetchRetrieval";
260
+ const _PRADSC = "PreRollAdDecisionServerConfiguration";
261
+ const _PRVR = "PreRollVastResponse";
259
262
  const _PS = "PrefetchSchedule";
260
263
  const _PT = "PeakTps";
261
264
  const _PTS = "PersonalizationThresholdSeconds";
@@ -362,6 +365,7 @@ const _UVSRp = "UpdateVodSourceResponse";
362
365
  const _V = "Value";
363
366
  const _VCSU = "VideoContentSourceUrl";
364
367
  const _VMAPTM = "VodMaximumAdsPersonalizationTimeMilliseconds";
368
+ const _VR = "VastResponse";
365
369
  const _VS = "VodSource";
366
370
  const _VSN = "VodSourceName";
367
371
  const _a = "audience";
@@ -434,8 +438,8 @@ export var AdConditioningConfiguration$ = [3, n0, _ACC,
434
438
  ];
435
439
  export var AdDecisionServerConfiguration$ = [3, n0, _ADSC,
436
440
  0,
437
- [_HR],
438
- [() => HttpRequest$]
441
+ [_HR, _VR],
442
+ [() => HttpRequest$, () => VastResponse$]
439
443
  ];
440
444
  export var AdMarkerPassthrough$ = [3, n0, _AMP,
441
445
  0,
@@ -939,8 +943,8 @@ export var ListVodSourcesResponse$ = [3, n0, _LVSRi,
939
943
  ];
940
944
  export var LivePreRollConfiguration$ = [3, n0, _LPRC,
941
945
  0,
942
- [_ADSU, _MDS],
943
- [0, 1]
946
+ [_ADSU, _MDS, _ADSC],
947
+ [0, 1, () => PreRollAdDecisionServerConfiguration$]
944
948
  ];
945
949
  export var LiveSource$ = [3, n0, _LS,
946
950
  0,
@@ -987,6 +991,16 @@ export var PrefetchSchedule$ = [3, n0, _PS,
987
991
  [_Ar, _N, _PCN, _Co, _Re, _ST, _RPC, _SI, _Ta],
988
992
  [0, 0, 0, () => PrefetchConsumption$, () => PrefetchRetrieval$, 0, () => RecurringPrefetchConfiguration$, 0, [128 | 0, { [_jN]: _t }]], 3
989
993
  ];
994
+ export var PreRollAdDecisionServerConfiguration$ = [3, n0, _PRADSC,
995
+ 0,
996
+ [_VR],
997
+ [() => PreRollVastResponse$]
998
+ ];
999
+ export var PreRollVastResponse$ = [3, n0, _PRVR,
1000
+ 0,
1001
+ [_ASM],
1002
+ [0]
1003
+ ];
990
1004
  export var PutChannelPolicyRequest$ = [3, n0, _PCPR,
991
1005
  0,
992
1006
  [_CN, _P],
@@ -1207,6 +1221,11 @@ export var UpdateVodSourceResponse$ = [3, n0, _UVSRp,
1207
1221
  [_Ar, _CT, _HPC, _LMT, _SLN, _Ta, _VSN],
1208
1222
  [0, 7, () => HttpPackageConfigurations, 7, 0, [128 | 0, { [_jN]: _t }], 0]
1209
1223
  ];
1224
+ export var VastResponse$ = [3, n0, _VR,
1225
+ 0,
1226
+ [_ASM],
1227
+ [0]
1228
+ ];
1210
1229
  export var VodSource$ = [3, n0, _VS,
1211
1230
  0,
1212
1231
  [_Ar, _HPC, _SLN, _VSN, _CT, _LMT, _Ta],
@@ -72,6 +72,11 @@ declare const GetPlaybackConfigurationCommand_base: {
72
72
  * // LivePreRollConfiguration: { // LivePreRollConfiguration
73
73
  * // AdDecisionServerUrl: "STRING_VALUE",
74
74
  * // MaxDurationSeconds: Number("int"),
75
+ * // AdDecisionServerConfiguration: { // PreRollAdDecisionServerConfiguration
76
+ * // VastResponse: { // PreRollVastResponse
77
+ * // AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE",
78
+ * // },
79
+ * // },
75
80
  * // },
76
81
  * // LogConfiguration: { // LogConfiguration
77
82
  * // PercentEnabled: Number("int"), // required
@@ -125,6 +130,9 @@ declare const GetPlaybackConfigurationCommand_base: {
125
130
  * // },
126
131
  * // CompressRequest: "NONE" || "GZIP",
127
132
  * // },
133
+ * // VastResponse: { // VastResponse
134
+ * // AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE" || "FOLLOW_AD_SEQUENCE_ONLY_LIVE" || "FOLLOW_AD_SEQUENCE_ONLY_VOD",
135
+ * // },
128
136
  * // },
129
137
  * // FunctionMapping: { // FunctionMapping
130
138
  * // "<keys>": "STRING_VALUE",
@@ -75,6 +75,11 @@ declare const ListPlaybackConfigurationsCommand_base: {
75
75
  * // LivePreRollConfiguration: { // LivePreRollConfiguration
76
76
  * // AdDecisionServerUrl: "STRING_VALUE",
77
77
  * // MaxDurationSeconds: Number("int"),
78
+ * // AdDecisionServerConfiguration: { // PreRollAdDecisionServerConfiguration
79
+ * // VastResponse: { // PreRollVastResponse
80
+ * // AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE",
81
+ * // },
82
+ * // },
78
83
  * // },
79
84
  * // LogConfiguration: { // LogConfiguration
80
85
  * // PercentEnabled: Number("int"), // required
@@ -128,6 +133,9 @@ declare const ListPlaybackConfigurationsCommand_base: {
128
133
  * // },
129
134
  * // CompressRequest: "NONE" || "GZIP",
130
135
  * // },
136
+ * // VastResponse: { // VastResponse
137
+ * // AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE" || "FOLLOW_AD_SEQUENCE_ONLY_LIVE" || "FOLLOW_AD_SEQUENCE_ONLY_VOD",
138
+ * // },
131
139
  * // },
132
140
  * // FunctionMapping: { // FunctionMapping
133
141
  * // "<keys>": "STRING_VALUE",
@@ -61,6 +61,11 @@ declare const PutPlaybackConfigurationCommand_base: {
61
61
  * LivePreRollConfiguration: { // LivePreRollConfiguration
62
62
  * AdDecisionServerUrl: "STRING_VALUE",
63
63
  * MaxDurationSeconds: Number("int"),
64
+ * AdDecisionServerConfiguration: { // PreRollAdDecisionServerConfiguration
65
+ * VastResponse: { // PreRollVastResponse
66
+ * AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE",
67
+ * },
68
+ * },
64
69
  * },
65
70
  * ManifestProcessingRules: { // ManifestProcessingRules
66
71
  * AdMarkerPassthrough: { // AdMarkerPassthrough
@@ -87,6 +92,9 @@ declare const PutPlaybackConfigurationCommand_base: {
87
92
  * },
88
93
  * CompressRequest: "NONE" || "GZIP",
89
94
  * },
95
+ * VastResponse: { // VastResponse
96
+ * AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE" || "FOLLOW_AD_SEQUENCE_ONLY_LIVE" || "FOLLOW_AD_SEQUENCE_ONLY_VOD",
97
+ * },
90
98
  * },
91
99
  * FunctionMapping: { // FunctionMapping
92
100
  * "<keys>": "STRING_VALUE",
@@ -139,6 +147,11 @@ declare const PutPlaybackConfigurationCommand_base: {
139
147
  * // LivePreRollConfiguration: { // LivePreRollConfiguration
140
148
  * // AdDecisionServerUrl: "STRING_VALUE",
141
149
  * // MaxDurationSeconds: Number("int"),
150
+ * // AdDecisionServerConfiguration: { // PreRollAdDecisionServerConfiguration
151
+ * // VastResponse: { // PreRollVastResponse
152
+ * // AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE",
153
+ * // },
154
+ * // },
142
155
  * // },
143
156
  * // LogConfiguration: { // LogConfiguration
144
157
  * // PercentEnabled: Number("int"), // required
@@ -192,6 +205,9 @@ declare const PutPlaybackConfigurationCommand_base: {
192
205
  * // },
193
206
  * // CompressRequest: "NONE" || "GZIP",
194
207
  * // },
208
+ * // VastResponse: { // VastResponse
209
+ * // AdSequencingMode: "FOLLOW_AD_SEQUENCE" || "IGNORE_AD_SEQUENCE" || "FOLLOW_AD_SEQUENCE_ONLY_LIVE" || "FOLLOW_AD_SEQUENCE_ONLY_VOD",
210
+ * // },
195
211
  * // },
196
212
  * // FunctionMapping: { // FunctionMapping
197
213
  * // "<keys>": "STRING_VALUE",
@@ -221,6 +221,20 @@ export declare const Method: {
221
221
  * @public
222
222
  */
223
223
  export type Method = (typeof Method)[keyof typeof Method];
224
+ /**
225
+ * @public
226
+ * @enum
227
+ */
228
+ export declare const AdSequencingMode: {
229
+ readonly FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE";
230
+ readonly FOLLOW_AD_SEQUENCE_ONLY_LIVE: "FOLLOW_AD_SEQUENCE_ONLY_LIVE";
231
+ readonly FOLLOW_AD_SEQUENCE_ONLY_VOD: "FOLLOW_AD_SEQUENCE_ONLY_VOD";
232
+ readonly IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE";
233
+ };
234
+ /**
235
+ * @public
236
+ */
237
+ export type AdSequencingMode = (typeof AdSequencingMode)[keyof typeof AdSequencingMode];
224
238
  /**
225
239
  * @public
226
240
  * @enum
@@ -282,6 +296,18 @@ export declare const InsertionMode: {
282
296
  * @public
283
297
  */
284
298
  export type InsertionMode = (typeof InsertionMode)[keyof typeof InsertionMode];
299
+ /**
300
+ * @public
301
+ * @enum
302
+ */
303
+ export declare const PreRollAdSequencingMode: {
304
+ readonly FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE";
305
+ readonly IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE";
306
+ };
307
+ /**
308
+ * @public
309
+ */
310
+ export type PreRollAdSequencingMode = (typeof PreRollAdSequencingMode)[keyof typeof PreRollAdSequencingMode];
285
311
  /**
286
312
  * @public
287
313
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AccessType, AdMarkupType, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, ChannelState, CompressionMethod, EventName, FillPolicy, FunctionType, InsertionMode, ListPrefetchScheduleType, LoggingStrategy, LogType, ManifestServiceExcludeEventType, ManifestServicePublishOptInEventType, MessageType, Method, MethodType, Mode, Operator, OriginManifestType, PlaybackMode, PrefetchScheduleType, RelativePosition, RuntimeType, ScheduleEntryType, StreamingMediaFileConditioning, Tier, TrafficShapingType, Type } from "./enums";
1
+ import type { AccessType, AdMarkupType, AdSequencingMode, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, ChannelState, CompressionMethod, EventName, FillPolicy, FunctionType, InsertionMode, ListPrefetchScheduleType, LoggingStrategy, LogType, ManifestServiceExcludeEventType, ManifestServicePublishOptInEventType, MessageType, Method, MethodType, Mode, Operator, OriginManifestType, PlaybackMode, PrefetchScheduleType, PreRollAdSequencingMode, RelativePosition, RuntimeType, ScheduleEntryType, StreamingMediaFileConditioning, Tier, TrafficShapingType, Type } from "./enums";
2
2
  /**
3
3
  * <p>For <code>SCTE35_ENHANCED</code> output, defines a key and corresponding value. MediaTailor generates these pairs within the <code>EXT-X-ASSET</code>tag.</p>
4
4
  * @public
@@ -715,6 +715,17 @@ export interface HttpRequest {
715
715
  */
716
716
  CompressRequest?: CompressionMethod | undefined;
717
717
  }
718
+ /**
719
+ * <p>The settings that control how MediaTailor processes VAST responses from the ad decision server.</p>
720
+ * @public
721
+ */
722
+ export interface VastResponse {
723
+ /**
724
+ * <p>The ad sequencing mode that controls how MediaTailor handles sequenced and standalone ads in VAST responses. <code>FOLLOW_AD_SEQUENCE</code> inserts sequenced ads in increasing order for both live and VOD workflows, using standalone ads only as replacements when a sequenced ad fails. <code>FOLLOW_AD_SEQUENCE_ONLY_LIVE</code> enables ad sequencing for live workflows only. <code>FOLLOW_AD_SEQUENCE_ONLY_VOD</code> enables ad sequencing for VOD workflows only. <code>IGNORE_AD_SEQUENCE</code> inserts ads in the order they appear in the VAST response, regardless of sequence attributes. The default behavior is <code>IGNORE_AD_SEQUENCE</code>.</p>
725
+ * @public
726
+ */
727
+ AdSequencingMode?: AdSequencingMode | undefined;
728
+ }
718
729
  /**
719
730
  * <p>Configuration parameters for customizing HTTP requests sent to the ad decision server (ADS). This allows you to specify the HTTP method, headers, request body, and compression settings for ADS requests.</p>
720
731
  * @public
@@ -725,6 +736,11 @@ export interface AdDecisionServerConfiguration {
725
736
  * @public
726
737
  */
727
738
  HttpRequest?: HttpRequest | undefined;
739
+ /**
740
+ * <p>The settings that control how MediaTailor processes VAST responses from the ad decision server.</p>
741
+ * @public
742
+ */
743
+ VastResponse?: VastResponse | undefined;
728
744
  }
729
745
  /**
730
746
  * <p>The concurrency settings for ad decision server interactions during ad personalization.</p>
@@ -868,6 +884,28 @@ export interface HlsConfiguration {
868
884
  */
869
885
  DualStackManifestEndpointPrefix?: string | undefined;
870
886
  }
887
+ /**
888
+ * <p>The settings that control how MediaTailor processes VAST responses from the ad decision server for live pre-roll ad breaks.</p>
889
+ * @public
890
+ */
891
+ export interface PreRollVastResponse {
892
+ /**
893
+ * <p>The ad sequencing mode for live pre-roll ads. <code>FOLLOW_AD_SEQUENCE</code> inserts sequenced ads in increasing order and uses standalone ads only as replacements when a sequenced ad fails. <code>IGNORE_AD_SEQUENCE</code> inserts ads in the order they appear in the VAST response, regardless of sequence attributes. The default behavior is <code>IGNORE_AD_SEQUENCE</code>.</p>
894
+ * @public
895
+ */
896
+ AdSequencingMode?: PreRollAdSequencingMode | undefined;
897
+ }
898
+ /**
899
+ * <p>The ad decision server configuration for live pre-roll ads. It contains settings that control how MediaTailor processes VAST responses for pre-roll ad breaks.</p>
900
+ * @public
901
+ */
902
+ export interface PreRollAdDecisionServerConfiguration {
903
+ /**
904
+ * <p>The settings that control how MediaTailor processes VAST responses for live pre-roll ad breaks.</p>
905
+ * @public
906
+ */
907
+ VastResponse?: PreRollVastResponse | undefined;
908
+ }
871
909
  /**
872
910
  * <p>The configuration for pre-roll ad insertion.</p>
873
911
  * @public
@@ -883,6 +921,11 @@ export interface LivePreRollConfiguration {
883
921
  * @public
884
922
  */
885
923
  MaxDurationSeconds?: number | undefined;
924
+ /**
925
+ * <p>The configuration for the ad decision server (ADS) for live pre-roll ads. The configuration contains settings that control how MediaTailor processes VAST responses for pre-roll ad breaks.</p>
926
+ * @public
927
+ */
928
+ AdDecisionServerConfiguration?: PreRollAdDecisionServerConfiguration | undefined;
886
929
  }
887
930
  /**
888
931
  * <p>Settings for customizing what events are included in logs for interactions with the ad decision server (ADS).</p> <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> in Elemental MediaTailor User Guide.</p>
@@ -123,6 +123,8 @@ export declare var PlaybackConfiguration$: StaticStructureSchema;
123
123
  export declare var PrefetchConsumption$: StaticStructureSchema;
124
124
  export declare var PrefetchRetrieval$: StaticStructureSchema;
125
125
  export declare var PrefetchSchedule$: StaticStructureSchema;
126
+ export declare var PreRollAdDecisionServerConfiguration$: StaticStructureSchema;
127
+ export declare var PreRollVastResponse$: StaticStructureSchema;
126
128
  export declare var PutChannelPolicyRequest$: StaticStructureSchema;
127
129
  export declare var PutChannelPolicyResponse$: StaticStructureSchema;
128
130
  export declare var PutFunctionRequest$: StaticStructureSchema;
@@ -167,6 +169,7 @@ export declare var UpdateSourceLocationRequest$: StaticStructureSchema;
167
169
  export declare var UpdateSourceLocationResponse$: StaticStructureSchema;
168
170
  export declare var UpdateVodSourceRequest$: StaticStructureSchema;
169
171
  export declare var UpdateVodSourceResponse$: StaticStructureSchema;
172
+ export declare var VastResponse$: StaticStructureSchema;
170
173
  export declare var VodSource$: StaticStructureSchema;
171
174
  export declare var ConfigureLogsForChannel$: StaticOperationSchema;
172
175
  export declare var ConfigureLogsForPlaybackConfiguration$: StaticOperationSchema;
@@ -119,6 +119,13 @@ export declare const Method: {
119
119
  readonly POST: "POST";
120
120
  };
121
121
  export type Method = (typeof Method)[keyof typeof Method];
122
+ export declare const AdSequencingMode: {
123
+ readonly FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE";
124
+ readonly FOLLOW_AD_SEQUENCE_ONLY_LIVE: "FOLLOW_AD_SEQUENCE_ONLY_LIVE";
125
+ readonly FOLLOW_AD_SEQUENCE_ONLY_VOD: "FOLLOW_AD_SEQUENCE_ONLY_VOD";
126
+ readonly IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE";
127
+ };
128
+ export type AdSequencingMode = (typeof AdSequencingMode)[keyof typeof AdSequencingMode];
122
129
  export declare const FillPolicy: {
123
130
  readonly FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY";
124
131
  readonly PARTIAL_AVAIL: "PARTIAL_AVAIL";
@@ -145,6 +152,12 @@ export declare const InsertionMode: {
145
152
  readonly STITCHED_ONLY: "STITCHED_ONLY";
146
153
  };
147
154
  export type InsertionMode = (typeof InsertionMode)[keyof typeof InsertionMode];
155
+ export declare const PreRollAdSequencingMode: {
156
+ readonly FOLLOW_AD_SEQUENCE: "FOLLOW_AD_SEQUENCE";
157
+ readonly IGNORE_AD_SEQUENCE: "IGNORE_AD_SEQUENCE";
158
+ };
159
+ export type PreRollAdSequencingMode =
160
+ (typeof PreRollAdSequencingMode)[keyof typeof PreRollAdSequencingMode];
148
161
  export declare const ManifestServiceExcludeEventType: {
149
162
  readonly CONFIG_SECURITY_ERROR: "CONFIG_SECURITY_ERROR";
150
163
  readonly CONFIG_SYNTAX_ERROR: "CONFIG_SYNTAX_ERROR";
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  AccessType,
3
3
  AdMarkupType,
4
+ AdSequencingMode,
4
5
  AdsInteractionExcludeEventType,
5
6
  AdsInteractionPublishOptInEventType,
6
7
  AlertCategory,
@@ -23,6 +24,7 @@ import {
23
24
  OriginManifestType,
24
25
  PlaybackMode,
25
26
  PrefetchScheduleType,
27
+ PreRollAdSequencingMode,
26
28
  RelativePosition,
27
29
  RuntimeType,
28
30
  ScheduleEntryType,
@@ -195,8 +197,12 @@ export interface HttpRequest {
195
197
  Headers?: Record<string, string> | undefined;
196
198
  CompressRequest?: CompressionMethod | undefined;
197
199
  }
200
+ export interface VastResponse {
201
+ AdSequencingMode?: AdSequencingMode | undefined;
202
+ }
198
203
  export interface AdDecisionServerConfiguration {
199
204
  HttpRequest?: HttpRequest | undefined;
205
+ VastResponse?: VastResponse | undefined;
200
206
  }
201
207
  export interface AdsPersonalizationConcurrency {
202
208
  MaxConcurrentAdsRequests?: number | undefined;
@@ -232,9 +238,16 @@ export interface HlsConfiguration {
232
238
  ManifestEndpointPrefix?: string | undefined;
233
239
  DualStackManifestEndpointPrefix?: string | undefined;
234
240
  }
241
+ export interface PreRollVastResponse {
242
+ AdSequencingMode?: PreRollAdSequencingMode | undefined;
243
+ }
244
+ export interface PreRollAdDecisionServerConfiguration {
245
+ VastResponse?: PreRollVastResponse | undefined;
246
+ }
235
247
  export interface LivePreRollConfiguration {
236
248
  AdDecisionServerUrl?: string | undefined;
237
249
  MaxDurationSeconds?: number | undefined;
250
+ AdDecisionServerConfiguration?: PreRollAdDecisionServerConfiguration | undefined;
238
251
  }
239
252
  export interface AdsInteractionLog {
240
253
  PublishOptInEventTypes?: AdsInteractionPublishOptInEventType[] | undefined;
@@ -118,6 +118,8 @@ export declare var PlaybackConfiguration$: StaticStructureSchema;
118
118
  export declare var PrefetchConsumption$: StaticStructureSchema;
119
119
  export declare var PrefetchRetrieval$: StaticStructureSchema;
120
120
  export declare var PrefetchSchedule$: StaticStructureSchema;
121
+ export declare var PreRollAdDecisionServerConfiguration$: StaticStructureSchema;
122
+ export declare var PreRollVastResponse$: StaticStructureSchema;
121
123
  export declare var PutChannelPolicyRequest$: StaticStructureSchema;
122
124
  export declare var PutChannelPolicyResponse$: StaticStructureSchema;
123
125
  export declare var PutFunctionRequest$: StaticStructureSchema;
@@ -162,6 +164,7 @@ export declare var UpdateSourceLocationRequest$: StaticStructureSchema;
162
164
  export declare var UpdateSourceLocationResponse$: StaticStructureSchema;
163
165
  export declare var UpdateVodSourceRequest$: StaticStructureSchema;
164
166
  export declare var UpdateVodSourceResponse$: StaticStructureSchema;
167
+ export declare var VastResponse$: StaticStructureSchema;
165
168
  export declare var VodSource$: StaticStructureSchema;
166
169
  export declare var ConfigureLogsForChannel$: StaticOperationSchema;
167
170
  export declare var ConfigureLogsForPlaybackConfiguration$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediatailor",
3
- "version": "3.1105.0",
3
+ "version": "3.1106.0",
4
4
  "description": "AWS SDK for JavaScript Mediatailor Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mediatailor",
6
6
  "license": "Apache-2.0",