@aws-sdk/client-mediapackagev2 3.1137.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
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";
@@ -554,10 +557,10 @@ const _tK = "tagKeys";
554
557
  const _xact = "x-amzn-client-token";
555
558
  const _xauim = "x-amzn-update-if-match";
556
559
  const n0 = "com.amazonaws.mediapackagev2";
557
- const _s_registry = TypeRegistry.for(_s);
560
+ const _s_registry = new TypeRegistry(_s);
558
561
  var MediaPackageV2ServiceException$ = [-3, _s, "MediaPackageV2ServiceException", 0, [], []];
559
562
  _s_registry.registerError(MediaPackageV2ServiceException$, MediaPackageV2ServiceException);
560
- const n0_registry = TypeRegistry.for(n0);
563
+ const n0_registry = new TypeRegistry(n0);
561
564
  var AccessDeniedException$ = [-3, n0, _ADE,
562
565
  { [_e]: _c, [_hE]: 403 },
563
566
  [_M],
@@ -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$;
@@ -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";
@@ -312,10 +315,10 @@ const n0 = "com.amazonaws.mediapackagev2";
312
315
  import { TypeRegistry } from "@smithy/core/schema";
313
316
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
314
317
  import { MediaPackageV2ServiceException } from "../models/MediaPackageV2ServiceException";
315
- const _s_registry = TypeRegistry.for(_s);
318
+ const _s_registry = new TypeRegistry(_s);
316
319
  export var MediaPackageV2ServiceException$ = [-3, _s, "MediaPackageV2ServiceException", 0, [], []];
317
320
  _s_registry.registerError(MediaPackageV2ServiceException$, MediaPackageV2ServiceException);
318
- const n0_registry = TypeRegistry.for(n0);
321
+ const n0_registry = new TypeRegistry(n0);
319
322
  export var AccessDeniedException$ = [-3, n0, _ADE,
320
323
  { [_e]: _c, [_hE]: 403 },
321
324
  [_M],
@@ -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,
@@ -1,5 +1,5 @@
1
1
  import { type WaiterResult } from "@smithy/core/client";
2
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
3
3
  import { type CancelHarvestJobCommandInput, type CancelHarvestJobCommandOutput } from "./commands/CancelHarvestJobCommand";
4
4
  import { type CreateChannelCommandInput, type CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
5
5
  import { type CreateChannelGroupCommandInput, type CreateChannelGroupCommandOutput } from "./commands/CreateChannelGroupCommand";
@@ -31,188 +31,194 @@ import { type UpdateChannelCommandInput, type UpdateChannelCommandOutput } from
31
31
  import { type UpdateChannelGroupCommandInput, type UpdateChannelGroupCommandOutput } from "./commands/UpdateChannelGroupCommand";
32
32
  import { type UpdateOriginEndpointCommandInput, type UpdateOriginEndpointCommandOutput } from "./commands/UpdateOriginEndpointCommand";
33
33
  import { MediaPackageV2Client } from "./MediaPackageV2Client";
34
+ /**
35
+ * @public
36
+ */
37
+ export interface MediaPackageV2RequestOptions extends __HttpHandlerOptions {
38
+ metricsRecorder?: __MetricsRecorder<unknown>;
39
+ }
34
40
  export interface MediaPackageV2 {
35
41
  /**
36
42
  * @see {@link CancelHarvestJobCommand}
37
43
  */
38
- cancelHarvestJob(args: CancelHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelHarvestJobCommandOutput>;
44
+ cancelHarvestJob(args: CancelHarvestJobCommandInput, options?: MediaPackageV2RequestOptions): Promise<CancelHarvestJobCommandOutput>;
39
45
  cancelHarvestJob(args: CancelHarvestJobCommandInput, cb: (err: any, data?: CancelHarvestJobCommandOutput) => void): void;
40
- cancelHarvestJob(args: CancelHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelHarvestJobCommandOutput) => void): void;
46
+ cancelHarvestJob(args: CancelHarvestJobCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: CancelHarvestJobCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link CreateChannelCommand}
43
49
  */
44
- createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelCommandOutput>;
50
+ createChannel(args: CreateChannelCommandInput, options?: MediaPackageV2RequestOptions): Promise<CreateChannelCommandOutput>;
45
51
  createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
46
- createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
52
+ createChannel(args: CreateChannelCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link CreateChannelGroupCommand}
49
55
  */
50
- createChannelGroup(args: CreateChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateChannelGroupCommandOutput>;
56
+ createChannelGroup(args: CreateChannelGroupCommandInput, options?: MediaPackageV2RequestOptions): Promise<CreateChannelGroupCommandOutput>;
51
57
  createChannelGroup(args: CreateChannelGroupCommandInput, cb: (err: any, data?: CreateChannelGroupCommandOutput) => void): void;
52
- createChannelGroup(args: CreateChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelGroupCommandOutput) => void): void;
58
+ createChannelGroup(args: CreateChannelGroupCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: CreateChannelGroupCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link CreateHarvestJobCommand}
55
61
  */
56
- createHarvestJob(args: CreateHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateHarvestJobCommandOutput>;
62
+ createHarvestJob(args: CreateHarvestJobCommandInput, options?: MediaPackageV2RequestOptions): Promise<CreateHarvestJobCommandOutput>;
57
63
  createHarvestJob(args: CreateHarvestJobCommandInput, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void;
58
- createHarvestJob(args: CreateHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void;
64
+ createHarvestJob(args: CreateHarvestJobCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link CreateOriginEndpointCommand}
61
67
  */
62
- createOriginEndpoint(args: CreateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateOriginEndpointCommandOutput>;
68
+ createOriginEndpoint(args: CreateOriginEndpointCommandInput, options?: MediaPackageV2RequestOptions): Promise<CreateOriginEndpointCommandOutput>;
63
69
  createOriginEndpoint(args: CreateOriginEndpointCommandInput, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void;
64
- createOriginEndpoint(args: CreateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void;
70
+ createOriginEndpoint(args: CreateOriginEndpointCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link DeleteChannelCommand}
67
73
  */
68
- deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelCommandOutput>;
74
+ deleteChannel(args: DeleteChannelCommandInput, options?: MediaPackageV2RequestOptions): Promise<DeleteChannelCommandOutput>;
69
75
  deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
70
- deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
76
+ deleteChannel(args: DeleteChannelCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link DeleteChannelGroupCommand}
73
79
  */
74
- deleteChannelGroup(args: DeleteChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelGroupCommandOutput>;
80
+ deleteChannelGroup(args: DeleteChannelGroupCommandInput, options?: MediaPackageV2RequestOptions): Promise<DeleteChannelGroupCommandOutput>;
75
81
  deleteChannelGroup(args: DeleteChannelGroupCommandInput, cb: (err: any, data?: DeleteChannelGroupCommandOutput) => void): void;
76
- deleteChannelGroup(args: DeleteChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelGroupCommandOutput) => void): void;
82
+ deleteChannelGroup(args: DeleteChannelGroupCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: DeleteChannelGroupCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link DeleteChannelPolicyCommand}
79
85
  */
80
- deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteChannelPolicyCommandOutput>;
86
+ deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options?: MediaPackageV2RequestOptions): Promise<DeleteChannelPolicyCommandOutput>;
81
87
  deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void;
82
- deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void;
88
+ deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link DeleteOriginEndpointCommand}
85
91
  */
86
- deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOriginEndpointCommandOutput>;
92
+ deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options?: MediaPackageV2RequestOptions): Promise<DeleteOriginEndpointCommandOutput>;
87
93
  deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void;
88
- deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void;
94
+ deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void;
89
95
  /**
90
96
  * @see {@link DeleteOriginEndpointPolicyCommand}
91
97
  */
92
- deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOriginEndpointPolicyCommandOutput>;
98
+ deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, options?: MediaPackageV2RequestOptions): Promise<DeleteOriginEndpointPolicyCommandOutput>;
93
99
  deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, cb: (err: any, data?: DeleteOriginEndpointPolicyCommandOutput) => void): void;
94
- deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginEndpointPolicyCommandOutput) => void): void;
100
+ deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: DeleteOriginEndpointPolicyCommandOutput) => void): void;
95
101
  /**
96
102
  * @see {@link GetChannelCommand}
97
103
  */
98
- getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
104
+ getChannel(args: GetChannelCommandInput, options?: MediaPackageV2RequestOptions): Promise<GetChannelCommandOutput>;
99
105
  getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
100
- getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
106
+ getChannel(args: GetChannelCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link GetChannelGroupCommand}
103
109
  */
104
- getChannelGroup(args: GetChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelGroupCommandOutput>;
110
+ getChannelGroup(args: GetChannelGroupCommandInput, options?: MediaPackageV2RequestOptions): Promise<GetChannelGroupCommandOutput>;
105
111
  getChannelGroup(args: GetChannelGroupCommandInput, cb: (err: any, data?: GetChannelGroupCommandOutput) => void): void;
106
- getChannelGroup(args: GetChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelGroupCommandOutput) => void): void;
112
+ getChannelGroup(args: GetChannelGroupCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: GetChannelGroupCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link GetChannelPolicyCommand}
109
115
  */
110
- getChannelPolicy(args: GetChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelPolicyCommandOutput>;
116
+ getChannelPolicy(args: GetChannelPolicyCommandInput, options?: MediaPackageV2RequestOptions): Promise<GetChannelPolicyCommandOutput>;
111
117
  getChannelPolicy(args: GetChannelPolicyCommandInput, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void;
112
- getChannelPolicy(args: GetChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void;
118
+ getChannelPolicy(args: GetChannelPolicyCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link GetHarvestJobCommand}
115
121
  */
116
- getHarvestJob(args: GetHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise<GetHarvestJobCommandOutput>;
122
+ getHarvestJob(args: GetHarvestJobCommandInput, options?: MediaPackageV2RequestOptions): Promise<GetHarvestJobCommandOutput>;
117
123
  getHarvestJob(args: GetHarvestJobCommandInput, cb: (err: any, data?: GetHarvestJobCommandOutput) => void): void;
118
- getHarvestJob(args: GetHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHarvestJobCommandOutput) => void): void;
124
+ getHarvestJob(args: GetHarvestJobCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: GetHarvestJobCommandOutput) => void): void;
119
125
  /**
120
126
  * @see {@link GetOriginEndpointCommand}
121
127
  */
122
- getOriginEndpoint(args: GetOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<GetOriginEndpointCommandOutput>;
128
+ getOriginEndpoint(args: GetOriginEndpointCommandInput, options?: MediaPackageV2RequestOptions): Promise<GetOriginEndpointCommandOutput>;
123
129
  getOriginEndpoint(args: GetOriginEndpointCommandInput, cb: (err: any, data?: GetOriginEndpointCommandOutput) => void): void;
124
- getOriginEndpoint(args: GetOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginEndpointCommandOutput) => void): void;
130
+ getOriginEndpoint(args: GetOriginEndpointCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: GetOriginEndpointCommandOutput) => void): void;
125
131
  /**
126
132
  * @see {@link GetOriginEndpointPolicyCommand}
127
133
  */
128
- getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetOriginEndpointPolicyCommandOutput>;
134
+ getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, options?: MediaPackageV2RequestOptions): Promise<GetOriginEndpointPolicyCommandOutput>;
129
135
  getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, cb: (err: any, data?: GetOriginEndpointPolicyCommandOutput) => void): void;
