@aws-sdk/client-mediapackage 3.131.0 → 3.132.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/CHANGELOG.md +11 -0
- package/dist-cjs/models/models_0.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -1
- package/dist-types/models/models_0.d.ts +19 -2
- package/dist-types/ts3.4/models/models_0.d.ts +17 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.132.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.131.0...v3.132.0) (2022-07-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-mediapackage:** This release adds "IncludeIframeOnlyStream" for Dash endpoints and increases the number of supported video and audio encryption presets for Speke v2 ([1af0368](https://github.com/aws/aws-sdk-js-v3/commit/1af0368f117fcf8c5bc43659183aec028b2ecc8e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
@@ -107,10 +107,23 @@ var Authorization;
|
|
|
107
107
|
var PresetSpeke20Audio;
|
|
108
108
|
(function (PresetSpeke20Audio) {
|
|
109
109
|
PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
|
|
110
|
+
PresetSpeke20Audio["PRESET_AUDIO_2"] = "PRESET-AUDIO-2";
|
|
111
|
+
PresetSpeke20Audio["PRESET_AUDIO_3"] = "PRESET-AUDIO-3";
|
|
112
|
+
PresetSpeke20Audio["SHARED"] = "SHARED";
|
|
113
|
+
PresetSpeke20Audio["UNENCRYPTED"] = "UNENCRYPTED";
|
|
110
114
|
})(PresetSpeke20Audio = exports.PresetSpeke20Audio || (exports.PresetSpeke20Audio = {}));
|
|
111
115
|
var PresetSpeke20Video;
|
|
112
116
|
(function (PresetSpeke20Video) {
|
|
113
117
|
PresetSpeke20Video["PRESET_VIDEO_1"] = "PRESET-VIDEO-1";
|
|
118
|
+
PresetSpeke20Video["PRESET_VIDEO_2"] = "PRESET-VIDEO-2";
|
|
119
|
+
PresetSpeke20Video["PRESET_VIDEO_3"] = "PRESET-VIDEO-3";
|
|
120
|
+
PresetSpeke20Video["PRESET_VIDEO_4"] = "PRESET-VIDEO-4";
|
|
121
|
+
PresetSpeke20Video["PRESET_VIDEO_5"] = "PRESET-VIDEO-5";
|
|
122
|
+
PresetSpeke20Video["PRESET_VIDEO_6"] = "PRESET-VIDEO-6";
|
|
123
|
+
PresetSpeke20Video["PRESET_VIDEO_7"] = "PRESET-VIDEO-7";
|
|
124
|
+
PresetSpeke20Video["PRESET_VIDEO_8"] = "PRESET-VIDEO-8";
|
|
125
|
+
PresetSpeke20Video["SHARED"] = "SHARED";
|
|
126
|
+
PresetSpeke20Video["UNENCRYPTED"] = "UNENCRYPTED";
|
|
114
127
|
})(PresetSpeke20Video = exports.PresetSpeke20Video || (exports.PresetSpeke20Video = {}));
|
|
115
128
|
var EncryptionContractConfiguration;
|
|
116
129
|
(function (EncryptionContractConfiguration) {
|
|
@@ -2054,6 +2054,7 @@ const serializeAws_restJson1DashPackage = (input, context) => {
|
|
|
2054
2054
|
...(input.AdTriggers != null && { adTriggers: serializeAws_restJson1AdTriggers(input.AdTriggers, context) }),
|
|
2055
2055
|
...(input.AdsOnDeliveryRestrictions != null && { adsOnDeliveryRestrictions: input.AdsOnDeliveryRestrictions }),
|
|
2056
2056
|
...(input.Encryption != null && { encryption: serializeAws_restJson1DashEncryption(input.Encryption, context) }),
|
|
2057
|
+
...(input.IncludeIframeOnlyStream != null && { includeIframeOnlyStream: input.IncludeIframeOnlyStream }),
|
|
2057
2058
|
...(input.ManifestLayout != null && { manifestLayout: input.ManifestLayout }),
|
|
2058
2059
|
...(input.ManifestWindowSeconds != null && { manifestWindowSeconds: input.ManifestWindowSeconds }),
|
|
2059
2060
|
...(input.MinBufferTimeSeconds != null && { minBufferTimeSeconds: input.MinBufferTimeSeconds }),
|
|
@@ -2347,6 +2348,7 @@ const deserializeAws_restJson1DashPackage = (output, context) => {
|
|
|
2347
2348
|
AdTriggers: output.adTriggers != null ? deserializeAws_restJson1AdTriggers(output.adTriggers, context) : undefined,
|
|
2348
2349
|
AdsOnDeliveryRestrictions: (0, smithy_client_1.expectString)(output.adsOnDeliveryRestrictions),
|
|
2349
2350
|
Encryption: output.encryption != null ? deserializeAws_restJson1DashEncryption(output.encryption, context) : undefined,
|
|
2351
|
+
IncludeIframeOnlyStream: (0, smithy_client_1.expectBoolean)(output.includeIframeOnlyStream),
|
|
2350
2352
|
ManifestLayout: (0, smithy_client_1.expectString)(output.manifestLayout),
|
|
2351
2353
|
ManifestWindowSeconds: (0, smithy_client_1.expectInt32)(output.manifestWindowSeconds),
|
|
2352
2354
|
MinBufferTimeSeconds: (0, smithy_client_1.expectInt32)(output.minBufferTimeSeconds),
|
|
@@ -84,10 +84,23 @@ export var Authorization;
|
|
|
84
84
|
export var PresetSpeke20Audio;
|
|
85
85
|
(function (PresetSpeke20Audio) {
|
|
86
86
|
PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
|
|
87
|
+
PresetSpeke20Audio["PRESET_AUDIO_2"] = "PRESET-AUDIO-2";
|
|
88
|
+
PresetSpeke20Audio["PRESET_AUDIO_3"] = "PRESET-AUDIO-3";
|
|
89
|
+
PresetSpeke20Audio["SHARED"] = "SHARED";
|
|
90
|
+
PresetSpeke20Audio["UNENCRYPTED"] = "UNENCRYPTED";
|
|
87
91
|
})(PresetSpeke20Audio || (PresetSpeke20Audio = {}));
|
|
88
92
|
export var PresetSpeke20Video;
|
|
89
93
|
(function (PresetSpeke20Video) {
|
|
90
94
|
PresetSpeke20Video["PRESET_VIDEO_1"] = "PRESET-VIDEO-1";
|
|
95
|
+
PresetSpeke20Video["PRESET_VIDEO_2"] = "PRESET-VIDEO-2";
|
|
96
|
+
PresetSpeke20Video["PRESET_VIDEO_3"] = "PRESET-VIDEO-3";
|
|
97
|
+
PresetSpeke20Video["PRESET_VIDEO_4"] = "PRESET-VIDEO-4";
|
|
98
|
+
PresetSpeke20Video["PRESET_VIDEO_5"] = "PRESET-VIDEO-5";
|
|
99
|
+
PresetSpeke20Video["PRESET_VIDEO_6"] = "PRESET-VIDEO-6";
|
|
100
|
+
PresetSpeke20Video["PRESET_VIDEO_7"] = "PRESET-VIDEO-7";
|
|
101
|
+
PresetSpeke20Video["PRESET_VIDEO_8"] = "PRESET-VIDEO-8";
|
|
102
|
+
PresetSpeke20Video["SHARED"] = "SHARED";
|
|
103
|
+
PresetSpeke20Video["UNENCRYPTED"] = "UNENCRYPTED";
|
|
91
104
|
})(PresetSpeke20Video || (PresetSpeke20Video = {}));
|
|
92
105
|
export var EncryptionContractConfiguration;
|
|
93
106
|
(function (EncryptionContractConfiguration) {
|
|
@@ -2495,7 +2495,7 @@ var serializeAws_restJson1DashEncryption = function (input, context) {
|
|
|
2495
2495
|
}));
|
|
2496
2496
|
};
|
|
2497
2497
|
var serializeAws_restJson1DashPackage = function (input, context) {
|
|
2498
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdTriggers != null && { adTriggers: serializeAws_restJson1AdTriggers(input.AdTriggers, context) })), (input.AdsOnDeliveryRestrictions != null && { adsOnDeliveryRestrictions: input.AdsOnDeliveryRestrictions })), (input.Encryption != null && { encryption: serializeAws_restJson1DashEncryption(input.Encryption, context) })), (input.ManifestLayout != null && { manifestLayout: input.ManifestLayout })), (input.ManifestWindowSeconds != null && { manifestWindowSeconds: input.ManifestWindowSeconds })), (input.MinBufferTimeSeconds != null && { minBufferTimeSeconds: input.MinBufferTimeSeconds })), (input.MinUpdatePeriodSeconds != null && { minUpdatePeriodSeconds: input.MinUpdatePeriodSeconds })), (input.PeriodTriggers != null && {
|
|
2498
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdTriggers != null && { adTriggers: serializeAws_restJson1AdTriggers(input.AdTriggers, context) })), (input.AdsOnDeliveryRestrictions != null && { adsOnDeliveryRestrictions: input.AdsOnDeliveryRestrictions })), (input.Encryption != null && { encryption: serializeAws_restJson1DashEncryption(input.Encryption, context) })), (input.IncludeIframeOnlyStream != null && { includeIframeOnlyStream: input.IncludeIframeOnlyStream })), (input.ManifestLayout != null && { manifestLayout: input.ManifestLayout })), (input.ManifestWindowSeconds != null && { manifestWindowSeconds: input.ManifestWindowSeconds })), (input.MinBufferTimeSeconds != null && { minBufferTimeSeconds: input.MinBufferTimeSeconds })), (input.MinUpdatePeriodSeconds != null && { minUpdatePeriodSeconds: input.MinUpdatePeriodSeconds })), (input.PeriodTriggers != null && {
|
|
2499
2499
|
periodTriggers: serializeAws_restJson1__listOf__PeriodTriggersElement(input.PeriodTriggers, context),
|
|
2500
2500
|
})), (input.Profile != null && { profile: input.Profile })), (input.SegmentDurationSeconds != null && { segmentDurationSeconds: input.SegmentDurationSeconds })), (input.SegmentTemplateFormat != null && { segmentTemplateFormat: input.SegmentTemplateFormat })), (input.StreamSelection != null && {
|
|
2501
2501
|
streamSelection: serializeAws_restJson1StreamSelection(input.StreamSelection, context),
|
|
@@ -2716,6 +2716,7 @@ var deserializeAws_restJson1DashPackage = function (output, context) {
|
|
|
2716
2716
|
AdTriggers: output.adTriggers != null ? deserializeAws_restJson1AdTriggers(output.adTriggers, context) : undefined,
|
|
2717
2717
|
AdsOnDeliveryRestrictions: __expectString(output.adsOnDeliveryRestrictions),
|
|
2718
2718
|
Encryption: output.encryption != null ? deserializeAws_restJson1DashEncryption(output.encryption, context) : undefined,
|
|
2719
|
+
IncludeIframeOnlyStream: __expectBoolean(output.includeIframeOnlyStream),
|
|
2719
2720
|
ManifestLayout: __expectString(output.manifestLayout),
|
|
2720
2721
|
ManifestWindowSeconds: __expectInt32(output.manifestWindowSeconds),
|
|
2721
2722
|
MinBufferTimeSeconds: __expectInt32(output.minBufferTimeSeconds),
|
|
@@ -375,10 +375,23 @@ export declare namespace Authorization {
|
|
|
375
375
|
const filterSensitiveLog: (obj: Authorization) => any;
|
|
376
376
|
}
|
|
377
377
|
export declare enum PresetSpeke20Audio {
|
|
378
|
-
PRESET_AUDIO_1 = "PRESET-AUDIO-1"
|
|
378
|
+
PRESET_AUDIO_1 = "PRESET-AUDIO-1",
|
|
379
|
+
PRESET_AUDIO_2 = "PRESET-AUDIO-2",
|
|
380
|
+
PRESET_AUDIO_3 = "PRESET-AUDIO-3",
|
|
381
|
+
SHARED = "SHARED",
|
|
382
|
+
UNENCRYPTED = "UNENCRYPTED"
|
|
379
383
|
}
|
|
380
384
|
export declare enum PresetSpeke20Video {
|
|
381
|
-
PRESET_VIDEO_1 = "PRESET-VIDEO-1"
|
|
385
|
+
PRESET_VIDEO_1 = "PRESET-VIDEO-1",
|
|
386
|
+
PRESET_VIDEO_2 = "PRESET-VIDEO-2",
|
|
387
|
+
PRESET_VIDEO_3 = "PRESET-VIDEO-3",
|
|
388
|
+
PRESET_VIDEO_4 = "PRESET-VIDEO-4",
|
|
389
|
+
PRESET_VIDEO_5 = "PRESET-VIDEO-5",
|
|
390
|
+
PRESET_VIDEO_6 = "PRESET-VIDEO-6",
|
|
391
|
+
PRESET_VIDEO_7 = "PRESET-VIDEO-7",
|
|
392
|
+
PRESET_VIDEO_8 = "PRESET-VIDEO-8",
|
|
393
|
+
SHARED = "SHARED",
|
|
394
|
+
UNENCRYPTED = "UNENCRYPTED"
|
|
382
395
|
}
|
|
383
396
|
/**
|
|
384
397
|
* Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0.
|
|
@@ -595,6 +608,10 @@ export interface DashPackage {
|
|
|
595
608
|
* A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
|
|
596
609
|
*/
|
|
597
610
|
Encryption?: DashEncryption;
|
|
611
|
+
/**
|
|
612
|
+
* When enabled, an I-Frame only stream will be included in the output.
|
|
613
|
+
*/
|
|
614
|
+
IncludeIframeOnlyStream?: boolean;
|
|
598
615
|
/**
|
|
599
616
|
* 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.
|
|
600
617
|
*/
|
|
@@ -196,10 +196,23 @@ export declare namespace Authorization {
|
|
|
196
196
|
const filterSensitiveLog: (obj: Authorization) => any;
|
|
197
197
|
}
|
|
198
198
|
export declare enum PresetSpeke20Audio {
|
|
199
|
-
PRESET_AUDIO_1 = "PRESET-AUDIO-1"
|
|
199
|
+
PRESET_AUDIO_1 = "PRESET-AUDIO-1",
|
|
200
|
+
PRESET_AUDIO_2 = "PRESET-AUDIO-2",
|
|
201
|
+
PRESET_AUDIO_3 = "PRESET-AUDIO-3",
|
|
202
|
+
SHARED = "SHARED",
|
|
203
|
+
UNENCRYPTED = "UNENCRYPTED"
|
|
200
204
|
}
|
|
201
205
|
export declare enum PresetSpeke20Video {
|
|
202
|
-
PRESET_VIDEO_1 = "PRESET-VIDEO-1"
|
|
206
|
+
PRESET_VIDEO_1 = "PRESET-VIDEO-1",
|
|
207
|
+
PRESET_VIDEO_2 = "PRESET-VIDEO-2",
|
|
208
|
+
PRESET_VIDEO_3 = "PRESET-VIDEO-3",
|
|
209
|
+
PRESET_VIDEO_4 = "PRESET-VIDEO-4",
|
|
210
|
+
PRESET_VIDEO_5 = "PRESET-VIDEO-5",
|
|
211
|
+
PRESET_VIDEO_6 = "PRESET-VIDEO-6",
|
|
212
|
+
PRESET_VIDEO_7 = "PRESET-VIDEO-7",
|
|
213
|
+
PRESET_VIDEO_8 = "PRESET-VIDEO-8",
|
|
214
|
+
SHARED = "SHARED",
|
|
215
|
+
UNENCRYPTED = "UNENCRYPTED"
|
|
203
216
|
}
|
|
204
217
|
|
|
205
218
|
export interface EncryptionContractConfiguration {
|
|
@@ -320,6 +333,8 @@ export interface DashPackage {
|
|
|
320
333
|
|
|
321
334
|
Encryption?: DashEncryption;
|
|
322
335
|
|
|
336
|
+
IncludeIframeOnlyStream?: boolean;
|
|
337
|
+
|
|
323
338
|
ManifestLayout?: ManifestLayout | string;
|
|
324
339
|
|
|
325
340
|
ManifestWindowSeconds?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.132.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",
|