@aws-sdk/client-ivs 3.161.0 → 3.165.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-ivs
9
+
10
+
11
+
12
+
13
+
14
+ # [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-ivs
17
+
18
+
19
+
20
+
21
+
22
+ # [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-ivs:** IVS Merge Fragmented Streams. This release adds support for recordingReconnectWindow field in IVS recordingConfigurations. For more information see https://docs.aws.amazon.com/ivs/latest/APIReference/Welcome.html ([2cec549](https://github.com/aws/aws-sdk-js-v3/commit/2cec5497424c5a078b1fc4dbe188a9323d95c3c4))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.161.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.160.0...v3.161.0) (2022-08-30)
7
34
 
8
35
 
@@ -86,6 +86,9 @@ const serializeAws_restJson1CreateRecordingConfigurationCommand = async (input,
86
86
  destinationConfiguration: serializeAws_restJson1DestinationConfiguration(input.destinationConfiguration, context),
87
87
  }),
88
88
  ...(input.name != null && { name: input.name }),
89
+ ...(input.recordingReconnectWindowSeconds != null && {
90
+ recordingReconnectWindowSeconds: input.recordingReconnectWindowSeconds,
91
+ }),
89
92
  ...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
90
93
  ...(input.thumbnailConfiguration != null && {
91
94
  thumbnailConfiguration: serializeAws_restJson1ThumbnailConfiguration(input.thumbnailConfiguration, context),
@@ -2070,6 +2073,7 @@ const deserializeAws_restJson1RecordingConfiguration = (output, context) => {
2070
2073
  ? deserializeAws_restJson1DestinationConfiguration(output.destinationConfiguration, context)
2071
2074
  : undefined,
2072
2075
  name: (0, smithy_client_1.expectString)(output.name),
2076
+ recordingReconnectWindowSeconds: (0, smithy_client_1.expectInt32)(output.recordingReconnectWindowSeconds),
2073
2077
  state: (0, smithy_client_1.expectString)(output.state),
2074
2078
  tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2075
2079
  thumbnailConfiguration: output.thumbnailConfiguration != null
@@ -2290,6 +2294,9 @@ const loadRestJsonErrorCode = (output, data) => {
2290
2294
  if (typeof cleanValue === "number") {
2291
2295
  cleanValue = cleanValue.toString();
2292
2296
  }
2297
+ if (cleanValue.indexOf(",") >= 0) {
2298
+ cleanValue = cleanValue.split(",")[0];
2299
+ }
2293
2300
  if (cleanValue.indexOf(":") >= 0) {
2294
2301
  cleanValue = cleanValue.split(":")[0];
2295
2302
  }
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
4
4
  import { IvsServiceException as __BaseException } from "../models/IvsServiceException";
5
5
  import { AccessDeniedException, ChannelNotBroadcasting, ConflictException, InternalServerException, PendingVerification, ResourceNotFoundException, ServiceQuotaExceededException, StreamUnavailable, ThrottlingException, ValidationException, } from "../models/models_0";
6
6
  export var serializeAws_restJson1BatchGetChannelCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -86,9 +86,11 @@ export var serializeAws_restJson1CreateRecordingConfigurationCommand = function
86
86
  "content-type": "application/json",
87
87
  };
88
88
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateRecordingConfiguration";
89
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.destinationConfiguration != null && {
89
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.destinationConfiguration != null && {
90
90
  destinationConfiguration: serializeAws_restJson1DestinationConfiguration(input.destinationConfiguration, context),
91
- })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) })), (input.thumbnailConfiguration != null && {
91
+ })), (input.name != null && { name: input.name })), (input.recordingReconnectWindowSeconds != null && {
92
+ recordingReconnectWindowSeconds: input.recordingReconnectWindowSeconds,
93
+ })), (input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) })), (input.thumbnailConfiguration != null && {
92
94
  thumbnailConfiguration: serializeAws_restJson1ThumbnailConfiguration(input.thumbnailConfiguration, context),
93
95
  })));
