@aws-sdk/client-mediapackage 3.162.0 → 3.165.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 +27 -0
- package/dist-cjs/models/models_0.js +7 -2
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -2
- package/dist-types/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.164.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.163.0...v3.164.0) (2022-09-02)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-mediapackage:** Added support for AES_CTR encryption to CMAF origin endpoints ([761dfd0](https://github.com/aws/aws-sdk-js-v3/commit/761dfd0ca9f3c7030ac9d1a8cf2321e79a772aec))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-mediapackage
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateOriginEndpointResponseFilterSensitiveLog = exports.UpdateOriginEndpointRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RotateIngestEndpointCredentialsResponseFilterSensitiveLog = exports.RotateIngestEndpointCredentialsRequestFilterSensitiveLog = exports.RotateChannelCredentialsResponseFilterSensitiveLog = exports.RotateChannelCredentialsRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListOriginEndpointsResponseFilterSensitiveLog = exports.ListOriginEndpointsRequestFilterSensitiveLog = exports.ListHarvestJobsResponseFilterSensitiveLog = exports.ListHarvestJobsRequestFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.DescribeOriginEndpointResponseFilterSensitiveLog = exports.DescribeOriginEndpointRequestFilterSensitiveLog = exports.DescribeHarvestJobResponseFilterSensitiveLog = exports.DescribeHarvestJobRequestFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.DescribeChannelRequestFilterSensitiveLog = exports.DeleteOriginEndpointResponseFilterSensitiveLog = exports.DeleteOriginEndpointRequestFilterSensitiveLog = exports.DeleteChannelResponseFilterSensitiveLog = exports.DeleteChannelRequestFilterSensitiveLog = exports.CreateOriginEndpointResponseFilterSensitiveLog = exports.CreateOriginEndpointRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.CreateHarvestJobRequestFilterSensitiveLog = exports.CreateChannelResponseFilterSensitiveLog = exports.CreateChannelRequestFilterSensitiveLog = exports.ConfigureLogsResponseFilterSensitiveLog = exports.ConfigureLogsRequestFilterSensitiveLog = exports.CmafPackageCreateOrUpdateParametersFilterSensitiveLog = exports.OriginEndpointFilterSensitiveLog = exports.MssPackageFilterSensitiveLog = exports.MssEncryptionFilterSensitiveLog = exports.HlsPackageFilterSensitiveLog = exports.HlsEncryptionFilterSensitiveLog = exports.DashPackageFilterSensitiveLog = exports.DashEncryptionFilterSensitiveLog = exports.CmafPackageFilterSensitiveLog = exports.StreamSelectionFilterSensitiveLog = exports.CmafEncryptionFilterSensitiveLog = exports.SpekeKeyProviderFilterSensitiveLog = exports.EncryptionContractConfigurationFilterSensitiveLog = exports.AuthorizationFilterSensitiveLog = exports.HlsManifestCreateOrUpdateParametersFilterSensitiveLog = exports.HlsManifestFilterSensitiveLog = exports.HarvestJobFilterSensitiveLog = exports.S3DestinationFilterSensitiveLog = exports.ChannelFilterSensitiveLog = exports.IngressAccessLogsFilterSensitiveLog = exports.HlsIngestFilterSensitiveLog = exports.IngestEndpointFilterSensitiveLog = exports.EgressAccessLogsFilterSensitiveLog = exports.UnprocessableEntityException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.Origination = exports.EncryptionMethod = exports.UtcTiming = exports.SegmentTemplateFormat = exports.Profile = exports.ManifestLayout = exports.StreamOrder = exports.PresetSpeke20Video = exports.PresetSpeke20Audio = exports.CmafEncryptionMethod = exports.PlaylistType = exports.AdsOnDeliveryRestrictions = exports.AdMarkers = exports.Status = exports.__PeriodTriggersElement = exports.__AdTriggersElement = void 0;
|
|
4
|
+
exports.UpdateOriginEndpointResponseFilterSensitiveLog = exports.UpdateOriginEndpointRequestFilterSensitiveLog = exports.UpdateChannelResponseFilterSensitiveLog = exports.UpdateChannelRequestFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RotateIngestEndpointCredentialsResponseFilterSensitiveLog = exports.RotateIngestEndpointCredentialsRequestFilterSensitiveLog = exports.RotateChannelCredentialsResponseFilterSensitiveLog = exports.RotateChannelCredentialsRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListOriginEndpointsResponseFilterSensitiveLog = exports.ListOriginEndpointsRequestFilterSensitiveLog = exports.ListHarvestJobsResponseFilterSensitiveLog = exports.ListHarvestJobsRequestFilterSensitiveLog = exports.ListChannelsResponseFilterSensitiveLog = exports.ListChannelsRequestFilterSensitiveLog = exports.DescribeOriginEndpointResponseFilterSensitiveLog = exports.DescribeOriginEndpointRequestFilterSensitiveLog = exports.DescribeHarvestJobResponseFilterSensitiveLog = exports.DescribeHarvestJobRequestFilterSensitiveLog = exports.DescribeChannelResponseFilterSensitiveLog = exports.DescribeChannelRequestFilterSensitiveLog = exports.DeleteOriginEndpointResponseFilterSensitiveLog = exports.DeleteOriginEndpointRequestFilterSensitiveLog = exports.DeleteChannelResponseFilterSensitiveLog = exports.DeleteChannelRequestFilterSensitiveLog = exports.CreateOriginEndpointResponseFilterSensitiveLog = exports.CreateOriginEndpointRequestFilterSensitiveLog = exports.CreateHarvestJobResponseFilterSensitiveLog = void 0;
|
|
5
5
|
const MediaPackageServiceException_1 = require("./MediaPackageServiceException");
|
|
6
6
|
var __AdTriggersElement;
|
|
7
7
|
(function (__AdTriggersElement) {
|
|
@@ -44,6 +44,11 @@ var PlaylistType;
|
|
|
44
44
|
PlaylistType["NONE"] = "NONE";
|
|
45
45
|
PlaylistType["VOD"] = "VOD";
|
|
46
46
|
})(PlaylistType = exports.PlaylistType || (exports.PlaylistType = {}));
|
|
47
|
+
var CmafEncryptionMethod;
|
|
48
|
+
(function (CmafEncryptionMethod) {
|
|
49
|
+
CmafEncryptionMethod["AES_CTR"] = "AES_CTR";
|
|
50
|
+
CmafEncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
|
|
51
|
+
})(CmafEncryptionMethod = exports.CmafEncryptionMethod || (exports.CmafEncryptionMethod = {}));
|
|
47
52
|
var PresetSpeke20Audio;
|
|
48
53
|
(function (PresetSpeke20Audio) {
|
|
49
54
|
PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
|
|
@@ -1704,6 +1704,7 @@ const serializeAws_restJson1CmafEncryption = (input, context) => {
|
|
|
1704
1704
|
...(input.ConstantInitializationVector != null && {
|
|
1705
1705
|
constantInitializationVector: input.ConstantInitializationVector,
|
|
1706
1706
|
}),
|
|
1707
|
+
...(input.EncryptionMethod != null && { encryptionMethod: input.EncryptionMethod }),
|
|
1707
1708
|
...(input.KeyRotationIntervalSeconds != null && { keyRotationIntervalSeconds: input.KeyRotationIntervalSeconds }),
|
|
1708
1709
|
...(input.SpekeKeyProvider != null && {
|
|
1709
1710
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
@@ -1998,6 +1999,7 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
1998
1999
|
const deserializeAws_restJson1CmafEncryption = (output, context) => {
|
|
1999
2000
|
return {
|
|
2000
2001
|
ConstantInitializationVector: (0, smithy_client_1.expectString)(output.constantInitializationVector),
|
|
2002
|
+
EncryptionMethod: (0, smithy_client_1.expectString)(output.encryptionMethod),
|
|
2001
2003
|
KeyRotationIntervalSeconds: (0, smithy_client_1.expectInt32)(output.keyRotationIntervalSeconds),
|
|
2002
2004
|
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
2003
2005
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
@@ -2244,6 +2246,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2244
2246
|
if (typeof cleanValue === "number") {
|
|
2245
2247
|
cleanValue = cleanValue.toString();
|
|
2246
2248
|
}
|
|
2249
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2250
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2251
|
+
}
|
|
2247
2252
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2248
2253
|
cleanValue = cleanValue.split(":")[0];
|
|
2249
2254
|
}
|
|
@@ -41,6 +41,11 @@ export var PlaylistType;
|
|
|
41
41
|
PlaylistType["NONE"] = "NONE";
|
|
42
42
|
PlaylistType["VOD"] = "VOD";
|
|
43
43
|
})(PlaylistType || (PlaylistType = {}));
|
|
44
|
+
export var CmafEncryptionMethod;
|
|
45
|
+
(function (CmafEncryptionMethod) {
|
|
46
|
+
CmafEncryptionMethod["AES_CTR"] = "AES_CTR";
|
|
47
|
+
CmafEncryptionMethod["SAMPLE_AES"] = "SAMPLE_AES";
|
|
48
|
+
})(CmafEncryptionMethod || (CmafEncryptionMethod = {}));
|
|
44
49
|
export var PresetSpeke20Audio;
|
|
45
50
|
(function (PresetSpeke20Audio) {
|
|
46
51
|
PresetSpeke20Audio["PRESET_AUDIO_1"] = "PRESET-AUDIO-1";
|
|
@@ -2223,9 +2223,9 @@ var serializeAws_restJson1Authorization = function (input, context) {
|
|
|
2223
2223
|
return __assign(__assign({}, (input.CdnIdentifierSecret != null && { cdnIdentifierSecret: input.CdnIdentifierSecret })), (input.SecretsRoleArn != null && { secretsRoleArn: input.SecretsRoleArn }));
|
|
2224
2224
|
};
|
|
2225
2225
|
var serializeAws_restJson1CmafEncryption = function (input, context) {
|
|
2226
|
-
return __assign(__assign(__assign({}, (input.ConstantInitializationVector != null && {
|
|
2226
|
+
return __assign(__assign(__assign(__assign({}, (input.ConstantInitializationVector != null && {
|
|
2227
2227
|
constantInitializationVector: input.ConstantInitializationVector,
|
|
2228
|
-
})), (input.KeyRotationIntervalSeconds != null && { keyRotationIntervalSeconds: input.KeyRotationIntervalSeconds })), (input.SpekeKeyProvider != null && {
|
|
2228
|
+
})), (input.EncryptionMethod != null && { encryptionMethod: input.EncryptionMethod })), (input.KeyRotationIntervalSeconds != null && { keyRotationIntervalSeconds: input.KeyRotationIntervalSeconds })), (input.SpekeKeyProvider != null && {
|
|
2229
2229
|
spekeKeyProvider: serializeAws_restJson1SpekeKeyProvider(input.SpekeKeyProvider, context),
|
|
2230
2230
|
}));
|
|
2231
2231
|
};
|
|
@@ -2431,6 +2431,7 @@ var deserializeAws_restJson1Channel = function (output, context) {
|
|
|
2431
2431
|
var deserializeAws_restJson1CmafEncryption = function (output, context) {
|
|
2432
2432
|
return {
|
|
2433
2433
|
ConstantInitializationVector: __expectString(output.constantInitializationVector),
|
|
2434
|
+
EncryptionMethod: __expectString(output.encryptionMethod),
|
|
2434
2435
|
KeyRotationIntervalSeconds: __expectInt32(output.keyRotationIntervalSeconds),
|
|
2435
2436
|
SpekeKeyProvider: output.spekeKeyProvider != null
|
|
2436
2437
|
? deserializeAws_restJson1SpekeKeyProvider(output.spekeKeyProvider, context)
|
|
@@ -2683,6 +2684,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2683
2684
|
if (typeof cleanValue === "number") {
|
|
2684
2685
|
cleanValue = cleanValue.toString();
|
|
2685
2686
|
}
|
|
2687
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2688
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2689
|
+
}
|
|
2686
2690
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2687
2691
|
cleanValue = cleanValue.split(":")[0];
|
|
2688
2692
|
}
|
|
@@ -331,6 +331,10 @@ export interface Authorization {
|
|
|
331
331
|
*/
|
|
332
332
|
SecretsRoleArn: string | undefined;
|
|
333
333
|
}
|
|
334
|
+
export declare enum CmafEncryptionMethod {
|
|
335
|
+
AES_CTR = "AES_CTR",
|
|
336
|
+
SAMPLE_AES = "SAMPLE_AES"
|
|
337
|
+
}
|
|
334
338
|
export declare enum PresetSpeke20Audio {
|
|
335
339
|
PRESET_AUDIO_1 = "PRESET-AUDIO-1",
|
|
336
340
|
PRESET_AUDIO_2 = "PRESET-AUDIO-2",
|
|
@@ -413,6 +417,10 @@ export interface CmafEncryption {
|
|
|
413
417
|
* An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
|
|
414
418
|
*/
|
|
415
419
|
ConstantInitializationVector?: string;
|
|
420
|
+
/**
|
|
421
|
+
* The encryption method to use.
|
|
422
|
+
*/
|
|
423
|
+
EncryptionMethod?: CmafEncryptionMethod | string;
|
|
416
424
|
/**
|
|
417
425
|
* Time (in seconds) between each encryption key rotation.
|
|
418
426
|
*/
|
|
@@ -159,6 +159,10 @@ export interface Authorization {
|
|
|
159
159
|
|
|
160
160
|
SecretsRoleArn: string | undefined;
|
|
161
161
|
}
|
|
162
|
+
export declare enum CmafEncryptionMethod {
|
|
163
|
+
AES_CTR = "AES_CTR",
|
|
164
|
+
SAMPLE_AES = "SAMPLE_AES"
|
|
165
|
+
}
|
|
162
166
|
export declare enum PresetSpeke20Audio {
|
|
163
167
|
PRESET_AUDIO_1 = "PRESET-AUDIO-1",
|
|
164
168
|
PRESET_AUDIO_2 = "PRESET-AUDIO-2",
|
|
@@ -205,6 +209,8 @@ export interface CmafEncryption {
|
|
|
205
209
|
|
|
206
210
|
ConstantInitializationVector?: string;
|
|
207
211
|
|
|
212
|
+
EncryptionMethod?: CmafEncryptionMethod | string;
|
|
213
|
+
|
|
208
214
|
KeyRotationIntervalSeconds?: number;
|
|
209
215
|
|
|
210
216
|
SpekeKeyProvider: SpekeKeyProvider | undefined;
|
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.165.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.165.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.163.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.165.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.162.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.162.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.162.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.162.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.162.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.162.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.163.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.162.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.162.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.162.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.154.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.162.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.163.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.162.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.162.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|