@aws-sdk/client-mediapackage-vod 3.301.0 → 3.306.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.
@@ -2,69 +2,59 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.EncryptionMethod = exports.SegmentTemplateFormat = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.AdMarkers = exports.StreamOrder = exports.ScteMarkersSource = exports.Profile = exports.ManifestLayout = exports.__PeriodTriggersElement = void 0;
4
4
  const MediaPackageVodServiceException_1 = require("./MediaPackageVodServiceException");
5
- var __PeriodTriggersElement;
6
- (function (__PeriodTriggersElement) {
7
- __PeriodTriggersElement["ADS"] = "ADS";
8
- })(__PeriodTriggersElement = exports.__PeriodTriggersElement || (exports.__PeriodTriggersElement = {}));
9
- var ManifestLayout;
10
- (function (ManifestLayout) {
11
- ManifestLayout["COMPACT"] = "COMPACT";
12
- ManifestLayout["FULL"] = "FULL";
13
- })(ManifestLayout = exports.ManifestLayout || (exports.ManifestLayout = {}));
14
- var Profile;
15
- (function (Profile) {
16
- Profile["HBBTV_1_5"] = "HBBTV_1_5";
17
- Profile["NONE"] = "NONE";
18
- })(Profile = exports.Profile || (exports.Profile = {}));
19
- var ScteMarkersSource;
20
- (function (ScteMarkersSource) {
21
- ScteMarkersSource["MANIFEST"] = "MANIFEST";
22
- ScteMarkersSource["SEGMENTS"] = "SEGMENTS";
23
- })(ScteMarkersSource = exports.ScteMarkersSource || (exports.ScteMarkersSource = {}));
24
- var StreamOrder;
25
- (function (StreamOrder) {
26
- StreamOrder["ORIGINAL"] = "ORIGINAL";
27
- StreamOrder["VIDEO_BITRATE_ASCENDING"] = "VIDEO_BITRATE_ASCENDING";
28
- StreamOrder["VIDEO_BITRATE_DESCENDING"] = "VIDEO_BITRATE_DESCENDING";
29
- })(StreamOrder = exports.StreamOrder || (exports.StreamOrder = {}));
30
- var AdMarkers;
31
- (function (AdMarkers) {
32
- AdMarkers["NONE"] = "NONE";
33
- AdMarkers["PASSTHROUGH"] = "PASSTHROUGH";
34
- AdMarkers["SCTE35_ENHANCED"] = "SCTE35_ENHANCED";
35
- })(AdMarkers = exports.AdMarkers || (exports.AdMarkers = {}));
36
- var PresetSpeke20Audio;
37
- (function (PresetSpeke20Audio) {
38
- PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
39
- PresetSpeke20Audio["PRESET_AUDIO_2"] = "PRESET-AUDIO-2";
40
- PresetSpeke20Audio["PRESET_AUDIO_3"] = "PRESET-AUDIO-3";
41
- PresetSpeke20Audio["SHARED"] = "SHARED";
42
- PresetSpeke20Audio["UNENCRYPTED"] = "UNENCRYPTED";
43
- })(PresetSpeke20Audio = exports.PresetSpeke20Audio || (exports.PresetSpeke20Audio = {}));
44
- var PresetSpeke20Video;
45
- (function (PresetSpeke20Video) {
46
- PresetSpeke20Video["PRESET_VIDEO_1"] = "PRESET-VIDEO-1";
47
- PresetSpeke20Video["PRESET_VIDEO_2"] = "PRESET-VIDEO-2";
48
- PresetSpeke20Video["PRESET_VIDEO_3"] = "PRESET-VIDEO-3";
49
- PresetSpeke20Video["PRESET_VIDEO_4"] = "PRESET-VIDEO-4";
50
- PresetSpeke20Video["PRESET_VIDEO_5"] = "PRESET-VIDEO-5";
51
- PresetSpeke20Video["PRESET_VIDEO_6"] = "PRESET-VIDEO-6";
52
- PresetSpeke20Video["PRESET_VIDEO_7"] = "PRESET-VIDEO-7";
53
- PresetSpeke20Video["PRESET_VIDEO_8"] = "PRESET-VIDEO-8";
54
- PresetSpeke20Video["SHARED"] = "SHARED";
55
- PresetSpeke20Video["UNENCRYPTED"] = "UNENCRYPTED";
56
- })(PresetSpeke20Video = exports.PresetSpeke20Video || (exports.PresetSpeke20Video = {}));
57
- var SegmentTemplateFormat;
58
- (function (SegmentTemplateFormat) {
59
- SegmentTemplateFormat["NUMBER_WITH_DURATION"] = "NUMBER_WITH_DURATION";
60
- SegmentTemplateFormat["NUMBER_WITH_TIMELINE"] = "NUMBER_WITH_TIMELINE";
61
- SegmentTemplateFormat["TIME_WITH_TIMELINE"] = "TIME_WITH_TIMELINE";
62
- })(SegmentTemplateFormat = exports.SegmentTemplateFormat || (exports.SegmentTemplateFormat = {}));
63
- var EncryptionMethod;
64
- (function (EncryptionMethod) {
65
- EncryptionMethod["AES_128"] = "AES_128";
66
- EncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
67
- })(EncryptionMethod = exports.EncryptionMethod || (exports.EncryptionMethod = {}));
5
+ exports.__PeriodTriggersElement = {
6
+ ADS: "ADS",
7
+ };
8
+ exports.ManifestLayout = {
9
+ COMPACT: "COMPACT",
10
+ FULL: "FULL",
11
+ };
12
+ exports.Profile = {
13
+ HBBTV_1_5: "HBBTV_1_5",
14
+ NONE: "NONE",
15
+ };
16
+ exports.ScteMarkersSource = {
17
+ MANIFEST: "MANIFEST",
18
+ SEGMENTS: "SEGMENTS",
19
+ };
20
+ exports.StreamOrder = {
21
+ ORIGINAL: "ORIGINAL",
22
+ VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING",
23
+ VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING",
24
+ };
25
+ exports.AdMarkers = {
26
+ NONE: "NONE",
27
+ PASSTHROUGH: "PASSTHROUGH",
28
+ SCTE35_ENHANCED: "SCTE35_ENHANCED",
29
+ };
30
+ exports.PresetSpeke20Audio = {
31
+ PRESET_AUDIO_1: "PRESET-AUDIO-1",
32
+ PRESET_AUDIO_2: "PRESET-AUDIO-2",
33
+ PRESET_AUDIO_3: "PRESET-AUDIO-3",
34
+ SHARED: "SHARED",
35
+ UNENCRYPTED: "UNENCRYPTED",
36
+ };
37
+ exports.PresetSpeke20Video = {
38
+ PRESET_VIDEO_1: "PRESET-VIDEO-1",
39
+ PRESET_VIDEO_2: "PRESET-VIDEO-2",
40
+ PRESET_VIDEO_3: "PRESET-VIDEO-3",
41
+ PRESET_VIDEO_4: "PRESET-VIDEO-4",
42
+ PRESET_VIDEO_5: "PRESET-VIDEO-5",
43
+ PRESET_VIDEO_6: "PRESET-VIDEO-6",
44
+ PRESET_VIDEO_7: "PRESET-VIDEO-7",
45
+ PRESET_VIDEO_8: "PRESET-VIDEO-8",
46
+ SHARED: "SHARED",
47
+ UNENCRYPTED: "UNENCRYPTED",
48
+ };
49
+ exports.SegmentTemplateFormat = {
50
+ NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION",
51
+ NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE",
52
+ TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE",
53
+ };
54
+ exports.EncryptionMethod = {
55
+ AES_128: "AES_128",
56
+ SAMPLE_AES: "SAMPLE_AES",
57
+ };
68
58
  class ForbiddenException extends MediaPackageVodServiceException_1.MediaPackageVodServiceException {
69
59
  constructor(opts) {
70
60
  super({
@@ -1,67 +1,57 @@
1
1
  import { MediaPackageVodServiceException as __BaseException } from "./MediaPackageVodServiceException";
2
- export var __PeriodTriggersElement;
3
- (function (__PeriodTriggersElement) {
4
- __PeriodTriggersElement["ADS"] = "ADS";
5
- })(__PeriodTriggersElement || (__PeriodTriggersElement = {}));
6
- export var ManifestLayout;
7
- (function (ManifestLayout) {
8
- ManifestLayout["COMPACT"] = "COMPACT";
9
- ManifestLayout["FULL"] = "FULL";
10
- })(ManifestLayout || (ManifestLayout = {}));
11
- export var Profile;
12
- (function (Profile) {
13
- Profile["HBBTV_1_5"] = "HBBTV_1_5";
14
- Profile["NONE"] = "NONE";
15
- })(Profile || (Profile = {}));
16
- export var ScteMarkersSource;
17
- (function (ScteMarkersSource) {
18
- ScteMarkersSource["MANIFEST"] = "MANIFEST";
19
- ScteMarkersSource["SEGMENTS"] = "SEGMENTS";
20
- })(ScteMarkersSource || (ScteMarkersSource = {}));
21
- export var StreamOrder;
22
- (function (StreamOrder) {
23
- StreamOrder["ORIGINAL"] = "ORIGINAL";
24
- StreamOrder["VIDEO_BITRATE_ASCENDING"] = "VIDEO_BITRATE_ASCENDING";
25
- StreamOrder["VIDEO_BITRATE_DESCENDING"] = "VIDEO_BITRATE_DESCENDING";
26
- })(StreamOrder || (StreamOrder = {}));
27
- export var AdMarkers;
28
- (function (AdMarkers) {
29
- AdMarkers["NONE"] = "NONE";
30
- AdMarkers["PASSTHROUGH"] = "PASSTHROUGH";
31
- AdMarkers["SCTE35_ENHANCED"] = "SCTE35_ENHANCED";
32
- })(AdMarkers || (AdMarkers = {}));
33
- export var PresetSpeke20Audio;
34
- (function (PresetSpeke20Audio) {
35
- PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
36
- PresetSpeke20Audio["PRESET_AUDIO_2"] = "PRESET-AUDIO-2";
37
- PresetSpeke20Audio["PRESET_AUDIO_3"] = "PRESET-AUDIO-3";
38
- PresetSpeke20Audio["SHARED"] = "SHARED";
39
- PresetSpeke20Audio["UNENCRYPTED"] = "UNENCRYPTED";
40
- })(PresetSpeke20Audio || (PresetSpeke20Audio = {}));
41
- export var PresetSpeke20Video;
42
- (function (PresetSpeke20Video) {
43
- PresetSpeke20Video["PRESET_VIDEO_1"] = "PRESET-VIDEO-1";
44
- PresetSpeke20Video["PRESET_VIDEO_2"] = "PRESET-VIDEO-2";
45
- PresetSpeke20Video["PRESET_VIDEO_3"] = "PRESET-VIDEO-3";
46
- PresetSpeke20Video["PRESET_VIDEO_4"] = "PRESET-VIDEO-4";
47
- PresetSpeke20Video["PRESET_VIDEO_5"] = "PRESET-VIDEO-5";
48
- PresetSpeke20Video["PRESET_VIDEO_6"] = "PRESET-VIDEO-6";
49
- PresetSpeke20Video["PRESET_VIDEO_7"] = "PRESET-VIDEO-7";
50
- PresetSpeke20Video["PRESET_VIDEO_8"] = "PRESET-VIDEO-8";
51
- PresetSpeke20Video["SHARED"] = "SHARED";
52
- PresetSpeke20Video["UNENCRYPTED"] = "UNENCRYPTED";
53
- })(PresetSpeke20Video || (PresetSpeke20Video = {}));
54
- export var SegmentTemplateFormat;
55
- (function (SegmentTemplateFormat) {
56
- SegmentTemplateFormat["NUMBER_WITH_DURATION"] = "NUMBER_WITH_DURATION";
57
- SegmentTemplateFormat["NUMBER_WITH_TIMELINE"] = "NUMBER_WITH_TIMELINE";
58
- SegmentTemplateFormat["TIME_WITH_TIMELINE"] = "TIME_WITH_TIMELINE";
59
- })(SegmentTemplateFormat || (SegmentTemplateFormat = {}));
60
- export var EncryptionMethod;
61
- (function (EncryptionMethod) {
62
- EncryptionMethod["AES_128"] = "AES_128";
63
- EncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
64
- })(EncryptionMethod || (EncryptionMethod = {}));
2
+ export const __PeriodTriggersElement = {
3
+ ADS: "ADS",
4
+ };
5
+ export const ManifestLayout = {
6
+ COMPACT: "COMPACT",
7
+ FULL: "FULL",
8
+ };
9
+ export const Profile = {
10
+ HBBTV_1_5: "HBBTV_1_5",
11
+ NONE: "NONE",
12
+ };
13
+ export const ScteMarkersSource = {
14
+ MANIFEST: "MANIFEST",
15
+ SEGMENTS: "SEGMENTS",
16
+ };
17
+ export const StreamOrder = {
18
+ ORIGINAL: "ORIGINAL",
19
+ VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING",
20
+ VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING",
21
+ };
22
+ export const AdMarkers = {
23
+ NONE: "NONE",
24
+ PASSTHROUGH: "PASSTHROUGH",
25
+ SCTE35_ENHANCED: "SCTE35_ENHANCED",
26
+ };
27
+ export const PresetSpeke20Audio = {
28
+ PRESET_AUDIO_1: "PRESET-AUDIO-1",
29
+ PRESET_AUDIO_2: "PRESET-AUDIO-2",
30
+ PRESET_AUDIO_3: "PRESET-AUDIO-3",
31
+ SHARED: "SHARED",
32
+ UNENCRYPTED: "UNENCRYPTED",
33
+ };
34
+ export const PresetSpeke20Video = {
35
+ PRESET_VIDEO_1: "PRESET-VIDEO-1",
36
+ PRESET_VIDEO_2: "PRESET-VIDEO-2",
37
+ PRESET_VIDEO_3: "PRESET-VIDEO-3",
38
+ PRESET_VIDEO_4: "PRESET-VIDEO-4",
39
+ PRESET_VIDEO_5: "PRESET-VIDEO-5",
40
+ PRESET_VIDEO_6: "PRESET-VIDEO-6",
41
+ PRESET_VIDEO_7: "PRESET-VIDEO-7",
42
+ PRESET_VIDEO_8: "PRESET-VIDEO-8",
43
+ SHARED: "SHARED",
44
+ UNENCRYPTED: "UNENCRYPTED",
45
+ };
46
+ export const SegmentTemplateFormat = {
47
+ NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION",
48
+ NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE",
49
+ TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE",
50
+ };
51
+ export const EncryptionMethod = {
52
+ AES_128: "AES_128",
53
+ SAMPLE_AES: "SAMPLE_AES",
54
+ };
65
55
  export class ForbiddenException extends __BaseException {
66
56
  constructor(opts) {
67
57
  super({
@@ -2,10 +2,15 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { MediaPackageVodServiceException as __BaseException } from "./MediaPackageVodServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum __PeriodTriggersElement {
7
- ADS = "ADS"
8
- }
7
+ export declare const __PeriodTriggersElement: {
8
+ readonly ADS: "ADS";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type __PeriodTriggersElement = (typeof __PeriodTriggersElement)[keyof typeof __PeriodTriggersElement];
9
14
  /**
10
15
  * @public
11
16
  * A MediaPackage VOD Asset resource.
@@ -46,33 +51,53 @@ export interface AssetShallow {
46
51
  }
47
52
  /**
48
53
  * @public
54
+ * @enum
49
55
  */
50
- export declare enum ManifestLayout {
51
- COMPACT = "COMPACT",
52
- FULL = "FULL"
53
- }
56
+ export declare const ManifestLayout: {
57
+ readonly COMPACT: "COMPACT";
58
+ readonly FULL: "FULL";
59
+ };
54
60
  /**
55
61
  * @public
56
62
  */
57
- export declare enum Profile {
58
- HBBTV_1_5 = "HBBTV_1_5",
59
- NONE = "NONE"
60
- }
63
+ export type ManifestLayout = (typeof ManifestLayout)[keyof typeof ManifestLayout];
61
64
  /**
62
65
  * @public
66
+ * @enum
63
67
  */
64
- export declare enum ScteMarkersSource {
65
- MANIFEST = "MANIFEST",
66
- SEGMENTS = "SEGMENTS"
67
- }
68
+ export declare const Profile: {
69
+ readonly HBBTV_1_5: "HBBTV_1_5";
70
+ readonly NONE: "NONE";
71
+ };
68
72
  /**
69
73
  * @public
70
74
  */
71
- export declare enum StreamOrder {
72
- ORIGINAL = "ORIGINAL",
73
- VIDEO_BITRATE_ASCENDING = "VIDEO_BITRATE_ASCENDING",
74
- VIDEO_BITRATE_DESCENDING = "VIDEO_BITRATE_DESCENDING"
75
- }
75
+ export type Profile = (typeof Profile)[keyof typeof Profile];
76
+ /**
77
+ * @public
78
+ * @enum
79
+ */
80
+ export declare const ScteMarkersSource: {
81
+ readonly MANIFEST: "MANIFEST";
82
+ readonly SEGMENTS: "SEGMENTS";
83
+ };
84
+ /**
85
+ * @public
86
+ */
87
+ export type ScteMarkersSource = (typeof ScteMarkersSource)[keyof typeof ScteMarkersSource];
88
+ /**
89
+ * @public
90
+ * @enum
91
+ */
92
+ export declare const StreamOrder: {
93
+ readonly ORIGINAL: "ORIGINAL";
94
+ readonly VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING";
95
+ readonly VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING";
96
+ };
97
+ /**
98
+ * @public
99
+ */
100
+ export type StreamOrder = (typeof StreamOrder)[keyof typeof StreamOrder];
76
101
  /**
77
102
  * @public
78
103
  * A StreamSelection configuration.
@@ -141,12 +166,17 @@ export interface EgressEndpoint {
141
166
  }
142
167
  /**
143
168
  * @public
169
+ * @enum
144
170
  */
145
- export declare enum AdMarkers {
146
- NONE = "NONE",
147
- PASSTHROUGH = "PASSTHROUGH",
148
- SCTE35_ENHANCED = "SCTE35_ENHANCED"
149
- }
171
+ export declare const AdMarkers: {
172
+ readonly NONE: "NONE";
173
+ readonly PASSTHROUGH: "PASSTHROUGH";
174
+ readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
175
+ };
176
+ /**
177
+ * @public
178
+ */
179
+ export type AdMarkers = (typeof AdMarkers)[keyof typeof AdMarkers];
150
180
  /**
151
181
  * @public
152
182
  * An HTTP Live Streaming (HLS) manifest configuration.
@@ -206,29 +236,39 @@ export interface MssManifest {
206
236
  }
207
237
  /**
208
238
  * @public
239
+ * @enum
209
240
  */
210
- export declare enum PresetSpeke20Audio {
211
- PRESET_AUDIO_1 = "PRESET-AUDIO-1",
212
- PRESET_AUDIO_2 = "PRESET-AUDIO-2",
213
- PRESET_AUDIO_3 = "PRESET-AUDIO-3",
214
- SHARED = "SHARED",
215
- UNENCRYPTED = "UNENCRYPTED"
216
- }
241
+ export declare const PresetSpeke20Audio: {
242
+ readonly PRESET_AUDIO_1: "PRESET-AUDIO-1";
243
+ readonly PRESET_AUDIO_2: "PRESET-AUDIO-2";
244
+ readonly PRESET_AUDIO_3: "PRESET-AUDIO-3";
245
+ readonly SHARED: "SHARED";
246
+ readonly UNENCRYPTED: "UNENCRYPTED";
247
+ };
217
248
  /**
218
249
  * @public
219
250
  */
220
- export declare enum PresetSpeke20Video {
221
- PRESET_VIDEO_1 = "PRESET-VIDEO-1",
222
- PRESET_VIDEO_2 = "PRESET-VIDEO-2",
223
- PRESET_VIDEO_3 = "PRESET-VIDEO-3",
224
- PRESET_VIDEO_4 = "PRESET-VIDEO-4",
225
- PRESET_VIDEO_5 = "PRESET-VIDEO-5",
226
- PRESET_VIDEO_6 = "PRESET-VIDEO-6",
227
- PRESET_VIDEO_7 = "PRESET-VIDEO-7",
228
- PRESET_VIDEO_8 = "PRESET-VIDEO-8",
229
- SHARED = "SHARED",
230
- UNENCRYPTED = "UNENCRYPTED"
231
- }
251
+ export type PresetSpeke20Audio = (typeof PresetSpeke20Audio)[keyof typeof PresetSpeke20Audio];
252
+ /**
253
+ * @public
254
+ * @enum
255
+ */
256
+ export declare const PresetSpeke20Video: {
257
+ readonly PRESET_VIDEO_1: "PRESET-VIDEO-1";
258
+ readonly PRESET_VIDEO_2: "PRESET-VIDEO-2";
259
+ readonly PRESET_VIDEO_3: "PRESET-VIDEO-3";
260
+ readonly PRESET_VIDEO_4: "PRESET-VIDEO-4";
261
+ readonly PRESET_VIDEO_5: "PRESET-VIDEO-5";
262
+ readonly PRESET_VIDEO_6: "PRESET-VIDEO-6";
263
+ readonly PRESET_VIDEO_7: "PRESET-VIDEO-7";
264
+ readonly PRESET_VIDEO_8: "PRESET-VIDEO-8";
265
+ readonly SHARED: "SHARED";
266
+ readonly UNENCRYPTED: "UNENCRYPTED";
267
+ };
268
+ /**
269
+ * @public
270
+ */
271
+ export type PresetSpeke20Video = (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
232
272
  /**
233
273
  * @public
234
274
  * Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0.
@@ -325,12 +365,17 @@ export interface DashEncryption {
325
365
  }
326
366
  /**
327
367
  * @public
368
+ * @enum
328
369
  */
329
- export declare enum SegmentTemplateFormat {
330
- NUMBER_WITH_DURATION = "NUMBER_WITH_DURATION",
331
- NUMBER_WITH_TIMELINE = "NUMBER_WITH_TIMELINE",
332
- TIME_WITH_TIMELINE = "TIME_WITH_TIMELINE"
333
- }
370
+ export declare const SegmentTemplateFormat: {
371
+ readonly NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION";
372
+ readonly NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE";
373
+ readonly TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE";
374
+ };
375
+ /**
376
+ * @public
377
+ */
378
+ export type SegmentTemplateFormat = (typeof SegmentTemplateFormat)[keyof typeof SegmentTemplateFormat];
334
379
  /**
335
380
  * @public
336
381
  * A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
@@ -371,11 +416,16 @@ export interface DashPackage {
371
416
  }
372
417
  /**
373
418
  * @public
419
+ * @enum
374
420
  */
375
- export declare enum EncryptionMethod {
376
- AES_128 = "AES_128",
377
- SAMPLE_AES = "SAMPLE_AES"
378
- }
421
+ export declare const EncryptionMethod: {
422
+ readonly AES_128: "AES_128";
423
+ readonly SAMPLE_AES: "SAMPLE_AES";
424
+ };
425
+ /**
426
+ * @public
427
+ */
428
+ export type EncryptionMethod = (typeof EncryptionMethod)[keyof typeof EncryptionMethod];
379
429
  /**
380
430
  * @public
381
431
  * An HTTP Live Streaming (HLS) encryption configuration.
@@ -1,8 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { MediaPackageVodServiceException as __BaseException } from "./MediaPackageVodServiceException";
3
- export declare enum __PeriodTriggersElement {
4
- ADS = "ADS",
5
- }
3
+ export declare const __PeriodTriggersElement: {
4
+ readonly ADS: "ADS";
5
+ };
6
+ export type __PeriodTriggersElement =
7
+ (typeof __PeriodTriggersElement)[keyof typeof __PeriodTriggersElement];
6
8
  export interface AssetShallow {
7
9
  Arn?: string;
8
10
  CreatedAt?: string;
@@ -13,23 +15,29 @@ export interface AssetShallow {
13
15
  SourceRoleArn?: string;
14
16
  Tags?: Record<string, string>;
15
17
  }
16
- export declare enum ManifestLayout {
17
- COMPACT = "COMPACT",
18
- FULL = "FULL",
19
- }
20
- export declare enum Profile {
21
- HBBTV_1_5 = "HBBTV_1_5",
22
- NONE = "NONE",
23
- }
24
- export declare enum ScteMarkersSource {
25
- MANIFEST = "MANIFEST",
26
- SEGMENTS = "SEGMENTS",
27
- }
28
- export declare enum StreamOrder {
29
- ORIGINAL = "ORIGINAL",
30
- VIDEO_BITRATE_ASCENDING = "VIDEO_BITRATE_ASCENDING",
31
- VIDEO_BITRATE_DESCENDING = "VIDEO_BITRATE_DESCENDING",
32
- }
18
+ export declare const ManifestLayout: {
19
+ readonly COMPACT: "COMPACT";
20
+ readonly FULL: "FULL";
21
+ };
22
+ export type ManifestLayout =
23
+ (typeof ManifestLayout)[keyof typeof ManifestLayout];
24
+ export declare const Profile: {
25
+ readonly HBBTV_1_5: "HBBTV_1_5";
26
+ readonly NONE: "NONE";
27
+ };
28
+ export type Profile = (typeof Profile)[keyof typeof Profile];
29
+ export declare const ScteMarkersSource: {
30
+ readonly MANIFEST: "MANIFEST";
31
+ readonly SEGMENTS: "SEGMENTS";
32
+ };
33
+ export type ScteMarkersSource =
34
+ (typeof ScteMarkersSource)[keyof typeof ScteMarkersSource];
35
+ export declare const StreamOrder: {
36
+ readonly ORIGINAL: "ORIGINAL";
37
+ readonly VIDEO_BITRATE_ASCENDING: "VIDEO_BITRATE_ASCENDING";
38
+ readonly VIDEO_BITRATE_DESCENDING: "VIDEO_BITRATE_DESCENDING";
39
+ };
40
+ export type StreamOrder = (typeof StreamOrder)[keyof typeof StreamOrder];
33
41
  export interface StreamSelection {
34
42
  MaxVideoBitsPerSecond?: number;
35
43
  MinVideoBitsPerSecond?: number;
@@ -48,11 +56,12 @@ export interface EgressEndpoint {
48
56
  Status?: string;
49
57
  Url?: string;
50
58
  }
51
- export declare enum AdMarkers {
52
- NONE = "NONE",
53
- PASSTHROUGH = "PASSTHROUGH",
54
- SCTE35_ENHANCED = "SCTE35_ENHANCED",
55
- }
59
+ export declare const AdMarkers: {
60
+ readonly NONE: "NONE";
61
+ readonly PASSTHROUGH: "PASSTHROUGH";
62
+ readonly SCTE35_ENHANCED: "SCTE35_ENHANCED";
63
+ };
64
+ export type AdMarkers = (typeof AdMarkers)[keyof typeof AdMarkers];
56
65
  export interface HlsManifest {
57
66
  AdMarkers?: AdMarkers | string;
58
67
  IncludeIframeOnlyStream?: boolean;
@@ -65,25 +74,29 @@ export interface MssManifest {
65
74
  ManifestName?: string;
66
75
  StreamSelection?: StreamSelection;
67
76
  }
68
- export declare enum PresetSpeke20Audio {
69
- PRESET_AUDIO_1 = "PRESET-AUDIO-1",
70
- PRESET_AUDIO_2 = "PRESET-AUDIO-2",
71
- PRESET_AUDIO_3 = "PRESET-AUDIO-3",
72
- SHARED = "SHARED",
73
- UNENCRYPTED = "UNENCRYPTED",
74
- }
75
- export declare enum PresetSpeke20Video {
76
- PRESET_VIDEO_1 = "PRESET-VIDEO-1",
77
- PRESET_VIDEO_2 = "PRESET-VIDEO-2",
78
- PRESET_VIDEO_3 = "PRESET-VIDEO-3",
79
- PRESET_VIDEO_4 = "PRESET-VIDEO-4",
80
- PRESET_VIDEO_5 = "PRESET-VIDEO-5",
81
- PRESET_VIDEO_6 = "PRESET-VIDEO-6",
82
- PRESET_VIDEO_7 = "PRESET-VIDEO-7",
83
- PRESET_VIDEO_8 = "PRESET-VIDEO-8",
84
- SHARED = "SHARED",
85
- UNENCRYPTED = "UNENCRYPTED",
86
- }
77
+ export declare const PresetSpeke20Audio: {
78
+ readonly PRESET_AUDIO_1: "PRESET-AUDIO-1";
79
+ readonly PRESET_AUDIO_2: "PRESET-AUDIO-2";
80
+ readonly PRESET_AUDIO_3: "PRESET-AUDIO-3";
81
+ readonly SHARED: "SHARED";
82
+ readonly UNENCRYPTED: "UNENCRYPTED";
83
+ };
84
+ export type PresetSpeke20Audio =
85
+ (typeof PresetSpeke20Audio)[keyof typeof PresetSpeke20Audio];
86
+ export declare const PresetSpeke20Video: {
87
+ readonly PRESET_VIDEO_1: "PRESET-VIDEO-1";
88
+ readonly PRESET_VIDEO_2: "PRESET-VIDEO-2";
89
+ readonly PRESET_VIDEO_3: "PRESET-VIDEO-3";
90
+ readonly PRESET_VIDEO_4: "PRESET-VIDEO-4";
91
+ readonly PRESET_VIDEO_5: "PRESET-VIDEO-5";
92
+ readonly PRESET_VIDEO_6: "PRESET-VIDEO-6";
93
+ readonly PRESET_VIDEO_7: "PRESET-VIDEO-7";
94
+ readonly PRESET_VIDEO_8: "PRESET-VIDEO-8";
95
+ readonly SHARED: "SHARED";
96
+ readonly UNENCRYPTED: "UNENCRYPTED";
97
+ };
98
+ export type PresetSpeke20Video =
99
+ (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
87
100
  export interface EncryptionContractConfiguration {
88
101
  PresetSpeke20Audio: PresetSpeke20Audio | string | undefined;
89
102
  PresetSpeke20Video: PresetSpeke20Video | string | undefined;
@@ -107,11 +120,13 @@ export interface CmafPackage {
107
120
  export interface DashEncryption {
108
121
  SpekeKeyProvider: SpekeKeyProvider | undefined;
109
122
  }
110
- export declare enum SegmentTemplateFormat {
111
- NUMBER_WITH_DURATION = "NUMBER_WITH_DURATION",
112
- NUMBER_WITH_TIMELINE = "NUMBER_WITH_TIMELINE",
113
- TIME_WITH_TIMELINE = "TIME_WITH_TIMELINE",
114
- }
123
+ export declare const SegmentTemplateFormat: {
124
+ readonly NUMBER_WITH_DURATION: "NUMBER_WITH_DURATION";
125
+ readonly NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE";
126
+ readonly TIME_WITH_TIMELINE: "TIME_WITH_TIMELINE";
127
+ };
128
+ export type SegmentTemplateFormat =
129
+ (typeof SegmentTemplateFormat)[keyof typeof SegmentTemplateFormat];
115
130
  export interface DashPackage {
116
131
  DashManifests: DashManifest[] | undefined;
117
132
  Encryption?: DashEncryption;
@@ -121,10 +136,12 @@ export interface DashPackage {
121
136
  SegmentDurationSeconds?: number;
122
137
  SegmentTemplateFormat?: SegmentTemplateFormat | string;
123
138
  }
124
- export declare enum EncryptionMethod {
125
- AES_128 = "AES_128",
126
- SAMPLE_AES = "SAMPLE_AES",
127
- }
139
+ export declare const EncryptionMethod: {
140
+ readonly AES_128: "AES_128";
141
+ readonly SAMPLE_AES: "SAMPLE_AES";
142
+ };
143
+ export type EncryptionMethod =
144
+ (typeof EncryptionMethod)[keyof typeof EncryptionMethod];
128
145
  export interface HlsEncryption {
129
146
  ConstantInitializationVector?: string;
130
147
  EncryptionMethod?: EncryptionMethod | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackage-vod",
3
3
  "description": "AWS SDK for JavaScript Mediapackage Vod Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.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,42 +21,42 @@
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",