94
96
  return [2, new __HttpRequest({
@@ -2781,6 +2783,7 @@ var deserializeAws_restJson1RecordingConfiguration = function (output, context)
2781
2783
  ? deserializeAws_restJson1DestinationConfiguration(output.destinationConfiguration, context)
2782
2784
  : undefined,
2783
2785
  name: __expectString(output.name),
2786
+ recordingReconnectWindowSeconds: __expectInt32(output.recordingReconnectWindowSeconds),
2784
2787
  state: __expectString(output.state),
2785
2788
  tags: output.tags != null ? deserializeAws_restJson1Tags(output.tags, context) : undefined,
2786
2789
  thumbnailConfiguration: output.thumbnailConfiguration != null
@@ -3007,6 +3010,9 @@ var loadRestJsonErrorCode = function (output, data) {
3007
3010
  if (typeof cleanValue === "number") {
3008
3011
  cleanValue = cleanValue.toString();
3009
3012
  }
3013
+ if (cleanValue.indexOf(",") >= 0) {
3014
+ cleanValue = cleanValue.split(",")[0];
3015
+ }
3010
3016
  if (cleanValue.indexOf(":") >= 0) {
3011
3017
  cleanValue = cleanValue.split(":")[0];
3012
3018
  }
@@ -340,11 +340,13 @@ export interface ThumbnailConfiguration {
340
340
  * <p>The targeted thumbnail-generation interval in seconds. This is configurable (and required)
341
341
  * only if <code>recordingMode</code> is <code>INTERVAL</code>. Default: 60.</p>
342
342
  * <p>
343
- * <b>Important:</b> Setting a value for <code>targetIntervalSeconds</code> does not guarantee that thumbnails
344
- * are generated at the specified interval. For thumbnails to be generated at the
345
- * <code>targetIntervalSeconds</code> interval, the <code>IDR/Keyframe</code> value for the input video must be less than
346
- * the <code>targetIntervalSeconds</code> value. See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/streaming-config.html"> Amazon IVS Streaming Configuration</a> for information on
347
- * setting <code>IDR/Keyframe</code> to the recommended value in video-encoder settings.</p>
343
+ * <b>Important:</b> Setting a value for
344
+ * <code>targetIntervalSeconds</code> does not guarantee that thumbnails are generated at the
345
+ * specified interval. For thumbnails to be generated at the <code>targetIntervalSeconds</code>
346
+ * interval, the <code>IDR/Keyframe</code> value for the input video must be less than the
347
+ * <code>targetIntervalSeconds</code> value. See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/streaming-config.html"> Amazon IVS Streaming Configuration</a>
348
+ * for information on setting <code>IDR/Keyframe</code> to the recommended value in video-encoder
349
+ * settings.</p>
348
350
  */
349
351
  targetIntervalSeconds?: number;
350
352
  }
@@ -370,6 +372,11 @@ export interface CreateRecordingConfigurationRequest {
370
372
  * session and modify the interval at which thumbnails are generated for the live session.</p>
371
373
  */
372
374
  thumbnailConfiguration?: ThumbnailConfiguration;
375
+ /**
376
+ * <p>If a broadcast disconnects and then reconnects within the specified interval, the multiple
377
+ * streams will be considered a single broadcast and merged together. Default: 0.</p>
378
+ */
379
+ recordingReconnectWindowSeconds?: number;
373
380
  }
374
381
  export declare enum RecordingConfigurationState {
375
382
  Active = "ACTIVE",
@@ -409,6 +416,11 @@ export interface RecordingConfiguration {
409
416
  * session and modify the interval at which thumbnails are generated for the live session.</p>
410
417
  */
411
418
  thumbnailConfiguration?: ThumbnailConfiguration;
419
+ /**
420
+ * <p>If a broadcast disconnects and then reconnects within the specified interval, the multiple
421
+ * streams will be considered a single broadcast and merged together. Default: 0.</p>
422
+ */
423
+ recordingReconnectWindowSeconds?: number;
412
424
  }
413
425
  export interface CreateRecordingConfigurationResponse {
414
426
  /**
@@ -173,6 +173,8 @@ export interface CreateRecordingConfigurationRequest {
173
173
  tags?: Record<string, string>;
174
174
 
175
175
  thumbnailConfiguration?: ThumbnailConfiguration;
176
+
177
+ recordingReconnectWindowSeconds?: number;
176
178
  }
177
179
  export declare enum RecordingConfigurationState {
178
180
  Active = "ACTIVE",
@@ -193,6 +195,8 @@ export interface RecordingConfiguration {
193
195
  tags?: Record<string, string>;
194
196
 
195
197
  thumbnailConfiguration?: ThumbnailConfiguration;
198
+
199
+ recordingReconnectWindowSeconds?: number;
196
200
  }
197
201
  export interface CreateRecordingConfigurationResponse {
198
202
 
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.161.0",
4
+ "version": "3.165.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.161.0",
22
- "@aws-sdk/config-resolver": "3.160.0",
23
- "@aws-sdk/credential-provider-node": "3.161.0",
24
- "@aws-sdk/fetch-http-handler": "3.160.0",
25
- "@aws-sdk/hash-node": "3.160.0",
26
- "@aws-sdk/invalid-dependency": "3.160.0",
27
- "@aws-sdk/middleware-content-length": "3.160.0",
28
- "@aws-sdk/middleware-host-header": "3.160.0",
29
- "@aws-sdk/middleware-logger": "3.160.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.160.0",
31
- "@aws-sdk/middleware-retry": "3.160.0",
32
- "@aws-sdk/middleware-serde": "3.160.0",
33
- "@aws-sdk/middleware-signing": "3.160.0",
34
- "@aws-sdk/middleware-stack": "3.160.0",
35
- "@aws-sdk/middleware-user-agent": "3.160.0",
36
- "@aws-sdk/node-config-provider": "3.160.0",
37
- "@aws-sdk/node-http-handler": "3.160.0",
38
- "@aws-sdk/protocol-http": "3.160.0",
39
- "@aws-sdk/smithy-client": "3.161.0",
40
- "@aws-sdk/types": "3.160.0",
41
- "@aws-sdk/url-parser": "3.160.0",
21
+ "@aws-sdk/client-sts": "3.165.0",
22
+ "@aws-sdk/config-resolver": "3.163.0",
23
+ "@aws-sdk/credential-provider-node": "3.165.0",
24
+ "@aws-sdk/fetch-http-handler": "3.162.0",
25
+ "@aws-sdk/hash-node": "3.162.0",
26
+ "@aws-sdk/invalid-dependency": "3.162.0",
27
+ "@aws-sdk/middleware-content-length": "3.162.0",
28
+ "@aws-sdk/middleware-host-header": "3.162.0",
29
+ "@aws-sdk/middleware-logger": "3.162.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.162.0",
31
+ "@aws-sdk/middleware-retry": "3.162.0",
32
+ "@aws-sdk/middleware-serde": "3.162.0",
33
+ "@aws-sdk/middleware-signing": "3.163.0",
34
+ "@aws-sdk/middleware-stack": "3.162.0",
35
+ "@aws-sdk/middleware-user-agent": "3.162.0",
36
+ "@aws-sdk/node-config-provider": "3.162.0",
37
+ "@aws-sdk/node-http-handler": "3.162.0",
38
+ "@aws-sdk/protocol-http": "3.162.0",
39
+ "@aws-sdk/smithy-client": "3.162.0",
40
+ "@aws-sdk/types": "3.162.0",
41
+ "@aws-sdk/url-parser": "3.162.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.161.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.161.0",
48
- "@aws-sdk/util-user-agent-browser": "3.160.0",
49
- "@aws-sdk/util-user-agent-node": "3.160.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.162.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.163.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.162.0",
49
+ "@aws-sdk/util-user-agent-node": "3.162.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"