@aws-sdk/client-mediapackagev2 3.932.0 → 3.933.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
@@ -430,6 +430,10 @@ const ScteFilter = {
430
430
  PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY",
431
431
  SPLICE_INSERT: "SPLICE_INSERT",
432
432
  };
433
+ const ScteInSegments = {
434
+ ALL: "ALL",
435
+ NONE: "NONE",
436
+ };
433
437
  const HarvestJobStatus = {
434
438
  CANCELLED: "CANCELLED",
435
439
  COMPLETED: "COMPLETED",
@@ -666,6 +670,7 @@ const _SDS = "SegmentDurationSeconds";
666
670
  const _SDe = "S3Destination";
667
671
  const _SF = "ScteFilter";
668
672
  const _SH = "ScteHls";
673
+ const _SIS = "ScteInSegments";
669
674
  const _SKP = "SpekeKeyProvider";
670
675
  const _SL = "ServiceLocation";
671
676
  const _SN = "SegmentName";
@@ -1593,7 +1598,7 @@ var ResourceNotFoundException = [
1593
1598
  ];
1594
1599
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1595
1600
  var S3DestinationConfig = [3, n0, _SDC, 0, [_BN, _DPe], [0, 0]];
1596
- var Scte = [3, n0, _Sc, 0, [_SF], [64 | 0]];
1601
+ var Scte = [3, n0, _Sc, 0, [_SF, _SIS], [64 | 0, 0]];
1597
1602
  var ScteDash = [3, n0, _SD, 0, [_AMD], [0]];
1598
1603
  var ScteHls = [3, n0, _SH, 0, [_AMH], [0]];
1599
1604
  var Segment = [
@@ -2733,6 +2738,7 @@ exports.ResetOriginEndpointStateCommand = ResetOriginEndpointStateCommand;
2733
2738
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2734
2739
  exports.ResourceTypeNotFound = ResourceTypeNotFound;
2735
2740
  exports.ScteFilter = ScteFilter;
2741
+ exports.ScteInSegments = ScteInSegments;
2736
2742
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2737
2743
  exports.TagResourceCommand = TagResourceCommand;
2738
2744
  exports.ThrottlingException = ThrottlingException$1;
@@ -311,6 +311,10 @@ export const ScteFilter = {
311
311
  PROVIDER_PLACEMENT_OPPORTUNITY: "PROVIDER_PLACEMENT_OPPORTUNITY",
312
312
  SPLICE_INSERT: "SPLICE_INSERT",
313
313
  };
314
+ export const ScteInSegments = {
315
+ ALL: "ALL",
316
+ NONE: "NONE",
317
+ };
314
318
  export const HarvestJobStatus = {
315
319
  CANCELLED: "CANCELLED",
316
320
  COMPLETED: "COMPLETED",
@@ -226,6 +226,7 @@ const _SDS = "SegmentDurationSeconds";
226
226
  const _SDe = "S3Destination";
227
227
  const _SF = "ScteFilter";
228
228
  const _SH = "ScteHls";
229
+ const _SIS = "ScteInSegments";
229
230
  const _SKP = "SpekeKeyProvider";
230
231
  const _SL = "ServiceLocation";
231
232
  const _SN = "SegmentName";
@@ -1156,7 +1157,7 @@ export var ResourceNotFoundException = [
1156
1157
  ];
1157
1158
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
1158
1159
  export var S3DestinationConfig = [3, n0, _SDC, 0, [_BN, _DPe], [0, 0]];
1159
- export var Scte = [3, n0, _Sc, 0, [_SF], [64 | 0]];
1160
+ export var Scte = [3, n0, _Sc, 0, [_SF, _SIS], [64 | 0, 0]];
1160
1161
  export var ScteDash = [3, n0, _SD, 0, [_AMD], [0]];
1161
1162
  export var ScteHls = [3, n0, _SH, 0, [_AMH], [0]];
1162
1163
  export var Segment = [
@@ -51,6 +51,7 @@ declare const CreateOriginEndpointCommand_base: {
51
51
  * ScteFilter: [ // ScteFilterList
52
52
  * "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
53
53
  * ],
54
+ * ScteInSegments: "NONE" || "ALL",
54
55
  * },
55
56
  * Encryption: { // Encryption
56
57
  * ConstantInitializationVector: "STRING_VALUE",
@@ -230,6 +231,7 @@ declare const CreateOriginEndpointCommand_base: {
230
231
  * // ScteFilter: [ // ScteFilterList
231
232
  * // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
232
233
  * // ],
234
+ * // ScteInSegments: "NONE" || "ALL",
233
235
  * // },
234
236
  * // Encryption: { // Encryption
235
237
  * // ConstantInitializationVector: "STRING_VALUE",
@@ -59,6 +59,7 @@ declare const GetOriginEndpointCommand_base: {
59
59
  * // ScteFilter: [ // ScteFilterList
60
60
  * // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
61
61
  * // ],
62
+ * // ScteInSegments: "NONE" || "ALL",
62
63
  * // },
63
64
  * // Encryption: { // Encryption
64
65
  * // ConstantInitializationVector: "STRING_VALUE",
@@ -51,6 +51,7 @@ declare const UpdateOriginEndpointCommand_base: {
51
51
  * ScteFilter: [ // ScteFilterList
52
52
  * "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
53
53
  * ],
54
+ * ScteInSegments: "NONE" || "ALL",
54
55
  * },
55
56
  * Encryption: { // Encryption
56
57
  * ConstantInitializationVector: "STRING_VALUE",
@@ -227,6 +228,7 @@ declare const UpdateOriginEndpointCommand_base: {
227
228
  * // ScteFilter: [ // ScteFilterList
228
229
  * // "SPLICE_INSERT" || "BREAK" || "PROVIDER_ADVERTISEMENT" || "DISTRIBUTOR_ADVERTISEMENT" || "PROVIDER_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" || "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" || "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" || "PROGRAM",
229
230
  * // ],
231
+ * // ScteInSegments: "NONE" || "ALL",
230
232
  * // },
231
233
  * // Encryption: { // Encryption
232
234
  * // ConstantInitializationVector: "STRING_VALUE",
@@ -411,7 +411,7 @@ export interface PutChannelPolicyResponse {
411
411
  */
412
412
  export interface InputSwitchConfiguration {
413
413
  /**
414
- * <p>When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>
414
+ * <p>When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is false. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>
415
415
  * @public
416
416
  */
417
417
  MQCSInputSwitching?: boolean | undefined;
@@ -1176,7 +1176,7 @@ export interface ForceEndpointErrorConfiguration {
1176
1176
  */
1177
1177
  export interface ScteHls {
1178
1178
  /**
1179
- * <p>Ad markers indicate when ads should be inserted during playback. 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. Choose what you want MediaPackage to do with the ad markers.</p> <p>Value description: </p> <ul> <li> <p>DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see <a href="http://docs.aws.amazon.com/mediapackage/latest/ug/scte-35-ad-marker-ext-x-daterange.html">SCTE-35 Ad Marker EXT-X-DATERANGE</a>.</p> </li> </ul>
1179
+ * <p>Ad markers indicate when ads should be inserted during playback. 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. Choose what you want MediaPackage to do with the ad markers.</p> <p>Value description: </p> <ul> <li> <p>SCTE35_ENHANCED - Generate industry-standard CUE tag ad markers in HLS manifests based on SCTE-35 input messages from the input stream.</p> </li> <li> <p>DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see <a href="http://docs.aws.amazon.com/mediapackage/latest/ug/scte-35-ad-marker-ext-x-daterange.html">SCTE-35 Ad Marker EXT-X-DATERANGE</a>.</p> </li> </ul>
1180
1180
  * @public
1181
1181
  */
1182
1182
  AdMarkerHls?: AdMarkerHls | undefined;
@@ -1530,6 +1530,18 @@ export declare const ScteFilter: {
1530
1530
  * @public
1531
1531
  */
1532
1532
  export type ScteFilter = (typeof ScteFilter)[keyof typeof ScteFilter];
1533
+ /**
1534
+ * @public
1535
+ * @enum
1536
+ */
1537
+ export declare const ScteInSegments: {
1538
+ readonly ALL: "ALL";
1539
+ readonly NONE: "NONE";
1540
+ };
1541
+ /**
1542
+ * @public
1543
+ */
1544
+ export type ScteInSegments = (typeof ScteInSegments)[keyof typeof ScteInSegments];
1533
1545
  /**
1534
1546
  * <p>The SCTE configuration.</p>
1535
1547
  * @public
@@ -1540,6 +1552,11 @@ export interface Scte {
1540
1552
  * @public
1541
1553
  */
1542
1554
  ScteFilter?: ScteFilter[] | undefined;
1555
+ /**
1556
+ * <p>Controls whether SCTE-35 messages are included in segment files.</p> <ul> <li> <p>None – SCTE-35 messages are not included in segments (default)</p> </li> <li> <p>All – SCTE-35 messages are embedded in segment data</p> </li> </ul> <p> For DASH manifests, when set to <code>All</code>, an <code>InbandEventStream</code> tag signals that SCTE messages are present in segments. This setting works independently of manifest ad markers.</p>
1557
+ * @public
1558
+ */
1559
+ ScteInSegments?: ScteInSegments | undefined;
1543
1560
  }
1544
1561
  /**
1545
1562
  * <p>The segment configuration, including the segment name, duration, and other configuration values.</p>
@@ -544,8 +544,15 @@ export declare const ScteFilter: {
544
544
  readonly SPLICE_INSERT: "SPLICE_INSERT";
545
545
  };
546
546
  export type ScteFilter = (typeof ScteFilter)[keyof typeof ScteFilter];
547
+ export declare const ScteInSegments: {
548
+ readonly ALL: "ALL";
549
+ readonly NONE: "NONE";
550
+ };
551
+ export type ScteInSegments =
552
+ (typeof ScteInSegments)[keyof typeof ScteInSegments];
547
553
  export interface Scte {
548
554
  ScteFilter?: ScteFilter[] | undefined;
555
+ ScteInSegments?: ScteInSegments | undefined;
549
556
  }
550
557
  export interface Segment {
551
558
  SegmentDurationSeconds?: number | 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.932.0",
4
+ "version": "3.933.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.932.0",
24
+ "@aws-sdk/credential-provider-node": "3.933.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.932.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",