@aws-sdk/client-mediatailor 3.738.0 → 3.741.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 +18 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/ConfigureLogsForPlaybackConfigurationCommand.d.ts +7 -1
- package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +6 -0
- package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +86 -11
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -62,6 +62,7 @@ __export(src_exports, {
|
|
|
62
62
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
63
63
|
ListVodSourcesCommand: () => ListVodSourcesCommand,
|
|
64
64
|
LogType: () => LogType,
|
|
65
|
+
LoggingStrategy: () => LoggingStrategy,
|
|
65
66
|
MediaTailor: () => MediaTailor,
|
|
66
67
|
MediaTailorClient: () => MediaTailorClient,
|
|
67
68
|
MediaTailorServiceException: () => MediaTailorServiceException,
|
|
@@ -76,6 +77,7 @@ __export(src_exports, {
|
|
|
76
77
|
ScheduleEntryType: () => ScheduleEntryType,
|
|
77
78
|
StartChannelCommand: () => StartChannelCommand,
|
|
78
79
|
StopChannelCommand: () => StopChannelCommand,
|
|
80
|
+
StreamingMediaFileConditioning: () => StreamingMediaFileConditioning,
|
|
79
81
|
TagResourceCommand: () => TagResourceCommand,
|
|
80
82
|
Tier: () => Tier,
|
|
81
83
|
Type: () => Type,
|
|
@@ -291,6 +293,14 @@ var Type = {
|
|
|
291
293
|
DASH: "DASH",
|
|
292
294
|
HLS: "HLS"
|
|
293
295
|
};
|
|
296
|
+
var LoggingStrategy = {
|
|
297
|
+
LEGACY_CLOUDWATCH: "LEGACY_CLOUDWATCH",
|
|
298
|
+
VENDED_LOGS: "VENDED_LOGS"
|
|
299
|
+
};
|
|
300
|
+
var StreamingMediaFileConditioning = {
|
|
301
|
+
NONE: "NONE",
|
|
302
|
+
TRANSCODE: "TRANSCODE"
|
|
303
|
+
};
|
|
294
304
|
var FillPolicy = {
|
|
295
305
|
FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
|
|
296
306
|
PARTIAL_AVAIL: "PARTIAL_AVAIL"
|
|
@@ -381,6 +391,7 @@ var se_ConfigureLogsForPlaybackConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
381
391
|
let body;
|
|
382
392
|
body = JSON.stringify(
|
|
383
393
|
(0, import_smithy_client.take)(input, {
|
|
394
|
+
EnabledLoggingStrategies: (_) => (0, import_smithy_client._json)(_),
|
|
384
395
|
PercentEnabled: [],
|
|
385
396
|
PlaybackConfigurationName: []
|
|
386
397
|
})
|
|
@@ -801,6 +812,7 @@ var se_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
801
812
|
let body;
|
|
802
813
|
body = JSON.stringify(
|
|
803
814
|
(0, import_smithy_client.take)(input, {
|
|
815
|
+
AdConditioningConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
804
816
|
AdDecisionServerUrl: [],
|
|
805
817
|
AvailSuppression: (_) => (0, import_smithy_client._json)(_),
|
|
806
818
|
Bumper: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -982,6 +994,7 @@ var de_ConfigureLogsForPlaybackConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
982
994
|
});
|
|
983
995
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
984
996
|
const doc = (0, import_smithy_client.take)(data, {
|
|
997
|
+
EnabledLoggingStrategies: import_smithy_client._json,
|
|
985
998
|
PercentEnabled: import_smithy_client.expectInt32,
|
|
986
999
|
PlaybackConfigurationName: import_smithy_client.expectString
|
|
987
1000
|
});
|
|
@@ -1351,6 +1364,7 @@ var de_GetPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1351
1364
|
});
|
|
1352
1365
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1353
1366
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1367
|
+
AdConditioningConfiguration: import_smithy_client._json,
|
|
1354
1368
|
AdDecisionServerUrl: import_smithy_client.expectString,
|
|
1355
1369
|
AvailSuppression: import_smithy_client._json,
|
|
1356
1370
|
Bumper: import_smithy_client._json,
|
|
@@ -1532,6 +1546,7 @@ var de_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1532
1546
|
});
|
|
1533
1547
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1534
1548
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1549
|
+
AdConditioningConfiguration: import_smithy_client._json,
|
|
1535
1550
|
AdDecisionServerUrl: import_smithy_client.expectString,
|
|
1536
1551
|
AvailSuppression: import_smithy_client._json,
|
|
1537
1552
|
Bumper: import_smithy_client._json,
|
|
@@ -1848,6 +1863,7 @@ var de_LiveSource = /* @__PURE__ */ __name((output, context) => {
|
|
|
1848
1863
|
}, "de_LiveSource");
|
|
1849
1864
|
var de_PlaybackConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
1850
1865
|
return (0, import_smithy_client.take)(output, {
|
|
1866
|
+
AdConditioningConfiguration: import_smithy_client._json,
|
|
1851
1867
|
AdDecisionServerUrl: import_smithy_client.expectString,
|
|
1852
1868
|
AvailSuppression: import_smithy_client._json,
|
|
1853
1869
|
Bumper: import_smithy_client._json,
|
|
@@ -2768,6 +2784,8 @@ var paginateListVodSources = (0, import_core.createPaginator)(MediaTailorClient,
|
|
|
2768
2784
|
LogType,
|
|
2769
2785
|
AdMarkupType,
|
|
2770
2786
|
Type,
|
|
2787
|
+
LoggingStrategy,
|
|
2788
|
+
StreamingMediaFileConditioning,
|
|
2771
2789
|
FillPolicy,
|
|
2772
2790
|
Mode,
|
|
2773
2791
|
OriginManifestType,
|
|
@@ -22,6 +22,14 @@ export const Type = {
|
|
|
22
22
|
DASH: "DASH",
|
|
23
23
|
HLS: "HLS",
|
|
24
24
|
};
|
|
25
|
+
export const LoggingStrategy = {
|
|
26
|
+
LEGACY_CLOUDWATCH: "LEGACY_CLOUDWATCH",
|
|
27
|
+
VENDED_LOGS: "VENDED_LOGS",
|
|
28
|
+
};
|
|
29
|
+
export const StreamingMediaFileConditioning = {
|
|
30
|
+
NONE: "NONE",
|
|
31
|
+
TRANSCODE: "TRANSCODE",
|
|
32
|
+
};
|
|
25
33
|
export const FillPolicy = {
|
|
26
34
|
FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY",
|
|
27
35
|
PARTIAL_AVAIL: "PARTIAL_AVAIL",
|
|
@@ -25,6 +25,7 @@ export const se_ConfigureLogsForPlaybackConfigurationCommand = async (input, con
|
|
|
25
25
|
b.bp("/configureLogs/playbackConfiguration");
|
|
26
26
|
let body;
|
|
27
27
|
body = JSON.stringify(take(input, {
|
|
28
|
+
EnabledLoggingStrategies: (_) => _json(_),
|
|
28
29
|
PercentEnabled: [],
|
|
29
30
|
PlaybackConfigurationName: [],
|
|
30
31
|
}));
|
|
@@ -427,6 +428,7 @@ export const se_PutPlaybackConfigurationCommand = async (input, context) => {
|
|
|
427
428
|
b.bp("/playbackConfiguration");
|
|
428
429
|
let body;
|
|
429
430
|
body = JSON.stringify(take(input, {
|
|
431
|
+
AdConditioningConfiguration: (_) => _json(_),
|
|
430
432
|
AdDecisionServerUrl: [],
|
|
431
433
|
AvailSuppression: (_) => _json(_),
|
|
432
434
|
Bumper: (_) => _json(_),
|
|
@@ -595,6 +597,7 @@ export const de_ConfigureLogsForPlaybackConfigurationCommand = async (output, co
|
|
|
595
597
|
});
|
|
596
598
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
597
599
|
const doc = take(data, {
|
|
600
|
+
EnabledLoggingStrategies: _json,
|
|
598
601
|
PercentEnabled: __expectInt32,
|
|
599
602
|
PlaybackConfigurationName: __expectString,
|
|
600
603
|
});
|
|
@@ -964,6 +967,7 @@ export const de_GetPlaybackConfigurationCommand = async (output, context) => {
|
|
|
964
967
|
});
|
|
965
968
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
966
969
|
const doc = take(data, {
|
|
970
|
+
AdConditioningConfiguration: _json,
|
|
967
971
|
AdDecisionServerUrl: __expectString,
|
|
968
972
|
AvailSuppression: _json,
|
|
969
973
|
Bumper: _json,
|
|
@@ -1145,6 +1149,7 @@ export const de_PutPlaybackConfigurationCommand = async (output, context) => {
|
|
|
1145
1149
|
});
|
|
1146
1150
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1147
1151
|
const doc = take(data, {
|
|
1152
|
+
AdConditioningConfiguration: _json,
|
|
1148
1153
|
AdDecisionServerUrl: __expectString,
|
|
1149
1154
|
AvailSuppression: _json,
|
|
1150
1155
|
Bumper: _json,
|
|
@@ -1479,6 +1484,7 @@ const de_LiveSource = (output, context) => {
|
|
|
1479
1484
|
};
|
|
1480
1485
|
const de_PlaybackConfiguration = (output, context) => {
|
|
1481
1486
|
return take(output, {
|
|
1487
|
+
AdConditioningConfiguration: _json,
|
|
1482
1488
|
AdDecisionServerUrl: __expectString,
|
|
1483
1489
|
AvailSuppression: _json,
|
|
1484
1490
|
Bumper: _json,
|
|
@@ -27,7 +27,7 @@ declare const ConfigureLogsForPlaybackConfigurationCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Defines where AWS Elemental MediaTailor sends logs for the playback configuration.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -37,12 +37,18 @@ declare const ConfigureLogsForPlaybackConfigurationCommand_base: {
|
|
|
37
37
|
* const input = { // ConfigureLogsForPlaybackConfigurationRequest
|
|
38
38
|
* PercentEnabled: Number("int"), // required
|
|
39
39
|
* PlaybackConfigurationName: "STRING_VALUE", // required
|
|
40
|
+
* EnabledLoggingStrategies: [ // __listOfLoggingStrategies
|
|
41
|
+
* "VENDED_LOGS" || "LEGACY_CLOUDWATCH",
|
|
42
|
+
* ],
|
|
40
43
|
* };
|
|
41
44
|
* const command = new ConfigureLogsForPlaybackConfigurationCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* // { // ConfigureLogsForPlaybackConfigurationResponse
|
|
44
47
|
* // PercentEnabled: Number("int"), // required
|
|
45
48
|
* // PlaybackConfigurationName: "STRING_VALUE",
|
|
49
|
+
* // EnabledLoggingStrategies: [ // __listOfLoggingStrategies
|
|
50
|
+
* // "VENDED_LOGS" || "LEGACY_CLOUDWATCH",
|
|
51
|
+
* // ],
|
|
46
52
|
* // };
|
|
47
53
|
*
|
|
48
54
|
* ```
|
|
@@ -74,6 +74,9 @@ declare const GetPlaybackConfigurationCommand_base: {
|
|
|
74
74
|
* // },
|
|
75
75
|
* // LogConfiguration: { // LogConfiguration
|
|
76
76
|
* // PercentEnabled: Number("int"), // required
|
|
77
|
+
* // EnabledLoggingStrategies: [ // __listOfLoggingStrategies
|
|
78
|
+
* // "VENDED_LOGS" || "LEGACY_CLOUDWATCH",
|
|
79
|
+
* // ],
|
|
77
80
|
* // },
|
|
78
81
|
* // ManifestProcessingRules: { // ManifestProcessingRules
|
|
79
82
|
* // AdMarkerPassthrough: { // AdMarkerPassthrough
|
|
@@ -91,6 +94,9 @@ declare const GetPlaybackConfigurationCommand_base: {
|
|
|
91
94
|
* // },
|
|
92
95
|
* // TranscodeProfileName: "STRING_VALUE",
|
|
93
96
|
* // VideoContentSourceUrl: "STRING_VALUE",
|
|
97
|
+
* // AdConditioningConfiguration: { // AdConditioningConfiguration
|
|
98
|
+
* // StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
|
|
99
|
+
* // },
|
|
94
100
|
* // };
|
|
95
101
|
*
|
|
96
102
|
* ```
|
|
@@ -77,6 +77,9 @@ declare const ListPlaybackConfigurationsCommand_base: {
|
|
|
77
77
|
* // },
|
|
78
78
|
* // LogConfiguration: { // LogConfiguration
|
|
79
79
|
* // PercentEnabled: Number("int"), // required
|
|
80
|
+
* // EnabledLoggingStrategies: [ // __listOfLoggingStrategies
|
|
81
|
+
* // "VENDED_LOGS" || "LEGACY_CLOUDWATCH",
|
|
82
|
+
* // ],
|
|
80
83
|
* // },
|
|
81
84
|
* // ManifestProcessingRules: { // ManifestProcessingRules
|
|
82
85
|
* // AdMarkerPassthrough: { // AdMarkerPassthrough
|
|
@@ -94,6 +97,9 @@ declare const ListPlaybackConfigurationsCommand_base: {
|
|
|
94
97
|
* // },
|
|
95
98
|
* // TranscodeProfileName: "STRING_VALUE",
|
|
96
99
|
* // VideoContentSourceUrl: "STRING_VALUE",
|
|
100
|
+
* // AdConditioningConfiguration: { // AdConditioningConfiguration
|
|
101
|
+
* // StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
|
|
102
|
+
* // },
|
|
97
103
|
* // },
|
|
98
104
|
* // ],
|
|
99
105
|
* // NextToken: "STRING_VALUE",
|
|
@@ -76,6 +76,9 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
76
76
|
* },
|
|
77
77
|
* TranscodeProfileName: "STRING_VALUE",
|
|
78
78
|
* VideoContentSourceUrl: "STRING_VALUE",
|
|
79
|
+
* AdConditioningConfiguration: { // AdConditioningConfiguration
|
|
80
|
+
* StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
|
|
81
|
+
* },
|
|
79
82
|
* };
|
|
80
83
|
* const command = new PutPlaybackConfigurationCommand(input);
|
|
81
84
|
* const response = await client.send(command);
|
|
@@ -114,6 +117,9 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
114
117
|
* // },
|
|
115
118
|
* // LogConfiguration: { // LogConfiguration
|
|
116
119
|
* // PercentEnabled: Number("int"), // required
|
|
120
|
+
* // EnabledLoggingStrategies: [ // __listOfLoggingStrategies
|
|
121
|
+
* // "VENDED_LOGS" || "LEGACY_CLOUDWATCH",
|
|
122
|
+
* // ],
|
|
117
123
|
* // },
|
|
118
124
|
* // ManifestProcessingRules: { // ManifestProcessingRules
|
|
119
125
|
* // AdMarkerPassthrough: { // AdMarkerPassthrough
|
|
@@ -131,6 +137,9 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
131
137
|
* // },
|
|
132
138
|
* // TranscodeProfileName: "STRING_VALUE",
|
|
133
139
|
* // VideoContentSourceUrl: "STRING_VALUE",
|
|
140
|
+
* // AdConditioningConfiguration: { // AdConditioningConfiguration
|
|
141
|
+
* // StreamingMediaFileConditioning: "TRANSCODE" || "NONE", // required
|
|
142
|
+
* // },
|
|
134
143
|
* // };
|
|
135
144
|
*
|
|
136
145
|
* ```
|
|
@@ -575,6 +575,44 @@ export interface LiveSource {
|
|
|
575
575
|
*/
|
|
576
576
|
Tags?: Record<string, string> | undefined;
|
|
577
577
|
}
|
|
578
|
+
/**
|
|
579
|
+
* @public
|
|
580
|
+
* @enum
|
|
581
|
+
*/
|
|
582
|
+
export declare const LoggingStrategy: {
|
|
583
|
+
readonly LEGACY_CLOUDWATCH: "LEGACY_CLOUDWATCH";
|
|
584
|
+
readonly VENDED_LOGS: "VENDED_LOGS";
|
|
585
|
+
};
|
|
586
|
+
/**
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
export type LoggingStrategy = (typeof LoggingStrategy)[keyof typeof LoggingStrategy];
|
|
590
|
+
/**
|
|
591
|
+
* @public
|
|
592
|
+
* @enum
|
|
593
|
+
*/
|
|
594
|
+
export declare const StreamingMediaFileConditioning: {
|
|
595
|
+
readonly NONE: "NONE";
|
|
596
|
+
readonly TRANSCODE: "TRANSCODE";
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export type StreamingMediaFileConditioning = (typeof StreamingMediaFileConditioning)[keyof typeof StreamingMediaFileConditioning];
|
|
602
|
+
/**
|
|
603
|
+
* <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.</p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface AdConditioningConfiguration {
|
|
607
|
+
/**
|
|
608
|
+
* <p>For ads that have media files with streaming delivery and supported file extensions, indicates what transcoding action MediaTailor takes when it first receives these ads from the ADS.
|
|
609
|
+
* <code>TRANSCODE</code> indicates that MediaTailor must transcode the ads.
|
|
610
|
+
* <code>NONE</code> indicates that you have already transcoded the ads outside of MediaTailor and don't need them transcoded as part of the ad insertion workflow.
|
|
611
|
+
* For more information about ad conditioning see <a href="https://docs.aws.amazon.com/precondition-ads.html">https://docs.aws.amazon.com/precondition-ads.html</a>.</p>
|
|
612
|
+
* @public
|
|
613
|
+
*/
|
|
614
|
+
StreamingMediaFileConditioning: StreamingMediaFileConditioning | undefined;
|
|
615
|
+
}
|
|
578
616
|
/**
|
|
579
617
|
* @public
|
|
580
618
|
* @enum
|
|
@@ -726,17 +764,22 @@ export interface LivePreRollConfiguration {
|
|
|
726
764
|
MaxDurationSeconds?: number | undefined;
|
|
727
765
|
}
|
|
728
766
|
/**
|
|
729
|
-
* <p>
|
|
767
|
+
* <p>Defines where AWS Elemental MediaTailor sends logs for the playback configuration.</p>
|
|
730
768
|
* @public
|
|
731
769
|
*/
|
|
732
770
|
export interface LogConfiguration {
|
|
733
771
|
/**
|
|
734
|
-
* <p>The percentage of session logs that MediaTailor sends to your
|
|
772
|
+
* <p>The percentage of session logs that MediaTailor sends to your configured log destination. For example, if your playback configuration has 1000 sessions and <code>percentEnabled</code> is set to <code>60</code>, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p>
|
|
735
773
|
* <p>Valid values: <code>0</code> - <code>100</code>
|
|
736
774
|
* </p>
|
|
737
775
|
* @public
|
|
738
776
|
*/
|
|
739
777
|
PercentEnabled: number | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. </p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
EnabledLoggingStrategies?: LoggingStrategy[] | undefined;
|
|
740
783
|
}
|
|
741
784
|
/**
|
|
742
785
|
* <p>For HLS, when set to <code>true</code>, MediaTailor passes through <code>EXT-X-CUE-IN</code>, <code>EXT-X-CUE-OUT</code>, and <code>EXT-X-SPLICEPOINT-SCTE35</code> ad markers from the origin manifest to the MediaTailor personalized manifest.</p>
|
|
@@ -788,7 +831,7 @@ export interface PlaybackConfiguration {
|
|
|
788
831
|
*/
|
|
789
832
|
CdnConfiguration?: CdnConfiguration | undefined;
|
|
790
833
|
/**
|
|
791
|
-
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-
|
|
834
|
+
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domains.html">Domain Variables</a>.</p>
|
|
792
835
|
* @public
|
|
793
836
|
*/
|
|
794
837
|
ConfigurationAliases?: Record<string, Record<string, string>> | undefined;
|
|
@@ -813,7 +856,7 @@ export interface PlaybackConfiguration {
|
|
|
813
856
|
*/
|
|
814
857
|
LivePreRollConfiguration?: LivePreRollConfiguration | undefined;
|
|
815
858
|
/**
|
|
816
|
-
* <p>
|
|
859
|
+
* <p>Defines where AWS Elemental MediaTailor sends logs for the playback configuration.</p>
|
|
817
860
|
* @public
|
|
818
861
|
*/
|
|
819
862
|
LogConfiguration?: LogConfiguration | undefined;
|
|
@@ -867,6 +910,11 @@ export interface PlaybackConfiguration {
|
|
|
867
910
|
* @public
|
|
868
911
|
*/
|
|
869
912
|
VideoContentSourceUrl?: string | undefined;
|
|
913
|
+
/**
|
|
914
|
+
* <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.</p>
|
|
915
|
+
* @public
|
|
916
|
+
*/
|
|
917
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
870
918
|
}
|
|
871
919
|
/**
|
|
872
920
|
* <p>A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.</p>
|
|
@@ -884,7 +932,7 @@ export interface PrefetchConsumption {
|
|
|
884
932
|
*/
|
|
885
933
|
EndTime: Date | undefined;
|
|
886
934
|
/**
|
|
887
|
-
* <p>The time when prefetched ads are considered for use in an ad break. If you don't specify <code>StartTime</code>, the prefetched ads are available after MediaTailor
|
|
935
|
+
* <p>The time when prefetched ads are considered for use in an ad break. If you don't specify <code>StartTime</code>, the prefetched ads are available after MediaTailor retrieves them from the ad decision server.</p>
|
|
888
936
|
* @public
|
|
889
937
|
*/
|
|
890
938
|
StartTime?: Date | undefined;
|
|
@@ -2272,7 +2320,7 @@ export interface UpdateChannelResponse {
|
|
|
2272
2320
|
*/
|
|
2273
2321
|
export interface ConfigureLogsForPlaybackConfigurationRequest {
|
|
2274
2322
|
/**
|
|
2275
|
-
* <p>The percentage of session logs that MediaTailor sends to your
|
|
2323
|
+
* <p>The percentage of session logs that MediaTailor sends to your CloudWatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to <code>60</code>, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/debug-log-mode.html">debug log mode</a>.</p>
|
|
2276
2324
|
* <p>Valid values: <code>0</code> - <code>100</code>
|
|
2277
2325
|
* </p>
|
|
2278
2326
|
* @public
|
|
@@ -2283,6 +2331,13 @@ export interface ConfigureLogsForPlaybackConfigurationRequest {
|
|
|
2283
2331
|
* @public
|
|
2284
2332
|
*/
|
|
2285
2333
|
PlaybackConfigurationName: string | undefined;
|
|
2334
|
+
/**
|
|
2335
|
+
* <p>The method used for collecting logs from AWS Elemental MediaTailor. To configure MediaTailor to send logs directly to Amazon CloudWatch Logs, choose <code>LEGACY_CLOUDWATCH</code>. To configure MediaTailor to
|
|
2336
|
+
* send logs to CloudWatch, which then vends the logs to your destination of choice, choose <code>VENDED_LOGS</code>. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream.</p>
|
|
2337
|
+
* <p>To use vended logs, you must configure the delivery destination in Amazon CloudWatch, as described in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html#AWS-vended-logs-permissions-V2">Enable logging from AWS services, Logging that requires additional permissions [V2]</a>.</p>
|
|
2338
|
+
* @public
|
|
2339
|
+
*/
|
|
2340
|
+
EnabledLoggingStrategies?: LoggingStrategy[] | undefined;
|
|
2286
2341
|
}
|
|
2287
2342
|
/**
|
|
2288
2343
|
* @public
|
|
@@ -2298,6 +2353,11 @@ export interface ConfigureLogsForPlaybackConfigurationResponse {
|
|
|
2298
2353
|
* @public
|
|
2299
2354
|
*/
|
|
2300
2355
|
PlaybackConfigurationName?: string | undefined;
|
|
2356
|
+
/**
|
|
2357
|
+
* <p>The method used for collecting logs from AWS Elemental MediaTailor. <code>LEGACY_CLOUDWATCH</code> indicates that MediaTailor is sending logs directly to Amazon CloudWatch Logs. <code>VENDED_LOGS</code> indicates that MediaTailor is sending logs to CloudWatch, which then vends the logs to your destination of choice. Supported destinations are CloudWatch Logs log group, Amazon S3 bucket, and Amazon Data Firehose stream. </p>
|
|
2358
|
+
* @public
|
|
2359
|
+
*/
|
|
2360
|
+
EnabledLoggingStrategies?: LoggingStrategy[] | undefined;
|
|
2301
2361
|
}
|
|
2302
2362
|
/**
|
|
2303
2363
|
* @public
|
|
@@ -2895,7 +2955,7 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
2895
2955
|
*/
|
|
2896
2956
|
CdnConfiguration?: CdnConfiguration | undefined;
|
|
2897
2957
|
/**
|
|
2898
|
-
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-
|
|
2958
|
+
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domains.html">Domain Variables</a>.</p>
|
|
2899
2959
|
* @public
|
|
2900
2960
|
*/
|
|
2901
2961
|
ConfigurationAliases?: Record<string, Record<string, string>> | undefined;
|
|
@@ -2920,7 +2980,7 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
2920
2980
|
*/
|
|
2921
2981
|
LivePreRollConfiguration?: LivePreRollConfiguration | undefined;
|
|
2922
2982
|
/**
|
|
2923
|
-
* <p>The
|
|
2983
|
+
* <p>The configuration that defines where AWS Elemental MediaTailor sends logs for the playback configuration.</p>
|
|
2924
2984
|
* @public
|
|
2925
2985
|
*/
|
|
2926
2986
|
LogConfiguration?: LogConfiguration | undefined;
|
|
@@ -2974,6 +3034,11 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
2974
3034
|
* @public
|
|
2975
3035
|
*/
|
|
2976
3036
|
VideoContentSourceUrl?: string | undefined;
|
|
3037
|
+
/**
|
|
3038
|
+
* <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>
|
|
3039
|
+
* @public
|
|
3040
|
+
*/
|
|
3041
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
2977
3042
|
}
|
|
2978
3043
|
/**
|
|
2979
3044
|
* @public
|
|
@@ -3338,7 +3403,7 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
3338
3403
|
*/
|
|
3339
3404
|
CdnConfiguration?: CdnConfiguration | undefined;
|
|
3340
3405
|
/**
|
|
3341
|
-
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-
|
|
3406
|
+
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domains.html">Domain Variables</a>.</p>
|
|
3342
3407
|
* @public
|
|
3343
3408
|
*/
|
|
3344
3409
|
ConfigurationAliases?: Record<string, Record<string, string>> | undefined;
|
|
@@ -3392,6 +3457,11 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
3392
3457
|
* @public
|
|
3393
3458
|
*/
|
|
3394
3459
|
VideoContentSourceUrl?: string | undefined;
|
|
3460
|
+
/**
|
|
3461
|
+
* <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>
|
|
3462
|
+
* @public
|
|
3463
|
+
*/
|
|
3464
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
3395
3465
|
}
|
|
3396
3466
|
/**
|
|
3397
3467
|
* @public
|
|
@@ -3418,7 +3488,7 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
3418
3488
|
*/
|
|
3419
3489
|
CdnConfiguration?: CdnConfiguration | undefined;
|
|
3420
3490
|
/**
|
|
3421
|
-
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-
|
|
3491
|
+
* <p>The player parameters and aliases used as dynamic variables during session initialization. For more information, see <a href="https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domains.html">Domain Variables</a>.</p>
|
|
3422
3492
|
* @public
|
|
3423
3493
|
*/
|
|
3424
3494
|
ConfigurationAliases?: Record<string, Record<string, string>> | undefined;
|
|
@@ -3443,7 +3513,7 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
3443
3513
|
*/
|
|
3444
3514
|
LivePreRollConfiguration?: LivePreRollConfiguration | undefined;
|
|
3445
3515
|
/**
|
|
3446
|
-
* <p>The
|
|
3516
|
+
* <p>The configuration that defines where AWS Elemental MediaTailor sends logs for the playback configuration.</p>
|
|
3447
3517
|
* @public
|
|
3448
3518
|
*/
|
|
3449
3519
|
LogConfiguration?: LogConfiguration | undefined;
|
|
@@ -3497,6 +3567,11 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
3497
3567
|
* @public
|
|
3498
3568
|
*/
|
|
3499
3569
|
VideoContentSourceUrl?: string | undefined;
|
|
3570
|
+
/**
|
|
3571
|
+
* <p>The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. </p>
|
|
3572
|
+
* @public
|
|
3573
|
+
*/
|
|
3574
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
3500
3575
|
}
|
|
3501
3576
|
/**
|
|
3502
3577
|
* @public
|
|
@@ -141,6 +141,21 @@ export interface LiveSource {
|
|
|
141
141
|
SourceLocationName: string | undefined;
|
|
142
142
|
Tags?: Record<string, string> | undefined;
|
|
143
143
|
}
|
|
144
|
+
export declare const LoggingStrategy: {
|
|
145
|
+
readonly LEGACY_CLOUDWATCH: "LEGACY_CLOUDWATCH";
|
|
146
|
+
readonly VENDED_LOGS: "VENDED_LOGS";
|
|
147
|
+
};
|
|
148
|
+
export type LoggingStrategy =
|
|
149
|
+
(typeof LoggingStrategy)[keyof typeof LoggingStrategy];
|
|
150
|
+
export declare const StreamingMediaFileConditioning: {
|
|
151
|
+
readonly NONE: "NONE";
|
|
152
|
+
readonly TRANSCODE: "TRANSCODE";
|
|
153
|
+
};
|
|
154
|
+
export type StreamingMediaFileConditioning =
|
|
155
|
+
(typeof StreamingMediaFileConditioning)[keyof typeof StreamingMediaFileConditioning];
|
|
156
|
+
export interface AdConditioningConfiguration {
|
|
157
|
+
StreamingMediaFileConditioning: StreamingMediaFileConditioning | undefined;
|
|
158
|
+
}
|
|
144
159
|
export declare const FillPolicy: {
|
|
145
160
|
readonly FULL_AVAIL_ONLY: "FULL_AVAIL_ONLY";
|
|
146
161
|
readonly PARTIAL_AVAIL: "PARTIAL_AVAIL";
|
|
@@ -190,6 +205,7 @@ export interface LivePreRollConfiguration {
|
|
|
190
205
|
}
|
|
191
206
|
export interface LogConfiguration {
|
|
192
207
|
PercentEnabled: number | undefined;
|
|
208
|
+
EnabledLoggingStrategies?: LoggingStrategy[] | undefined;
|
|
193
209
|
}
|
|
194
210
|
export interface AdMarkerPassthrough {
|
|
195
211
|
Enabled?: boolean | undefined;
|
|
@@ -218,6 +234,7 @@ export interface PlaybackConfiguration {
|
|
|
218
234
|
Tags?: Record<string, string> | undefined;
|
|
219
235
|
TranscodeProfileName?: string | undefined;
|
|
220
236
|
VideoContentSourceUrl?: string | undefined;
|
|
237
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
221
238
|
}
|
|
222
239
|
export interface PrefetchConsumption {
|
|
223
240
|
AvailMatchingCriteria?: AvailMatchingCriteria[] | undefined;
|
|
@@ -560,10 +577,12 @@ export interface UpdateChannelResponse {
|
|
|
560
577
|
export interface ConfigureLogsForPlaybackConfigurationRequest {
|
|
561
578
|
PercentEnabled: number | undefined;
|
|
562
579
|
PlaybackConfigurationName: string | undefined;
|
|
580
|
+
EnabledLoggingStrategies?: LoggingStrategy[] | undefined;
|
|
563
581
|
}
|
|
564
582
|
export interface ConfigureLogsForPlaybackConfigurationResponse {
|
|
565
583
|
PercentEnabled: number | undefined;
|
|
566
584
|
PlaybackConfigurationName?: string | undefined;
|
|
585
|
+
EnabledLoggingStrategies?: LoggingStrategy[] | undefined;
|
|
567
586
|
}
|
|
568
587
|
export interface CreateLiveSourceRequest {
|
|
569
588
|
HttpPackageConfigurations: HttpPackageConfiguration[] | undefined;
|
|
@@ -727,6 +746,7 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
727
746
|
Tags?: Record<string, string> | undefined;
|
|
728
747
|
TranscodeProfileName?: string | undefined;
|
|
729
748
|
VideoContentSourceUrl?: string | undefined;
|
|
749
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
730
750
|
}
|
|
731
751
|
export interface GetPrefetchScheduleRequest {
|
|
732
752
|
Name: string | undefined;
|
|
@@ -829,6 +849,7 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
829
849
|
Tags?: Record<string, string> | undefined;
|
|
830
850
|
TranscodeProfileName?: string | undefined;
|
|
831
851
|
VideoContentSourceUrl?: string | undefined;
|
|
852
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
832
853
|
}
|
|
833
854
|
export interface PutPlaybackConfigurationResponse {
|
|
834
855
|
AdDecisionServerUrl?: string | undefined;
|
|
@@ -851,6 +872,7 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
851
872
|
Tags?: Record<string, string> | undefined;
|
|
852
873
|
TranscodeProfileName?: string | undefined;
|
|
853
874
|
VideoContentSourceUrl?: string | undefined;
|
|
875
|
+
AdConditioningConfiguration?: AdConditioningConfiguration | undefined;
|
|
854
876
|
}
|
|
855
877
|
export interface UpdateSourceLocationRequest {
|
|
856
878
|
AccessConfiguration?: AccessConfiguration | undefined;
|
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.741.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.734.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.741.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|