@aws-sdk/client-mediatailor 3.363.0 → 3.368.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.
@@ -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",
@@ -9,6 +9,10 @@ export const Operator = {
9
9
  export const LogType = {
10
10
  AS_RUN: "AS_RUN",
11
11
  };
12
+ export const AdMarkupType = {
13
+ DATERANGE: "DATERANGE",
14
+ SCTE35_ENHANCED: "SCTE35_ENHANCED",
15
+ };
12
16
  export const Type = {
13
17
  DASH: "DASH",
14
18
  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.363.0",
4
+ "version": "3.368.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",