@aws-sdk/client-kinesis-video-signaling 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/KinesisVideoSignaling.js +0 -6
- package/dist-cjs/KinesisVideoSignalingClient.js +0 -11
- package/dist-cjs/commands/GetIceServerConfigCommand.js +0 -38
- package/dist-cjs/commands/SendAlexaOfferToMasterCommand.js +0 -30
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -5
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -34
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/KinesisVideoSignaling.js +0 -1
- package/dist-es/KinesisVideoSignalingClient.js +0 -1
- package/dist-es/commands/GetIceServerConfigCommand.js +0 -1
- package/dist-es/commands/SendAlexaOfferToMasterCommand.js +0 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -5
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +3 -4
- package/dist-types/ts3.4/KinesisVideoSignaling.d.ts +3 -29
- package/dist-types/ts3.4/KinesisVideoSignalingClient.d.ts +24 -91
- package/dist-types/ts3.4/commands/GetIceServerConfigCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/SendAlexaOfferToMasterCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +3 -4
- package/dist-types/ts3.4/models/models_0.d.ts +31 -101
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/KinesisVideoSignaling.js.map +0 -1
- package/dist-cjs/KinesisVideoSignalingClient.js.map +0 -1
- package/dist-cjs/commands/GetIceServerConfigCommand.js.map +0 -1
- package/dist-cjs/commands/SendAlexaOfferToMasterCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/KinesisVideoSignaling.js.map +0 -1
- package/dist-es/KinesisVideoSignalingClient.js.map +0 -1
- package/dist-es/commands/GetIceServerConfigCommand.js.map +0 -1
- package/dist-es/commands/SendAlexaOfferToMasterCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/KinesisVideoSignaling.ts +0 -102
- package/src/KinesisVideoSignalingClient.ts +0 -250
- package/src/commands/GetIceServerConfigCommand.ts +0 -112
- package/src/commands/SendAlexaOfferToMasterCommand.ts +0 -104
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -5
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -244
- package/src/protocols/Aws_restJson1.ts +0 -463
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
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.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -4,11 +4,6 @@ exports.KinesisVideoSignaling = void 0;
|
|
|
4
4
|
const GetIceServerConfigCommand_1 = require("./commands/GetIceServerConfigCommand");
|
|
5
5
|
const SendAlexaOfferToMasterCommand_1 = require("./commands/SendAlexaOfferToMasterCommand");
|
|
6
6
|
const KinesisVideoSignalingClient_1 = require("./KinesisVideoSignalingClient");
|
|
7
|
-
/**
|
|
8
|
-
* <p>Kinesis Video Streams Signaling Service is a intermediate service that establishes a
|
|
9
|
-
* communication channel for discovering peers, transmitting offers and answers in order to
|
|
10
|
-
* establish peer-to-peer connection in webRTC technology.</p>
|
|
11
|
-
*/
|
|
12
7
|
class KinesisVideoSignaling extends KinesisVideoSignalingClient_1.KinesisVideoSignalingClient {
|
|
13
8
|
getIceServerConfig(args, optionsOrCb, cb) {
|
|
14
9
|
const command = new GetIceServerConfigCommand_1.GetIceServerConfigCommand(args);
|
|
@@ -40,4 +35,3 @@ class KinesisVideoSignaling extends KinesisVideoSignalingClient_1.KinesisVideoSi
|
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
37
|
exports.KinesisVideoSignaling = KinesisVideoSignaling;
|
|
43
|
-
//# sourceMappingURL=KinesisVideoSignaling.js.map
|
|
@@ -10,11 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>Kinesis Video Streams Signaling Service is a intermediate service that establishes a
|
|
15
|
-
* communication channel for discovering peers, transmitting offers and answers in order to
|
|
16
|
-
* establish peer-to-peer connection in webRTC technology.</p>
|
|
17
|
-
*/
|
|
18
13
|
class KinesisVideoSignalingClient extends smithy_client_1.Client {
|
|
19
14
|
constructor(configuration) {
|
|
20
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -34,14 +29,8 @@ class KinesisVideoSignalingClient extends smithy_client_1.Client {
|
|
|
34
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
35
30
|
this.middlewareStack.use(middleware_retry_1.getOmitRetryHeadersPlugin(this.config));
|
|
36
31
|
}
|
|
37
|
-
/**
|
|
38
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
39
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
40
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
41
|
-
*/
|
|
42
32
|
destroy() {
|
|
43
33
|
super.destroy();
|
|
44
34
|
}
|
|
45
35
|
}
|
|
46
36
|
exports.KinesisVideoSignalingClient = KinesisVideoSignalingClient;
|
|
47
|
-
//# sourceMappingURL=KinesisVideoSignalingClient.js.map
|
|
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets the Interactive Connectivity Establishment (ICE) server configuration
|
|
10
|
-
* information, including URIs, username, and password which can be used to configure the
|
|
11
|
-
* WebRTC connection. The ICE component uses this configuration information to setup the
|
|
12
|
-
* WebRTC connection, including authenticating with the Traversal Using Relays around NAT
|
|
13
|
-
* (TURN) relay server. </p>
|
|
14
|
-
* <p>TURN is a protocol that is used to improve the connectivity of peer-to-peer
|
|
15
|
-
* applications. By providing a cloud-based relay service, TURN ensures that a connection
|
|
16
|
-
* can be established even when one or more peers are incapable of a direct peer-to-peer
|
|
17
|
-
* connection. For more information, see <a href="https://tools.ietf.org/html/draft-uberti-rtcweb-turn-rest-00">A REST API For
|
|
18
|
-
* Access To TURN Services</a>.</p>
|
|
19
|
-
* <p> You can invoke this API to establish a fallback mechanism in case either of the peers
|
|
20
|
-
* is unable to establish a direct peer-to-peer connection over a signaling channel. You
|
|
21
|
-
* must specify either a signaling channel ARN or the client ID in order to invoke this
|
|
22
|
-
* API.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { KinesisVideoSignalingClient, GetIceServerConfigCommand } from "@aws-sdk/client-kinesis-video-signaling"; // ES Modules import
|
|
27
|
-
* // const { KinesisVideoSignalingClient, GetIceServerConfigCommand } = require("@aws-sdk/client-kinesis-video-signaling"); // CommonJS import
|
|
28
|
-
* const client = new KinesisVideoSignalingClient(config);
|
|
29
|
-
* const command = new GetIceServerConfigCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link GetIceServerConfigCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link GetIceServerConfigCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link KinesisVideoSignalingClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class GetIceServerConfigCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -71,4 +34,3 @@ class GetIceServerConfigCommand extends smithy_client_1.Command {
|
|
|
71
34
|
}
|
|
72
35
|
}
|
|
73
36
|
exports.GetIceServerConfigCommand = GetIceServerConfigCommand;
|
|
74
|
-
//# sourceMappingURL=GetIceServerConfigCommand.js.map
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>This API allows you to connect WebRTC-enabled devices with Alexa display devices. When
|
|
10
|
-
* invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer.
|
|
11
|
-
* The offer is delivered as soon as the master is connected to the specified signaling
|
|
12
|
-
* channel. This API returns the SDP answer from the connected master. If the master is not
|
|
13
|
-
* connected to the signaling channel, redelivery requests are made until the message
|
|
14
|
-
* expires.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { KinesisVideoSignalingClient, SendAlexaOfferToMasterCommand } from "@aws-sdk/client-kinesis-video-signaling"; // ES Modules import
|
|
19
|
-
* // const { KinesisVideoSignalingClient, SendAlexaOfferToMasterCommand } = require("@aws-sdk/client-kinesis-video-signaling"); // CommonJS import
|
|
20
|
-
* const client = new KinesisVideoSignalingClient(config);
|
|
21
|
-
* const command = new SendAlexaOfferToMasterCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link SendAlexaOfferToMasterCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link SendAlexaOfferToMasterCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link KinesisVideoSignalingClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class SendAlexaOfferToMasterCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +34,3 @@ class SendAlexaOfferToMasterCommand extends smithy_client_1.Command {
|
|
|
63
34
|
}
|
|
64
35
|
}
|
|
65
36
|
exports.SendAlexaOfferToMasterCommand = SendAlexaOfferToMasterCommand;
|
|
66
|
-
//# sourceMappingURL=SendAlexaOfferToMasterCommand.js.map
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "kinesisvideo.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "kinesisvideo.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./KinesisVideoSignalingClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./KinesisVideoSignaling"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./models
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./KinesisVideoSignalingClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SendAlexaOfferToMasterResponse = exports.SendAlexaOfferToMasterRequest = exports.SessionExpiredException = exports.ResourceNotFoundException = exports.NotAuthorizedException = exports.InvalidClientException = exports.InvalidArgumentException = exports.GetIceServerConfigResponse = exports.IceServer = exports.GetIceServerConfigRequest = exports.Service = exports.ClientLimitExceededException = void 0;
|
|
4
4
|
var ClientLimitExceededException;
|
|
5
5
|
(function (ClientLimitExceededException) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
ClientLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
@@ -16,92 +13,61 @@ var Service;
|
|
|
16
13
|
})(Service = exports.Service || (exports.Service = {}));
|
|
17
14
|
var GetIceServerConfigRequest;
|
|
18
15
|
(function (GetIceServerConfigRequest) {
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
*/
|
|
22
16
|
GetIceServerConfigRequest.filterSensitiveLog = (obj) => ({
|
|
23
17
|
...obj,
|
|
24
18
|
});
|
|
25
19
|
})(GetIceServerConfigRequest = exports.GetIceServerConfigRequest || (exports.GetIceServerConfigRequest = {}));
|
|
26
20
|
var IceServer;
|
|
27
21
|
(function (IceServer) {
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
31
22
|
IceServer.filterSensitiveLog = (obj) => ({
|
|
32
23
|
...obj,
|
|
33
24
|
});
|
|
34
25
|
})(IceServer = exports.IceServer || (exports.IceServer = {}));
|
|
35
26
|
var GetIceServerConfigResponse;
|
|
36
27
|
(function (GetIceServerConfigResponse) {
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
28
|
GetIceServerConfigResponse.filterSensitiveLog = (obj) => ({
|
|
41
29
|
...obj,
|
|
42
30
|
});
|
|
43
31
|
})(GetIceServerConfigResponse = exports.GetIceServerConfigResponse || (exports.GetIceServerConfigResponse = {}));
|
|
44
32
|
var InvalidArgumentException;
|
|
45
33
|
(function (InvalidArgumentException) {
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
34
|
InvalidArgumentException.filterSensitiveLog = (obj) => ({
|
|
50
35
|
...obj,
|
|
51
36
|
});
|
|
52
37
|
})(InvalidArgumentException = exports.InvalidArgumentException || (exports.InvalidArgumentException = {}));
|
|
53
38
|
var InvalidClientException;
|
|
54
39
|
(function (InvalidClientException) {
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
40
|
InvalidClientException.filterSensitiveLog = (obj) => ({
|
|
59
41
|
...obj,
|
|
60
42
|
});
|
|
61
43
|
})(InvalidClientException = exports.InvalidClientException || (exports.InvalidClientException = {}));
|
|
62
44
|
var NotAuthorizedException;
|
|
63
45
|
(function (NotAuthorizedException) {
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
46
|
NotAuthorizedException.filterSensitiveLog = (obj) => ({
|
|
68
47
|
...obj,
|
|
69
48
|
});
|
|
70
49
|
})(NotAuthorizedException = exports.NotAuthorizedException || (exports.NotAuthorizedException = {}));
|
|
71
50
|
var ResourceNotFoundException;
|
|
72
51
|
(function (ResourceNotFoundException) {
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
52
|
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
77
53
|
...obj,
|
|
78
54
|
});
|
|
79
55
|
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
80
56
|
var SessionExpiredException;
|
|
81
57
|
(function (SessionExpiredException) {
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
58
|
SessionExpiredException.filterSensitiveLog = (obj) => ({
|
|
86
59
|
...obj,
|
|
87
60
|
});
|
|
88
61
|
})(SessionExpiredException = exports.SessionExpiredException || (exports.SessionExpiredException = {}));
|
|
89
62
|
var SendAlexaOfferToMasterRequest;
|
|
90
63
|
(function (SendAlexaOfferToMasterRequest) {
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
64
|
SendAlexaOfferToMasterRequest.filterSensitiveLog = (obj) => ({
|
|
95
65
|
...obj,
|
|
96
66
|
});
|
|
97
67
|
})(SendAlexaOfferToMasterRequest = exports.SendAlexaOfferToMasterRequest || (exports.SendAlexaOfferToMasterRequest = {}));
|
|
98
68
|
var SendAlexaOfferToMasterResponse;
|
|
99
69
|
(function (SendAlexaOfferToMasterResponse) {
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
*/
|
|
103
70
|
SendAlexaOfferToMasterResponse.filterSensitiveLog = (obj) => ({
|
|
104
71
|
...obj,
|
|
105
72
|
});
|
|
106
73
|
})(SendAlexaOfferToMasterResponse = exports.SendAlexaOfferToMasterResponse || (exports.SendAlexaOfferToMasterResponse = {}));
|
|
107
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -329,14 +329,12 @@ const deserializeMetadata = (output) => {
|
|
|
329
329
|
cfId: output.headers["x-amz-cf-id"],
|
|
330
330
|
});
|
|
331
331
|
};
|
|
332
|
-
// Collect low-level response body stream to Uint8Array.
|
|
333
332
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
334
333
|
if (streamBody instanceof Uint8Array) {
|
|
335
334
|
return Promise.resolve(streamBody);
|
|
336
335
|
}
|
|
337
336
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
338
337
|
};
|
|
339
|
-
// Encode Uint8Array data into string with utf-8.
|
|
340
338
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
341
339
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
342
340
|
value !== null &&
|
|
@@ -349,9 +347,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
349
347
|
}
|
|
350
348
|
return {};
|
|
351
349
|
});
|
|
352
|
-
/**
|
|
353
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
354
|
-
*/
|
|
355
350
|
const loadRestJsonErrorCode = (output, data) => {
|
|
356
351
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
357
352
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -376,4 +371,3 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
376
371
|
}
|
|
377
372
|
return "";
|
|
378
373
|
};
|
|
379
|
-
//# sourceMappingURL=Aws_restJson1.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
6
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
7
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
|
10
11
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
12
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
13
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
14
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
|
|
|
39
35
|
};
|
|
40
36
|
};
|
|
41
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
42
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
5
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
6
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
|
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
11
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
14
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
-
// @ts-ignore: package.json will be imported from dist folders
|
|
18
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
19
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
|
-
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
|
|
|
44
40
|
};
|
|
45
41
|
};
|
|
46
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
47
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
|
|
|
17
14
|
};
|
|
18
15
|
};
|
|
19
16
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
|
|
|
18
15
|
});
|
|
19
16
|
};
|
|
20
17
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
21
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
package/dist-es/endpoints.js
CHANGED
|
@@ -33,7 +33,7 @@ var partitionHash = {
|
|
|
33
33
|
hostname: "kinesisvideo.{region}.amazonaws.com.cn",
|
|
34
34
|
},
|
|
35
35
|
"aws-iso": {
|
|
36
|
-
regions: ["us-iso-east-1"],
|
|
36
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
37
37
|
hostname: "kinesisvideo.{region}.c2s.ic.gov",
|
|
38
38
|
},
|
|
39
39
|
"aws-iso-b": {
|
|
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
|
|
|
50
50
|
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "kinesisvideo", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export * from "./KinesisVideoSignalingClient";
|
|
2
1
|
export * from "./KinesisVideoSignaling";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./models
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
2
|
+
export * from "./KinesisVideoSignalingClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
package/dist-es/models/index.js
CHANGED
|
@@ -47,4 +47,3 @@ export var SendAlexaOfferToMasterResponse;
|
|
|
47
47
|
(function (SendAlexaOfferToMasterResponse) {
|
|
48
48
|
SendAlexaOfferToMasterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
49
49
|
})(SendAlexaOfferToMasterResponse || (SendAlexaOfferToMasterResponse = {}));
|
|
50
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
4
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
7
8
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
8
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
-
import packageInfo from "../package.json";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export var getRuntimeConfig = function (config) {
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
2
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
9
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
import packageInfo from "../package.json";
|
|
15
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
6
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export * from "./KinesisVideoSignalingClient";
|
|
2
1
|
export * from "./KinesisVideoSignaling";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./models
|
|
2
|
+
export * from "./KinesisVideoSignalingClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|