@aws-sdk/client-kinesis-video 3.413.0 → 3.417.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.
@@ -1,17 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
4
5
  const protocol_http_1 = require("@smithy/protocol-http");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const asPartial = (t) => t;
7
8
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
8
9
  const extensionConfiguration = {
10
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
9
11
  ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
10
12
  ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
11
13
  };
12
14
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
13
15
  return {
14
16
  ...runtimeConfig,
17
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
15
18
  ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
16
19
  ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
17
20
  };
@@ -1,14 +1,17 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
1
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
2
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
3
4
  const asPartial = (t) => t;
4
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
5
6
  const extensionConfiguration = {
7
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
6
8
  ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
7
9
  ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
8
10
  };
9
11
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
10
12
  return {
11
13
  ...runtimeConfig,
14
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
12
15
  ...resolveDefaultRuntimeConfig(extensionConfiguration),
13
16
  ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
14
17
  };
@@ -23,7 +23,10 @@ export interface DescribeMediaStorageConfigurationCommandOutput extends Describe
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns the most current information about the channel. Specify the <code>ChannelName</code>
26
+ * <important>
27
+ * <p>This API is related to <a href="https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/webrtc-ingestion.html">WebRTC Ingestion</a> and is only available in the <code>us-west-2</code> region.</p>
28
+ * </important>
29
+ * <p>Returns the most current information about the channel. Specify the <code>ChannelName</code>
27
30
  * or <code>ChannelARN</code> in the input.</p>
28
31
  * @example
29
32
  * Use a bare-bones client and the command you need to make an API call.
@@ -35,6 +35,8 @@ export interface StartEdgeConfigurationUpdateCommandOutput extends StartEdgeConf
35
35
  * If you invoke this API during the syncing process, a <code>ResourceInUseException</code> will be thrown.
36
36
  * The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes,
37
37
  * the status will transition into the <code>SYNC_FAILED</code> state.</p>
38
+ * <p>To move an edge configuration from one device to another, use <a>DeleteEdgeConfiguration</a> to delete
39
+ * the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.</p>
38
40
  * @example
39
41
  * Use a bare-bones client and the command you need to make an API call.
40
42
  * ```javascript
@@ -23,7 +23,10 @@ export interface UpdateMediaStorageConfigurationCommandOutput extends UpdateMedi
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Associates a <code>SignalingChannel</code> to a stream to store the media. There are two signaling modes that
26
+ * <important>
27
+ * <p>This API is related to <a href="https://docs.aws.amazon.com/kinesisvideostreams-webrtc-dg/latest/devguide/webrtc-ingestion.html">WebRTC Ingestion</a> and is only available in the <code>us-west-2</code> region.</p>
28
+ * </important>
29
+ * <p>Associates a <code>SignalingChannel</code> to a stream to store the media. There are two signaling modes that
27
30
  * can specified :</p>
28
31
  * <ul>
29
32
  * <li>
@@ -1,7 +1,8 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  /**
4
5
  * @internal
5
6
  */
6
- export interface KinesisVideoExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
7
+ export interface KinesisVideoExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
7
8
  }
@@ -1004,8 +1004,7 @@ export interface ImageGenerationConfiguration {
1004
1004
  DestinationConfig: ImageGenerationDestinationConfig | undefined;
1005
1005
  /**
1006
1006
  * @public
1007
- * <p>The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 33 ms,
1008
- * because a camera that generates content at 30 FPS would create a frame every 33.3 ms. If the timestamp range is less than the sampling interval, the
1007
+ * <p>The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the
1009
1008
  * Image from the <code>StartTimestamp</code> will be returned if available. </p>
1010
1009
  */
1011
1010
  SamplingInterval: number | undefined;
@@ -1,5 +1,7 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
1
2
  import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
3
4
  export interface KinesisVideoExtensionConfiguration
4
5
  extends HttpHandlerExtensionConfiguration,
5
- DefaultExtensionConfiguration {}
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-video",
3
3
  "description": "AWS SDK for JavaScript Kinesis Video Client for Node.js, Browser and React Native",
4
- "version": "3.413.0",
4
+ "version": "3.417.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",
@@ -21,13 +21,14 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.413.0",
25
- "@aws-sdk/credential-provider-node": "3.413.0",
24
+ "@aws-sdk/client-sts": "3.414.0",
25
+ "@aws-sdk/credential-provider-node": "3.414.0",
26
26
  "@aws-sdk/middleware-host-header": "3.413.0",
27
27
  "@aws-sdk/middleware-logger": "3.413.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
29
  "@aws-sdk/middleware-signing": "3.413.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.413.0",
31
+ "@aws-sdk/region-config-resolver": "3.413.0",
31
32
  "@aws-sdk/types": "3.413.0",
32
33
  "@aws-sdk/util-endpoints": "3.413.0",
33
34
  "@aws-sdk/util-user-agent-browser": "3.413.0",