@aws-sdk/client-mediatailor 3.552.0 → 3.555.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 +10 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/commands/GetPlaybackConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/ListPlaybackConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/PutPlaybackConfigurationCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -52,6 +52,7 @@ __export(src_exports, {
|
|
|
52
52
|
GetChannelScheduleCommand: () => GetChannelScheduleCommand,
|
|
53
53
|
GetPlaybackConfigurationCommand: () => GetPlaybackConfigurationCommand,
|
|
54
54
|
GetPrefetchScheduleCommand: () => GetPrefetchScheduleCommand,
|
|
55
|
+
InsertionMode: () => InsertionMode,
|
|
55
56
|
ListAlertsCommand: () => ListAlertsCommand,
|
|
56
57
|
ListChannelsCommand: () => ListChannelsCommand,
|
|
57
58
|
ListLiveSourcesCommand: () => ListLiveSourcesCommand,
|
|
@@ -304,6 +305,10 @@ var OriginManifestType = {
|
|
|
304
305
|
MULTI_PERIOD: "MULTI_PERIOD",
|
|
305
306
|
SINGLE_PERIOD: "SINGLE_PERIOD"
|
|
306
307
|
};
|
|
308
|
+
var InsertionMode = {
|
|
309
|
+
PLAYER_SELECT: "PLAYER_SELECT",
|
|
310
|
+
STITCHED_ONLY: "STITCHED_ONLY"
|
|
311
|
+
};
|
|
307
312
|
var ScheduleEntryType = {
|
|
308
313
|
ALTERNATE_MEDIA: "ALTERNATE_MEDIA",
|
|
309
314
|
FILLER_SLATE: "FILLER_SLATE",
|
|
@@ -801,6 +806,7 @@ var se_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
801
806
|
CdnConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
802
807
|
ConfigurationAliases: (_) => (0, import_smithy_client._json)(_),
|
|
803
808
|
DashConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
809
|
+
InsertionMode: [],
|
|
804
810
|
LivePreRollConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
805
811
|
ManifestProcessingRules: (_) => (0, import_smithy_client._json)(_),
|
|
806
812
|
Name: [],
|
|
@@ -1354,6 +1360,7 @@ var de_GetPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1354
1360
|
ConfigurationAliases: import_smithy_client._json,
|
|
1355
1361
|
DashConfiguration: import_smithy_client._json,
|
|
1356
1362
|
HlsConfiguration: import_smithy_client._json,
|
|
1363
|
+
InsertionMode: import_smithy_client.expectString,
|
|
1357
1364
|
LivePreRollConfiguration: import_smithy_client._json,
|
|
1358
1365
|
LogConfiguration: import_smithy_client._json,
|
|
1359
1366
|
ManifestProcessingRules: import_smithy_client._json,
|
|
@@ -1534,6 +1541,7 @@ var de_PutPlaybackConfigurationCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1534
1541
|
ConfigurationAliases: import_smithy_client._json,
|
|
1535
1542
|
DashConfiguration: import_smithy_client._json,
|
|
1536
1543
|
HlsConfiguration: import_smithy_client._json,
|
|
1544
|
+
InsertionMode: import_smithy_client.expectString,
|
|
1537
1545
|
LivePreRollConfiguration: import_smithy_client._json,
|
|
1538
1546
|
LogConfiguration: import_smithy_client._json,
|
|
1539
1547
|
ManifestProcessingRules: import_smithy_client._json,
|
|
@@ -1849,6 +1857,7 @@ var de_PlaybackConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
1849
1857
|
ConfigurationAliases: import_smithy_client._json,
|
|
1850
1858
|
DashConfiguration: import_smithy_client._json,
|
|
1851
1859
|
HlsConfiguration: import_smithy_client._json,
|
|
1860
|
+
InsertionMode: import_smithy_client.expectString,
|
|
1852
1861
|
LivePreRollConfiguration: import_smithy_client._json,
|
|
1853
1862
|
LogConfiguration: import_smithy_client._json,
|
|
1854
1863
|
ManifestProcessingRules: import_smithy_client._json,
|
|
@@ -2850,6 +2859,7 @@ var paginateListVodSources = (0, import_core.createPaginator)(MediaTailorClient,
|
|
|
2850
2859
|
FillPolicy,
|
|
2851
2860
|
Mode,
|
|
2852
2861
|
OriginManifestType,
|
|
2862
|
+
InsertionMode,
|
|
2853
2863
|
ScheduleEntryType,
|
|
2854
2864
|
AccessType,
|
|
2855
2865
|
BadRequestException,
|
|
@@ -35,6 +35,10 @@ export const OriginManifestType = {
|
|
|
35
35
|
MULTI_PERIOD: "MULTI_PERIOD",
|
|
36
36
|
SINGLE_PERIOD: "SINGLE_PERIOD",
|
|
37
37
|
};
|
|
38
|
+
export const InsertionMode = {
|
|
39
|
+
PLAYER_SELECT: "PLAYER_SELECT",
|
|
40
|
+
STITCHED_ONLY: "STITCHED_ONLY",
|
|
41
|
+
};
|
|
38
42
|
export const ScheduleEntryType = {
|
|
39
43
|
ALTERNATE_MEDIA: "ALTERNATE_MEDIA",
|
|
40
44
|
FILLER_SLATE: "FILLER_SLATE",
|
|
@@ -433,6 +433,7 @@ export const se_PutPlaybackConfigurationCommand = async (input, context) => {
|
|
|
433
433
|
CdnConfiguration: (_) => _json(_),
|
|
434
434
|
ConfigurationAliases: (_) => _json(_),
|
|
435
435
|
DashConfiguration: (_) => _json(_),
|
|
436
|
+
InsertionMode: [],
|
|
436
437
|
LivePreRollConfiguration: (_) => _json(_),
|
|
437
438
|
ManifestProcessingRules: (_) => _json(_),
|
|
438
439
|
Name: [],
|
|
@@ -973,6 +974,7 @@ export const de_GetPlaybackConfigurationCommand = async (output, context) => {
|
|
|
973
974
|
ConfigurationAliases: _json,
|
|
974
975
|
DashConfiguration: _json,
|
|
975
976
|
HlsConfiguration: _json,
|
|
977
|
+
InsertionMode: __expectString,
|
|
976
978
|
LivePreRollConfiguration: _json,
|
|
977
979
|
LogConfiguration: _json,
|
|
978
980
|
ManifestProcessingRules: _json,
|
|
@@ -1153,6 +1155,7 @@ export const de_PutPlaybackConfigurationCommand = async (output, context) => {
|
|
|
1153
1155
|
ConfigurationAliases: _json,
|
|
1154
1156
|
DashConfiguration: _json,
|
|
1155
1157
|
HlsConfiguration: _json,
|
|
1158
|
+
InsertionMode: __expectString,
|
|
1156
1159
|
LivePreRollConfiguration: _json,
|
|
1157
1160
|
LogConfiguration: _json,
|
|
1158
1161
|
ManifestProcessingRules: _json,
|
|
@@ -1486,6 +1489,7 @@ const de_PlaybackConfiguration = (output, context) => {
|
|
|
1486
1489
|
ConfigurationAliases: _json,
|
|
1487
1490
|
DashConfiguration: _json,
|
|
1488
1491
|
HlsConfiguration: _json,
|
|
1492
|
+
InsertionMode: __expectString,
|
|
1489
1493
|
LivePreRollConfiguration: _json,
|
|
1490
1494
|
LogConfiguration: _json,
|
|
1491
1495
|
ManifestProcessingRules: _json,
|
|
@@ -66,6 +66,7 @@ declare const GetPlaybackConfigurationCommand_base: {
|
|
|
66
66
|
* // HlsConfiguration: { // HlsConfiguration
|
|
67
67
|
* // ManifestEndpointPrefix: "STRING_VALUE",
|
|
68
68
|
* // },
|
|
69
|
+
* // InsertionMode: "STITCHED_ONLY" || "PLAYER_SELECT",
|
|
69
70
|
* // LivePreRollConfiguration: { // LivePreRollConfiguration
|
|
70
71
|
* // AdDecisionServerUrl: "STRING_VALUE",
|
|
71
72
|
* // MaxDurationSeconds: Number("int"),
|
|
@@ -69,6 +69,7 @@ declare const ListPlaybackConfigurationsCommand_base: {
|
|
|
69
69
|
* // HlsConfiguration: { // HlsConfiguration
|
|
70
70
|
* // ManifestEndpointPrefix: "STRING_VALUE",
|
|
71
71
|
* // },
|
|
72
|
+
* // InsertionMode: "STITCHED_ONLY" || "PLAYER_SELECT",
|
|
72
73
|
* // LivePreRollConfiguration: { // LivePreRollConfiguration
|
|
73
74
|
* // AdDecisionServerUrl: "STRING_VALUE",
|
|
74
75
|
* // MaxDurationSeconds: Number("int"),
|
|
@@ -57,6 +57,7 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
57
57
|
* MpdLocation: "STRING_VALUE",
|
|
58
58
|
* OriginManifestType: "SINGLE_PERIOD" || "MULTI_PERIOD",
|
|
59
59
|
* },
|
|
60
|
+
* InsertionMode: "STITCHED_ONLY" || "PLAYER_SELECT",
|
|
60
61
|
* LivePreRollConfiguration: { // LivePreRollConfiguration
|
|
61
62
|
* AdDecisionServerUrl: "STRING_VALUE",
|
|
62
63
|
* MaxDurationSeconds: Number("int"),
|
|
@@ -105,6 +106,7 @@ declare const PutPlaybackConfigurationCommand_base: {
|
|
|
105
106
|
* // HlsConfiguration: { // HlsConfiguration
|
|
106
107
|
* // ManifestEndpointPrefix: "STRING_VALUE",
|
|
107
108
|
* // },
|
|
109
|
+
* // InsertionMode: "STITCHED_ONLY" || "PLAYER_SELECT",
|
|
108
110
|
* // LivePreRollConfiguration: { // LivePreRollConfiguration
|
|
109
111
|
* // AdDecisionServerUrl: "STRING_VALUE",
|
|
110
112
|
* // MaxDurationSeconds: Number("int"),
|
|
@@ -697,6 +697,18 @@ export interface HlsConfiguration {
|
|
|
697
697
|
*/
|
|
698
698
|
ManifestEndpointPrefix?: string;
|
|
699
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* @public
|
|
702
|
+
* @enum
|
|
703
|
+
*/
|
|
704
|
+
export declare const InsertionMode: {
|
|
705
|
+
readonly PLAYER_SELECT: "PLAYER_SELECT";
|
|
706
|
+
readonly STITCHED_ONLY: "STITCHED_ONLY";
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export type InsertionMode = (typeof InsertionMode)[keyof typeof InsertionMode];
|
|
700
712
|
/**
|
|
701
713
|
* <p>The configuration for pre-roll ad insertion.</p>
|
|
702
714
|
* @public
|
|
@@ -790,6 +802,11 @@ export interface PlaybackConfiguration {
|
|
|
790
802
|
* @public
|
|
791
803
|
*/
|
|
792
804
|
HlsConfiguration?: HlsConfiguration;
|
|
805
|
+
/**
|
|
806
|
+
* <p>The setting that controls whether players can use stitched or guided ad insertion. The default, <code>STITCHED_ONLY</code>, forces all player sessions to use stitched (server-side) ad insertion. Choosing <code>PLAYER_SELECT</code> allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.</p>
|
|
807
|
+
* @public
|
|
808
|
+
*/
|
|
809
|
+
InsertionMode?: InsertionMode;
|
|
793
810
|
/**
|
|
794
811
|
* <p>The configuration for pre-roll ad insertion.</p>
|
|
795
812
|
* @public
|
|
@@ -2892,6 +2909,11 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
2892
2909
|
* @public
|
|
2893
2910
|
*/
|
|
2894
2911
|
HlsConfiguration?: HlsConfiguration;
|
|
2912
|
+
/**
|
|
2913
|
+
* <p>The setting that controls whether players can use stitched or guided ad insertion. The default, <code>STITCHED_ONLY</code>, forces all player sessions to use stitched (server-side) ad insertion. Choosing <code>PLAYER_SELECT</code> allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.</p>
|
|
2914
|
+
* @public
|
|
2915
|
+
*/
|
|
2916
|
+
InsertionMode?: InsertionMode;
|
|
2895
2917
|
/**
|
|
2896
2918
|
* <p>The configuration for pre-roll ad insertion.</p>
|
|
2897
2919
|
* @public
|
|
@@ -3325,6 +3347,11 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
3325
3347
|
* @public
|
|
3326
3348
|
*/
|
|
3327
3349
|
DashConfiguration?: DashConfigurationForPut;
|
|
3350
|
+
/**
|
|
3351
|
+
* <p>The setting that controls whether players can use stitched or guided ad insertion. The default, <code>STITCHED_ONLY</code>, forces all player sessions to use stitched (server-side) ad insertion. Choosing <code>PLAYER_SELECT</code> allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.</p>
|
|
3352
|
+
* @public
|
|
3353
|
+
*/
|
|
3354
|
+
InsertionMode?: InsertionMode;
|
|
3328
3355
|
/**
|
|
3329
3356
|
* <p>The configuration for pre-roll ad insertion.</p>
|
|
3330
3357
|
* @public
|
|
@@ -3405,6 +3432,11 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
3405
3432
|
* @public
|
|
3406
3433
|
*/
|
|
3407
3434
|
HlsConfiguration?: HlsConfiguration;
|
|
3435
|
+
/**
|
|
3436
|
+
* <p>The setting that controls whether players can use stitched or guided ad insertion. The default, <code>STITCHED_ONLY</code>, forces all player sessions to use stitched (server-side) ad insertion. Choosing <code>PLAYER_SELECT</code> allows players to select either stitched or guided ad insertion at session-initialization time. The default for players that do not specify an insertion mode is stitched.</p>
|
|
3437
|
+
* @public
|
|
3438
|
+
*/
|
|
3439
|
+
InsertionMode?: InsertionMode;
|
|
3408
3440
|
/**
|
|
3409
3441
|
* <p>The configuration for pre-roll ad insertion.</p>
|
|
3410
3442
|
* @public
|
|
@@ -179,6 +179,11 @@ export interface DashConfiguration {
|
|
|
179
179
|
export interface HlsConfiguration {
|
|
180
180
|
ManifestEndpointPrefix?: string;
|
|
181
181
|
}
|
|
182
|
+
export declare const InsertionMode: {
|
|
183
|
+
readonly PLAYER_SELECT: "PLAYER_SELECT";
|
|
184
|
+
readonly STITCHED_ONLY: "STITCHED_ONLY";
|
|
185
|
+
};
|
|
186
|
+
export type InsertionMode = (typeof InsertionMode)[keyof typeof InsertionMode];
|
|
182
187
|
export interface LivePreRollConfiguration {
|
|
183
188
|
AdDecisionServerUrl?: string;
|
|
184
189
|
MaxDurationSeconds?: number;
|
|
@@ -200,6 +205,7 @@ export interface PlaybackConfiguration {
|
|
|
200
205
|
ConfigurationAliases?: Record<string, Record<string, string>>;
|
|
201
206
|
DashConfiguration?: DashConfiguration;
|
|
202
207
|
HlsConfiguration?: HlsConfiguration;
|
|
208
|
+
InsertionMode?: InsertionMode;
|
|
203
209
|
LivePreRollConfiguration?: LivePreRollConfiguration;
|
|
204
210
|
LogConfiguration?: LogConfiguration;
|
|
205
211
|
ManifestProcessingRules?: ManifestProcessingRules;
|
|
@@ -698,6 +704,7 @@ export interface GetPlaybackConfigurationResponse {
|
|
|
698
704
|
ConfigurationAliases?: Record<string, Record<string, string>>;
|
|
699
705
|
DashConfiguration?: DashConfiguration;
|
|
700
706
|
HlsConfiguration?: HlsConfiguration;
|
|
707
|
+
InsertionMode?: InsertionMode;
|
|
701
708
|
LivePreRollConfiguration?: LivePreRollConfiguration;
|
|
702
709
|
LogConfiguration?: LogConfiguration;
|
|
703
710
|
ManifestProcessingRules?: ManifestProcessingRules;
|
|
@@ -803,6 +810,7 @@ export interface PutPlaybackConfigurationRequest {
|
|
|
803
810
|
CdnConfiguration?: CdnConfiguration;
|
|
804
811
|
ConfigurationAliases?: Record<string, Record<string, string>>;
|
|
805
812
|
DashConfiguration?: DashConfigurationForPut;
|
|
813
|
+
InsertionMode?: InsertionMode;
|
|
806
814
|
LivePreRollConfiguration?: LivePreRollConfiguration;
|
|
807
815
|
ManifestProcessingRules?: ManifestProcessingRules;
|
|
808
816
|
Name: string | undefined;
|
|
@@ -820,6 +828,7 @@ export interface PutPlaybackConfigurationResponse {
|
|
|
820
828
|
ConfigurationAliases?: Record<string, Record<string, string>>;
|
|
821
829
|
DashConfiguration?: DashConfiguration;
|
|
822
830
|
HlsConfiguration?: HlsConfiguration;
|
|
831
|
+
InsertionMode?: InsertionMode;
|
|
823
832
|
LivePreRollConfiguration?: LivePreRollConfiguration;
|
|
824
833
|
LogConfiguration?: LogConfiguration;
|
|
825
834
|
ManifestProcessingRules?: ManifestProcessingRules;
|
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.555.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediatailor",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.554.0",
|
|
24
|
+
"@aws-sdk/core": "3.554.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.554.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|