@aws-sdk/client-ivs 3.670.0 → 3.672.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
@@ -1774,6 +1774,7 @@ var de__Stream = /* @__PURE__ */ __name((output, context) => {
1774
1774
  }, "de__Stream");
1775
1775
  var de_StreamEvent = /* @__PURE__ */ __name((output, context) => {
1776
1776
  return (0, import_smithy_client.take)(output, {
1777
+ code: import_smithy_client.expectString,
1777
1778
  eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1778
1779
  name: import_smithy_client.expectString,
1779
1780
  type: import_smithy_client.expectString
@@ -1153,6 +1153,7 @@ const de__Stream = (output, context) => {
1153
1153
  };
1154
1154
  const de_StreamEvent = (output, context) => {
1155
1155
  return take(output, {
1156
+ code: __expectString,
1156
1157
  eventTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1157
1158
  name: __expectString,
1158
1159
  type: __expectString,
@@ -116,6 +116,7 @@ declare const GetStreamSessionCommand_base: {
116
116
  * // name: "STRING_VALUE",
117
117
  * // type: "STRING_VALUE",
118
118
  * // eventTime: new Date("TIMESTAMP"),
119
+ * // code: "STRING_VALUE",
119
120
  * // },
120
121
  * // ],
121
122
  * // },
@@ -1336,6 +1336,32 @@ export interface StreamEvent {
1336
1336
  * @public
1337
1337
  */
1338
1338
  eventTime?: Date;
1339
+ /**
1340
+ * <p>Provides additional details about the stream event. There are several values; note that
1341
+ * the long descriptions are provided in the IVS console but not delivered through
1342
+ * the IVS API or EventBridge:</p>
1343
+ * <ul>
1344
+ * <li>
1345
+ * <p>
1346
+ * <code>StreamTakeoverMediaMismatch</code> — The broadcast client attempted to take over
1347
+ * with different media properties (e.g., codec, resolution, or video track type) from the
1348
+ * original stream.</p>
1349
+ * </li>
1350
+ * <li>
1351
+ * <p>
1352
+ * <code>StreamTakeoverInvalidPriority</code> — The broadcast client attempted a takeover
1353
+ * with either a priority integer value equal to or lower than the original stream's value or a value outside
1354
+ * the allowed range of 1 to 2,147,483,647.</p>
1355
+ * </li>
1356
+ * <li>
1357
+ * <p>
1358
+ * <code>StreamTakeoverLimitBreached</code> — The broadcast client reached the maximum allowed
1359
+ * takeover attempts for this stream.</p>
1360
+ * </li>
1361
+ * </ul>
1362
+ * @public
1363
+ */
1364
+ code?: string;
1339
1365
  }
1340
1366
  /**
1341
1367
  * <p>Object that captures the Amazon IVS configuration that the customer provisioned, the
@@ -374,6 +374,7 @@ export interface StreamEvent {
374
374
  name?: string;
375
375
  type?: string;
376
376
  eventTime?: Date;
377
+ code?: string;
377
378
  }
378
379
  export interface StreamSession {
379
380
  streamId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ivs",
3
3
  "description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
4
- "version": "3.670.0",
4
+ "version": "3.672.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-ivs",