@aws-sdk/client-mediatailor 3.948.0 → 3.952.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
@@ -143,6 +143,7 @@ const _AC = "AccessConfiguration";
143
143
  const _ACC = "AdConditioningConfiguration";
144
144
  const _ACl = "AlertCode";
145
145
  const _ADS = "ApproximateDurationSeconds";
146
+ const _ADSC = "AdDecisionServerConfiguration";
146
147
  const _ADSU = "AdDecisionServerUrl";
147
148
  const _AE = "AvailsExpected";
148
149
  const _AIL = "AdsInteractionLog";
@@ -163,6 +164,7 @@ const _Aud = "Audiences";
163
164
  const _B = "Bumper";
164
165
  const _BRE = "BadRequestException";
165
166
  const _BU = "BaseUrl";
167
+ const _Bo = "Body";
166
168
  const _C = "Category";
167
169
  const _CA = "ConfigurationAliases";
168
170
  const _CAR = "ConfigurationAliasesResponse";
@@ -188,6 +190,7 @@ const _CPS = "CreatePrefetchSchedule";
188
190
  const _CPSR = "CreatePrefetchScheduleRequest";
189
191
  const _CPSRr = "CreatePrefetchScheduleResponse";
190
192
  const _CR = "ClipRange";
193
+ const _CRo = "CompressRequest";
191
194
  const _CS = "ChannelState";
192
195
  const _CSL = "CreateSourceLocation";
193
196
  const _CSLR = "CreateSourceLocationRequest";
@@ -267,12 +270,14 @@ const _GPCRe = "GetPlaybackConfigurationResponse";
267
270
  const _GPS = "GetPrefetchSchedule";
268
271
  const _GPSR = "GetPrefetchScheduleRequest";
269
272
  const _GPSRe = "GetPrefetchScheduleResponse";
273
+ const _H = "Headers";
270
274
  const _HC = "HttpConfiguration";
271
275
  const _HCl = "HlsConfiguration";
272
276
  const _HN = "HeaderName";
273
277
  const _HPC = "HttpPackageConfigurations";
274
278
  const _HPCt = "HttpPackageConfiguration";
275
279
  const _HPS = "HlsPlaylistSettings";
280
+ const _HR = "HttpRequest";
276
281
  const _I = "Items";
277
282
  const _IM = "InsertionMode";
278
283
  const _K = "Key";
@@ -322,6 +327,7 @@ const _MTDS = "MaxTimeDelaySeconds";
322
327
  const _MUPS = "MinUpdatePeriodSeconds";
323
328
  const _MWS = "ManifestWindowSeconds";
324
329
  const _Me = "Message";
330
+ const _Met = "Method";
325
331
  const _N = "Name";
326
332
  const _NT = "NextToken";
327
333
  const _O = "Operator";
@@ -494,6 +500,7 @@ var AdBreak = [
494
500
  ];
495
501
  var AdBreakOpportunity = [3, n0, _ABO, 0, [_OM], [1]];
496
502
  var AdConditioningConfiguration = [3, n0, _ACC, 0, [_SMFC], [0]];
503
+ var AdDecisionServerConfiguration = [3, n0, _ADSC, 0, [_HR], [() => HttpRequest]];
497
504
  var AdMarkerPassthrough = [3, n0, _AMP, 0, [_E], [2]];
498
505
  var AdsInteractionLog = [3, n0, _AIL, 0, [_POIET, _EET], [64 | 0, 64 | 0]];
499
506
  var Alert = [3, n0, _A, 0, [_ACl, _AM, _LMT, _RRA, _RA, _C], [0, 0, 7, 64 | 0, 0, 0]];
@@ -898,6 +905,7 @@ var GetPlaybackConfigurationResponse = [
898
905
  _TPN,
899
906
  _VCSU,
900
907
  _ACC,
908
+ _ADSC,
901
909
  ],
902
910
  [
903
911
  0,
@@ -921,6 +929,7 @@ var GetPlaybackConfigurationResponse = [
921
929
  0,
922
930
  0,
923
931
  () => AdConditioningConfiguration,
932
+ () => AdDecisionServerConfiguration,
924
933
  ],
925
934
  ];
