@aws-sdk/client-kinesis-video-signaling 3.296.0 → 3.297.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-types/KinesisVideoSignaling.d.ts +3 -0
- package/dist-types/KinesisVideoSignalingClient.d.ts +24 -4
- package/dist-types/commands/GetIceServerConfigCommand.d.ts +16 -0
- package/dist-types/commands/SendAlexaOfferToMasterCommand.d.ts +16 -0
- package/dist-types/models/KinesisVideoSignalingServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +22 -0
- package/package.json +3 -3
|
@@ -3,12 +3,14 @@ import { GetIceServerConfigCommandInput, GetIceServerConfigCommandOutput } from
|
|
|
3
3
|
import { SendAlexaOfferToMasterCommandInput, SendAlexaOfferToMasterCommandOutput } from "./commands/SendAlexaOfferToMasterCommand";
|
|
4
4
|
import { KinesisVideoSignalingClient } from "./KinesisVideoSignalingClient";
|
|
5
5
|
/**
|
|
6
|
+
* @public
|
|
6
7
|
* <p>Kinesis Video Streams Signaling Service is a intermediate service that establishes a
|
|
7
8
|
* communication channel for discovering peers, transmitting offers and answers in order to
|
|
8
9
|
* establish peer-to-peer connection in webRTC technology.</p>
|
|
9
10
|
*/
|
|
10
11
|
export declare class KinesisVideoSignaling extends KinesisVideoSignalingClient {
|
|
11
12
|
/**
|
|
13
|
+
* @public
|
|
12
14
|
* <p>Gets the Interactive Connectivity Establishment (ICE) server configuration
|
|
13
15
|
* information, including URIs, username, and password which can be used to configure the
|
|
14
16
|
* WebRTC connection. The ICE component uses this configuration information to setup the
|
|
@@ -28,6 +30,7 @@ export declare class KinesisVideoSignaling extends KinesisVideoSignalingClient {
|
|
|
28
30
|
getIceServerConfig(args: GetIceServerConfigCommandInput, cb: (err: any, data?: GetIceServerConfigCommandOutput) => void): void;
|
|
29
31
|
getIceServerConfig(args: GetIceServerConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIceServerConfigCommandOutput) => void): void;
|
|
30
32
|
/**
|
|
33
|
+
* @public
|
|
31
34
|
* <p>This API allows you to connect WebRTC-enabled devices with Alexa display devices. When
|
|
32
35
|
* invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer.
|
|
33
36
|
* The offer is delivered as soon as the master is connected to the specified signaling
|
|
@@ -10,15 +10,24 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
10
10
|
import { GetIceServerConfigCommandInput, GetIceServerConfigCommandOutput } from "./commands/GetIceServerConfigCommand";
|
|
11
11
|
import { SendAlexaOfferToMasterCommandInput, SendAlexaOfferToMasterCommandOutput } from "./commands/SendAlexaOfferToMasterCommand";
|
|
12
12
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
13
16
|
export type ServiceInputTypes = GetIceServerConfigCommandInput | SendAlexaOfferToMasterCommandInput;
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
14
20
|
export type ServiceOutputTypes = GetIceServerConfigCommandOutput | SendAlexaOfferToMasterCommandOutput;
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
15
24
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
16
25
|
/**
|
|
17
26
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
18
27
|
*/
|
|
19
28
|
requestHandler?: __HttpHandler;
|
|
20
29
|
/**
|
|
21
|
-
* A constructor for a class implementing the {@link
|
|
30
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
22
31
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
23
32
|
* @internal
|
|
24
33
|
*/
|
|
@@ -108,23 +117,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
108
117
|
*/
|
|
109
118
|
logger?: __Logger;
|
|
110
119
|
/**
|
|
111
|
-
* The {@link
|
|
120
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
112
121
|
*/
|
|
113
122
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
114
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
115
127
|
type KinesisVideoSignalingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
116
128
|
/**
|
|
117
|
-
*
|
|
129
|
+
* @public
|
|
130
|
+
*
|
|
131
|
+
* The configuration interface of KinesisVideoSignalingClient class constructor that set the region, credentials and other options.
|
|
118
132
|
*/
|
|
119
133
|
export interface KinesisVideoSignalingClientConfig extends KinesisVideoSignalingClientConfigType {
|
|
120
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
121
138
|
type KinesisVideoSignalingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
122
139
|
/**
|
|
123
|
-
*
|
|
140
|
+
* @public
|
|
141
|
+
*
|
|
142
|
+
* The resolved configuration interface of KinesisVideoSignalingClient class. This is resolved and normalized from the {@link KinesisVideoSignalingClientConfig | constructor configuration interface}.
|
|
124
143
|
*/
|
|
125
144
|
export interface KinesisVideoSignalingClientResolvedConfig extends KinesisVideoSignalingClientResolvedConfigType {
|
|
126
145
|
}
|
|
127
146
|
/**
|
|
147
|
+
* @public
|
|
128
148
|
* <p>Kinesis Video Streams Signaling Service is a intermediate service that establishes a
|
|
129
149
|
* communication channel for discovering peers, transmitting offers and answers in order to
|
|
130
150
|
* establish peer-to-peer connection in webRTC technology.</p>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoSignalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoSignalingClient";
|
|
5
5
|
import { GetIceServerConfigRequest, GetIceServerConfigResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetIceServerConfigCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetIceServerConfigCommandInput extends GetIceServerConfigRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetIceServerConfigCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetIceServerConfigCommandOutput extends GetIceServerConfigResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the Interactive Connectivity Establishment (ICE) server configuration
|
|
18
23
|
* information, including URIs, username, and password which can be used to configure the
|
|
19
24
|
* WebRTC connection. The ICE component uses this configuration information to setup the
|
|
@@ -38,6 +43,8 @@ export interface GetIceServerConfigCommandOutput extends GetIceServerConfigRespo
|
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
40
45
|
*
|
|
46
|
+
* @param GetIceServerConfigCommandInput - {@link GetIceServerConfigCommandInput}
|
|
47
|
+
* @returns {@link GetIceServerConfigCommandOutput}
|
|
41
48
|
* @see {@link GetIceServerConfigCommandInput} for command's `input` shape.
|
|
42
49
|
* @see {@link GetIceServerConfigCommandOutput} for command's `response` shape.
|
|
43
50
|
* @see {@link KinesisVideoSignalingClientResolvedConfig | config} for KinesisVideoSignalingClient's `config` shape.
|
|
@@ -68,11 +75,20 @@ export interface GetIceServerConfigCommandOutput extends GetIceServerConfigRespo
|
|
|
68
75
|
export declare class GetIceServerConfigCommand extends $Command<GetIceServerConfigCommandInput, GetIceServerConfigCommandOutput, KinesisVideoSignalingClientResolvedConfig> {
|
|
69
76
|
readonly input: GetIceServerConfigCommandInput;
|
|
70
77
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
71
81
|
constructor(input: GetIceServerConfigCommandInput);
|
|
72
82
|
/**
|
|
73
83
|
* @internal
|
|
74
84
|
*/
|
|
75
85
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoSignalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIceServerConfigCommandInput, GetIceServerConfigCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
76
89
|
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
77
93
|
private deserialize;
|
|
78
94
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { KinesisVideoSignalingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisVideoSignalingClient";
|
|
5
5
|
import { SendAlexaOfferToMasterRequest, SendAlexaOfferToMasterResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SendAlexaOfferToMasterCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SendAlexaOfferToMasterCommandInput extends SendAlexaOfferToMasterRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SendAlexaOfferToMasterCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SendAlexaOfferToMasterCommandOutput extends SendAlexaOfferToMasterResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>This API allows you to connect WebRTC-enabled devices with Alexa display devices. When
|
|
18
23
|
* invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer.
|
|
19
24
|
* The offer is delivered as soon as the master is connected to the specified signaling
|
|
@@ -30,6 +35,8 @@ export interface SendAlexaOfferToMasterCommandOutput extends SendAlexaOfferToMas
|
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
32
37
|
*
|
|
38
|
+
* @param SendAlexaOfferToMasterCommandInput - {@link SendAlexaOfferToMasterCommandInput}
|
|
39
|
+
* @returns {@link SendAlexaOfferToMasterCommandOutput}
|
|
33
40
|
* @see {@link SendAlexaOfferToMasterCommandInput} for command's `input` shape.
|
|
34
41
|
* @see {@link SendAlexaOfferToMasterCommandOutput} for command's `response` shape.
|
|
35
42
|
* @see {@link KinesisVideoSignalingClientResolvedConfig | config} for KinesisVideoSignalingClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface SendAlexaOfferToMasterCommandOutput extends SendAlexaOfferToMas
|
|
|
52
59
|
export declare class SendAlexaOfferToMasterCommand extends $Command<SendAlexaOfferToMasterCommandInput, SendAlexaOfferToMasterCommandOutput, KinesisVideoSignalingClientResolvedConfig> {
|
|
53
60
|
readonly input: SendAlexaOfferToMasterCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: SendAlexaOfferToMasterCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisVideoSignalingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendAlexaOfferToMasterCommandInput, SendAlexaOfferToMasterCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from KinesisVideoSignaling service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class KinesisVideoSignalingServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { KinesisVideoSignalingServiceException as __BaseException } from "./KinesisVideoSignalingServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>Your request was throttled because you have exceeded the limit of allowed client
|
|
5
6
|
* calls. Try making the call later.</p>
|
|
6
7
|
*/
|
|
@@ -13,9 +14,15 @@ export declare class ClientLimitExceededException extends __BaseException {
|
|
|
13
14
|
*/
|
|
14
15
|
constructor(opts: __ExceptionOptionType<ClientLimitExceededException, __BaseException>);
|
|
15
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
16
20
|
export declare enum Service {
|
|
17
21
|
TURN = "TURN"
|
|
18
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
19
26
|
export interface GetIceServerConfigRequest {
|
|
20
27
|
/**
|
|
21
28
|
* <p>The ARN of the signaling channel to be used for the peer-to-peer connection between
|
|
@@ -37,6 +44,7 @@ export interface GetIceServerConfigRequest {
|
|
|
37
44
|
Username?: string;
|
|
38
45
|
}
|
|
39
46
|
/**
|
|
47
|
+
* @public
|
|
40
48
|
* <p>A structure for the ICE server connection data.</p>
|
|
41
49
|
*/
|
|
42
50
|
export interface IceServer {
|
|
@@ -59,6 +67,9 @@ export interface IceServer {
|
|
|
59
67
|
*/
|
|
60
68
|
Ttl?: number;
|
|
61
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
62
73
|
export interface GetIceServerConfigResponse {
|
|
63
74
|
/**
|
|
64
75
|
* <p>The list of ICE server information objects.</p>
|
|
@@ -66,6 +77,7 @@ export interface GetIceServerConfigResponse {
|
|
|
66
77
|
IceServerList?: IceServer[];
|
|
67
78
|
}
|
|
68
79
|
/**
|
|
80
|
+
* @public
|
|
69
81
|
* <p>The value for this input parameter is invalid.</p>
|
|
70
82
|
*/
|
|
71
83
|
export declare class InvalidArgumentException extends __BaseException {
|
|
@@ -78,6 +90,7 @@ export declare class InvalidArgumentException extends __BaseException {
|
|
|
78
90
|
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
79
91
|
}
|
|
80
92
|
/**
|
|
93
|
+
* @public
|
|
81
94
|
* <p>The specified client is invalid.</p>
|
|
82
95
|
*/
|
|
83
96
|
export declare class InvalidClientException extends __BaseException {
|
|
@@ -89,6 +102,7 @@ export declare class InvalidClientException extends __BaseException {
|
|
|
89
102
|
constructor(opts: __ExceptionOptionType<InvalidClientException, __BaseException>);
|
|
90
103
|
}
|
|
91
104
|
/**
|
|
105
|
+
* @public
|
|
92
106
|
* <p>The caller is not authorized to perform this operation.</p>
|
|
93
107
|
*/
|
|
94
108
|
export declare class NotAuthorizedException extends __BaseException {
|
|
@@ -101,6 +115,7 @@ export declare class NotAuthorizedException extends __BaseException {
|
|
|
101
115
|
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
102
116
|
}
|
|
103
117
|
/**
|
|
118
|
+
* @public
|
|
104
119
|
* <p>The specified resource is not found.</p>
|
|
105
120
|
*/
|
|
106
121
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -113,6 +128,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
113
128
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
114
129
|
}
|
|
115
130
|
/**
|
|
131
|
+
* @public
|
|
116
132
|
* <p>If the client session is expired. Once the client is connected, the session is valid
|
|
117
133
|
* for 45 minutes. Client should reconnect to the channel to continue sending/receiving
|
|
118
134
|
* messages.</p>
|
|
@@ -125,6 +141,9 @@ export declare class SessionExpiredException extends __BaseException {
|
|
|
125
141
|
*/
|
|
126
142
|
constructor(opts: __ExceptionOptionType<SessionExpiredException, __BaseException>);
|
|
127
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
128
147
|
export interface SendAlexaOfferToMasterRequest {
|
|
129
148
|
/**
|
|
130
149
|
* <p>The ARN of the signaling channel by which Alexa and the master peer
|
|
@@ -140,6 +159,9 @@ export interface SendAlexaOfferToMasterRequest {
|
|
|
140
159
|
*/
|
|
141
160
|
MessagePayload: string | undefined;
|
|
142
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
143
165
|
export interface SendAlexaOfferToMasterResponse {
|
|
144
166
|
/**
|
|
145
167
|
* <p>The base64-encoded SDP answer content.</p>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-signaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Signaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|