@aws-sdk/client-mediatailor 3.363.0 → 3.369.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/models/models_0.js +5 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +6 -0
- package/dist-types/commands/CreateProgramCommand.d.ts +12 -0
- package/dist-types/commands/DescribeChannelCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProgramCommand.d.ts +6 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +6 -0
- package/dist-types/commands/UpdateProgramCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +13 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.FillPolicy = exports.Type = exports.LogType = exports.Operator = exports.MessageType = void 0;
|
|
3
|
+
exports.RelativePosition = exports.ChannelState = exports.Tier = exports.PlaybackMode = exports.BadRequestException = exports.AccessType = exports.ScheduleEntryType = exports.OriginManifestType = exports.Mode = exports.FillPolicy = exports.Type = exports.AdMarkupType = exports.LogType = exports.Operator = exports.MessageType = void 0;
|
|
4
4
|
const MediaTailorServiceException_1 = require("./MediaTailorServiceException");
|
|
5
5
|
exports.MessageType = {
|
|
6
6
|
SPLICE_INSERT: "SPLICE_INSERT",
|
|
@@ -12,6 +12,10 @@ exports.Operator = {
|
|
|
12
12
|
exports.LogType = {
|
|
13
13
|
AS_RUN: "AS_RUN",
|
|
14
14
|
};
|
|
15
|
+
exports.AdMarkupType = {
|
|
16
|
+
DATERANGE: "DATERANGE",
|
|
17
|
+
SCTE35_ENHANCED: "SCTE35_ENHANCED",
|
|
18
|
+
};
|
|
15
19
|
exports.Type = {
|
|
16
20
|
DASH: "DASH",
|
|
17
21
|
HLS: "HLS",
|
|
@@ -46,6 +46,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
46
46
|
* },
|
|
47
47
|
* HlsPlaylistSettings: { // HlsPlaylistSettings
|
|
48
48
|
* ManifestWindowSeconds: Number("int"),
|
|
49
|
+
* AdMarkupType: [ // adMarkupTypes
|
|
50
|
+
* "DATERANGE" || "SCTE35_ENHANCED",
|
|
51
|
+
* ],
|
|
49
52
|
* },
|
|
50
53
|
* ManifestName: "STRING_VALUE", // required
|
|
51
54
|
* SourceGroup: "STRING_VALUE", // required
|
|
@@ -79,6 +82,9 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
79
82
|
* // },
|
|
80
83
|
* // HlsPlaylistSettings: { // HlsPlaylistSettings
|
|
81
84
|
* // ManifestWindowSeconds: Number("int"),
|
|
85
|
+
* // AdMarkupType: [ // adMarkupTypes
|
|
86
|
+
* // "DATERANGE" || "SCTE35_ENHANCED",
|
|
87
|
+
* // ],
|
|
82
88
|
* // },
|
|
83
89
|
* // ManifestName: "STRING_VALUE", // required
|
|
84
90
|
* // PlaybackUrl: "STRING_VALUE", // required
|
|
@@ -59,6 +59,12 @@ export interface CreateProgramCommandOutput extends CreateProgramResponse, __Met
|
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
61
|
* },
|
|
62
|
+
* AdBreakMetadata: [ // AdBreakMetadataList
|
|
63
|
+
* { // KeyValuePair
|
|
64
|
+
* Key: "STRING_VALUE", // required
|
|
65
|
+
* Value: "STRING_VALUE", // required
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
62
68
|
* },
|
|
63
69
|
* ],
|
|
64
70
|
* ChannelName: "STRING_VALUE", // required
|
|
@@ -110,6 +116,12 @@ export interface CreateProgramCommandOutput extends CreateProgramResponse, __Met
|
|
|
110
116
|
* // },
|
|
111
117
|
* // ],
|
|
112
118
|
* // },
|
|
119
|
+
* // AdBreakMetadata: [ // AdBreakMetadataList
|
|
120
|
+
* // { // KeyValuePair
|
|
121
|
+
* // Key: "STRING_VALUE", // required
|
|
122
|
+
* // Value: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
113
125
|
* // },
|
|
114
126
|
* // ],
|
|
115
127
|
* // Arn: "STRING_VALUE",
|
|
@@ -55,6 +55,9 @@ export interface DescribeChannelCommandOutput extends DescribeChannelResponse, _
|
|
|
55
55
|
* // },
|
|
56
56
|
* // HlsPlaylistSettings: { // HlsPlaylistSettings
|
|
57
57
|
* // ManifestWindowSeconds: Number("int"),
|
|
58
|
+
* // AdMarkupType: [ // adMarkupTypes
|
|
59
|
+
* // "DATERANGE" || "SCTE35_ENHANCED",
|
|
60
|
+
* // ],
|
|
58
61
|
* // },
|
|
59
62
|
* // ManifestName: "STRING_VALUE", // required
|
|
60
63
|
* // PlaybackUrl: "STRING_VALUE", // required
|
|
@@ -65,6 +65,12 @@ export interface DescribeProgramCommandOutput extends DescribeProgramResponse, _
|
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
67
|
* // },
|
|
68
|
+
* // AdBreakMetadata: [ // AdBreakMetadataList
|
|
69
|
+
* // { // KeyValuePair
|
|
70
|
+
* // Key: "STRING_VALUE", // required
|
|
71
|
+
* // Value: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
68
74
|
* // },
|
|
69
75
|
* // ],
|
|
70
76
|
* // Arn: "STRING_VALUE",
|
|
@@ -58,6 +58,9 @@ export interface ListChannelsCommandOutput extends ListChannelsResponse, __Metad
|
|
|
58
58
|
* // },
|
|
59
59
|
* // HlsPlaylistSettings: { // HlsPlaylistSettings
|
|
60
60
|
* // ManifestWindowSeconds: Number("int"),
|
|
61
|
+
* // AdMarkupType: [ // adMarkupTypes
|
|
62
|
+
* // "DATERANGE" || "SCTE35_ENHANCED",
|
|
63
|
+
* // ],
|
|
61
64
|
* // },
|
|
62
65
|
* // ManifestName: "STRING_VALUE", // required
|
|
63
66
|
* // PlaybackUrl: "STRING_VALUE", // required
|
|
@@ -46,6 +46,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
|
|
|
46
46
|
* },
|
|
47
47
|
* HlsPlaylistSettings: { // HlsPlaylistSettings
|
|
48
48
|
* ManifestWindowSeconds: Number("int"),
|
|
49
|
+
* AdMarkupType: [ // adMarkupTypes
|
|
50
|
+
* "DATERANGE" || "SCTE35_ENHANCED",
|
|
51
|
+
* ],
|
|
49
52
|
* },
|
|
50
53
|
* ManifestName: "STRING_VALUE", // required
|
|
51
54
|
* SourceGroup: "STRING_VALUE", // required
|
|
@@ -74,6 +77,9 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
|
|
|
74
77
|
* // },
|
|
75
78
|
* // HlsPlaylistSettings: { // HlsPlaylistSettings
|
|
76
79
|
* // ManifestWindowSeconds: Number("int"),
|
|
80
|
+
* // AdMarkupType: [ // adMarkupTypes
|
|
81
|
+
* // "DATERANGE" || "SCTE35_ENHANCED",
|
|
82
|
+
* // ],
|
|
77
83
|
* // },
|
|
78
84
|
* // ManifestName: "STRING_VALUE", // required
|
|
79
85
|
* // PlaybackUrl: "STRING_VALUE", // required
|
|
@@ -59,6 +59,12 @@ export interface UpdateProgramCommandOutput extends UpdateProgramResponse, __Met
|
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
61
|
* },
|
|
62
|
+
* AdBreakMetadata: [ // AdBreakMetadataList
|
|
63
|
+
* { // KeyValuePair
|
|
64
|
+
* Key: "STRING_VALUE", // required
|
|
65
|
+
* Value: "STRING_VALUE", // required
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
62
68
|
* },
|
|
63
69
|
* ],
|
|
64
70
|
* ChannelName: "STRING_VALUE", // required
|
|
@@ -104,6 +110,12 @@ export interface UpdateProgramCommandOutput extends UpdateProgramResponse, __Met
|
|
|
104
110
|
* // },
|
|
105
111
|
* // ],
|
|
106
112
|
* // },
|
|
113
|
+
* // AdBreakMetadata: [ // AdBreakMetadataList
|
|
114
|
+
* // { // KeyValuePair
|
|
115
|
+
* // Key: "STRING_VALUE", // required
|
|
116
|
+
* // Value: "STRING_VALUE", // required
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
107
119
|
* // },
|
|
108
120
|
* // ],
|
|
109
121
|
* // Arn: "STRING_VALUE",
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* <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>
|
|
6
|
+
*/
|
|
7
|
+
export interface KeyValuePair {
|
|
8
|
+
/**
|
|
9
|
+
* <p>For <code>SCTE35_ENHANCED</code> output, defines a key. MediaTailor takes this key, and its associated value, and generates the key/value pair within the <code>EXT-X-ASSET</code>tag. If you specify a key, you must also specify a corresponding value.</p>
|
|
10
|
+
*/
|
|
11
|
+
Key: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>For <code>SCTE35_ENHANCED</code> output, defines a vaue. MediaTailor; takes this value, and its associated key, and generates the key/value pair within the <code>EXT-X-ASSET</code>tag. If you specify a value, you must also specify a corresponding key.</p>
|
|
14
|
+
*/
|
|
15
|
+
Value: string | undefined;
|
|
16
|
+
}
|
|
3
17
|
/**
|
|
4
18
|
* @public
|
|
5
19
|
* @enum
|
|
@@ -128,6 +142,10 @@ export interface AdBreak {
|
|
|
128
142
|
* <p>See section 9.7.4 of the 2022 SCTE-35 specification for more information.</p>
|
|
129
143
|
*/
|
|
130
144
|
TimeSignalMessage?: TimeSignalMessage;
|
|
145
|
+
/**
|
|
146
|
+
* <p>Defines a list of key/value pairs that MediaTailor generates within the <code>EXT-X-ASSET</code>tag for <code>SCTE35_ENHANCED</code> output.</p>
|
|
147
|
+
*/
|
|
148
|
+
AdBreakMetadata?: KeyValuePair[];
|
|
131
149
|
}
|
|
132
150
|
/**
|
|
133
151
|
* @public
|
|
@@ -226,6 +244,18 @@ export interface DashPlaylistSettings {
|
|
|
226
244
|
*/
|
|
227
245
|
SuggestedPresentationDelaySeconds?: number;
|
|
228
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
* @enum
|
|
250
|
+
*/
|
|
251
|
+
export declare const AdMarkupType: {
|
|
252
|
+
readonly DATERANGE: "DATERANGE";
|
|
253
|
+
readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
export type AdMarkupType = (typeof AdMarkupType)[keyof typeof AdMarkupType];
|
|
229
259
|
/**
|
|
230
260
|
* @public
|
|
231
261
|
* <p>HLS playlist configuration parameters.</p>
|
|
@@ -235,6 +265,10 @@ export interface HlsPlaylistSettings {
|
|
|
235
265
|
* <p>The total duration (in seconds) of each manifest. Minimum value: <code>30</code> seconds. Maximum value: <code>3600</code> seconds.</p>
|
|
236
266
|
*/
|
|
237
267
|
ManifestWindowSeconds?: number;
|
|
268
|
+
/**
|
|
269
|
+
* <p>Determines the type of SCTE 35 tags to use in ad markup. Specify <code>DATERANGE</code> to use <code>DATERANGE</code> tags (for live or VOD content). Specify <code>SCTE35_ENHANCED</code> to use <code>EXT-X-CUE-OUT</code> and <code>EXT-X-CUE-IN</code> tags (for VOD content only).</p>
|
|
270
|
+
*/
|
|
271
|
+
AdMarkupType?: (AdMarkupType | string)[];
|
|
238
272
|
}
|
|
239
273
|
/**
|
|
240
274
|
* @public
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { MediaTailorServiceException as __BaseException } from "./MediaTailorServiceException";
|
|
3
|
+
export interface KeyValuePair {
|
|
4
|
+
Key: string | undefined;
|
|
5
|
+
Value: string | undefined;
|
|
6
|
+
}
|
|
3
7
|
export declare const MessageType: {
|
|
4
8
|
readonly SPLICE_INSERT: "SPLICE_INSERT";
|
|
5
9
|
readonly TIME_SIGNAL: "TIME_SIGNAL";
|
|
@@ -34,6 +38,7 @@ export interface AdBreak {
|
|
|
34
38
|
Slate?: SlateSource;
|
|
35
39
|
SpliceInsertMessage?: SpliceInsertMessage;
|
|
36
40
|
TimeSignalMessage?: TimeSignalMessage;
|
|
41
|
+
AdBreakMetadata?: KeyValuePair[];
|
|
37
42
|
}
|
|
38
43
|
export interface Alert {
|
|
39
44
|
AlertCode: string | undefined;
|
|
@@ -63,8 +68,14 @@ export interface DashPlaylistSettings {
|
|
|
63
68
|
MinUpdatePeriodSeconds?: number;
|
|
64
69
|
SuggestedPresentationDelaySeconds?: number;
|
|
65
70
|
}
|
|
71
|
+
export declare const AdMarkupType: {
|
|
72
|
+
readonly DATERANGE: "DATERANGE";
|
|
73
|
+
readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
|
|
74
|
+
};
|
|
75
|
+
export type AdMarkupType = (typeof AdMarkupType)[keyof typeof AdMarkupType];
|
|
66
76
|
export interface HlsPlaylistSettings {
|
|
67
77
|
ManifestWindowSeconds?: number;
|
|
78
|
+
AdMarkupType?: (AdMarkupType | string)[];
|
|
68
79
|
}
|
|
69
80
|
export interface ResponseOutputItem {
|
|
70
81
|
DashPlaylistSettings?: DashPlaylistSettings;
|
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.369.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.369.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.369.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.369.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.369.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.369.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.369.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.369.0",
|
|
31
|
+
"@aws-sdk/types": "3.369.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.369.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.369.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.369.0",
|
|
35
35
|
"@smithy/config-resolver": "^1.0.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^1.0.1",
|
|
37
37
|
"@smithy/hash-node": "^1.0.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@smithy/node-http-handler": "^1.0.2",
|
|
46
46
|
"@smithy/protocol-http": "^1.0.1",
|
|
47
47
|
"@smithy/smithy-client": "^1.0.3",
|
|
48
|
-
"@smithy/types": "^1.
|
|
48
|
+
"@smithy/types": "^1.1.0",
|
|
49
49
|
"@smithy/url-parser": "^1.0.1",
|
|
50
50
|
"@smithy/util-base64": "^1.0.1",
|
|
51
51
|
"@smithy/util-body-length-browser": "^1.0.1",
|