926
935
  var GetPrefetchScheduleRequest = [
@@ -946,6 +955,7 @@ var HlsConfiguration = [3, n0, _HCl, 0, [_MEP], [0]];
946
955
  var HlsPlaylistSettings = [3, n0, _HPS, 0, [_MWS, _AMT], [1, 64 | 0]];
947
956
  var HttpConfiguration = [3, n0, _HC, 0, [_BU], [0]];
948
957
  var HttpPackageConfiguration = [3, n0, _HPCt, 0, [_Pa, _SG, _Ty], [0, 0, 0]];
958
+ var HttpRequest = [3, n0, _HR, 0, [_Met, _Bo, _H, _CRo], [0, 0, 128 | 0, 0]];
949
959
  var KeyValuePair = [3, n0, _KVP, 0, [_K, _V], [0, 0]];
950
960
  var ListAlertsRequest = [
951
961
  3,
@@ -1115,6 +1125,7 @@ var PlaybackConfiguration = [
1115
1125
  _TPN,
1116
1126
  _VCSU,
1117
1127
  _ACC,
1128
+ _ADSC,
1118
1129
  ],
1119
1130
  [
1120
1131
  0,
@@ -1138,6 +1149,7 @@ var PlaybackConfiguration = [
1138
1149
  0,
1139
1150
  0,
1140
1151
  () => AdConditioningConfiguration,
1152
+ () => AdDecisionServerConfiguration,
1141
1153
  ],
1142
1154
  ];
1143
1155
  var PrefetchConsumption = [
@@ -1171,7 +1183,7 @@ var PutPlaybackConfigurationRequest = [
1171
1183
  n0,
1172
1184
  _PPCR,
1173
1185
  0,
1174
- [_ADSU, _AS, _B, _CC, _CA, _DC, _IM, _LPRC, _MPR, _N, _PTS, _SAU, _T, _TPN, _VCSU, _ACC],
1186
+ [_ADSU, _AS, _B, _CC, _CA, _DC, _IM, _LPRC, _MPR, _N, _PTS, _SAU, _T, _TPN, _VCSU, _ACC, _ADSC],
1175
1187
  [
1176
1188
  0,
1177
1189
  () => AvailSuppression,
@@ -1189,6 +1201,7 @@ var PutPlaybackConfigurationRequest = [
1189
1201
  0,
1190
1202
  0,
1191
1203
  () => AdConditioningConfiguration,
1204
+ () => AdDecisionServerConfiguration,
1192
1205
  ],
1193
1206
  ];
1194
1207
  var PutPlaybackConfigurationResponse = [
@@ -1218,6 +1231,7 @@ var PutPlaybackConfigurationResponse = [
1218
1231
  _TPN,
1219
1232
  _VCSU,
1220
1233
  _ACC,
1234
+ _ADSC,
1221
1235
  ],
1222
1236
  [
1223
1237
  0,
@@ -1241,6 +1255,7 @@ var PutPlaybackConfigurationResponse = [
1241
1255
  0,
1242
1256
  0,
1243
1257
  () => AdConditioningConfiguration,
1258
+ () => AdDecisionServerConfiguration,
1244
1259
  ],
1245
1260
  ];
1246
1261
  var RecurringConsumption = [
@@ -2547,6 +2562,14 @@ const StreamingMediaFileConditioning = {
2547
2562
  NONE: "NONE",
2548
2563
  TRANSCODE: "TRANSCODE",
2549
2564
  };
2565
+ const CompressionMethod = {
2566
+ GZIP: "GZIP",
2567
+ NONE: "NONE",
2568
+ };
2569
+ const Method = {
2570
+ GET: "GET",
2571
+ POST: "POST",
2572
+ };
2550
2573
  const FillPolicy = {
2551
2574
  FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
2552
2575
  PARTIAL_AVAIL: "PARTIAL_AVAIL",
@@ -2653,6 +2676,7 @@ exports.AdsInteractionPublishOptInEventType = AdsInteractionPublishOptInEventTyp
2653
2676
  exports.AlertCategory = AlertCategory;
2654
2677
  exports.BadRequestException = BadRequestException$1;
2655
2678
  exports.ChannelState = ChannelState;
2679
+ exports.CompressionMethod = CompressionMethod;
2656
2680
  exports.ConfigureLogsForChannelCommand = ConfigureLogsForChannelCommand;
2657
2681
  exports.ConfigureLogsForPlaybackConfigurationCommand = ConfigureLogsForPlaybackConfigurationCommand;
2658
2682
  exports.CreateChannelCommand = CreateChannelCommand;
@@ -2696,6 +2720,7 @@ exports.MediaTailor = MediaTailor;
2696
2720
  exports.MediaTailorClient = MediaTailorClient;
2697
2721
  exports.MediaTailorServiceException = MediaTailorServiceException$1;
2698
2722
  exports.MessageType = MessageType;
2723
+ exports.Method = Method;
2699
2724
  exports.Mode = Mode;
2700
2725
  exports.Operator = Operator;
2701
2726
  exports.OriginManifestType = OriginManifestType;
@@ -75,6 +75,14 @@ export const StreamingMediaFileConditioning = {
75
75
  NONE: "NONE",
76
76
  TRANSCODE: "TRANSCODE",
77
77
  };
78
+ export const CompressionMethod = {
79
+ GZIP: "GZIP",
80
+ NONE: "NONE",
81
+ };
82
+ export const Method = {
83
+ GET: "GET",
84
+ POST: "POST",
85
+ };
78
86
  export const FillPolicy = {
79
87
  FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
80
88
  PARTIAL_AVAIL: "PARTIAL_AVAIL",
@@ -9,6 +9,7 @@ const _AC = "AccessConfiguration";
9
9
  const _ACC = "AdConditioningConfiguration";
10
10
  const _ACl = "AlertCode";
11
11
  const _ADS = "ApproximateDurationSeconds";
12
+ const _ADSC = "AdDecisionServerConfiguration";
12
13
  const _ADSU = "AdDecisionServerUrl";
13
14
  const _AE = "AvailsExpected";
14
15
  const _AIL = "AdsInteractionLog";
@@ -29,6 +30,7 @@ const _Aud = "Audiences";
29
30
  const _B = "Bumper";
30
31
  const _BRE = "BadRequestException";
31
32
  const _BU = "BaseUrl";
33
+ const _Bo = "Body";
32
34
  const _C = "Category";
33
35
  const _CA = "ConfigurationAliases";
34
36
  const _CAR = "ConfigurationAliasesResponse";
@@ -54,6 +56,7 @@ const _CPS = "CreatePrefetchSchedule";
54
56
  const _CPSR = "CreatePrefetchScheduleRequest";
55
57
  const _CPSRr = "CreatePrefetchScheduleResponse";
56
58
  const _CR = "ClipRange";
59
+ const _CRo = "CompressRequest";
57
60
  const _CS = "ChannelState";
58
61
  const _CSL = "CreateSourceLocation";
59
62
  const _CSLR = "CreateSourceLocationRequest";
@@ -133,12 +136,14 @@ const _GPCRe = "GetPlaybackConfigurationResponse";
133
136
  const _GPS = "GetPrefetchSchedule";
134
137
  const _GPSR = "GetPrefetchScheduleRequest";
135
138
  const _GPSRe = "GetPrefetchScheduleResponse";
139
+ const _H = "Headers";
136
140
  const _HC = "HttpConfiguration";
137
141
  const _HCl = "HlsConfiguration";
138
142
  const _HN = "HeaderName";
139
143
  const _HPC = "HttpPackageConfigurations";
140
144
  const _HPCt = "HttpPackageConfiguration";
141
145
  const _HPS = "HlsPlaylistSettings";
146
+ const _HR = "HttpRequest";
142
147
  const _I = "Items";
143
148
  const _IM = "InsertionMode";
144
149
  const _K = "Key";
@@ -188,6 +193,7 @@ const _MTDS = "MaxTimeDelaySeconds";
188
193
  const _MUPS = "MinUpdatePeriodSeconds";
189
194
  const _MWS = "ManifestWindowSeconds";
190
195
  const _Me = "Message";
196
+ const _Met = "Method";
191
197
  const _N = "Name";
192
198
  const _NT = "NextToken";
193
199
  const _O = "Operator";
@@ -363,6 +369,7 @@ export var AdBreak = [
363
369
  ];
364
370
  export var AdBreakOpportunity = [3, n0, _ABO, 0, [_OM], [1]];
365
371
  export var AdConditioningConfiguration = [3, n0, _ACC, 0, [_SMFC], [0]];
372
+ export var AdDecisionServerConfiguration = [3, n0, _ADSC, 0, [_HR], [() => HttpRequest]];
366
373
  export var AdMarkerPassthrough = [3, n0, _AMP, 0, [_E], [2]];
367
374
  export var AdsInteractionLog = [3, n0, _AIL, 0, [_POIET, _EET], [64 | 0, 64 | 0]];
368
375
  export var Alert = [3, n0, _A, 0, [_ACl, _AM, _LMT, _RRA, _RA, _C], [0, 0, 7, 64 | 0, 0, 0]];
@@ -767,6 +774,7 @@ export var GetPlaybackConfigurationResponse = [
767
774
  _TPN,
768
775
  _VCSU,
769
776
  _ACC,
777
+ _ADSC,
770
778
  ],
771
779
  [
772
780
  0,
@@ -790,6 +798,7 @@ export var GetPlaybackConfigurationResponse = [
790
798
  0,
791
799
  0,
792
800
  () => AdConditioningConfiguration,
801
+ () => AdDecisionServerConfiguration,
793
802
  ],
794
803
  ];
795
804
  export var GetPrefetchScheduleRequest = [
@@ -815,6 +824,7 @@ export var HlsConfiguration = [3, n0, _HCl, 0, [_MEP], [0]];
815
824
  export var HlsPlaylistSettings = [3, n0, _HPS, 0, [_MWS, _AMT], [1, 64 | 0]];
816
825
  export var HttpConfiguration = [3, n0, _HC, 0, [_BU], [0]];
817
826
  export var HttpPackageConfiguration = [3, n0, _HPCt, 0, [_Pa, _SG, _Ty], [0, 0, 0]];
827
+ export var HttpRequest = [3, n0, _HR, 0, [_Met, _Bo, _H, _CRo], [0, 0, 128 | 0, 0]];
818
828
  export var KeyValuePair = [3, n0, _KVP, 0, [_K, _V], [0, 0]];
819
829
  export var ListAlertsRequest = [
820
830
  3,
@@ -984,6 +994,7 @@ export var PlaybackConfiguration = [
984
994
  _TPN,
985
995
  _VCSU,
986
996
  _ACC,
997
+ _ADSC,
987
998
  ],
988
999
  [
989
1000
  0,
@@ -1007,6 +1018,7 @@ export var PlaybackConfiguration = [
1007
1018
  0,
1008
1019
  0,
1009
1020
  () => AdConditioningConfiguration,
1021
+ () => AdDecisionServerConfiguration,
1010
1022
  ],
1011
1023
  ];
1012
1024
  export var PrefetchConsumption = [
@@ -1040,7 +1052,7 @@ export var PutPlaybackConfigurationRequest = [
1040
1052
  n0,
1041
1053
  _PPCR,
1042
1054
  0,
1043
- [_ADSU, _AS, _B, _CC, _CA, _DC, _IM, _LPRC, _MPR, _N, _PTS, _SAU, _T, _TPN, _VCSU, _ACC],
1055
+ [_ADSU, _AS, _B, _CC, _CA, _DC, _IM, _LPRC, _MPR, _N, _PTS, _SAU, _T, _TPN, _VCSU, _ACC, _ADSC],
1044
1056
  [
1045
1057
  0,
1046
1058
  () => AvailSuppression,
@@ -1058,6 +1070,7 @@ export var PutPlaybackConfigurationRequest = [
1058
1070
  0,
1059
1071
  0,
1060
1072
  () => AdConditioningConfiguration,
1073
+ () => AdDecisionServerConfiguration,
1061
1074
  ],
1062
1075
  ];
1063
1076
  export var PutPlaybackConfigurationResponse = [
@@ -1087,6 +1100,7 @@ export var PutPlaybackConfigurationResponse = [
1087
1100
  _TPN,
1088
1101
  _VCSU,
1089
1102
  _ACC,
1103
+ _ADSC,
1090
1104
  ],
1091
1105
  [
1092
1106
  0,
@@ -1110,6 +1124,7 @@ export var PutPlaybackConfigurationResponse = [
1110
1124
  0,
1111
1125
  0,
1112
1126
  () => AdConditioningConfiguration,
1127
+ () => AdDecisionServerConfiguration,
1113
1128
  ],
1114
1129
  ];
1115
1130
  export var RecurringConsumption = [
@@ -1403,6 +1418,7 @@ export var SegmentationDescriptorList = [1, n0, _SDL, 0, () => SegmentationDescr
1403
1418
  export var __mapOf__string = 128 | 0;
1404
1419
  export var ConfigurationAliasesRequest = [2, n0, _CARo, 0, 0, 128 | 0];
1405
1420
  export var ConfigurationAliasesResponse = [2, n0, _CAR, 0, 0, 128 | 0];
1421
+ export var StringMap = 128 | 0;
1406
1422
  export var ConfigureLogsForChannel = [
1407
1423
  9,
1408
1424
  n0,
@@ -112,6 +112,16 @@ declare const GetPlaybackConfigurationCommand_base: {
112
112
  * // AdConditioningConfiguration: { // AdConditioningConfiguration
113
113
  * // StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
114
114
  * // },
115
+ * // AdDecisionServerConfiguration: { // AdDecisionServerConfiguration
116
+ * // HttpRequest: { // HttpRequest
117
+ * // Method: "GET" || "POST",
118
+ * // Body: "STRING_VALUE",
119
+ * // Headers: { // StringMap
120
+ * // "<keys>": "STRING_VALUE",
121
+ * // },
122
+ * // CompressRequest: "NONE" || "GZIP",
123
+ * // },
124
+ * // },
115
125
  * // };
116
126
  *
117
127
  * ```
@@ -115,6 +115,16 @@ declare const ListPlaybackConfigurationsCommand_base: {
115
115
  * // AdConditioningConfiguration: { // AdConditioningConfiguration
116
116
  * // StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
117
117
  * // },
118
+ * // AdDecisionServerConfiguration: { // AdDecisionServerConfiguration
119
+ * // HttpRequest: { // HttpRequest
120
+ * // Method: "GET" || "POST",
121
+ * // Body: "STRING_VALUE",
122
+ * // Headers: { // StringMap
123
+ * // "<keys>": "STRING_VALUE",
124
+ * // },
125
+ * // CompressRequest: "NONE" || "GZIP",
126
+ * // },
127
+ * // },
118
128
  * // },
119
129
  * // ],
120
130
  * // NextToken: "STRING_VALUE",
@@ -81,6 +81,16 @@ declare const PutPlaybackConfigurationCommand_base: {
81
81
  * AdConditioningConfiguration: { // AdConditioningConfiguration
82
82
  * StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
83
83
  * },
84
+ * AdDecisionServerConfiguration: { // AdDecisionServerConfiguration
85
+ * HttpRequest: { // HttpRequest
86
+ * Method: "GET" || "POST",
87
+ * Body: "STRING_VALUE",
88
+ * Headers: { // StringMap
89
+ * "<keys>": "STRING_VALUE",
90
+ * },
91
+ * CompressRequest: "NONE" || "GZIP",
92
+ * },
93
+ * },
84
94
  * };
85
95
  * const command = new PutPlaybackConfigurationCommand(input);
86
96
  * const response = await client.send(command);
@@ -155,6 +165,16 @@ declare const PutPlaybackConfigurationCommand_base: {
155
165
  * // AdConditioningConfiguration: { // AdConditioningConfiguration
156
166
  * // StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
157
167
  * // },
168
+ * // AdDecisionServerConfiguration: { // AdDecisionServerConfiguration
169
+ * // HttpRequest: { // HttpRequest
170
+ * // Method: "GET" || "POST",
171
+ * // Body: "STRING_VALUE",
172
+ * // Headers: { // StringMap
173
+ * // "<keys>": "STRING_VALUE",
174
+ * // },
175
+ * // CompressRequest: "NONE" || "GZIP",
176
+ * // },
177
+ * // },
158
178
  * // };
159
179
  *
160
180
  * ```
@@ -155,6 +155,30 @@ export declare const StreamingMediaFileConditioning: {
155
155
  * @public
156
156
  */
157
157
  export type StreamingMediaFileConditioning = (typeof StreamingMediaFileConditioning)[keyof typeof StreamingMediaFileConditioning];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const CompressionMethod: {
163
+ readonly GZIP: "GZIP";
164
+ readonly NONE: "NONE";
165
+ };
166
+ /**
167
+ * @public
168
+ */
169
+ export type CompressionMethod = (typeof CompressionMethod)[keyof typeof CompressionMethod];
170
+ /**
171
+ * @public
172
+ * @enum
173
+ */
174
+ export declare const Method: {
175
+ readonly GET: "GET";
176
+ readonly POST: "POST";
177
+ };
178
+ /**
179
+ * @public
180
+ */
181
+ export type Method = (typeof Method)[keyof typeof Method];
158
182
  /**
159
183
  * @public
160
184
  * @enum
@@ -1,4 +1,4 @@
1
- import { AccessType, AdMarkupType, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, ChannelState, FillPolicy, InsertionMode, ListPrefetchScheduleType, LoggingStrategy, LogType, ManifestServiceExcludeEventType, MessageType, Mode, Operator, OriginManifestType, PlaybackMode, PrefetchScheduleType, RelativePosition, ScheduleEntryType, StreamingMediaFileConditioning, Tier, TrafficShapingType, Type } from "./enums";
1
+ import { AccessType, AdMarkupType, AdsInteractionExcludeEventType, AdsInteractionPublishOptInEventType, AlertCategory, ChannelState, CompressionMethod, FillPolicy, InsertionMode, ListPrefetchScheduleType, LoggingStrategy, LogType, ManifestServiceExcludeEventType, MessageType, Method, Mode, Operator, OriginManifestType, PlaybackMode, PrefetchScheduleType, RelativePosition, 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
@@ -498,6 +498,43 @@ export interface AdConditioningConfiguration {
498
498
  */
499
499
  StreamingMediaFileConditioning: StreamingMediaFileConditioning | undefined;
500
500
  }
501
+ /**
502
+ * <p>HTTP request configuration parameters that define how MediaTailor communicates with the ad decision server.</p>
503
+ * @public
504
+ */
505
+ export interface HttpRequest {
506
+ /**
507
+ * <p>The HTTP method to use when making requests to the ad decision server. Supported values are <code>GET</code> and <code>POST</code>.</p>
508
+ * @public
509
+ */
510
+ Method?: Method | undefined;
511
+ /**
512
+ * <p>The request body content to send with HTTP requests to the ad decision server. This value is only eligible for <code>POST</code> requests.</p>
513
+ * @public
514
+ */
515
+ Body?: string | undefined;
516
+ /**
517
+ * <p>Custom HTTP headers to include in requests to the ad decision server. Specify headers as key-value pairs. This value is only eligible for <code>POST</code> requests.</p>
518
+ * @public
519
+ */
520
+ Headers?: Record<string, string> | undefined;
521
+ /**
522
+ * <p>The compression method to apply to requests sent to the ad decision server. Supported values are <code>NONE</code> and <code>GZIP</code>. This value is only eligible for <code>POST</code> requests.</p>
523
+ * @public
524
+ */
525
+ CompressRequest?: CompressionMethod | undefined;
526
+ }
527
+ /**
528
+ * <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>
529
+ * @public
530
+ */
531
+ export interface AdDecisionServerConfiguration {
532
+ /**
533
+ * <p>The HTTP request configuration parameters for the ad decision server.</p>
534
+ * @public
535
+ */
536
+ HttpRequest?: HttpRequest | undefined;
537
+ }
501
538
  /**
502
539
  * <p>The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html">Ad Suppression</a>.</p>
503
540
  * @public
@@ -784,6 +821,11 @@ export interface PlaybackConfiguration {
784
821
  * @public
785
822
  */
786
823
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
824
+ /**
825
+ * <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>
826
+ * @public
827
+ */
828
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
787
829
  }
788
830
  /**
789
831
  * <p>For single prefetch, describes how and when that MediaTailor places prefetched ads into upcoming ad breaks.</p>
@@ -823,7 +865,7 @@ export interface RecurringConsumption {
823
865
  AvailMatchingCriteria?: AvailMatchingCriteria[] | undefined;
824
866
  }
825
867
  /**
826
- * <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>
868
+ * <p>The configuration that tells Elemental MediaTailor how many seconds 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>
827
869
  * @public
828
870
  */
829
871
  export interface TrafficShapingRetrievalWindow {
@@ -834,7 +876,7 @@ export interface TrafficShapingRetrievalWindow {
834
876
  RetrievalWindowDurationSeconds?: number | undefined;
835
877
  }
836
878
  /**
837
- * <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>
879
+ * <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.</p>
838
880
  * @public
839
881
  */
840
882
  export interface TrafficShapingTpsConfiguration {
@@ -865,17 +907,17 @@ export interface RecurringRetrieval {
865
907
  */
866
908
  DelayAfterAvailEndSeconds?: number | undefined;
867
909
  /**
868
- * <p>Indicates the type of traffic shaping used for traffic shaping and limiting the number of requests to the ADS at one time.</p>
910
+ * <p>Indicates the type of traffic shaping used to limit the number of requests to the ADS at one time.</p>
869
911
  * @public
870
912
  */
871
913
  TrafficShapingType?: TrafficShapingType | undefined;
872
914
  /**
873
- * <p>Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.</p>
915
+ * <p>The configuration that tells Elemental MediaTailor how many seconds 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>
874
916
  * @public
875
917
  */
876
918
  TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
877
919
  /**
878
- * <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>
920
+ * <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.</p>
879
921
  * @public
880
922
  */
881
923
  TrafficShapingTpsConfiguration?: TrafficShapingTpsConfiguration | undefined;
@@ -927,17 +969,17 @@ export interface PrefetchRetrieval {
927
969
  */
928
970
  StartTime?: Date | undefined;
929
971
  /**
930
- * <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>
972
+ * <p>Indicates the type of traffic shaping used to limit the number of requests to the ADS at one time.</p>
931
973
  * @public
932
974
  */
933
975
  TrafficShapingType?: TrafficShapingType | undefined;
934
976
  /**
935
- * <p>Configuration for spreading ADS traffic across a set window instead of sending ADS requests for all sessions at the same time.</p>
977
+ * <p>The configuration that tells Elemental MediaTailor how many seconds 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>
936
978
  * @public
937
979
  */
938
980
  TrafficShapingRetrievalWindow?: TrafficShapingRetrievalWindow | undefined;
939
981
  /**
940
- * <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>
982
+ * <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.</p>
941
983
  * @public
942
984
  */
943
985
  TrafficShapingTpsConfiguration?: TrafficShapingTpsConfiguration | undefined;
@@ -2925,6 +2967,11 @@ export interface GetPlaybackConfigurationResponse {
2925
2967
  * @public
2926
2968
  */
2927
2969
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
2970
+ /**
2971
+ * <p>The configuration for customizing HTTP requests to the ad decision server (ADS). This includes settings for request method, headers, body content, and compression options.</p>
2972
+ * @public
2973
+ */
2974
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
2928
2975
  }
2929
2976
  /**
2930
2977
  * @public
@@ -3360,6 +3407,11 @@ export interface PutPlaybackConfigurationRequest {
3360
3407
  * @public
3361
3408
  */
3362
3409
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
3410
+ /**
3411
+ * <p>The configuration for customizing HTTP requests to the ad decision server (ADS). This includes settings for request method, headers, body content, and compression options.</p>
3412
+ * @public
3413
+ */
3414
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
3363
3415
  }
3364
3416
  /**
3365
3417
  * @public
@@ -3470,6 +3522,11 @@ export interface PutPlaybackConfigurationResponse {
3470
3522
  * @public
3471
3523
  */
3472
3524
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
3525
+ /**
3526
+ * <p>The configuration for customizing HTTP requests to the ad decision server (ADS). This includes settings for request method, headers, body content, and compression options.</p>
3527
+ * @public
3528
+ */
3529
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
3473
3530
  }
3474
3531
  /**
3475
3532
  * @public
@@ -3,6 +3,7 @@ export declare var AccessConfiguration: StaticStructureSchema;
3
3
  export declare var AdBreak: StaticStructureSchema;
4
4
  export declare var AdBreakOpportunity: StaticStructureSchema;
5
5
  export declare var AdConditioningConfiguration: StaticStructureSchema;
6
+ export declare var AdDecisionServerConfiguration: StaticStructureSchema;
6
7
  export declare var AdMarkerPassthrough: StaticStructureSchema;
7
8
  export declare var AdsInteractionLog: StaticStructureSchema;
8
9
  export declare var Alert: StaticStructureSchema;
@@ -73,6 +74,7 @@ export declare var HlsConfiguration: StaticStructureSchema;
73
74
  export declare var HlsPlaylistSettings: StaticStructureSchema;
74
75
  export declare var HttpConfiguration: StaticStructureSchema;
75
76
  export declare var HttpPackageConfiguration: StaticStructureSchema;
77
+ export declare var HttpRequest: StaticStructureSchema;
76
78
  export declare var KeyValuePair: StaticStructureSchema;
77
79
  export declare var ListAlertsRequest: StaticStructureSchema;
78
80
  export declare var ListAlertsResponse: StaticStructureSchema;
@@ -175,6 +177,7 @@ export declare var SegmentationDescriptorList: StaticListSchema;
175
177
  export declare var __mapOf__string: number;
176
178
  export declare var ConfigurationAliasesRequest: StaticMapSchema;
177
179
  export declare var ConfigurationAliasesResponse: StaticMapSchema;
180
+ export declare var StringMap: number;
178
181
  export declare var ConfigureLogsForChannel: StaticOperationSchema;
179
182
  export declare var ConfigureLogsForPlaybackConfiguration: StaticOperationSchema;
180
183
  export declare var CreateChannel: StaticOperationSchema;
@@ -89,6 +89,17 @@ export declare const StreamingMediaFileConditioning: {
89
89
  };
90
90
  export type StreamingMediaFileConditioning =
91
91
  (typeof StreamingMediaFileConditioning)[keyof typeof StreamingMediaFileConditioning];
92
+ export declare const CompressionMethod: {
93
+ readonly GZIP: "GZIP";
94
+ readonly NONE: "NONE";
95
+ };
96
+ export type CompressionMethod =
97
+ (typeof CompressionMethod)[keyof typeof CompressionMethod];
98
+ export declare const Method: {
99
+ readonly GET: "GET";
100
+ readonly POST: "POST";
101
+ };
102
+ export type Method = (typeof Method)[keyof typeof Method];
92
103
  export declare const FillPolicy: {
93
104
  readonly FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY";
94
105
  readonly PARTIAL_AVAIL: "PARTIAL_AVAIL";
@@ -5,6 +5,7 @@ import {
5
5
  AdsInteractionPublishOptInEventType,
6
6
  AlertCategory,
7
7
  ChannelState,
8
+ CompressionMethod,
8
9
  FillPolicy,
9
10
  InsertionMode,
10
11
  ListPrefetchScheduleType,
@@ -12,6 +13,7 @@ import {
12
13
  LogType,
13
14
  ManifestServiceExcludeEventType,
14
15
  MessageType,
16
+ Method,
15
17
  Mode,
16
18
  Operator,
17
19
  OriginManifestType,
@@ -139,6 +141,15 @@ export interface LiveSource {
139
141
  export interface AdConditioningConfiguration {
140
142
  StreamingMediaFileConditioning: StreamingMediaFileConditioning | undefined;
141
143
  }
144
+ export interface HttpRequest {
145
+ Method?: Method | undefined;
146
+ Body?: string | undefined;
147
+ Headers?: Record<string, string> | undefined;
148
+ CompressRequest?: CompressionMethod | undefined;
149
+ }
150
+ export interface AdDecisionServerConfiguration {
151
+ HttpRequest?: HttpRequest | undefined;
152
+ }
142
153
  export interface AvailSuppression {
143
154
  Mode?: Mode | undefined;
144
155
  Value?: string | undefined;
@@ -205,6 +216,7 @@ export interface PlaybackConfiguration {
205
216
  TranscodeProfileName?: string | undefined;
206
217
  VideoContentSourceUrl?: string | undefined;
207
218
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
219
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
208
220
  }
209
221
  export interface PrefetchConsumption {
210
222
  AvailMatchingCriteria?: AvailMatchingCriteria[] | undefined;
@@ -712,6 +724,7 @@ export interface GetPlaybackConfigurationResponse {
712
724
  TranscodeProfileName?: string | undefined;
713
725
  VideoContentSourceUrl?: string | undefined;
714
726
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
727
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
715
728
  }
716
729
  export interface GetPrefetchScheduleRequest {
717
730
  Name: string | undefined;
@@ -818,6 +831,7 @@ export interface PutPlaybackConfigurationRequest {
818
831
  TranscodeProfileName?: string | undefined;
819
832
  VideoContentSourceUrl?: string | undefined;
820
833
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
834
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
821
835
  }
822
836
  export interface PutPlaybackConfigurationResponse {
823
837
  AdDecisionServerUrl?: string | undefined;
@@ -841,6 +855,7 @@ export interface PutPlaybackConfigurationResponse {
841
855
  TranscodeProfileName?: string | undefined;
842
856
  VideoContentSourceUrl?: string | undefined;
843
857
  AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
858
+ AdDecisionServerConfiguration?: AdDecisionServerConfiguration | undefined;
844
859
  }
845
860
  export interface UpdateSourceLocationRequest {
846
861
  AccessConfiguration?: AccessConfiguration | undefined;
@@ -9,6 +9,7 @@ export declare var AccessConfiguration: StaticStructureSchema;
9
9
  export declare var AdBreak: StaticStructureSchema;
10
10
  export declare var AdBreakOpportunity: StaticStructureSchema;
11
11
  export declare var AdConditioningConfiguration: StaticStructureSchema;
12
+ export declare var AdDecisionServerConfiguration: StaticStructureSchema;
12
13
  export declare var AdMarkerPassthrough: StaticStructureSchema;
13
14
  export declare var AdsInteractionLog: StaticStructureSchema;
14
15
  export declare var Alert: StaticStructureSchema;
@@ -79,6 +80,7 @@ export declare var HlsConfiguration: StaticStructureSchema;
79
80
  export declare var HlsPlaylistSettings: StaticStructureSchema;
80
81
  export declare var HttpConfiguration: StaticStructureSchema;
81
82
  export declare var HttpPackageConfiguration: StaticStructureSchema;
83
+ export declare var HttpRequest: StaticStructureSchema;
82
84
  export declare var KeyValuePair: StaticStructureSchema;
83
85
  export declare var ListAlertsRequest: StaticStructureSchema;
84
86
  export declare var ListAlertsResponse: StaticStructureSchema;
@@ -181,6 +183,7 @@ export declare var SegmentationDescriptorList: StaticListSchema;
181
183
  export declare var __mapOf__string: number;
182
184
  export declare var ConfigurationAliasesRequest: StaticMapSchema;
183
185
  export declare var ConfigurationAliasesResponse: StaticMapSchema;
186
+ export declare var StringMap: number;
184
187
  export declare var ConfigureLogsForChannel: StaticOperationSchema;
185
188
  export declare var ConfigureLogsForPlaybackConfiguration: StaticOperationSchema;
186
189
  export declare var CreateChannel: StaticOperationSchema;
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.948.0",
4
+ "version": "3.952.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",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.948.0",
25
+ "@aws-sdk/credential-provider-node": "3.952.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.948.0",