@aws-sdk/client-mediapackagev2 3.552.0 → 3.556.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
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ AdMarkerDash: () => AdMarkerDash,
25
26
  AdMarkerHls: () => AdMarkerHls,
26
27
  CmafEncryptionMethod: () => CmafEncryptionMethod,
27
28
  ConflictException: () => ConflictException,
@@ -30,6 +31,10 @@ __export(src_exports, {
30
31
  CreateChannelCommand: () => CreateChannelCommand,
31
32
  CreateChannelGroupCommand: () => CreateChannelGroupCommand,
32
33
  CreateOriginEndpointCommand: () => CreateOriginEndpointCommand,
34
+ DashDrmSignaling: () => DashDrmSignaling,
35
+ DashPeriodTrigger: () => DashPeriodTrigger,
36
+ DashSegmentTemplateFormat: () => DashSegmentTemplateFormat,
37
+ DashUtcTimingMode: () => DashUtcTimingMode,
33
38
  DeleteChannelCommand: () => DeleteChannelCommand,
34
39
  DeleteChannelGroupCommand: () => DeleteChannelGroupCommand,
35
40
  DeleteChannelPolicyCommand: () => DeleteChannelPolicyCommand,
@@ -263,6 +268,10 @@ var _AccessDeniedException = class _AccessDeniedException extends MediaPackageV2
263
268
  };
264
269
  __name(_AccessDeniedException, "AccessDeniedException");
265
270
  var AccessDeniedException = _AccessDeniedException;
271
+ var AdMarkerDash = {
272
+ BINARY: "BINARY",
273
+ XML: "XML"
274
+ };
266
275
  var AdMarkerHls = {
267
276
  DATERANGE: "DATERANGE"
268
277
  };
@@ -330,6 +339,8 @@ var ThrottlingException = _ThrottlingException;
330
339
  var ValidationExceptionType = {
331
340
  CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
332
341
  CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
342
+ DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE",
343
+ DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS",
333
344
  DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE",
334
345
  ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED",
335
346
  ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
@@ -342,6 +353,7 @@ var ValidationExceptionType = {
342
353
  INVALID_POLICY: "INVALID_POLICY",
343
354
  INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
344
355
  INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
356
+ MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE",
345
357
  MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
346
358
  MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
347
359
  MEMBER_INVALID: "MEMBER_INVALID",
@@ -351,11 +363,16 @@ var ValidationExceptionType = {
351
363
  MEMBER_MIN_LENGTH: "MEMBER_MIN_LENGTH",
352
364
  MEMBER_MIN_VALUE: "MEMBER_MIN_VALUE",
353
365
  MEMBER_MISSING: "MEMBER_MISSING",
366
+ NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE",
354
367
  NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
355
368
  NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
369
+ PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
356
370
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
357
371
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
358
372
  ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
373
+ TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
374
+ TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
375
+ UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
359
376
  URL_INVALID: "URL_INVALID",
360
377
  URL_LINK_LOCAL_ADDRESS: "URL_LINK_LOCAL_ADDRESS",
361
378
  URL_LOCAL_ADDRESS: "URL_LOCAL_ADDRESS",
@@ -431,6 +448,26 @@ var ContainerType = {
431
448
  CMAF: "CMAF",
432
449
  TS: "TS"
433
450
  };
451
+ var DashDrmSignaling = {
452
+ INDIVIDUAL: "INDIVIDUAL",
453
+ REFERENCED: "REFERENCED"
454
+ };
455
+ var DashPeriodTrigger = {
456
+ AVAILS: "AVAILS",
457
+ DRM_KEY_ROTATION: "DRM_KEY_ROTATION",
458
+ NONE: "NONE",
459
+ SOURCE_CHANGES: "SOURCE_CHANGES",
460
+ SOURCE_DISRUPTIONS: "SOURCE_DISRUPTIONS"
461
+ };
462
+ var DashSegmentTemplateFormat = {
463
+ NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE"
464
+ };
465
+ var DashUtcTimingMode = {
466
+ HTTP_HEAD: "HTTP_HEAD",
467
+ HTTP_ISO: "HTTP_ISO",
468
+ HTTP_XSDATE: "HTTP_XSDATE",
469
+ UTC_DIRECT: "UTC_DIRECT"
470
+ };
434
471
  var CmafEncryptionMethod = {
435
472
  CBCS: "CBCS",
436
473
  CENC: "CENC"
@@ -527,6 +564,7 @@ var se_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
527
564
  body = JSON.stringify(
528
565
  (0, import_smithy_client.take)(input, {
529
566
  ContainerType: [],
567
+ DashManifests: (_) => se_CreateDashManifests(_, context),
530
568
  Description: [],
531
569
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
532
570
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
@@ -804,6 +842,7 @@ var se_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (input, contex
804
842
  body = JSON.stringify(
805
843
  (0, import_smithy_client.take)(input, {
806
844
  ContainerType: [],
845
+ DashManifests: (_) => se_CreateDashManifests(_, context),
807
846
  Description: [],
808
847
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
809
848
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
@@ -871,6 +910,7 @@ var de_CreateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
871
910
  ChannelName: import_smithy_client.expectString,
872
911
  ContainerType: import_smithy_client.expectString,
873
912
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
913
+ DashManifests: (_) => de_GetDashManifests(_, context),
874
914
  Description: import_smithy_client.expectString,
875
915
  ETag: import_smithy_client.expectString,
876
916
  HlsManifests: (_) => de_GetHlsManifests(_, context),
@@ -1007,6 +1047,7 @@ var de_GetOriginEndpointCommand = /* @__PURE__ */ __name(async (output, context)
1007
1047
  ChannelName: import_smithy_client.expectString,
1008
1048
  ContainerType: import_smithy_client.expectString,
1009
1049
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1050
+ DashManifests: (_) => de_GetDashManifests(_, context),
1010
1051
  Description: import_smithy_client.expectString,
1011
1052
  ETag: import_smithy_client.expectString,
1012
1053
  HlsManifests: (_) => de_GetHlsManifests(_, context),
@@ -1193,6 +1234,7 @@ var de_UpdateOriginEndpointCommand = /* @__PURE__ */ __name(async (output, conte
1193
1234
  ChannelName: import_smithy_client.expectString,
1194
1235
  ContainerType: import_smithy_client.expectString,
1195
1236
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1237
+ DashManifests: (_) => de_GetDashManifests(_, context),
1196
1238
  Description: import_smithy_client.expectString,
1197
1239
  ETag: import_smithy_client.expectString,
1198
1240
  HlsManifests: (_) => de_GetHlsManifests(_, context),
@@ -1338,6 +1380,26 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
1338
1380
  });
1339
1381
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1340
1382
  }, "de_ValidationExceptionRes");
1383
+ var se_CreateDashManifestConfiguration = /* @__PURE__ */ __name((input, context) => {
1384
+ return (0, import_smithy_client.take)(input, {
1385
+ DrmSignaling: [],
1386
+ FilterConfiguration: (_) => se_FilterConfiguration(_, context),
1387
+ ManifestName: [],
1388
+ ManifestWindowSeconds: [],
1389
+ MinBufferTimeSeconds: [],
1390
+ MinUpdatePeriodSeconds: [],
1391
+ PeriodTriggers: import_smithy_client._json,
1392
+ ScteDash: import_smithy_client._json,
1393
+ SegmentTemplateFormat: [],
1394
+ SuggestedPresentationDelaySeconds: [],
1395
+ UtcTiming: import_smithy_client._json
1396
+ });
1397
+ }, "se_CreateDashManifestConfiguration");
1398
+ var se_CreateDashManifests = /* @__PURE__ */ __name((input, context) => {
1399
+ return input.filter((e) => e != null).map((entry) => {
1400
+ return se_CreateDashManifestConfiguration(entry, context);
1401
+ });
1402
+ }, "se_CreateDashManifests");
1341
1403
  var se_CreateHlsManifestConfiguration = /* @__PURE__ */ __name((input, context) => {
1342
1404
  return (0, import_smithy_client.take)(input, {
1343
1405
  ChildManifestName: [],
@@ -1415,6 +1477,28 @@ var de_FilterConfiguration = /* @__PURE__ */ __name((output, context) => {
1415
1477
  TimeDelaySeconds: import_smithy_client.expectInt32
1416
1478
  });
1417
1479
  }, "de_FilterConfiguration");
1480
+ var de_GetDashManifestConfiguration = /* @__PURE__ */ __name((output, context) => {
1481
+ return (0, import_smithy_client.take)(output, {
1482
+ DrmSignaling: import_smithy_client.expectString,
1483
+ FilterConfiguration: (_) => de_FilterConfiguration(_, context),
1484
+ ManifestName: import_smithy_client.expectString,
1485
+ ManifestWindowSeconds: import_smithy_client.expectInt32,
1486
+ MinBufferTimeSeconds: import_smithy_client.expectInt32,
1487
+ MinUpdatePeriodSeconds: import_smithy_client.expectInt32,
1488
+ PeriodTriggers: import_smithy_client._json,
1489
+ ScteDash: import_smithy_client._json,
1490
+ SegmentTemplateFormat: import_smithy_client.expectString,
1491
+ SuggestedPresentationDelaySeconds: import_smithy_client.expectInt32,
1492
+ Url: import_smithy_client.expectString,
1493
+ UtcTiming: import_smithy_client._json
1494
+ });
1495
+ }, "de_GetDashManifestConfiguration");
1496
+ var de_GetDashManifests = /* @__PURE__ */ __name((output, context) => {
1497
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1498
+ return de_GetDashManifestConfiguration(entry, context);
1499
+ });
1500
+ return retVal;
1501
+ }, "de_GetDashManifests");
1418
1502
  var de_GetHlsManifestConfiguration = /* @__PURE__ */ __name((output, context) => {
1419
1503
  return (0, import_smithy_client.take)(output, {
1420
1504
  ChildManifestName: import_smithy_client.expectString,
@@ -1456,6 +1540,7 @@ var de_OriginEndpointListConfiguration = /* @__PURE__ */ __name((output, context
1456
1540
  ChannelName: import_smithy_client.expectString,
1457
1541
  ContainerType: import_smithy_client.expectString,
1458
1542
  CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1543
+ DashManifests: import_smithy_client._json,
1459
1544
  Description: import_smithy_client.expectString,
1460
1545
  HlsManifests: import_smithy_client._json,
1461
1546
  LowLatencyHlsManifests: import_smithy_client._json,
@@ -1971,6 +2056,7 @@ var paginateListOriginEndpoints = (0, import_core.createPaginator)(MediaPackageV
1971
2056
  paginateListChannels,
1972
2057
  paginateListOriginEndpoints,
1973
2058
  AccessDeniedException,
2059
+ AdMarkerDash,
1974
2060
  AdMarkerHls,
1975
2061
  ConflictExceptionType,
1976
2062
  ConflictException,
@@ -1982,6 +2068,10 @@ var paginateListOriginEndpoints = (0, import_core.createPaginator)(MediaPackageV
1982
2068
  ResourceNotFoundException,
1983
2069
  ServiceQuotaExceededException,
1984
2070
  ContainerType,
2071
+ DashDrmSignaling,
2072
+ DashPeriodTrigger,
2073
+ DashSegmentTemplateFormat,
2074
+ DashUtcTimingMode,
1985
2075
  CmafEncryptionMethod,
1986
2076
  TsEncryptionMethod,
1987
2077
  DrmSystem,
@@ -12,6 +12,10 @@ export class AccessDeniedException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
+ export const AdMarkerDash = {
16
+ BINARY: "BINARY",
17
+ XML: "XML",
18
+ };
15
19
  export const AdMarkerHls = {
16
20
  DATERANGE: "DATERANGE",
17
21
  };
@@ -64,6 +68,8 @@ export class ThrottlingException extends __BaseException {
64
68
  export const ValidationExceptionType = {
65
69
  CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
66
70
  CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
71
+ DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE",
72
+ DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS",
67
73
  DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE",
68
74
  ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED",
69
75
  ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
@@ -76,6 +82,7 @@ export const ValidationExceptionType = {
76
82
  INVALID_POLICY: "INVALID_POLICY",
77
83
  INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
78
84
  INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
85
+ MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE",
79
86
  MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
80
87
  MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
81
88
  MEMBER_INVALID: "MEMBER_INVALID",
@@ -85,11 +92,16 @@ export const ValidationExceptionType = {
85
92
  MEMBER_MIN_LENGTH: "MEMBER_MIN_LENGTH",
86
93
  MEMBER_MIN_VALUE: "MEMBER_MIN_VALUE",
87
94
  MEMBER_MISSING: "MEMBER_MISSING",
95
+ NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE",
88
96
  NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH",
89
97
  NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW",
98
+ PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES",
90
99
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
91
100
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
92
101
  ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
102
+ TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
103
+ TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
104
+ UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
93
105
  URL_INVALID: "URL_INVALID",
94
106
  URL_LINK_LOCAL_ADDRESS: "URL_LINK_LOCAL_ADDRESS",
95
107
  URL_LOCAL_ADDRESS: "URL_LOCAL_ADDRESS",
@@ -150,6 +162,26 @@ export const ContainerType = {
150
162
  CMAF: "CMAF",
151
163
  TS: "TS",
152
164
  };
165
+ export const DashDrmSignaling = {
166
+ INDIVIDUAL: "INDIVIDUAL",
167
+ REFERENCED: "REFERENCED",
168
+ };
169
+ export const DashPeriodTrigger = {
170
+ AVAILS: "AVAILS",
171
+ DRM_KEY_ROTATION: "DRM_KEY_ROTATION",
172
+ NONE: "NONE",
173
+ SOURCE_CHANGES: "SOURCE_CHANGES",
174
+ SOURCE_DISRUPTIONS: "SOURCE_DISRUPTIONS",
175
+ };
176
+ export const DashSegmentTemplateFormat = {
177
+ NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE",
178
+ };
179
+ export const DashUtcTimingMode = {
180
+ HTTP_HEAD: "HTTP_HEAD",
181
+ HTTP_ISO: "HTTP_ISO",
182
+ HTTP_XSDATE: "HTTP_XSDATE",
183
+ UTC_DIRECT: "UTC_DIRECT",
184
+ };
153
185
  export const CmafEncryptionMethod = {
154
186
  CBCS: "CBCS",
155
187
  CENC: "CENC",
@@ -48,6 +48,7 @@ export const se_CreateOriginEndpointCommand = async (input, context) => {
48
48
  let body;
49
49
  body = JSON.stringify(take(input, {
50
50
  ContainerType: [],
51
+ DashManifests: (_) => se_CreateDashManifests(_, context),
51
52
  Description: [],
52
53
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
53
54
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
@@ -313,6 +314,7 @@ export const se_UpdateOriginEndpointCommand = async (input, context) => {
313
314
  let body;
314
315
  body = JSON.stringify(take(input, {
315
316
  ContainerType: [],
317
+ DashManifests: (_) => se_CreateDashManifests(_, context),
316
318
  Description: [],
317
319
  HlsManifests: (_) => se_CreateHlsManifests(_, context),
318
320
  LowLatencyHlsManifests: (_) => se_CreateLowLatencyHlsManifests(_, context),
@@ -379,6 +381,7 @@ export const de_CreateOriginEndpointCommand = async (output, context) => {
379
381
  ChannelName: __expectString,
380
382
  ContainerType: __expectString,
381
383
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
384
+ DashManifests: (_) => de_GetDashManifests(_, context),
382
385
  Description: __expectString,
383
386
  ETag: __expectString,
384
387
  HlsManifests: (_) => de_GetHlsManifests(_, context),
@@ -515,6 +518,7 @@ export const de_GetOriginEndpointCommand = async (output, context) => {
515
518
  ChannelName: __expectString,
516
519
  ContainerType: __expectString,
517
520
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
521
+ DashManifests: (_) => de_GetDashManifests(_, context),
518
522
  Description: __expectString,
519
523
  ETag: __expectString,
520
524
  HlsManifests: (_) => de_GetHlsManifests(_, context),
@@ -701,6 +705,7 @@ export const de_UpdateOriginEndpointCommand = async (output, context) => {
701
705
  ChannelName: __expectString,
702
706
  ContainerType: __expectString,
703
707
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
708
+ DashManifests: (_) => de_GetDashManifests(_, context),
704
709
  Description: __expectString,
705
710
  ETag: __expectString,
706
711
  HlsManifests: (_) => de_GetHlsManifests(_, context),
@@ -846,6 +851,28 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
846
851
  });
847
852
  return __decorateServiceException(exception, parsedOutput.body);
848
853
  };
854
+ const se_CreateDashManifestConfiguration = (input, context) => {
855
+ return take(input, {
856
+ DrmSignaling: [],
857
+ FilterConfiguration: (_) => se_FilterConfiguration(_, context),
858
+ ManifestName: [],
859
+ ManifestWindowSeconds: [],
860
+ MinBufferTimeSeconds: [],
861
+ MinUpdatePeriodSeconds: [],
862
+ PeriodTriggers: _json,
863
+ ScteDash: _json,
864
+ SegmentTemplateFormat: [],
865
+ SuggestedPresentationDelaySeconds: [],
866
+ UtcTiming: _json,
867
+ });
868
+ };
869
+ const se_CreateDashManifests = (input, context) => {
870
+ return input
871
+ .filter((e) => e != null)
872
+ .map((entry) => {
873
+ return se_CreateDashManifestConfiguration(entry, context);
874
+ });
875
+ };
849
876
  const se_CreateHlsManifestConfiguration = (input, context) => {
850
877
  return take(input, {
851
878
  ChildManifestName: [],
@@ -931,6 +958,30 @@ const de_FilterConfiguration = (output, context) => {
931
958
  TimeDelaySeconds: __expectInt32,
932
959
  });
933
960
  };
961
+ const de_GetDashManifestConfiguration = (output, context) => {
962
+ return take(output, {
963
+ DrmSignaling: __expectString,
964
+ FilterConfiguration: (_) => de_FilterConfiguration(_, context),
965
+ ManifestName: __expectString,
966
+ ManifestWindowSeconds: __expectInt32,
967
+ MinBufferTimeSeconds: __expectInt32,
968
+ MinUpdatePeriodSeconds: __expectInt32,
969
+ PeriodTriggers: _json,
970
+ ScteDash: _json,
971
+ SegmentTemplateFormat: __expectString,
972
+ SuggestedPresentationDelaySeconds: __expectInt32,
973
+ Url: __expectString,
974
+ UtcTiming: _json,
975
+ });
976
+ };
977
+ const de_GetDashManifests = (output, context) => {
978
+ const retVal = (output || [])
979
+ .filter((e) => e != null)
980
+ .map((entry) => {
981
+ return de_GetDashManifestConfiguration(entry, context);
982
+ });
983
+ return retVal;
984
+ };
934
985
  const de_GetHlsManifestConfiguration = (output, context) => {
935
986
  return take(output, {
936
987
  ChildManifestName: __expectString,
@@ -976,6 +1027,7 @@ const de_OriginEndpointListConfiguration = (output, context) => {
976
1027
  ChannelName: __expectString,
977
1028
  ContainerType: __expectString,
978
1029
  CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1030
+ DashManifests: _json,
979
1031
  Description: __expectString,
980
1032
  HlsManifests: _json,
981
1033
  LowLatencyHlsManifests: _json,
@@ -107,6 +107,33 @@ declare const CreateOriginEndpointCommand_base: {
107
107
  * },
108
108
  * },
109
109
  * ],
110
+ * DashManifests: [ // CreateDashManifests
111
+ * { // CreateDashManifestConfiguration
112
+ * ManifestName: "STRING_VALUE", // required
113
+ * ManifestWindowSeconds: Number("int"),
114
+ * FilterConfiguration: {
115
+ * ManifestFilter: "STRING_VALUE",
116
+ * Start: new Date("TIMESTAMP"),
117
+ * End: new Date("TIMESTAMP"),
118
+ * TimeDelaySeconds: Number("int"),
119
+ * },
120
+ * MinUpdatePeriodSeconds: Number("int"),
121
+ * MinBufferTimeSeconds: Number("int"),
122
+ * SuggestedPresentationDelaySeconds: Number("int"),
123
+ * SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
124
+ * PeriodTriggers: [ // DashPeriodTriggers
125
+ * "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE",
126
+ * ],
127
+ * ScteDash: { // ScteDash
128
+ * AdMarkerDash: "BINARY" || "XML",
129
+ * },
130
+ * DrmSignaling: "INDIVIDUAL" || "REFERENCED",
131
+ * UtcTiming: { // DashUtcTiming
132
+ * TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
133
+ * TimingSource: "STRING_VALUE",
134
+ * },
135
+ * },
136
+ * ],
110
137
  * Tags: { // TagMap
111
138
  * "<keys>": "STRING_VALUE",
112
139
  * },
@@ -191,6 +218,34 @@ declare const CreateOriginEndpointCommand_base: {
191
218
  * // },
192
219
  * // },
193
220
  * // ],
221
+ * // DashManifests: [ // GetDashManifests
222
+ * // { // GetDashManifestConfiguration
223
+ * // ManifestName: "STRING_VALUE", // required
224
+ * // Url: "STRING_VALUE", // required
225
+ * // ManifestWindowSeconds: Number("int"),
226
+ * // FilterConfiguration: {
227
+ * // ManifestFilter: "STRING_VALUE",
228
+ * // Start: new Date("TIMESTAMP"),
229
+ * // End: new Date("TIMESTAMP"),
230
+ * // TimeDelaySeconds: Number("int"),
231
+ * // },
232
+ * // MinUpdatePeriodSeconds: Number("int"),
233
+ * // MinBufferTimeSeconds: Number("int"),
234
+ * // SuggestedPresentationDelaySeconds: Number("int"),
235
+ * // SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
236
+ * // PeriodTriggers: [ // DashPeriodTriggers
237
+ * // "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE",
238
+ * // ],
239
+ * // ScteDash: { // ScteDash
240
+ * // AdMarkerDash: "BINARY" || "XML",
241
+ * // },
242
+ * // DrmSignaling: "INDIVIDUAL" || "REFERENCED",
243
+ * // UtcTiming: { // DashUtcTiming
244
+ * // TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
245
+ * // TimingSource: "STRING_VALUE",
246
+ * // },
247
+ * // },
248
+ * // ],
194
249
  * // ETag: "STRING_VALUE",
195
250
  * // Tags: { // TagMap
196
251
  * // "<keys>": "STRING_VALUE",
@@ -122,6 +122,34 @@ declare const GetOriginEndpointCommand_base: {
122
122
  * // Tags: { // TagMap
123
123
  * // "<keys>": "STRING_VALUE",
124
124
  * // },
125
+ * // DashManifests: [ // GetDashManifests
126
+ * // { // GetDashManifestConfiguration
127
+ * // ManifestName: "STRING_VALUE", // required
128
+ * // Url: "STRING_VALUE", // required
129
+ * // ManifestWindowSeconds: Number("int"),
130
+ * // FilterConfiguration: {
131
+ * // ManifestFilter: "STRING_VALUE",
132
+ * // Start: new Date("TIMESTAMP"),
133
+ * // End: new Date("TIMESTAMP"),
134
+ * // TimeDelaySeconds: Number("int"),
135
+ * // },
136
+ * // MinUpdatePeriodSeconds: Number("int"),
137
+ * // MinBufferTimeSeconds: Number("int"),
138
+ * // SuggestedPresentationDelaySeconds: Number("int"),
139
+ * // SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
140
+ * // PeriodTriggers: [ // DashPeriodTriggers
141
+ * // "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE",
142
+ * // ],
143
+ * // ScteDash: { // ScteDash
144
+ * // AdMarkerDash: "BINARY" || "XML",
145
+ * // },
146
+ * // DrmSignaling: "INDIVIDUAL" || "REFERENCED",
147
+ * // UtcTiming: { // DashUtcTiming
148
+ * // TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
149
+ * // TimingSource: "STRING_VALUE",
150
+ * // },
151
+ * // },
152
+ * // ],
125
153
  * // };
126
154
  *
127
155
  * ```
@@ -66,6 +66,12 @@ declare const ListOriginEndpointsCommand_base: {
66
66
  * // Url: "STRING_VALUE",
67
67
  * // },
68
68
  * // ],
69
+ * // DashManifests: [ // ListDashManifests
70
+ * // { // ListDashManifestConfiguration
71
+ * // ManifestName: "STRING_VALUE", // required
72
+ * // Url: "STRING_VALUE",
73
+ * // },
74
+ * // ],
69
75
  * // },
70
76
  * // ],
71
77
  * // NextToken: "STRING_VALUE",
@@ -107,6 +107,33 @@ declare const UpdateOriginEndpointCommand_base: {
107
107
  * },
108
108
  * },
109
109
  * ],
110
+ * DashManifests: [ // CreateDashManifests
111
+ * { // CreateDashManifestConfiguration
112
+ * ManifestName: "STRING_VALUE", // required
113
+ * ManifestWindowSeconds: Number("int"),
114
+ * FilterConfiguration: {
115
+ * ManifestFilter: "STRING_VALUE",
116
+ * Start: new Date("TIMESTAMP"),
117
+ * End: new Date("TIMESTAMP"),
118
+ * TimeDelaySeconds: Number("int"),
119
+ * },
120
+ * MinUpdatePeriodSeconds: Number("int"),
121
+ * MinBufferTimeSeconds: Number("int"),
122
+ * SuggestedPresentationDelaySeconds: Number("int"),
123
+ * SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
124
+ * PeriodTriggers: [ // DashPeriodTriggers
125
+ * "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE",
126
+ * ],
127
+ * ScteDash: { // ScteDash
128
+ * AdMarkerDash: "BINARY" || "XML",
129
+ * },
130
+ * DrmSignaling: "INDIVIDUAL" || "REFERENCED",
131
+ * UtcTiming: { // DashUtcTiming
132
+ * TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
133
+ * TimingSource: "STRING_VALUE",
134
+ * },
135
+ * },
136
+ * ],
110
137
  * ETag: "STRING_VALUE",
111
138
  * };
112
139
  * const command = new UpdateOriginEndpointCommand(input);
@@ -193,6 +220,34 @@ declare const UpdateOriginEndpointCommand_base: {
193
220
  * // Tags: { // TagMap
194
221
  * // "<keys>": "STRING_VALUE",
195
222
  * // },
223
+ * // DashManifests: [ // GetDashManifests
224
+ * // { // GetDashManifestConfiguration
225
+ * // ManifestName: "STRING_VALUE", // required
226
+ * // Url: "STRING_VALUE", // required
227
+ * // ManifestWindowSeconds: Number("int"),
228
+ * // FilterConfiguration: {
229
+ * // ManifestFilter: "STRING_VALUE",
230
+ * // Start: new Date("TIMESTAMP"),
231
+ * // End: new Date("TIMESTAMP"),
232
+ * // TimeDelaySeconds: Number("int"),
233
+ * // },
234
+ * // MinUpdatePeriodSeconds: Number("int"),
235
+ * // MinBufferTimeSeconds: Number("int"),
236
+ * // SuggestedPresentationDelaySeconds: Number("int"),
237
+ * // SegmentTemplateFormat: "NUMBER_WITH_TIMELINE",
238
+ * // PeriodTriggers: [ // DashPeriodTriggers
239
+ * // "AVAILS" || "DRM_KEY_ROTATION" || "SOURCE_CHANGES" || "SOURCE_DISRUPTIONS" || "NONE",
240
+ * // ],
241
+ * // ScteDash: { // ScteDash
242
+ * // AdMarkerDash: "BINARY" || "XML",
243
+ * // },
244
+ * // DrmSignaling: "INDIVIDUAL" || "REFERENCED",
245
+ * // UtcTiming: { // DashUtcTiming
246
+ * // TimingMode: "HTTP_HEAD" || "HTTP_ISO" || "HTTP_XSDATE" || "UTC_DIRECT",
247
+ * // TimingSource: "STRING_VALUE",
248
+ * // },
249
+ * // },
250
+ * // ],
196
251
  * // };
197
252
  *
198
253
  * ```
@@ -13,6 +13,18 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  */
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const AdMarkerDash: {
21
+ readonly BINARY: "BINARY";
22
+ readonly XML: "XML";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type AdMarkerDash = (typeof AdMarkerDash)[keyof typeof AdMarkerDash];
16
28
  /**
17
29
  * @public
18
30
  * @enum
@@ -140,6 +152,8 @@ export declare class ThrottlingException extends __BaseException {
140
152
  export declare const ValidationExceptionType: {
141
153
  readonly CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE";
142
154
  readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
155
+ readonly DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE";
156
+ readonly DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS";
143
157
  readonly DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE";
144
158
  readonly ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED";
145
159
  readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
@@ -152,6 +166,7 @@ export declare const ValidationExceptionType: {
152
166
  readonly INVALID_POLICY: "INVALID_POLICY";
153
167
  readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
154
168
  readonly INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS";
169
+ readonly MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE";
155
170
  readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
156
171
  readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
157
172
  readonly MEMBER_INVALID: "MEMBER_INVALID";
@@ -161,11 +176,16 @@ export declare const ValidationExceptionType: {
161
176
  readonly MEMBER_MIN_LENGTH: "MEMBER_MIN_LENGTH";
162
177
  readonly MEMBER_MIN_VALUE: "MEMBER_MIN_VALUE";
163
178
  readonly MEMBER_MISSING: "MEMBER_MISSING";
179
+ readonly NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE";
164
180
  readonly NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH";
165
181
  readonly NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW";
182
+ readonly PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES";
166
183
  readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
167
184
  readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
168
185
  readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
186
+ readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
187
+ readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
188
+ readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
169
189
  readonly URL_INVALID: "URL_INVALID";
170
190
  readonly URL_LINK_LOCAL_ADDRESS: "URL_LINK_LOCAL_ADDRESS";
171
191
  readonly URL_LOCAL_ADDRESS: "URL_LOCAL_ADDRESS";
@@ -572,6 +592,18 @@ export declare const ContainerType: {
572
592
  * @public
573
593
  */
574
594
  export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
595
+ /**
596
+ * @public
597
+ * @enum
598
+ */
599
+ export declare const DashDrmSignaling: {
600
+ readonly INDIVIDUAL: "INDIVIDUAL";
601
+ readonly REFERENCED: "REFERENCED";
602
+ };
603
+ /**
604
+ * @public
605
+ */
606
+ export type DashDrmSignaling = (typeof DashDrmSignaling)[keyof typeof DashDrmSignaling];
575
607
  /**
576
608
  * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
577
609
  * @public
@@ -598,6 +630,153 @@ export interface FilterConfiguration {
598
630
  */
599
631
  TimeDelaySeconds?: number;
600
632
  }
633
+ /**
634
+ * @public
635
+ * @enum
636
+ */
637
+ export declare const DashPeriodTrigger: {
638
+ readonly AVAILS: "AVAILS";
639
+ readonly DRM_KEY_ROTATION: "DRM_KEY_ROTATION";
640
+ readonly NONE: "NONE";
641
+ readonly SOURCE_CHANGES: "SOURCE_CHANGES";
642
+ readonly SOURCE_DISRUPTIONS: "SOURCE_DISRUPTIONS";
643
+ };
644
+ /**
645
+ * @public
646
+ */
647
+ export type DashPeriodTrigger = (typeof DashPeriodTrigger)[keyof typeof DashPeriodTrigger];
648
+ /**
649
+ * <p>The SCTE configuration.</p>
650
+ * @public
651
+ */
652
+ export interface ScteDash {
653
+ /**
654
+ * <p>Choose how ad markers are included in the packaged content. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output.</p>
655
+ * <p>Value description:</p>
656
+ * <ul>
657
+ * <li>
658
+ * <p>
659
+ * <code>Binary</code> - The SCTE-35 marker is expressed as a hex-string (Base64 string) rather than full XML.</p>
660
+ * </li>
661
+ * <li>
662
+ * <p>
663
+ * <code>XML</code> - The SCTE marker is expressed fully in XML.</p>
664
+ * </li>
665
+ * </ul>
666
+ * @public
667
+ */
668
+ AdMarkerDash?: AdMarkerDash;
669
+ }
670
+ /**
671
+ * @public
672
+ * @enum
673
+ */
674
+ export declare const DashSegmentTemplateFormat: {
675
+ readonly NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE";
676
+ };
677
+ /**
678
+ * @public
679
+ */
680
+ export type DashSegmentTemplateFormat = (typeof DashSegmentTemplateFormat)[keyof typeof DashSegmentTemplateFormat];
681
+ /**
682
+ * @public
683
+ * @enum
684
+ */
685
+ export declare const DashUtcTimingMode: {
686
+ readonly HTTP_HEAD: "HTTP_HEAD";
687
+ readonly HTTP_ISO: "HTTP_ISO";
688
+ readonly HTTP_XSDATE: "HTTP_XSDATE";
689
+ readonly UTC_DIRECT: "UTC_DIRECT";
690
+ };
691
+ /**
692
+ * @public
693
+ */
694
+ export type DashUtcTimingMode = (typeof DashUtcTimingMode)[keyof typeof DashUtcTimingMode];
695
+ /**
696
+ * <p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p>
697
+ * @public
698
+ */
699
+ export interface DashUtcTiming {
700
+ /**
701
+ * <p>The UTC timing mode.</p>
702
+ * @public
703
+ */
704
+ TimingMode?: DashUtcTimingMode;
705
+ /**
706
+ * <p>The the method that the player uses to synchronize to coordinated universal time (UTC) wall clock time.</p>
707
+ * @public
708
+ */
709
+ TimingSource?: string;
710
+ }
711
+ /**
712
+ * <p>Create a DASH manifest configuration.</p>
713
+ * @public
714
+ */
715
+ export interface CreateDashManifestConfiguration {
716
+ /**
717
+ * <p>A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint.</p>
718
+ * @public
719
+ */
720
+ ManifestName: string | undefined;
721
+ /**
722
+ * <p>The total duration (in seconds) of the manifest's content.</p>
723
+ * @public
724
+ */
725
+ ManifestWindowSeconds?: number;
726
+ /**
727
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
728
+ * @public
729
+ */
730
+ FilterConfiguration?: FilterConfiguration;
731
+ /**
732
+ * <p>Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.</p>
733
+ * @public
734
+ */
735
+ MinUpdatePeriodSeconds?: number;
736
+ /**
737
+ * <p>Minimum amount of content (in seconds) that a player must keep available in the buffer.</p>
738
+ * @public
739
+ */
740
+ MinBufferTimeSeconds?: number;
741
+ /**
742
+ * <p>The amount of time (in seconds) that the player should be from the end of the manifest.</p>
743
+ * @public
744
+ */
745
+ SuggestedPresentationDelaySeconds?: number;
746
+ /**
747
+ * <p>Determines the type of variable used in the <code>media</code> URL of the <code>SegmentTemplate</code> tag in the manifest. Also specifies if segment timeline information is included in <code>SegmentTimeline</code> or <code>SegmentTemplate</code>.</p>
748
+ * <p>Value description:</p>
749
+ * <ul>
750
+ * <li>
751
+ * <p>
752
+ * <code>NUMBER_WITH_TIMELINE</code> - The <code>$Number$</code> variable is used in the <code>media</code> URL. The value of this variable is the sequential number of the segment. A full <code>SegmentTimeline</code> object is presented in each <code>SegmentTemplate</code>.</p>
753
+ * </li>
754
+ * </ul>
755
+ * @public
756
+ */
757
+ SegmentTemplateFormat?: DashSegmentTemplateFormat;
758
+ /**
759
+ * <p>A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type <code>ADS</code> to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period.
760
+ * For more information about periods in the DASH manifest, see <a href="https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html">Multi-period DASH in AWS Elemental MediaPackage</a>.</p>
761
+ * @public
762
+ */
763
+ PeriodTriggers?: DashPeriodTrigger[];
764
+ /**
765
+ * <p>The SCTE configuration.</p>
766
+ * @public
767
+ */
768
+ ScteDash?: ScteDash;
769
+ /**
770
+ * <p>Determines how the DASH manifest signals the DRM content.</p>
771
+ * @public
772
+ */
773
+ DrmSignaling?: DashDrmSignaling;
774
+ /**
775
+ * <p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p>
776
+ * @public
777
+ */
778
+ UtcTiming?: DashUtcTiming;
779
+ }
601
780
  /**
602
781
  * <p>The SCTE configuration.</p>
603
782
  * @public
@@ -1066,6 +1245,11 @@ export interface CreateOriginEndpointRequest {
1066
1245
  * @public
1067
1246
  */
1068
1247
  LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
1248
+ /**
1249
+ * <p>A DASH manifest configuration.</p>
1250
+ * @public
1251
+ */
1252
+ DashManifests?: CreateDashManifestConfiguration[];
1069
1253
  /**
1070
1254
  * <p>A comma-separated list of tag key:value pairs that you define. For example:</p>
1071
1255
  * <p>
@@ -1078,6 +1262,80 @@ export interface CreateOriginEndpointRequest {
1078
1262
  */
1079
1263
  Tags?: Record<string, string>;
1080
1264
  }
1265
+ /**
1266
+ * <p>Retrieve the DASH manifest configuration.</p>
1267
+ * @public
1268
+ */
1269
+ export interface GetDashManifestConfiguration {
1270
+ /**
1271
+ * <p>A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. </p>
1272
+ * @public
1273
+ */
1274
+ ManifestName: string | undefined;
1275
+ /**
1276
+ * <p>The egress domain URL for stream delivery from MediaPackage.</p>
1277
+ * @public
1278
+ */
1279
+ Url: string | undefined;
1280
+ /**
1281
+ * <p>The total duration (in seconds) of the manifest's content.</p>
1282
+ * @public
1283
+ */
1284
+ ManifestWindowSeconds?: number;
1285
+ /**
1286
+ * <p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>
1287
+ * @public
1288
+ */
1289
+ FilterConfiguration?: FilterConfiguration;
1290
+ /**
1291
+ * <p>Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.</p>
1292
+ * @public
1293
+ */
1294
+ MinUpdatePeriodSeconds?: number;
1295
+ /**
1296
+ * <p>Minimum amount of content (in seconds) that a player must keep available in the buffer.</p>
1297
+ * @public
1298
+ */
1299
+ MinBufferTimeSeconds?: number;
1300
+ /**
1301
+ * <p>The amount of time (in seconds) that the player should be from the end of the manifest.</p>
1302
+ * @public
1303
+ */
1304
+ SuggestedPresentationDelaySeconds?: number;
1305
+ /**
1306
+ * <p>Determines the type of variable used in the <code>media</code> URL of the <code>SegmentTemplate</code> tag in the manifest. Also specifies if segment timeline information is included in <code>SegmentTimeline</code> or <code>SegmentTemplate</code>.</p>
1307
+ * <p>Value description:</p>
1308
+ * <ul>
1309
+ * <li>
1310
+ * <p>
1311
+ * <code>NUMBER_WITH_TIMELINE</code> - The <code>$Number$</code> variable is used in the <code>media</code> URL. The value of this variable is the sequential number of the segment. A full <code>SegmentTimeline</code> object is presented in each <code>SegmentTemplate</code>.</p>
1312
+ * </li>
1313
+ * </ul>
1314
+ * @public
1315
+ */
1316
+ SegmentTemplateFormat?: DashSegmentTemplateFormat;
1317
+ /**
1318
+ * <p>A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate that the manifest is contained all in one period.
1319
+ * For more information about periods in the DASH manifest, see <a href="https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html">Multi-period DASH in AWS Elemental MediaPackage</a>.</p>
1320
+ * @public
1321
+ */
1322
+ PeriodTriggers?: DashPeriodTrigger[];
1323
+ /**
1324
+ * <p>The SCTE configuration.</p>
1325
+ * @public
1326
+ */
1327
+ ScteDash?: ScteDash;
1328
+ /**
1329
+ * <p>Determines how the DASH manifest signals the DRM content.</p>
1330
+ * @public
1331
+ */
1332
+ DrmSignaling?: DashDrmSignaling;
1333
+ /**
1334
+ * <p>Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).</p>
1335
+ * @public
1336
+ */
1337
+ UtcTiming?: DashUtcTiming;
1338
+ }
1081
1339
  /**
1082
1340
  * <p>Retrieve the HTTP live streaming (HLS) manifest configuration.</p>
1083
1341
  * @public
@@ -1232,6 +1490,11 @@ export interface CreateOriginEndpointResponse {
1232
1490
  * @public
1233
1491
  */
1234
1492
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
1493
+ /**
1494
+ * <p>A DASH manifest configuration.</p>
1495
+ * @public
1496
+ */
1497
+ DashManifests?: GetDashManifestConfiguration[];
1235
1498
  /**
1236
1499
  * <p>The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.</p>
1237
1500
  * @public
@@ -1362,6 +1625,11 @@ export interface GetOriginEndpointResponse {
1362
1625
  * @public
1363
1626
  */
1364
1627
  Tags?: Record<string, string>;
1628
+ /**
1629
+ * <p>A DASH manifest configuration.</p>
1630
+ * @public
1631
+ */
1632
+ DashManifests?: GetDashManifestConfiguration[];
1365
1633
  }
1366
1634
  /**
1367
1635
  * @public
@@ -1388,6 +1656,22 @@ export interface ListOriginEndpointsRequest {
1388
1656
  */
1389
1657
  NextToken?: string;
1390
1658
  }
1659
+ /**
1660
+ * <p>List the DASH manifest configuration.</p>
1661
+ * @public
1662
+ */
1663
+ export interface ListDashManifestConfiguration {
1664
+ /**
1665
+ * <p>A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. </p>
1666
+ * @public
1667
+ */
1668
+ ManifestName: string | undefined;
1669
+ /**
1670
+ * <p>The egress domain URL for stream delivery from MediaPackage.</p>
1671
+ * @public
1672
+ */
1673
+ Url?: string;
1674
+ }
1391
1675
  /**
1392
1676
  * <p>List the HTTP live streaming (HLS) manifest configuration.</p>
1393
1677
  * @public
@@ -1485,6 +1769,11 @@ export interface OriginEndpointListConfiguration {
1485
1769
  * @public
1486
1770
  */
1487
1771
  LowLatencyHlsManifests?: ListLowLatencyHlsManifestConfiguration[];
1772
+ /**
1773
+ * <p>A DASH manifest configuration.</p>
1774
+ * @public
1775
+ */
1776
+ DashManifests?: ListDashManifestConfiguration[];
1488
1777
  }
1489
1778
  /**
1490
1779
  * @public
@@ -1650,6 +1939,11 @@ export interface UpdateOriginEndpointRequest {
1650
1939
  * @public
1651
1940
  */
1652
1941
  LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
1942
+ /**
1943
+ * <p>A DASH manifest configuration.</p>
1944
+ * @public
1945
+ */
1946
+ DashManifests?: CreateDashManifestConfiguration[];
1653
1947
  /**
1654
1948
  * <p>The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.</p>
1655
1949
  * @public
@@ -1730,6 +2024,11 @@ export interface UpdateOriginEndpointResponse {
1730
2024
  * @public
1731
2025
  */
1732
2026
  Tags?: Record<string, string>;
2027
+ /**
2028
+ * <p>A DASH manifest configuration.</p>
2029
+ * @public
2030
+ */
2031
+ DashManifests?: GetDashManifestConfiguration[];
1733
2032
  }
1734
2033
  /**
1735
2034
  * @public
@@ -8,6 +8,11 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export declare const AdMarkerDash: {
12
+ readonly BINARY: "BINARY";
13
+ readonly XML: "XML";
14
+ };
15
+ export type AdMarkerDash = (typeof AdMarkerDash)[keyof typeof AdMarkerDash];
11
16
  export declare const AdMarkerHls: {
12
17
  readonly DATERANGE: "DATERANGE";
13
18
  };
@@ -58,6 +63,8 @@ export declare class ThrottlingException extends __BaseException {
58
63
  export declare const ValidationExceptionType: {
59
64
  readonly CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE";
60
65
  readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
66
+ readonly DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE";
67
+ readonly DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS";
61
68
  readonly DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE";
62
69
  readonly ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED";
63
70
  readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
@@ -70,6 +77,7 @@ export declare const ValidationExceptionType: {
70
77
  readonly INVALID_POLICY: "INVALID_POLICY";
71
78
  readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
72
79
  readonly INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS";
80
+ readonly MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE";
73
81
  readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
74
82
  readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
75
83
  readonly MEMBER_INVALID: "MEMBER_INVALID";
@@ -79,11 +87,16 @@ export declare const ValidationExceptionType: {
79
87
  readonly MEMBER_MIN_LENGTH: "MEMBER_MIN_LENGTH";
80
88
  readonly MEMBER_MIN_VALUE: "MEMBER_MIN_VALUE";
81
89
  readonly MEMBER_MISSING: "MEMBER_MISSING";
90
+ readonly NONE_MODE_WITH_TIMING_SOURCE: "NONE_MODE_WITH_TIMING_SOURCE";
82
91
  readonly NUM_MANIFESTS_HIGH: "NUM_MANIFESTS_HIGH";
83
92
  readonly NUM_MANIFESTS_LOW: "NUM_MANIFESTS_LOW";
93
+ readonly PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES: "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES";
84
94
  readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
85
95
  readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
86
96
  readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
97
+ readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
98
+ readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
99
+ readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
87
100
  readonly URL_INVALID: "URL_INVALID";
88
101
  readonly URL_LINK_LOCAL_ADDRESS: "URL_LINK_LOCAL_ADDRESS";
89
102
  readonly URL_LOCAL_ADDRESS: "URL_LOCAL_ADDRESS";
@@ -208,12 +221,60 @@ export declare const ContainerType: {
208
221
  readonly TS: "TS";
209
222
  };
210
223
  export type ContainerType = (typeof ContainerType)[keyof typeof ContainerType];
224
+ export declare const DashDrmSignaling: {
225
+ readonly INDIVIDUAL: "INDIVIDUAL";
226
+ readonly REFERENCED: "REFERENCED";
227
+ };
228
+ export type DashDrmSignaling =
229
+ (typeof DashDrmSignaling)[keyof typeof DashDrmSignaling];
211
230
  export interface FilterConfiguration {
212
231
  ManifestFilter?: string;
213
232
  Start?: Date;
214
233
  End?: Date;
215
234
  TimeDelaySeconds?: number;
216
235
  }
236
+ export declare const DashPeriodTrigger: {
237
+ readonly AVAILS: "AVAILS";
238
+ readonly DRM_KEY_ROTATION: "DRM_KEY_ROTATION";
239
+ readonly NONE: "NONE";
240
+ readonly SOURCE_CHANGES: "SOURCE_CHANGES";
241
+ readonly SOURCE_DISRUPTIONS: "SOURCE_DISRUPTIONS";
242
+ };
243
+ export type DashPeriodTrigger =
244
+ (typeof DashPeriodTrigger)[keyof typeof DashPeriodTrigger];
245
+ export interface ScteDash {
246
+ AdMarkerDash?: AdMarkerDash;
247
+ }
248
+ export declare const DashSegmentTemplateFormat: {
249
+ readonly NUMBER_WITH_TIMELINE: "NUMBER_WITH_TIMELINE";
250
+ };
251
+ export type DashSegmentTemplateFormat =
252
+ (typeof DashSegmentTemplateFormat)[keyof typeof DashSegmentTemplateFormat];
253
+ export declare const DashUtcTimingMode: {
254
+ readonly HTTP_HEAD: "HTTP_HEAD";
255
+ readonly HTTP_ISO: "HTTP_ISO";
256
+ readonly HTTP_XSDATE: "HTTP_XSDATE";
257
+ readonly UTC_DIRECT: "UTC_DIRECT";
258
+ };
259
+ export type DashUtcTimingMode =
260
+ (typeof DashUtcTimingMode)[keyof typeof DashUtcTimingMode];
261
+ export interface DashUtcTiming {
262
+ TimingMode?: DashUtcTimingMode;
263
+ TimingSource?: string;
264
+ }
265
+ export interface CreateDashManifestConfiguration {
266
+ ManifestName: string | undefined;
267
+ ManifestWindowSeconds?: number;
268
+ FilterConfiguration?: FilterConfiguration;
269
+ MinUpdatePeriodSeconds?: number;
270
+ MinBufferTimeSeconds?: number;
271
+ SuggestedPresentationDelaySeconds?: number;
272
+ SegmentTemplateFormat?: DashSegmentTemplateFormat;
273
+ PeriodTriggers?: DashPeriodTrigger[];
274
+ ScteDash?: ScteDash;
275
+ DrmSignaling?: DashDrmSignaling;
276
+ UtcTiming?: DashUtcTiming;
277
+ }
217
278
  export interface ScteHls {
218
279
  AdMarkerHls?: AdMarkerHls;
219
280
  }
@@ -331,8 +392,23 @@ export interface CreateOriginEndpointRequest {
331
392
  StartoverWindowSeconds?: number;
332
393
  HlsManifests?: CreateHlsManifestConfiguration[];
333
394
  LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
395
+ DashManifests?: CreateDashManifestConfiguration[];
334
396
  Tags?: Record<string, string>;
335
397
  }
398
+ export interface GetDashManifestConfiguration {
399
+ ManifestName: string | undefined;
400
+ Url: string | undefined;
401
+ ManifestWindowSeconds?: number;
402
+ FilterConfiguration?: FilterConfiguration;
403
+ MinUpdatePeriodSeconds?: number;
404
+ MinBufferTimeSeconds?: number;
405
+ SuggestedPresentationDelaySeconds?: number;
406
+ SegmentTemplateFormat?: DashSegmentTemplateFormat;
407
+ PeriodTriggers?: DashPeriodTrigger[];
408
+ ScteDash?: ScteDash;
409
+ DrmSignaling?: DashDrmSignaling;
410
+ UtcTiming?: DashUtcTiming;
411
+ }
336
412
  export interface GetHlsManifestConfiguration {
337
413
  ManifestName: string | undefined;
338
414
  Url: string | undefined;
@@ -364,6 +440,7 @@ export interface CreateOriginEndpointResponse {
364
440
  StartoverWindowSeconds?: number;
365
441
  HlsManifests?: GetHlsManifestConfiguration[];
366
442
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
443
+ DashManifests?: GetDashManifestConfiguration[];
367
444
  ETag?: string;
368
445
  Tags?: Record<string, string>;
369
446
  }
@@ -393,6 +470,7 @@ export interface GetOriginEndpointResponse {
393
470
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
394
471
  ETag?: string;
395
472
  Tags?: Record<string, string>;
473
+ DashManifests?: GetDashManifestConfiguration[];
396
474
  }
397
475
  export interface ListOriginEndpointsRequest {
398
476
  ChannelGroupName: string | undefined;
@@ -400,6 +478,10 @@ export interface ListOriginEndpointsRequest {
400
478
  MaxResults?: number;
401
479
  NextToken?: string;
402
480
  }
481
+ export interface ListDashManifestConfiguration {
482
+ ManifestName: string | undefined;
483
+ Url?: string;
484
+ }
403
485
  export interface ListHlsManifestConfiguration {
404
486
  ManifestName: string | undefined;
405
487
  ChildManifestName?: string;
@@ -421,6 +503,7 @@ export interface OriginEndpointListConfiguration {
421
503
  ModifiedAt?: Date;
422
504
  HlsManifests?: ListHlsManifestConfiguration[];
423
505
  LowLatencyHlsManifests?: ListLowLatencyHlsManifestConfiguration[];
506
+ DashManifests?: ListDashManifestConfiguration[];
424
507
  }
425
508
  export interface ListOriginEndpointsResponse {
426
509
  Items?: OriginEndpointListConfiguration[];
@@ -460,6 +543,7 @@ export interface UpdateOriginEndpointRequest {
460
543
  StartoverWindowSeconds?: number;
461
544
  HlsManifests?: CreateHlsManifestConfiguration[];
462
545
  LowLatencyHlsManifests?: CreateLowLatencyHlsManifestConfiguration[];
546
+ DashManifests?: CreateDashManifestConfiguration[];
463
547
  ETag?: string;
464
548
  }
465
549
  export interface UpdateOriginEndpointResponse {
@@ -477,6 +561,7 @@ export interface UpdateOriginEndpointResponse {
477
561
  LowLatencyHlsManifests?: GetLowLatencyHlsManifestConfiguration[];
478
562
  ETag?: string;
479
563
  Tags?: Record<string, string>;
564
+ DashManifests?: GetDashManifestConfiguration[];
480
565
  }
481
566
  export interface UpdateChannelRequest {
482
567
  ChannelGroupName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
4
- "version": "3.552.0",
4
+ "version": "3.556.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediapackagev2",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.552.0",
24
- "@aws-sdk/core": "3.552.0",
25
- "@aws-sdk/credential-provider-node": "3.552.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.556.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",