130
- getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginEndpointPolicyCommandOutput) => void): void;
136
+ getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: GetOriginEndpointPolicyCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link ListChannelGroupsCommand}
133
139
  */
134
140
  listChannelGroups(): Promise<ListChannelGroupsCommandOutput>;
135
- listChannelGroups(args: ListChannelGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelGroupsCommandOutput>;
141
+ listChannelGroups(args: ListChannelGroupsCommandInput, options?: MediaPackageV2RequestOptions): Promise<ListChannelGroupsCommandOutput>;
136
142
  listChannelGroups(args: ListChannelGroupsCommandInput, cb: (err: any, data?: ListChannelGroupsCommandOutput) => void): void;
137
- listChannelGroups(args: ListChannelGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelGroupsCommandOutput) => void): void;
143
+ listChannelGroups(args: ListChannelGroupsCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ListChannelGroupsCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link ListChannelsCommand}
140
146
  */
141
- listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
147
+ listChannels(args: ListChannelsCommandInput, options?: MediaPackageV2RequestOptions): Promise<ListChannelsCommandOutput>;
142
148
  listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
143
- listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
149
+ listChannels(args: ListChannelsCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link ListHarvestJobsCommand}
146
152
  */
147
- listHarvestJobs(args: ListHarvestJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListHarvestJobsCommandOutput>;
153
+ listHarvestJobs(args: ListHarvestJobsCommandInput, options?: MediaPackageV2RequestOptions): Promise<ListHarvestJobsCommandOutput>;
148
154
  listHarvestJobs(args: ListHarvestJobsCommandInput, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void;
149
- listHarvestJobs(args: ListHarvestJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void;
155
+ listHarvestJobs(args: ListHarvestJobsCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link ListOriginEndpointsCommand}
152
158
  */
153
- listOriginEndpoints(args: ListOriginEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListOriginEndpointsCommandOutput>;
159
+ listOriginEndpoints(args: ListOriginEndpointsCommandInput, options?: MediaPackageV2RequestOptions): Promise<ListOriginEndpointsCommandOutput>;
154
160
  listOriginEndpoints(args: ListOriginEndpointsCommandInput, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void;
155
- listOriginEndpoints(args: ListOriginEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void;
161
+ listOriginEndpoints(args: ListOriginEndpointsCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link ListTagsForResourceCommand}
158
164
  */
159
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
165
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: MediaPackageV2RequestOptions): Promise<ListTagsForResourceCommandOutput>;
160
166
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
161
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
167
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link PutChannelPolicyCommand}
164
170
  */
165
- putChannelPolicy(args: PutChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutChannelPolicyCommandOutput>;
171
+ putChannelPolicy(args: PutChannelPolicyCommandInput, options?: MediaPackageV2RequestOptions): Promise<PutChannelPolicyCommandOutput>;
166
172
  putChannelPolicy(args: PutChannelPolicyCommandInput, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void;
167
- putChannelPolicy(args: PutChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void;
173
+ putChannelPolicy(args: PutChannelPolicyCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void;
168
174
  /**
169
175
  * @see {@link PutOriginEndpointPolicyCommand}
170
176
  */
171
- putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutOriginEndpointPolicyCommandOutput>;
177
+ putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, options?: MediaPackageV2RequestOptions): Promise<PutOriginEndpointPolicyCommandOutput>;
172
178
  putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, cb: (err: any, data?: PutOriginEndpointPolicyCommandOutput) => void): void;
173
- putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutOriginEndpointPolicyCommandOutput) => void): void;
179
+ putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: PutOriginEndpointPolicyCommandOutput) => void): void;
174
180
  /**
175
181
  * @see {@link ResetChannelStateCommand}
176
182
  */
177
- resetChannelState(args: ResetChannelStateCommandInput, options?: __HttpHandlerOptions): Promise<ResetChannelStateCommandOutput>;
183
+ resetChannelState(args: ResetChannelStateCommandInput, options?: MediaPackageV2RequestOptions): Promise<ResetChannelStateCommandOutput>;
178
184
  resetChannelState(args: ResetChannelStateCommandInput, cb: (err: any, data?: ResetChannelStateCommandOutput) => void): void;
179
- resetChannelState(args: ResetChannelStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetChannelStateCommandOutput) => void): void;
185
+ resetChannelState(args: ResetChannelStateCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ResetChannelStateCommandOutput) => void): void;
180
186
  /**
181
187
  * @see {@link ResetOriginEndpointStateCommand}
182
188
  */
