@aws-sdk/client-mediapackagev2 3.1138.0 → 3.1139.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/dist-cjs/index.js +25 -3
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +10 -2
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +8 -0
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +4 -0
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +8 -0
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +22 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -284,6 +284,8 @@ const _CHM = "CreateHlsManifests";
|
|
|
284
284
|
const _CHMC = "CreateHlsManifestConfiguration";
|
|
285
285
|
const _CISA = "CdnIdentifierSecretArns";
|
|
286
286
|
const _CIV = "ConstantInitializationVector";
|
|
287
|
+
const _CKPC = "ContentKeyPeriodConfiguration";
|
|
288
|
+
const _CKPT = "ContentKeyPeriodTiming";
|
|
287
289
|
const _CL = "ChannelList";
|
|
288
290
|
const _CLC = "ChannelListConfiguration";
|
|
289
291
|
const _CLLHM = "CreateLowLatencyHlsManifests";
|
|
@@ -496,6 +498,7 @@ const _SRA = "SecretsRoleArn";
|
|
|
496
498
|
const _ST = "StartTag";
|
|
497
499
|
const _STF = "SegmentTemplateFormat";
|
|
498
500
|
const _STt = "StartTime";
|
|
501
|
+
const _SV = "SpekeVersion";
|
|
499
502
|
const _SWS = "StartoverWindowSeconds";
|
|
500
503
|
const _Sc = "Scte";
|
|
501
504
|
const _Se = "Segment";
|
|
@@ -629,6 +632,11 @@ var ChannelListConfiguration$ = [3, n0, _CLC,
|
|
|
629
632
|
[_A, _CN, _CGN, _CA, _MA, _D, _IT, _OLM, _MC, _AMC],
|
|
630
633
|
[0, 0, 0, 4, 4, 0, 0, 0, () => MultiviewConfiguration$, 64 | 0], 5
|
|
631
634
|
];
|
|
635
|
+
var ContentKeyPeriodConfiguration$ = [3, n0, _CKPC,
|
|
636
|
+
0,
|
|
637
|
+
[_CKPT],
|
|
638
|
+
[0]
|
|
639
|
+
];
|
|
632
640
|
var CreateChannelGroupRequest$ = [3, n0, _CCGR,
|
|
633
641
|
0,
|
|
634
642
|
[_CGN, _CT, _D, _T],
|
|
@@ -1081,8 +1089,8 @@ var Segment$ = [3, n0, _Se,
|
|
|
1081
1089
|
];
|
|
1082
1090
|
var SpekeKeyProvider$ = [3, n0, _SKP,
|
|
1083
1091
|
0,
|
|
1084
|
-
[_ECC, _RI, _DSrm, _RAo, _U, _CAe],
|
|
1085
|
-
[() => EncryptionContractConfiguration$, 0, 64 | 0, 0, 0, 0], 5
|
|
1092
|
+
[_ECC, _RI, _DSrm, _RAo, _U, _CAe, _SV, _CKPC],
|
|
1093
|
+
[() => EncryptionContractConfiguration$, 0, 64 | 0, 0, 0, 0, 0, () => ContentKeyPeriodConfiguration$], 5
|
|
1086
1094
|
];
|
|
1087
1095
|
var StartTag$ = [3, n0, _ST,
|
|
1088
1096
|
0,
|
|
@@ -1680,6 +1688,8 @@ const ValidationExceptionType = {
|
|
|
1680
1688
|
CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST",
|
|
1681
1689
|
CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE",
|
|
1682
1690
|
CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
|
|
1691
|
+
CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1: "CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1",
|
|
1692
|
+
CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION: "CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION",
|
|
1683
1693
|
CUSTOM_AD_TYPES_INVALID_CONFIGURATION: "CUSTOM_AD_TYPES_INVALID_CONFIGURATION",
|
|
1684
1694
|
DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE",
|
|
1685
1695
|
DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED",
|
|
@@ -1889,6 +1899,11 @@ const TsEncryptionMethod = {
|
|
|
1889
1899
|
AES_128: "AES_128",
|
|
1890
1900
|
SAMPLE_AES: "SAMPLE_AES",
|
|
1891
1901
|
};
|
|
1902
|
+
const ContentKeyPeriodTiming = {
|
|
1903
|
+
INDEX_ONLY: "INDEX_ONLY",
|
|
1904
|
+
INDEX_WITH_START_END: "INDEX_WITH_START_END",
|
|
1905
|
+
START_END_ONLY: "START_END_ONLY",
|
|
1906
|
+
};
|
|
1892
1907
|
const DrmSystem = {
|
|
1893
1908
|
CLEAR_KEY_AES_128: "CLEAR_KEY_AES_128",
|
|
1894
1909
|
FAIRPLAY: "FAIRPLAY",
|
|
@@ -1915,6 +1930,10 @@ const PresetSpeke20Video = {
|
|
|
1915
1930
|
SHARED: "SHARED",
|
|
1916
1931
|
UNENCRYPTED: "UNENCRYPTED",
|
|
1917
1932
|
};
|
|
1933
|
+
const SpekeVersion = {
|
|
1934
|
+
V2_0: "V2_0",
|
|
1935
|
+
V2_1: "V2_1",
|
|
1936
|
+
};
|
|
1918
1937
|
const OutputTimestampMode = {
|
|
1919
1938
|
PASSTHROUGH: "PASSTHROUGH",
|
|
1920
1939
|
REBASED_TO_CHANNEL_START: "REBASED_TO_CHANNEL_START",
|
|
@@ -1984,6 +2003,8 @@ exports.ConflictException = ConflictException;
|
|
|
1984
2003
|
exports.ConflictException$ = ConflictException$;
|
|
1985
2004
|
exports.ConflictExceptionType = ConflictExceptionType;
|
|
1986
2005
|
exports.ContainerType = ContainerType;
|
|
2006
|
+
exports.ContentKeyPeriodConfiguration$ = ContentKeyPeriodConfiguration$;
|
|
2007
|
+
exports.ContentKeyPeriodTiming = ContentKeyPeriodTiming;
|
|
1987
2008
|
exports.CreateChannel$ = CreateChannel$;
|
|
1988
2009
|
exports.CreateChannelCommand = CreateChannelCommand;
|
|
1989
2010
|
exports.CreateChannelGroup$ = CreateChannelGroup$;
|
|
@@ -2158,6 +2179,7 @@ exports.Segment$ = Segment$;
|
|
|
2158
2179
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2159
2180
|
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
2160
2181
|
exports.SpekeKeyProvider$ = SpekeKeyProvider$;
|
|
2182
|
+
exports.SpekeVersion = SpekeVersion;
|
|
2161
2183
|
exports.StartTag$ = StartTag$;
|
|
2162
2184
|
exports.StreamNameOutputMode = StreamNameOutputMode;
|
|
2163
2185
|
exports.TagResource$ = TagResource$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -27,6 +27,8 @@ export const ValidationExceptionType = {
|
|
|
27
27
|
CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST",
|
|
28
28
|
CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE",
|
|
29
29
|
CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
|
|
30
|
+
CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1: "CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1",
|
|
31
|
+
CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION: "CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION",
|
|
30
32
|
CUSTOM_AD_TYPES_INVALID_CONFIGURATION: "CUSTOM_AD_TYPES_INVALID_CONFIGURATION",
|
|
31
33
|
DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE",
|
|
32
34
|
DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED",
|
|
@@ -236,6 +238,11 @@ export const TsEncryptionMethod = {
|
|
|
236
238
|
AES_128: "AES_128",
|
|
237
239
|
SAMPLE_AES: "SAMPLE_AES",
|
|
238
240
|
};
|
|
241
|
+
export const ContentKeyPeriodTiming = {
|
|
242
|
+
INDEX_ONLY: "INDEX_ONLY",
|
|
243
|
+
INDEX_WITH_START_END: "INDEX_WITH_START_END",
|
|
244
|
+
START_END_ONLY: "START_END_ONLY",
|
|
245
|
+
};
|
|
239
246
|
export const DrmSystem = {
|
|
240
247
|
CLEAR_KEY_AES_128: "CLEAR_KEY_AES_128",
|
|
241
248
|
FAIRPLAY: "FAIRPLAY",
|
|
@@ -262,6 +269,10 @@ export const PresetSpeke20Video = {
|
|
|
262
269
|
SHARED: "SHARED",
|
|
263
270
|
UNENCRYPTED: "UNENCRYPTED",
|
|
264
271
|
};
|
|
272
|
+
export const SpekeVersion = {
|
|
273
|
+
V2_0: "V2_0",
|
|
274
|
+
V2_1: "V2_1",
|
|
275
|
+
};
|
|
265
276
|
export const OutputTimestampMode = {
|
|
266
277
|
PASSTHROUGH: "PASSTHROUGH",
|
|
267
278
|
REBASED_TO_CHANNEL_START: "REBASED_TO_CHANNEL_START",
|
|
@@ -39,6 +39,8 @@ const _CHM = "CreateHlsManifests";
|
|
|
39
39
|
const _CHMC = "CreateHlsManifestConfiguration";
|
|
40
40
|
const _CISA = "CdnIdentifierSecretArns";
|
|
41
41
|
const _CIV = "ConstantInitializationVector";
|
|
42
|
+
const _CKPC = "ContentKeyPeriodConfiguration";
|
|
43
|
+
const _CKPT = "ContentKeyPeriodTiming";
|
|
42
44
|
const _CL = "ChannelList";
|
|
43
45
|
const _CLC = "ChannelListConfiguration";
|
|
44
46
|
const _CLLHM = "CreateLowLatencyHlsManifests";
|
|
@@ -251,6 +253,7 @@ const _SRA = "SecretsRoleArn";
|
|
|
251
253
|
const _ST = "StartTag";
|
|
252
254
|
const _STF = "SegmentTemplateFormat";
|
|
253
255
|
const _STt = "StartTime";
|
|
256
|
+
const _SV = "SpekeVersion";
|
|
254
257
|
const _SWS = "StartoverWindowSeconds";
|
|
255
258
|
const _Sc = "Scte";
|
|
256
259
|
const _Se = "Segment";
|
|
@@ -387,6 +390,11 @@ export var ChannelListConfiguration$ = [3, n0, _CLC,
|
|
|
387
390
|
[_A, _CN, _CGN, _CA, _MA, _D, _IT, _OLM, _MC, _AMC],
|
|
388
391
|
[0, 0, 0, 4, 4, 0, 0, 0, () => MultiviewConfiguration$, 64 | 0], 5
|
|
389
392
|
];
|
|
393
|
+
export var ContentKeyPeriodConfiguration$ = [3, n0, _CKPC,
|
|
394
|
+
0,
|
|
395
|
+
[_CKPT],
|
|
396
|
+
[0]
|
|
397
|
+
];
|
|
390
398
|
export var CreateChannelGroupRequest$ = [3, n0, _CCGR,
|
|
391
399
|
0,
|
|
392
400
|
[_CGN, _CT, _D, _T],
|
|
@@ -839,8 +847,8 @@ export var Segment$ = [3, n0, _Se,
|
|
|
839
847
|
];
|
|
840
848
|
export var SpekeKeyProvider$ = [3, n0, _SKP,
|
|
841
849
|
0,
|
|
842
|
-
[_ECC, _RI, _DSrm, _RAo, _U, _CAe],
|
|
843
|
-
[() => EncryptionContractConfiguration$, 0, 64 | 0, 0, 0, 0], 5
|
|
850
|
+
[_ECC, _RI, _DSrm, _RAo, _U, _CAe, _SV, _CKPC],
|
|
851
|
+
[() => EncryptionContractConfiguration$, 0, 64 | 0, 0, 0, 0, 0, () => ContentKeyPeriodConfiguration$], 5
|
|
844
852
|
];
|
|
845
853
|
export var StartTag$ = [3, n0, _ST,
|
|
846
854
|
0,
|
|
@@ -74,6 +74,10 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
74
74
|
* RoleArn: "STRING_VALUE", // required
|
|
75
75
|
* Url: "STRING_VALUE", // required
|
|
76
76
|
* CertificateArn: "STRING_VALUE",
|
|
77
|
+
* SpekeVersion: "V2_0" || "V2_1",
|
|
78
|
+
* ContentKeyPeriodConfiguration: { // ContentKeyPeriodConfiguration
|
|
79
|
+
* ContentKeyPeriodTiming: "INDEX_ONLY" || "START_END_ONLY" || "INDEX_WITH_START_END",
|
|
80
|
+
* },
|
|
77
81
|
* },
|
|
78
82
|
* },
|
|
79
83
|
* OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START",
|
|
@@ -275,6 +279,10 @@ declare const CreateOriginEndpointCommand_base: {
|
|
|
275
279
|
* // RoleArn: "STRING_VALUE", // required
|
|
276
280
|
* // Url: "STRING_VALUE", // required
|
|
277
281
|
* // CertificateArn: "STRING_VALUE",
|
|
282
|
+
* // SpekeVersion: "V2_0" || "V2_1",
|
|
283
|
+
* // ContentKeyPeriodConfiguration: { // ContentKeyPeriodConfiguration
|
|
284
|
+
* // ContentKeyPeriodTiming: "INDEX_ONLY" || "START_END_ONLY" || "INDEX_WITH_START_END",
|
|
285
|
+
* // },
|
|
278
286
|
* // },
|
|
279
287
|
* // },
|
|
280
288
|
* // OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START",
|
|
@@ -82,6 +82,10 @@ declare const GetOriginEndpointCommand_base: {
|
|
|
82
82
|
* // RoleArn: "STRING_VALUE", // required
|
|
83
83
|
* // Url: "STRING_VALUE", // required
|
|
84
84
|
* // CertificateArn: "STRING_VALUE",
|
|
85
|
+
* // SpekeVersion: "V2_0" || "V2_1",
|
|
86
|
+
* // ContentKeyPeriodConfiguration: { // ContentKeyPeriodConfiguration
|
|
87
|
+
* // ContentKeyPeriodTiming: "INDEX_ONLY" || "START_END_ONLY" || "INDEX_WITH_START_END",
|
|
88
|
+
* // },
|
|
85
89
|
* // },
|
|
86
90
|
* // },
|
|
87
91
|
* // OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START",
|
|
@@ -74,6 +74,10 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
74
74
|
* RoleArn: "STRING_VALUE", // required
|
|
75
75
|
* Url: "STRING_VALUE", // required
|
|
76
76
|
* CertificateArn: "STRING_VALUE",
|
|
77
|
+
* SpekeVersion: "V2_0" || "V2_1",
|
|
78
|
+
* ContentKeyPeriodConfiguration: { // ContentKeyPeriodConfiguration
|
|
79
|
+
* ContentKeyPeriodTiming: "INDEX_ONLY" || "START_END_ONLY" || "INDEX_WITH_START_END",
|
|
80
|
+
* },
|
|
77
81
|
* },
|
|
78
82
|
* },
|
|
79
83
|
* OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START",
|
|
@@ -272,6 +276,10 @@ declare const UpdateOriginEndpointCommand_base: {
|
|
|
272
276
|
* // RoleArn: "STRING_VALUE", // required
|
|
273
277
|
* // Url: "STRING_VALUE", // required
|
|
274
278
|
* // CertificateArn: "STRING_VALUE",
|
|
279
|
+
* // SpekeVersion: "V2_0" || "V2_1",
|
|
280
|
+
* // ContentKeyPeriodConfiguration: { // ContentKeyPeriodConfiguration
|
|
281
|
+
* // ContentKeyPeriodTiming: "INDEX_ONLY" || "START_END_ONLY" || "INDEX_WITH_START_END",
|
|
282
|
+
* // },
|
|
275
283
|
* // },
|
|
276
284
|
* // },
|
|
277
285
|
* // OutputTimestampMode: "PASSTHROUGH" || "REBASED_TO_CHANNEL_START",
|
|
@@ -63,6 +63,8 @@ export declare const ValidationExceptionType: {
|
|
|
63
63
|
readonly CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST";
|
|
64
64
|
readonly CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE";
|
|
65
65
|
readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
|
|
66
|
+
readonly CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1: "CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1";
|
|
67
|
+
readonly CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION: "CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION";
|
|
66
68
|
readonly CUSTOM_AD_TYPES_INVALID_CONFIGURATION: "CUSTOM_AD_TYPES_INVALID_CONFIGURATION";
|
|
67
69
|
readonly DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE";
|
|
68
70
|
readonly DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED";
|
|
@@ -428,6 +430,19 @@ export declare const TsEncryptionMethod: {
|
|
|
428
430
|
* @public
|
|
429
431
|
*/
|
|
430
432
|
export type TsEncryptionMethod = (typeof TsEncryptionMethod)[keyof typeof TsEncryptionMethod];
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
* @enum
|
|
436
|
+
*/
|
|
437
|
+
export declare const ContentKeyPeriodTiming: {
|
|
438
|
+
readonly INDEX_ONLY: "INDEX_ONLY";
|
|
439
|
+
readonly INDEX_WITH_START_END: "INDEX_WITH_START_END";
|
|
440
|
+
readonly START_END_ONLY: "START_END_ONLY";
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
export type ContentKeyPeriodTiming = (typeof ContentKeyPeriodTiming)[keyof typeof ContentKeyPeriodTiming];
|
|
431
446
|
/**
|
|
432
447
|
* @public
|
|
433
448
|
* @enum
|
|
@@ -478,6 +493,18 @@ export declare const PresetSpeke20Video: {
|
|
|
478
493
|
* @public
|
|
479
494
|
*/
|
|
480
495
|
export type PresetSpeke20Video = (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
|
|
496
|
+
/**
|
|
497
|
+
* @public
|
|
498
|
+
* @enum
|
|
499
|
+
*/
|
|
500
|
+
export declare const SpekeVersion: {
|
|
501
|
+
readonly V2_0: "V2_0";
|
|
502
|
+
readonly V2_1: "V2_1";
|
|
503
|
+
};
|
|
504
|
+
/**
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
export type SpekeVersion = (typeof SpekeVersion)[keyof typeof SpekeVersion];
|
|
481
508
|
/**
|
|
482
509
|
* @public
|
|
483
510
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AdMarkerDash, AdMarkerHls, CmafEncryptionMethod, ContainerType, CustomAdType, DashAudioTimelinePattern, DashCompactness, DashDrmSignaling, DashPeriodTrigger, DashProfile, DashSegmentTemplateFormat, DashTtmlProfile, DashUtcTimingMode, DrmSystem, EndpointErrorCondition, HarvestJobStatus, InputType, IsmEncryptionMethod, MssManifestLayout, MultiviewLayoutType, OutputLockingMode, OutputTimestampMode, PresetSpeke20Audio, PresetSpeke20Video, ScteFilter, ScteInManifests, ScteInSegments, StreamNameOutputMode, TsEncryptionMethod, UriPathType, UriSeparator } from "./enums";
|
|
1
|
+
import type { AdMarkerDash, AdMarkerHls, CmafEncryptionMethod, ContainerType, ContentKeyPeriodTiming, CustomAdType, DashAudioTimelinePattern, DashCompactness, DashDrmSignaling, DashPeriodTrigger, DashProfile, DashSegmentTemplateFormat, DashTtmlProfile, DashUtcTimingMode, DrmSystem, EndpointErrorCondition, HarvestJobStatus, InputType, IsmEncryptionMethod, MssManifestLayout, MultiviewLayoutType, OutputLockingMode, OutputTimestampMode, PresetSpeke20Audio, PresetSpeke20Video, ScteFilter, ScteInManifests, ScteInSegments, SpekeVersion, StreamNameOutputMode, TsEncryptionMethod, UriPathType, UriSeparator } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -1097,6 +1097,17 @@ export interface EncryptionMethod {
|
|
|
1097
1097
|
*/
|
|
1098
1098
|
IsmEncryptionMethod?: IsmEncryptionMethod | undefined;
|
|
1099
1099
|
}
|
|
1100
|
+
/**
|
|
1101
|
+
* <p>The configuration that controls the content key period timing information that MediaPackage signals to your DRM key provider.</p>
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
export interface ContentKeyPeriodConfiguration {
|
|
1105
|
+
/**
|
|
1106
|
+
* <p>Specifies what timing information MediaPackage signals in the <code>ContentKeyPeriod</code> to your DRM key provider. If you don't specify a value, the default is <code>INDEX_ONLY</code>. Signaling start and end times (<code>START_END_ONLY</code> or <code>INDEX_WITH_START_END</code>) also requires key rotation to be enabled.</p> <p>The allowed values are:</p> <ul> <li> <p> <code>INDEX_ONLY</code> - Signals only the content key index. This is the default and matches the current behavior. It's supported for both SPEKE Version 2.0 and 2.1.</p> </li> <li> <p> <code>START_END_ONLY</code> - Signals only the start and end times the key is used for. Requires <code>SpekeVersion</code> <code>V2_1</code>.</p> </li> <li> <p> <code>INDEX_WITH_START_END</code> - Signals both the content key index and the start and end times the key is used for. Requires <code>SpekeVersion</code> <code>V2_1</code>.</p> </li> </ul>
|
|
1107
|
+
* @public
|
|
1108
|
+
*/
|
|
1109
|
+
ContentKeyPeriodTiming?: ContentKeyPeriodTiming | undefined;
|
|
1110
|
+
}
|
|
1100
1111
|
/**
|
|
1101
1112
|
* <p>Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.</p>
|
|
1102
1113
|
* @public
|
|
@@ -1148,6 +1159,16 @@ export interface SpekeKeyProvider {
|
|
|
1148
1159
|
* @public
|
|
1149
1160
|
*/
|
|
1150
1161
|
CertificateArn?: string | undefined;
|
|
1162
|
+
/**
|
|
1163
|
+
* <p>Specifies the SPEKE version used with your DRM key provider. If you don't specify a value, the default is <code>V2_0</code>.</p> <p>The allowed values are:</p> <ul> <li> <p> <code>V2_0</code> - Follows the SPEKE Version 2.0 contract and signals only the content key index in key requests. This is the default.</p> </li> <li> <p> <code>V2_1</code> - Follows the SPEKE Version 2.1 contract and additionally supports signaling the start and end times a content key is used for, using <code>ContentKeyPeriodConfiguration</code>.</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/speke/latest/documentation/standard-payload-components-v2.html">SPEKE Version 2.0 payload</a>.</p>
|
|
1164
|
+
* @public
|
|
1165
|
+
*/
|
|
1166
|
+
SpekeVersion?: SpekeVersion | undefined;
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>The configuration that controls whether MediaPackage signals the start and end times a content key is used for, in the <code>ContentKeyPeriod</code> sent to your DRM key provider. Signaling this timing is supported only when key rotation is enabled (<code>KeyRotationIntervalSeconds</code> is set to a non-zero value) and <code>SpekeVersion</code> is <code>V2_1</code>. You can update these settings on an existing origin endpoint.</p>
|
|
1169
|
+
* @public
|
|
1170
|
+
*/
|
|
1171
|
+
ContentKeyPeriodConfiguration?: ContentKeyPeriodConfiguration | undefined;
|
|
1151
1172
|
}
|
|
1152
1173
|
/**
|
|
1153
1174
|
* <p>The parameters for encrypting content.</p>
|
|
@@ -19,6 +19,7 @@ export declare var CancelHarvestJobResponse$: StaticStructureSchema;
|
|
|
19
19
|
export declare var CdnAuthConfiguration$: StaticStructureSchema;
|
|
20
20
|
export declare var ChannelGroupListConfiguration$: StaticStructureSchema;
|
|
21
21
|
export declare var ChannelListConfiguration$: StaticStructureSchema;
|
|
22
|
+
export declare var ContentKeyPeriodConfiguration$: StaticStructureSchema;
|
|
22
23
|
export declare var CreateChannelGroupRequest$: StaticStructureSchema;
|
|
23
24
|
export declare var CreateChannelGroupResponse$: StaticStructureSchema;
|
|
24
25
|
export declare var CreateChannelRequest$: StaticStructureSchema;
|
|
@@ -32,6 +32,8 @@ export declare const ValidationExceptionType: {
|
|
|
32
32
|
readonly CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST";
|
|
33
33
|
readonly CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE";
|
|
34
34
|
readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
|
|
35
|
+
readonly CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1: "CONTENT_KEY_PERIOD_TIMING_REQUIRES_SPEKE_V2_1";
|
|
36
|
+
readonly CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION: "CONTENT_KEY_PERIOD_TIMING_WITHOUT_KEY_ROTATION";
|
|
35
37
|
readonly CUSTOM_AD_TYPES_INVALID_CONFIGURATION: "CUSTOM_AD_TYPES_INVALID_CONFIGURATION";
|
|
36
38
|
readonly DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE";
|
|
37
39
|
readonly DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED";
|
|
@@ -265,6 +267,13 @@ export declare const TsEncryptionMethod: {
|
|
|
265
267
|
readonly SAMPLE_AES: "SAMPLE_AES";
|
|
266
268
|
};
|
|
267
269
|
export type TsEncryptionMethod = (typeof TsEncryptionMethod)[keyof typeof TsEncryptionMethod];
|
|
270
|
+
export declare const ContentKeyPeriodTiming: {
|
|
271
|
+
readonly INDEX_ONLY: "INDEX_ONLY";
|
|
272
|
+
readonly INDEX_WITH_START_END: "INDEX_WITH_START_END";
|
|
273
|
+
readonly START_END_ONLY: "START_END_ONLY";
|
|
274
|
+
};
|
|
275
|
+
export type ContentKeyPeriodTiming =
|
|
276
|
+
(typeof ContentKeyPeriodTiming)[keyof typeof ContentKeyPeriodTiming];
|
|
268
277
|
export declare const DrmSystem: {
|
|
269
278
|
readonly CLEAR_KEY_AES_128: "CLEAR_KEY_AES_128";
|
|
270
279
|
readonly FAIRPLAY: "FAIRPLAY";
|
|
@@ -294,6 +303,11 @@ export declare const PresetSpeke20Video: {
|
|
|
294
303
|
readonly UNENCRYPTED: "UNENCRYPTED";
|
|
295
304
|
};
|
|
296
305
|
export type PresetSpeke20Video = (typeof PresetSpeke20Video)[keyof typeof PresetSpeke20Video];
|
|
306
|
+
export declare const SpekeVersion: {
|
|
307
|
+
readonly V2_0: "V2_0";
|
|
308
|
+
readonly V2_1: "V2_1";
|
|
309
|
+
};
|
|
310
|
+
export type SpekeVersion = (typeof SpekeVersion)[keyof typeof SpekeVersion];
|
|
297
311
|
export declare const OutputTimestampMode: {
|
|
298
312
|
readonly PASSTHROUGH: "PASSTHROUGH";
|
|
299
313
|
readonly REBASED_TO_CHANNEL_START: "REBASED_TO_CHANNEL_START";
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
AdMarkerHls,
|
|
4
4
|
CmafEncryptionMethod,
|
|
5
5
|
ContainerType,
|
|
6
|
+
ContentKeyPeriodTiming,
|
|
6
7
|
CustomAdType,
|
|
7
8
|
DashAudioTimelinePattern,
|
|
8
9
|
DashCompactness,
|
|
@@ -26,6 +27,7 @@ import {
|
|
|
26
27
|
ScteFilter,
|
|
27
28
|
ScteInManifests,
|
|
28
29
|
ScteInSegments,
|
|
30
|
+
SpekeVersion,
|
|
29
31
|
StreamNameOutputMode,
|
|
30
32
|
TsEncryptionMethod,
|
|
31
33
|
UriPathType,
|
|
@@ -293,6 +295,9 @@ export interface EncryptionMethod {
|
|
|
293
295
|
CmafEncryptionMethod?: CmafEncryptionMethod | undefined;
|
|
294
296
|
IsmEncryptionMethod?: IsmEncryptionMethod | undefined;
|
|
295
297
|
}
|
|
298
|
+
export interface ContentKeyPeriodConfiguration {
|
|
299
|
+
ContentKeyPeriodTiming?: ContentKeyPeriodTiming | undefined;
|
|
300
|
+
}
|
|
296
301
|
export interface EncryptionContractConfiguration {
|
|
297
302
|
PresetSpeke20Audio: PresetSpeke20Audio | undefined;
|
|
298
303
|
PresetSpeke20Video: PresetSpeke20Video | undefined;
|
|
@@ -304,6 +309,8 @@ export interface SpekeKeyProvider {
|
|
|
304
309
|
RoleArn: string | undefined;
|
|
305
310
|
Url: string | undefined;
|
|
306
311
|
CertificateArn?: string | undefined;
|
|
312
|
+
SpekeVersion?: SpekeVersion | undefined;
|
|
313
|
+
ContentKeyPeriodConfiguration?: ContentKeyPeriodConfiguration | undefined;
|
|
307
314
|
}
|
|
308
315
|
export interface Encryption {
|
|
309
316
|
ConstantInitializationVector?: string | undefined;
|
|
@@ -19,6 +19,7 @@ export declare var CancelHarvestJobResponse$: StaticStructureSchema;
|
|
|
19
19
|
export declare var CdnAuthConfiguration$: StaticStructureSchema;
|
|
20
20
|
export declare var ChannelGroupListConfiguration$: StaticStructureSchema;
|
|
21
21
|
export declare var ChannelListConfiguration$: StaticStructureSchema;
|
|
22
|
+
export declare var ContentKeyPeriodConfiguration$: StaticStructureSchema;
|
|
22
23
|
export declare var CreateChannelGroupRequest$: StaticStructureSchema;
|
|
23
24
|
export declare var CreateChannelGroupResponse$: StaticStructureSchema;
|
|
24
25
|
export declare var CreateChannelRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediapackagev2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-mediapackagev2",
|
|
6
6
|
"license": "Apache-2.0",
|