@aws-sdk/client-mediapackage-vod 3.428.0 → 3.429.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.
@@ -125,7 +125,7 @@ export interface StreamSelection {
125
125
  * @public
126
126
  * A directive that determines the order of streams in the output.
127
127
  */
128
- StreamOrder?: StreamOrder | string;
128
+ StreamOrder?: StreamOrder;
129
129
  }
130
130
  /**
131
131
  * @public
@@ -136,7 +136,7 @@ export interface DashManifest {
136
136
  * @public
137
137
  * Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level.
138
138
  */
139
- ManifestLayout?: ManifestLayout | string;
139
+ ManifestLayout?: ManifestLayout;
140
140
  /**
141
141
  * @public
142
142
  * An optional string to include in the name of the manifest.
@@ -151,12 +151,12 @@ export interface DashManifest {
151
151
  * @public
152
152
  * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
153
153
  */
154
- Profile?: Profile | string;
154
+ Profile?: Profile;
155
155
  /**
156
156
  * @public
157
157
  * The source of scte markers used. When set to SEGMENTS, the scte markers are sourced from the segments of the ingested content. When set to MANIFEST, the scte markers are sourced from the manifest of the ingested content.
158
158
  */
159
- ScteMarkersSource?: ScteMarkersSource | string;
159
+ ScteMarkersSource?: ScteMarkersSource;
160
160
  /**
161
161
  * @public
162
162
  * A StreamSelection configuration.
@@ -211,7 +211,7 @@ export interface HlsManifest {
211
211
  * "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35
212
212
  * messages in the input source.
213
213
  */
214
- AdMarkers?: AdMarkers | string;
214
+ AdMarkers?: AdMarkers;
215
215
  /**
216
216
  * @public
217
217
  * When enabled, an I-Frame only stream will be included in the output.
@@ -311,12 +311,12 @@ export interface EncryptionContractConfiguration {
311
311
  * @public
312
312
  * A collection of audio encryption presets.
313
313
  */
314
- PresetSpeke20Audio: PresetSpeke20Audio | string | undefined;
314
+ PresetSpeke20Audio: PresetSpeke20Audio | undefined;
315
315
  /**
316
316
  * @public
317
317
  * A collection of video encryption presets.
318
318
  */
319
- PresetSpeke20Video: PresetSpeke20Video | string | undefined;
319
+ PresetSpeke20Video: PresetSpeke20Video | undefined;
320
320
  }
321
321
  /**
322
322
  * @public
@@ -449,7 +449,7 @@ export interface DashPackage {
449
449
  * be partitioned into more than one period. If the list contains "ADS", new periods will be created where
450
450
  * the Asset contains SCTE-35 ad markers.
451
451
  */
452
- PeriodTriggers?: (__PeriodTriggersElement | string)[];
452
+ PeriodTriggers?: __PeriodTriggersElement[];
453
453
  /**
454
454
  * @public
455
455
  * Duration (in seconds) of each segment. Actual segments will be
@@ -460,7 +460,7 @@ export interface DashPackage {
460
460
  * @public
461
461
  * Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.
462
462
  */
463
- SegmentTemplateFormat?: SegmentTemplateFormat | string;
463
+ SegmentTemplateFormat?: SegmentTemplateFormat;
464
464
  }
465
465
  /**
466
466
  * @public
@@ -489,7 +489,7 @@ export interface HlsEncryption {
489
489
  * @public
490
490
  * The encryption method to use.
491
491
  */
492
- EncryptionMethod?: EncryptionMethod | string;
492
+ EncryptionMethod?: EncryptionMethod;
493
493
  /**
494
494
  * @public
495
495
  * A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
@@ -41,14 +41,14 @@ export type StreamOrder = (typeof StreamOrder)[keyof typeof StreamOrder];
41
41
  export interface StreamSelection {
42
42
  MaxVideoBitsPerSecond?: number;
43
43
  MinVideoBitsPerSecond?: number;
44
- StreamOrder?: StreamOrder | string;
44
+ StreamOrder?: StreamOrder;
45
45
  }
46
46
  export interface DashManifest {
47
- ManifestLayout?: ManifestLayout | string;
47
+ ManifestLayout?: ManifestLayout;
48
48
  ManifestName?: string;
49
49
  MinBufferTimeSeconds?: number;
50
- Profile?: Profile | string;
51
- ScteMarkersSource?: ScteMarkersSource | string;
50
+ Profile?: Profile;
51
+ ScteMarkersSource?: ScteMarkersSource;
52
52
  StreamSelection?: StreamSelection;
53
53
  }
54
54
  export interface EgressEndpoint {
@@ -63,7 +63,7 @@ export declare const AdMarkers: {
63
63
  };
64
64
  export type AdMarkers = (typeof AdMarkers)[keyof typeof AdMarkers];
65
65
  export interface HlsManifest {
66
- AdMarkers?: AdMarkers | string;
66
+ AdMarkers?: AdMarkers;
67
67
  IncludeIframeOnlyStream?: boolean;
68
68
  ManifestName?: string;
69
69
  ProgramDateTimeIntervalSeconds?: number;
@@ -98,8 +98,8 @@ export declare const PresetSpeke20Video: {
98
98
  export type PresetSpeke20Video =
99
99
  (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
100
100
  export interface EncryptionContractConfiguration {
101
- PresetSpeke20Audio: PresetSpeke20Audio | string | undefined;
102
- PresetSpeke20Video: PresetSpeke20Video | string | undefined;
101
+ PresetSpeke20Audio: PresetSpeke20Audio | undefined;
102
+ PresetSpeke20Video: PresetSpeke20Video | undefined;
103
103
  }
104
104
  export interface SpekeKeyProvider {
105
105
  EncryptionContractConfiguration?: EncryptionContractConfiguration;
@@ -132,9 +132,9 @@ export interface DashPackage {
132
132
  Encryption?: DashEncryption;
133
133
  IncludeEncoderConfigurationInSegments?: boolean;
134
134
  IncludeIframeOnlyStream?: boolean;
135
- PeriodTriggers?: (__PeriodTriggersElement | string)[];
135
+ PeriodTriggers?: __PeriodTriggersElement[];
136
136
  SegmentDurationSeconds?: number;
137
- SegmentTemplateFormat?: SegmentTemplateFormat | string;
137
+ SegmentTemplateFormat?: SegmentTemplateFormat;
138
138
  }
139
139
  export declare const EncryptionMethod: {
140
140
  readonly AES_128: "AES_128";
@@ -144,7 +144,7 @@ export type EncryptionMethod =
144
144
  (typeof EncryptionMethod)[keyof typeof EncryptionMethod];
145
145
  export interface HlsEncryption {
146
146
  ConstantInitializationVector?: string;
147
- EncryptionMethod?: EncryptionMethod | string;
147
+ EncryptionMethod?: EncryptionMethod;
148
148
  SpekeKeyProvider: SpekeKeyProvider | undefined;
149
149
  }
150
150
  export interface HlsPackage {
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.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",