183
- resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, options?: __HttpHandlerOptions): Promise<ResetOriginEndpointStateCommandOutput>;
189
+ resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, options?: MediaPackageV2RequestOptions): Promise<ResetOriginEndpointStateCommandOutput>;
184
190
  resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, cb: (err: any, data?: ResetOriginEndpointStateCommandOutput) => void): void;
185
- resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetOriginEndpointStateCommandOutput) => void): void;
191
+ resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: ResetOriginEndpointStateCommandOutput) => void): void;
186
192
  /**
187
193
  * @see {@link TagResourceCommand}
188
194
  */
189
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
195
+ tagResource(args: TagResourceCommandInput, options?: MediaPackageV2RequestOptions): Promise<TagResourceCommandOutput>;
190
196
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
191
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
197
+ tagResource(args: TagResourceCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
192
198
  /**
193
199
  * @see {@link UntagResourceCommand}
194
200
  */
195
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
201
+ untagResource(args: UntagResourceCommandInput, options?: MediaPackageV2RequestOptions): Promise<UntagResourceCommandOutput>;
196
202
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
197
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
203
+ untagResource(args: UntagResourceCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
198
204
  /**
199
205
  * @see {@link UpdateChannelCommand}
200
206
  */
201
- updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelCommandOutput>;
207
+ updateChannel(args: UpdateChannelCommandInput, options?: MediaPackageV2RequestOptions): Promise<UpdateChannelCommandOutput>;
202
208
  updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
203
- updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
209
+ updateChannel(args: UpdateChannelCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void;
204
210
  /**
205
211
  * @see {@link UpdateChannelGroupCommand}
206
212
  */
207
- updateChannelGroup(args: UpdateChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateChannelGroupCommandOutput>;
213
+ updateChannelGroup(args: UpdateChannelGroupCommandInput, options?: MediaPackageV2RequestOptions): Promise<UpdateChannelGroupCommandOutput>;
208
214
  updateChannelGroup(args: UpdateChannelGroupCommandInput, cb: (err: any, data?: UpdateChannelGroupCommandOutput) => void): void;
209
- updateChannelGroup(args: UpdateChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelGroupCommandOutput) => void): void;
215
+ updateChannelGroup(args: UpdateChannelGroupCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: UpdateChannelGroupCommandOutput) => void): void;
210
216
  /**
211
217
  * @see {@link UpdateOriginEndpointCommand}
212
218
  */
213
- updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOriginEndpointCommandOutput>;
219
+ updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options?: MediaPackageV2RequestOptions): Promise<UpdateOriginEndpointCommandOutput>;
214
220
  updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
215
- updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
221
+ updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options: MediaPackageV2RequestOptions, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void;
216
222
  /**
217
223
  * @see {@link ListChannelGroupsCommand}
218
224
  * @param args - command input.
@@ -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;
@@ -1,6 +1,7 @@
1
1
  import { WaiterResult } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
+ MetricsRecorder as __MetricsRecorder,
4
5
  PaginationConfiguration,
5
6
  Paginator,
6
7
  WaiterConfiguration,
@@ -120,10 +121,13 @@ import {
120
121
  UpdateOriginEndpointCommandOutput,
121
122
  } from "./commands/UpdateOriginEndpointCommand";
122
123
  import { MediaPackageV2Client } from "./MediaPackageV2Client";
124
+ export interface MediaPackageV2RequestOptions extends __HttpHandlerOptions {
125
+ metricsRecorder?: __MetricsRecorder<unknown>;
126
+ }
123
127
  export interface MediaPackageV2 {
124
128
  cancelHarvestJob(
125
129
  args: CancelHarvestJobCommandInput,
126
- options?: __HttpHandlerOptions,
130
+ options?: MediaPackageV2RequestOptions,
127
131
  ): Promise<CancelHarvestJobCommandOutput>;
128
132
  cancelHarvestJob(
129
133
  args: CancelHarvestJobCommandInput,
@@ -131,12 +135,12 @@ export interface MediaPackageV2 {
131
135
  ): void;
132
136
  cancelHarvestJob(
133
137
  args: CancelHarvestJobCommandInput,
134
- options: __HttpHandlerOptions,
138
+ options: MediaPackageV2RequestOptions,
135
139
  cb: (err: any, data?: CancelHarvestJobCommandOutput) => void,
136
140
  ): void;
137
141
  createChannel(
138
142
  args: CreateChannelCommandInput,
139
- options?: __HttpHandlerOptions,
143
+ options?: MediaPackageV2RequestOptions,
140
144
  ): Promise<CreateChannelCommandOutput>;
141
145
  createChannel(
142
146
  args: CreateChannelCommandInput,
@@ -144,12 +148,12 @@ export interface MediaPackageV2 {
144
148
  ): void;
145
149
  createChannel(
146
150
  args: CreateChannelCommandInput,
147
- options: __HttpHandlerOptions,
151
+ options: MediaPackageV2RequestOptions,
148
152
  cb: (err: any, data?: CreateChannelCommandOutput) => void,
149
153
  ): void;
150
154
  createChannelGroup(
151
155
  args: CreateChannelGroupCommandInput,
152
- options?: __HttpHandlerOptions,
156
+ options?: MediaPackageV2RequestOptions,
153
157
  ): Promise<CreateChannelGroupCommandOutput>;
154
158
  createChannelGroup(
155
159
  args: CreateChannelGroupCommandInput,
@@ -157,12 +161,12 @@ export interface MediaPackageV2 {
157
161
  ): void;
158
162
  createChannelGroup(
159
163
  args: CreateChannelGroupCommandInput,
160
- options: __HttpHandlerOptions,
164
+ options: MediaPackageV2RequestOptions,
161
165
  cb: (err: any, data?: CreateChannelGroupCommandOutput) => void,
162
166
  ): void;
163
167
  createHarvestJob(
164
168
  args: CreateHarvestJobCommandInput,
165
- options?: __HttpHandlerOptions,
169
+ options?: MediaPackageV2RequestOptions,
166
170
  ): Promise<CreateHarvestJobCommandOutput>;
167
171
  createHarvestJob(
168
172
  args: CreateHarvestJobCommandInput,
@@ -170,12 +174,12 @@ export interface MediaPackageV2 {
170
174
  ): void;
171
175
  createHarvestJob(
172
176
  args: CreateHarvestJobCommandInput,
173
- options: __HttpHandlerOptions,
177
+ options: MediaPackageV2RequestOptions,
174
178
  cb: (err: any, data?: CreateHarvestJobCommandOutput) => void,
175
179
  ): void;
176
180
  createOriginEndpoint(
177
181
  args: CreateOriginEndpointCommandInput,
178
- options?: __HttpHandlerOptions,
182
+ options?: MediaPackageV2RequestOptions,
179
183
  ): Promise<CreateOriginEndpointCommandOutput>;
180
184
  createOriginEndpoint(
181
185
  args: CreateOriginEndpointCommandInput,
@@ -183,12 +187,12 @@ export interface MediaPackageV2 {
183
187
  ): void;
184
188
  createOriginEndpoint(
185
189
  args: CreateOriginEndpointCommandInput,
186
- options: __HttpHandlerOptions,
190
+ options: MediaPackageV2RequestOptions,
187
191
  cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void,
188
192
  ): void;
189
193
  deleteChannel(
190
194
  args: DeleteChannelCommandInput,
191
- options?: __HttpHandlerOptions,
195
+ options?: MediaPackageV2RequestOptions,
192
196
  ): Promise<DeleteChannelCommandOutput>;
193
197
  deleteChannel(
194
198
  args: DeleteChannelCommandInput,
@@ -196,12 +200,12 @@ export interface MediaPackageV2 {
196
200
  ): void;
197
201
  deleteChannel(
198
202
  args: DeleteChannelCommandInput,
199
- options: __HttpHandlerOptions,
203
+ options: MediaPackageV2RequestOptions,
200
204
  cb: (err: any, data?: DeleteChannelCommandOutput) => void,
201
205
  ): void;
202
206
  deleteChannelGroup(
203
207
  args: DeleteChannelGroupCommandInput,
204
- options?: __HttpHandlerOptions,
208
+ options?: MediaPackageV2RequestOptions,
205
209
  ): Promise<DeleteChannelGroupCommandOutput>;
206
210
  deleteChannelGroup(
207
211
  args: DeleteChannelGroupCommandInput,
@@ -209,12 +213,12 @@ export interface MediaPackageV2 {
209
213
  ): void;
210
214
  deleteChannelGroup(
211
215
  args: DeleteChannelGroupCommandInput,
212
- options: __HttpHandlerOptions,
216
+ options: MediaPackageV2RequestOptions,
213
217
  cb: (err: any, data?: DeleteChannelGroupCommandOutput) => void,
214
218
  ): void;
215
219
  deleteChannelPolicy(
216
220
  args: DeleteChannelPolicyCommandInput,
217
- options?: __HttpHandlerOptions,
221
+ options?: MediaPackageV2RequestOptions,
218
222
  ): Promise<DeleteChannelPolicyCommandOutput>;
219
223
  deleteChannelPolicy(
220
224
  args: DeleteChannelPolicyCommandInput,
@@ -222,12 +226,12 @@ export interface MediaPackageV2 {
222
226
  ): void;
223
227
  deleteChannelPolicy(
224
228
  args: DeleteChannelPolicyCommandInput,
225
- options: __HttpHandlerOptions,
229
+ options: MediaPackageV2RequestOptions,
226
230
  cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void,
227
231
  ): void;
228
232
  deleteOriginEndpoint(
229
233
  args: DeleteOriginEndpointCommandInput,
230
- options?: __HttpHandlerOptions,
234
+ options?: MediaPackageV2RequestOptions,
231
235
  ): Promise<DeleteOriginEndpointCommandOutput>;
232
236
  deleteOriginEndpoint(
233
237
  args: DeleteOriginEndpointCommandInput,
@@ -235,12 +239,12 @@ export interface MediaPackageV2 {
235
239
  ): void;
236
240
  deleteOriginEndpoint(
237
241
  args: DeleteOriginEndpointCommandInput,
238
- options: __HttpHandlerOptions,
242
+ options: MediaPackageV2RequestOptions,
239
243
  cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void,
240
244
  ): void;
241
245
  deleteOriginEndpointPolicy(
242
246
  args: DeleteOriginEndpointPolicyCommandInput,
243
- options?: __HttpHandlerOptions,
247
+ options?: MediaPackageV2RequestOptions,
244
248
  ): Promise<DeleteOriginEndpointPolicyCommandOutput>;
245
249
  deleteOriginEndpointPolicy(
246
250
  args: DeleteOriginEndpointPolicyCommandInput,
@@ -248,12 +252,12 @@ export interface MediaPackageV2 {
248
252
  ): void;
249
253
  deleteOriginEndpointPolicy(
250
254
  args: DeleteOriginEndpointPolicyCommandInput,
251
- options: __HttpHandlerOptions,
255
+ options: MediaPackageV2RequestOptions,
252
256
  cb: (err: any, data?: DeleteOriginEndpointPolicyCommandOutput) => void,
253
257
  ): void;
254
258
  getChannel(
255
259
  args: GetChannelCommandInput,
256
- options?: __HttpHandlerOptions,
260
+ options?: MediaPackageV2RequestOptions,
257
261
  ): Promise<GetChannelCommandOutput>;
258
262
  getChannel(
259
263
  args: GetChannelCommandInput,
@@ -261,12 +265,12 @@ export interface MediaPackageV2 {
261
265
  ): void;
262
266
  getChannel(
263
267
  args: GetChannelCommandInput,
264
- options: __HttpHandlerOptions,
268
+ options: MediaPackageV2RequestOptions,
265
269
  cb: (err: any, data?: GetChannelCommandOutput) => void,
266
270
  ): void;
267
271
  getChannelGroup(
268
272
  args: GetChannelGroupCommandInput,
269
- options?: __HttpHandlerOptions,
273
+ options?: MediaPackageV2RequestOptions,
270
274
  ): Promise<GetChannelGroupCommandOutput>;
271
275
  getChannelGroup(
272
276
  args: GetChannelGroupCommandInput,
@@ -274,12 +278,12 @@ export interface MediaPackageV2 {
274
278
  ): void;
275
279
  getChannelGroup(
276
280
  args: GetChannelGroupCommandInput,
277
- options: __HttpHandlerOptions,
281
+ options: MediaPackageV2RequestOptions,
278
282
  cb: (err: any, data?: GetChannelGroupCommandOutput) => void,
279
283
  ): void;
280
284
  getChannelPolicy(
281
285
  args: GetChannelPolicyCommandInput,
282
- options?: __HttpHandlerOptions,
286
+ options?: MediaPackageV2RequestOptions,
283
287
  ): Promise<GetChannelPolicyCommandOutput>;
284
288
  getChannelPolicy(
285
289
  args: GetChannelPolicyCommandInput,
@@ -287,12 +291,12 @@ export interface MediaPackageV2 {
287
291
  ): void;
288
292
  getChannelPolicy(
289
293
  args: GetChannelPolicyCommandInput,
290
- options: __HttpHandlerOptions,
294
+ options: MediaPackageV2RequestOptions,
291
295
  cb: (err: any, data?: GetChannelPolicyCommandOutput) => void,
292
296
  ): void;
293
297
  getHarvestJob(
294
298
  args: GetHarvestJobCommandInput,
295
- options?: __HttpHandlerOptions,
299
+ options?: MediaPackageV2RequestOptions,
296
300
  ): Promise<GetHarvestJobCommandOutput>;
297
301
  getHarvestJob(
298
302
  args: GetHarvestJobCommandInput,
@@ -300,12 +304,12 @@ export interface MediaPackageV2 {
300
304
  ): void;
301
305
  getHarvestJob(
302
306
  args: GetHarvestJobCommandInput,
303
- options: __HttpHandlerOptions,
307
+ options: MediaPackageV2RequestOptions,
304
308
  cb: (err: any, data?: GetHarvestJobCommandOutput) => void,
305
309
  ): void;
306
310
  getOriginEndpoint(
307
311
  args: GetOriginEndpointCommandInput,
308
- options?: __HttpHandlerOptions,
312
+ options?: MediaPackageV2RequestOptions,
309
313
  ): Promise<GetOriginEndpointCommandOutput>;
310
314
  getOriginEndpoint(
311
315
  args: GetOriginEndpointCommandInput,
@@ -313,12 +317,12 @@ export interface MediaPackageV2 {
313
317
  ): void;
314
318
  getOriginEndpoint(
315
319
  args: GetOriginEndpointCommandInput,
316
- options: __HttpHandlerOptions,
320
+ options: MediaPackageV2RequestOptions,
317
321
  cb: (err: any, data?: GetOriginEndpointCommandOutput) => void,
318
322
  ): void;
319
323
  getOriginEndpointPolicy(
320
324
  args: GetOriginEndpointPolicyCommandInput,
321
- options?: __HttpHandlerOptions,
325
+ options?: MediaPackageV2RequestOptions,
322
326
  ): Promise<GetOriginEndpointPolicyCommandOutput>;
323
327
  getOriginEndpointPolicy(
324
328
  args: GetOriginEndpointPolicyCommandInput,
@@ -326,13 +330,13 @@ export interface MediaPackageV2 {
326
330
  ): void;
327
331
  getOriginEndpointPolicy(
328
332
  args: GetOriginEndpointPolicyCommandInput,
329
- options: __HttpHandlerOptions,
333
+ options: MediaPackageV2RequestOptions,
330
334
  cb: (err: any, data?: GetOriginEndpointPolicyCommandOutput) => void,
331
335
  ): void;
332
336
  listChannelGroups(): Promise<ListChannelGroupsCommandOutput>;
333
337
  listChannelGroups(
334
338
  args: ListChannelGroupsCommandInput,
335
- options?: __HttpHandlerOptions,
339
+ options?: MediaPackageV2RequestOptions,
336
340
  ): Promise<ListChannelGroupsCommandOutput>;
337
341
  listChannelGroups(
338
342
  args: ListChannelGroupsCommandInput,
@@ -340,12 +344,12 @@ export interface MediaPackageV2 {
340
344
  ): void;
341
345
  listChannelGroups(
342
346
  args: ListChannelGroupsCommandInput,
343
- options: __HttpHandlerOptions,
347
+ options: MediaPackageV2RequestOptions,
344
348
  cb: (err: any, data?: ListChannelGroupsCommandOutput) => void,
345
349
  ): void;
346
350
  listChannels(
347
351
  args: ListChannelsCommandInput,
348
- options?: __HttpHandlerOptions,
352
+ options?: MediaPackageV2RequestOptions,
349
353
  ): Promise<ListChannelsCommandOutput>;
350
354
  listChannels(
351
355
  args: ListChannelsCommandInput,
@@ -353,12 +357,12 @@ export interface MediaPackageV2 {
353
357
  ): void;
354
358
  listChannels(
355
359
  args: ListChannelsCommandInput,
356
- options: __HttpHandlerOptions,
360
+ options: MediaPackageV2RequestOptions,
357
361
  cb: (err: any, data?: ListChannelsCommandOutput) => void,
358
362
  ): void;
359
363
  listHarvestJobs(
360
364
  args: ListHarvestJobsCommandInput,
361
- options?: __HttpHandlerOptions,
365
+ options?: MediaPackageV2RequestOptions,
362
366
  ): Promise<ListHarvestJobsCommandOutput>;
363
367
  listHarvestJobs(
364
368
  args: ListHarvestJobsCommandInput,
@@ -366,12 +370,12 @@ export interface MediaPackageV2 {
366
370
  ): void;
367
371
  listHarvestJobs(
368
372
  args: ListHarvestJobsCommandInput,
369
- options: __HttpHandlerOptions,
373
+ options: MediaPackageV2RequestOptions,
370
374
  cb: (err: any, data?: ListHarvestJobsCommandOutput) => void,
371
375
  ): void;
372
376
  listOriginEndpoints(
373
377
  args: ListOriginEndpointsCommandInput,
374
- options?: __HttpHandlerOptions,
378
+ options?: MediaPackageV2RequestOptions,
375
379
  ): Promise<ListOriginEndpointsCommandOutput>;
376
380
  listOriginEndpoints(
377
381
  args: ListOriginEndpointsCommandInput,
@@ -379,12 +383,12 @@ export interface MediaPackageV2 {
379
383
  ): void;
380
384
  listOriginEndpoints(
381
385
  args: ListOriginEndpointsCommandInput,
382
- options: __HttpHandlerOptions,
386
+ options: MediaPackageV2RequestOptions,
383
387
  cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void,
384
388
  ): void;
385
389
  listTagsForResource(
386
390
  args: ListTagsForResourceCommandInput,
387
- options?: __HttpHandlerOptions,
391
+ options?: MediaPackageV2RequestOptions,
388
392
  ): Promise<ListTagsForResourceCommandOutput>;
389
393
  listTagsForResource(
390
394
  args: ListTagsForResourceCommandInput,
@@ -392,12 +396,12 @@ export interface MediaPackageV2 {
392
396
  ): void;
393
397
  listTagsForResource(
394
398
  args: ListTagsForResourceCommandInput,
395
- options: __HttpHandlerOptions,
399
+ options: MediaPackageV2RequestOptions,
396
400
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
397
401
  ): void;
398
402
  putChannelPolicy(
399
403
  args: PutChannelPolicyCommandInput,
400
- options?: __HttpHandlerOptions,
404
+ options?: MediaPackageV2RequestOptions,
401
405
  ): Promise<PutChannelPolicyCommandOutput>;
402
406
  putChannelPolicy(
403
407
  args: PutChannelPolicyCommandInput,
@@ -405,12 +409,12 @@ export interface MediaPackageV2 {
405
409
  ): void;
406
410
  putChannelPolicy(
407
411
  args: PutChannelPolicyCommandInput,
408
- options: __HttpHandlerOptions,
412
+ options: MediaPackageV2RequestOptions,
409
413
  cb: (err: any, data?: PutChannelPolicyCommandOutput) => void,
410
414
  ): void;
411
415
  putOriginEndpointPolicy(
412
416
  args: PutOriginEndpointPolicyCommandInput,
413
- options?: __HttpHandlerOptions,
417
+ options?: MediaPackageV2RequestOptions,
414
418
  ): Promise<PutOriginEndpointPolicyCommandOutput>;
415
419
  putOriginEndpointPolicy(
416
420
  args: PutOriginEndpointPolicyCommandInput,
@@ -418,12 +422,12 @@ export interface MediaPackageV2 {
418
422
  ): void;
419
423
  putOriginEndpointPolicy(
420
424
  args: PutOriginEndpointPolicyCommandInput,
421
- options: __HttpHandlerOptions,
425
+ options: MediaPackageV2RequestOptions,
422
426
  cb: (err: any, data?: PutOriginEndpointPolicyCommandOutput) => void,
423
427
  ): void;
424
428
  resetChannelState(
425
429
  args: ResetChannelStateCommandInput,
426
- options?: __HttpHandlerOptions,
430
+ options?: MediaPackageV2RequestOptions,
427
431
  ): Promise<ResetChannelStateCommandOutput>;
428
432
  resetChannelState(
429
433
  args: ResetChannelStateCommandInput,
@@ -431,12 +435,12 @@ export interface MediaPackageV2 {
431
435
  ): void;
432
436
  resetChannelState(
433
437
  args: ResetChannelStateCommandInput,
434
- options: __HttpHandlerOptions,
438
+ options: MediaPackageV2RequestOptions,
435
439
  cb: (err: any, data?: ResetChannelStateCommandOutput) => void,
436
440
  ): void;
437
441
  resetOriginEndpointState(
438
442
  args: ResetOriginEndpointStateCommandInput,
439
- options?: __HttpHandlerOptions,
443
+ options?: MediaPackageV2RequestOptions,
440
444
  ): Promise<ResetOriginEndpointStateCommandOutput>;
441
445
  resetOriginEndpointState(
442
446
  args: ResetOriginEndpointStateCommandInput,
@@ -444,12 +448,12 @@ export interface MediaPackageV2 {
444
448
  ): void;
445
449
  resetOriginEndpointState(
446
450
  args: ResetOriginEndpointStateCommandInput,
447
- options: __HttpHandlerOptions,
451
+ options: MediaPackageV2RequestOptions,
448
452
  cb: (err: any, data?: ResetOriginEndpointStateCommandOutput) => void,
449
453
  ): void;
450
454
  tagResource(
451
455
  args: TagResourceCommandInput,
452
- options?: __HttpHandlerOptions,
456
+ options?: MediaPackageV2RequestOptions,
453
457
  ): Promise<TagResourceCommandOutput>;
454
458
  tagResource(
455
459
  args: TagResourceCommandInput,
@@ -457,12 +461,12 @@ export interface MediaPackageV2 {
457
461
  ): void;
458
462
  tagResource(
459
463
  args: TagResourceCommandInput,
460
- options: __HttpHandlerOptions,
464
+ options: MediaPackageV2RequestOptions,
461
465
  cb: (err: any, data?: TagResourceCommandOutput) => void,
462
466
  ): void;
463
467
  untagResource(
464
468
  args: UntagResourceCommandInput,
465
- options?: __HttpHandlerOptions,
469
+ options?: MediaPackageV2RequestOptions,
466
470
  ): Promise<UntagResourceCommandOutput>;
467
471
  untagResource(
468
472
  args: UntagResourceCommandInput,
@@ -470,12 +474,12 @@ export interface MediaPackageV2 {
470
474
  ): void;
471
475
  untagResource(
472
476
  args: UntagResourceCommandInput,
473
- options: __HttpHandlerOptions,
477
+ options: MediaPackageV2RequestOptions,
474
478
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
475
479
  ): void;
476
480
  updateChannel(
477
481
  args: UpdateChannelCommandInput,
478
- options?: __HttpHandlerOptions,
482
+ options?: MediaPackageV2RequestOptions,
479
483
  ): Promise<UpdateChannelCommandOutput>;
480
484
  updateChannel(
481
485
  args: UpdateChannelCommandInput,
@@ -483,12 +487,12 @@ export interface MediaPackageV2 {
483
487
  ): void;
484
488
  updateChannel(
485
489
  args: UpdateChannelCommandInput,
486
- options: __HttpHandlerOptions,
490
+ options: MediaPackageV2RequestOptions,
487
491
  cb: (err: any, data?: UpdateChannelCommandOutput) => void,
488
492
  ): void;
489
493
  updateChannelGroup(
490
494
  args: UpdateChannelGroupCommandInput,
491
- options?: __HttpHandlerOptions,
495
+ options?: MediaPackageV2RequestOptions,
492
496
  ): Promise<UpdateChannelGroupCommandOutput>;
493
497
  updateChannelGroup(
494
498
  args: UpdateChannelGroupCommandInput,
@@ -496,12 +500,12 @@ export interface MediaPackageV2 {
496
500
  ): void;
497
501
  updateChannelGroup(
498
502
  args: UpdateChannelGroupCommandInput,
499
- options: __HttpHandlerOptions,
503
+ options: MediaPackageV2RequestOptions,
500
504
  cb: (err: any, data?: UpdateChannelGroupCommandOutput) => void,
501
505
  ): void;
502
506
  updateOriginEndpoint(
503
507
  args: UpdateOriginEndpointCommandInput,
504
- options?: __HttpHandlerOptions,
508
+ options?: MediaPackageV2RequestOptions,
505
509
  ): Promise<UpdateOriginEndpointCommandOutput>;
506
510
  updateOriginEndpoint(
507
511
  args: UpdateOriginEndpointCommandInput,
@@ -509,7 +513,7 @@ export interface MediaPackageV2 {
509
513
  ): void;
510
514
  updateOriginEndpoint(
511
515
  args: UpdateOriginEndpointCommandInput,
512
- options: __HttpHandlerOptions,
516
+ options: MediaPackageV2RequestOptions,
513
517
  cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void,
514
518
  ): void;
515
519
  paginateListChannelGroups(
@@ -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.1137.0",
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",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {