@aws-sdk/client-rekognitionstreaming 3.929.0 → 3.931.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
|
@@ -143,16 +143,6 @@ const ChallengeType = {
|
|
|
143
143
|
FACE_MOVEMENT_AND_LIGHT_CHALLENGE: "FaceMovementAndLightChallenge",
|
|
144
144
|
FACE_MOVEMENT_CHALLENGE: "FaceMovementChallenge",
|
|
145
145
|
};
|
|
146
|
-
exports.ClientChallenge = void 0;
|
|
147
|
-
(function (ClientChallenge) {
|
|
148
|
-
ClientChallenge.visit = (value, visitor) => {
|
|
149
|
-
if (value.FaceMovementAndLightChallenge !== undefined)
|
|
150
|
-
return visitor.FaceMovementAndLightChallenge(value.FaceMovementAndLightChallenge);
|
|
151
|
-
if (value.FaceMovementChallenge !== undefined)
|
|
152
|
-
return visitor.FaceMovementChallenge(value.FaceMovementChallenge);
|
|
153
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
154
|
-
};
|
|
155
|
-
})(exports.ClientChallenge || (exports.ClientChallenge = {}));
|
|
156
146
|
const LightChallengeType = {
|
|
157
147
|
SEQUENTIAL: "SEQUENTIAL",
|
|
158
148
|
};
|
|
@@ -172,26 +162,6 @@ let InternalServerException$1 = class InternalServerException extends Rekognitio
|
|
|
172
162
|
this.Code = opts.Code;
|
|
173
163
|
}
|
|
174
164
|
};
|
|
175
|
-
exports.LivenessRequestStream = void 0;
|
|
176
|
-
(function (LivenessRequestStream) {
|
|
177
|
-
LivenessRequestStream.visit = (value, visitor) => {
|
|
178
|
-
if (value.VideoEvent !== undefined)
|
|
179
|
-
return visitor.VideoEvent(value.VideoEvent);
|
|
180
|
-
if (value.ClientSessionInformationEvent !== undefined)
|
|
181
|
-
return visitor.ClientSessionInformationEvent(value.ClientSessionInformationEvent);
|
|
182
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
183
|
-
};
|
|
184
|
-
})(exports.LivenessRequestStream || (exports.LivenessRequestStream = {}));
|
|
185
|
-
exports.ServerChallenge = void 0;
|
|
186
|
-
(function (ServerChallenge) {
|
|
187
|
-
ServerChallenge.visit = (value, visitor) => {
|
|
188
|
-
if (value.FaceMovementAndLightChallenge !== undefined)
|
|
189
|
-
return visitor.FaceMovementAndLightChallenge(value.FaceMovementAndLightChallenge);
|
|
190
|
-
if (value.FaceMovementChallenge !== undefined)
|
|
191
|
-
return visitor.FaceMovementChallenge(value.FaceMovementChallenge);
|
|
192
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
193
|
-
};
|
|
194
|
-
})(exports.ServerChallenge || (exports.ServerChallenge = {}));
|
|
195
165
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends RekognitionStreamingServiceException$1 {
|
|
196
166
|
name = "ServiceQuotaExceededException";
|
|
197
167
|
$fault = "client";
|
|
@@ -256,28 +226,6 @@ let ValidationException$1 = class ValidationException extends RekognitionStreami
|
|
|
256
226
|
this.Code = opts.Code;
|
|
257
227
|
}
|
|
258
228
|
};
|
|
259
|
-
exports.LivenessResponseStream = void 0;
|
|
260
|
-
(function (LivenessResponseStream) {
|
|
261
|
-
LivenessResponseStream.visit = (value, visitor) => {
|
|
262
|
-
if (value.ServerSessionInformationEvent !== undefined)
|
|
263
|
-
return visitor.ServerSessionInformationEvent(value.ServerSessionInformationEvent);
|
|
264
|
-
if (value.DisconnectionEvent !== undefined)
|
|
265
|
-
return visitor.DisconnectionEvent(value.DisconnectionEvent);
|
|
266
|
-
if (value.ChallengeEvent !== undefined)
|
|
267
|
-
return visitor.ChallengeEvent(value.ChallengeEvent);
|
|
268
|
-
if (value.ValidationException !== undefined)
|
|
269
|
-
return visitor.ValidationException(value.ValidationException);
|
|
270
|
-
if (value.InternalServerException !== undefined)
|
|
271
|
-
return visitor.InternalServerException(value.InternalServerException);
|
|
272
|
-
if (value.ThrottlingException !== undefined)
|
|
273
|
-
return visitor.ThrottlingException(value.ThrottlingException);
|
|
274
|
-
if (value.ServiceQuotaExceededException !== undefined)
|
|
275
|
-
return visitor.ServiceQuotaExceededException(value.ServiceQuotaExceededException);
|
|
276
|
-
if (value.ServiceUnavailableException !== undefined)
|
|
277
|
-
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
278
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
279
|
-
};
|
|
280
|
-
})(exports.LivenessResponseStream || (exports.LivenessResponseStream = {}));
|
|
281
229
|
let SessionNotFoundException$1 = class SessionNotFoundException extends RekognitionStreamingServiceException$1 {
|
|
282
230
|
name = "SessionNotFoundException";
|
|
283
231
|
$fault = "client";
|
|
@@ -19,16 +19,6 @@ export const ChallengeType = {
|
|
|
19
19
|
FACE_MOVEMENT_AND_LIGHT_CHALLENGE: "FaceMovementAndLightChallenge",
|
|
20
20
|
FACE_MOVEMENT_CHALLENGE: "FaceMovementChallenge",
|
|
21
21
|
};
|
|
22
|
-
export var ClientChallenge;
|
|
23
|
-
(function (ClientChallenge) {
|
|
24
|
-
ClientChallenge.visit = (value, visitor) => {
|
|
25
|
-
if (value.FaceMovementAndLightChallenge !== undefined)
|
|
26
|
-
return visitor.FaceMovementAndLightChallenge(value.FaceMovementAndLightChallenge);
|
|
27
|
-
if (value.FaceMovementChallenge !== undefined)
|
|
28
|
-
return visitor.FaceMovementChallenge(value.FaceMovementChallenge);
|
|
29
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
30
|
-
};
|
|
31
|
-
})(ClientChallenge || (ClientChallenge = {}));
|
|
32
22
|
export const LightChallengeType = {
|
|
33
23
|
SEQUENTIAL: "SEQUENTIAL",
|
|
34
24
|
};
|
|
@@ -48,26 +38,6 @@ export class InternalServerException extends __BaseException {
|
|
|
48
38
|
this.Code = opts.Code;
|
|
49
39
|
}
|
|
50
40
|
}
|
|
51
|
-
export var LivenessRequestStream;
|
|
52
|
-
(function (LivenessRequestStream) {
|
|
53
|
-
LivenessRequestStream.visit = (value, visitor) => {
|
|
54
|
-
if (value.VideoEvent !== undefined)
|
|
55
|
-
return visitor.VideoEvent(value.VideoEvent);
|
|
56
|
-
if (value.ClientSessionInformationEvent !== undefined)
|
|
57
|
-
return visitor.ClientSessionInformationEvent(value.ClientSessionInformationEvent);
|
|
58
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
59
|
-
};
|
|
60
|
-
})(LivenessRequestStream || (LivenessRequestStream = {}));
|
|
61
|
-
export var ServerChallenge;
|
|
62
|
-
(function (ServerChallenge) {
|
|
63
|
-
ServerChallenge.visit = (value, visitor) => {
|
|
64
|
-
if (value.FaceMovementAndLightChallenge !== undefined)
|
|
65
|
-
return visitor.FaceMovementAndLightChallenge(value.FaceMovementAndLightChallenge);
|
|
66
|
-
if (value.FaceMovementChallenge !== undefined)
|
|
67
|
-
return visitor.FaceMovementChallenge(value.FaceMovementChallenge);
|
|
68
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
69
|
-
};
|
|
70
|
-
})(ServerChallenge || (ServerChallenge = {}));
|
|
71
41
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
72
42
|
name = "ServiceQuotaExceededException";
|
|
73
43
|
$fault = "client";
|
|
@@ -132,28 +102,6 @@ export class ValidationException extends __BaseException {
|
|
|
132
102
|
this.Code = opts.Code;
|
|
133
103
|
}
|
|
134
104
|
}
|
|
135
|
-
export var LivenessResponseStream;
|
|
136
|
-
(function (LivenessResponseStream) {
|
|
137
|
-
LivenessResponseStream.visit = (value, visitor) => {
|
|
138
|
-
if (value.ServerSessionInformationEvent !== undefined)
|
|
139
|
-
return visitor.ServerSessionInformationEvent(value.ServerSessionInformationEvent);
|
|
140
|
-
if (value.DisconnectionEvent !== undefined)
|
|
141
|
-
return visitor.DisconnectionEvent(value.DisconnectionEvent);
|
|
142
|
-
if (value.ChallengeEvent !== undefined)
|
|
143
|
-
return visitor.ChallengeEvent(value.ChallengeEvent);
|
|
144
|
-
if (value.ValidationException !== undefined)
|
|
145
|
-
return visitor.ValidationException(value.ValidationException);
|
|
146
|
-
if (value.InternalServerException !== undefined)
|
|
147
|
-
return visitor.InternalServerException(value.InternalServerException);
|
|
148
|
-
if (value.ThrottlingException !== undefined)
|
|
149
|
-
return visitor.ThrottlingException(value.ThrottlingException);
|
|
150
|
-
if (value.ServiceQuotaExceededException !== undefined)
|
|
151
|
-
return visitor.ServiceQuotaExceededException(value.ServiceQuotaExceededException);
|
|
152
|
-
if (value.ServiceUnavailableException !== undefined)
|
|
153
|
-
return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
|
|
154
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
155
|
-
};
|
|
156
|
-
})(LivenessResponseStream || (LivenessResponseStream = {}));
|
|
157
105
|
export class SessionNotFoundException extends __BaseException {
|
|
158
106
|
name = "SessionNotFoundException";
|
|
159
107
|
$fault = "client";
|
|
@@ -301,12 +301,15 @@ export declare namespace ClientChallenge {
|
|
|
301
301
|
FaceMovementChallenge?: never;
|
|
302
302
|
$unknown: [string, any];
|
|
303
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* @deprecated unused in schema-serde mode.
|
|
306
|
+
*
|
|
307
|
+
*/
|
|
304
308
|
interface Visitor<T> {
|
|
305
309
|
FaceMovementAndLightChallenge: (value: FaceMovementAndLightClientChallenge) => T;
|
|
306
310
|
FaceMovementChallenge: (value: FaceMovementClientChallenge) => T;
|
|
307
311
|
_: (name: string, value: any) => T;
|
|
308
312
|
}
|
|
309
|
-
const visit: <T>(value: ClientChallenge, visitor: Visitor<T>) => T;
|
|
310
313
|
}
|
|
311
314
|
/**
|
|
312
315
|
* <p>Any information that the client needs to send for the streaming session. For face movement challenge,
|
|
@@ -497,12 +500,15 @@ export declare namespace LivenessRequestStream {
|
|
|
497
500
|
ClientSessionInformationEvent?: never;
|
|
498
501
|
$unknown: [string, any];
|
|
499
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* @deprecated unused in schema-serde mode.
|
|
505
|
+
*
|
|
506
|
+
*/
|
|
500
507
|
interface Visitor<T> {
|
|
501
508
|
VideoEvent: (value: VideoEvent) => T;
|
|
502
509
|
ClientSessionInformationEvent: (value: ClientSessionInformationEvent) => T;
|
|
503
510
|
_: (name: string, value: any) => T;
|
|
504
511
|
}
|
|
505
|
-
const visit: <T>(value: LivenessRequestStream, visitor: Visitor<T>) => T;
|
|
506
512
|
}
|
|
507
513
|
/**
|
|
508
514
|
* <p>Information on the challenge sent by the server.</p>
|
|
@@ -535,12 +541,15 @@ export declare namespace ServerChallenge {
|
|
|
535
541
|
FaceMovementChallenge?: never;
|
|
536
542
|
$unknown: [string, any];
|
|
537
543
|
}
|
|
544
|
+
/**
|
|
545
|
+
* @deprecated unused in schema-serde mode.
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
538
548
|
interface Visitor<T> {
|
|
539
549
|
FaceMovementAndLightChallenge: (value: FaceMovementAndLightServerChallenge) => T;
|
|
540
550
|
FaceMovementChallenge: (value: FaceMovementServerChallenge) => T;
|
|
541
551
|
_: (name: string, value: any) => T;
|
|
542
552
|
}
|
|
543
|
-
const visit: <T>(value: ServerChallenge, visitor: Visitor<T>) => T;
|
|
544
553
|
}
|
|
545
554
|
/**
|
|
546
555
|
* <p>Information required for the streaming session.</p>
|
|
@@ -764,6 +773,10 @@ export declare namespace LivenessResponseStream {
|
|
|
764
773
|
ServiceUnavailableException?: never;
|
|
765
774
|
$unknown: [string, any];
|
|
766
775
|
}
|
|
776
|
+
/**
|
|
777
|
+
* @deprecated unused in schema-serde mode.
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
767
780
|
interface Visitor<T> {
|
|
768
781
|
ServerSessionInformationEvent: (value: ServerSessionInformationEvent) => T;
|
|
769
782
|
DisconnectionEvent: (value: DisconnectionEvent) => T;
|
|
@@ -775,7 +788,6 @@ export declare namespace LivenessResponseStream {
|
|
|
775
788
|
ServiceUnavailableException: (value: ServiceUnavailableException) => T;
|
|
776
789
|
_: (name: string, value: any) => T;
|
|
777
790
|
}
|
|
778
|
-
const visit: <T>(value: LivenessResponseStream, visitor: Visitor<T>) => T;
|
|
779
791
|
}
|
|
780
792
|
/**
|
|
781
793
|
* <p>Occurs when the given <code>sessionId</code> is not found.</p>
|
|
@@ -97,7 +97,6 @@ export declare namespace ClientChallenge {
|
|
|
97
97
|
FaceMovementChallenge: (value: FaceMovementClientChallenge) => T;
|
|
98
98
|
_: (name: string, value: any) => T;
|
|
99
99
|
}
|
|
100
|
-
const visit: <T>(value: ClientChallenge, visitor: Visitor<T>) => T;
|
|
101
100
|
}
|
|
102
101
|
export interface ClientSessionInformationEvent {
|
|
103
102
|
Challenge: ClientChallenge | undefined;
|
|
@@ -169,7 +168,6 @@ export declare namespace LivenessRequestStream {
|
|
|
169
168
|
ClientSessionInformationEvent: (value: ClientSessionInformationEvent) => T;
|
|
170
169
|
_: (name: string, value: any) => T;
|
|
171
170
|
}
|
|
172
|
-
const visit: <T>(value: LivenessRequestStream, visitor: Visitor<T>) => T;
|
|
173
171
|
}
|
|
174
172
|
export type ServerChallenge =
|
|
175
173
|
| ServerChallenge.FaceMovementAndLightChallengeMember
|
|
@@ -198,7 +196,6 @@ export declare namespace ServerChallenge {
|
|
|
198
196
|
FaceMovementChallenge: (value: FaceMovementServerChallenge) => T;
|
|
199
197
|
_: (name: string, value: any) => T;
|
|
200
198
|
}
|
|
201
|
-
const visit: <T>(value: ServerChallenge, visitor: Visitor<T>) => T;
|
|
202
199
|
}
|
|
203
200
|
export interface SessionInformation {
|
|
204
201
|
Challenge: ServerChallenge | undefined;
|
|
@@ -363,7 +360,6 @@ export declare namespace LivenessResponseStream {
|
|
|
363
360
|
ServiceUnavailableException: (value: ServiceUnavailableException) => T;
|
|
364
361
|
_: (name: string, value: any) => T;
|
|
365
362
|
}
|
|
366
|
-
const visit: <T>(value: LivenessResponseStream, visitor: Visitor<T>) => T;
|
|
367
363
|
}
|
|
368
364
|
export declare class SessionNotFoundException extends __BaseException {
|
|
369
365
|
readonly name: "SessionNotFoundException";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognitionstreaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.931.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-rekognitionstreaming",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^4.4.
|
|
38
|
-
"@smithy/core": "^3.
|
|
39
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
40
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
41
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
42
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
43
|
-
"@smithy/hash-node": "^4.2.
|
|
44
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
45
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
46
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
47
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
-
"@smithy/middleware-serde": "^4.2.
|
|
49
|
-
"@smithy/middleware-stack": "^4.2.
|
|
50
|
-
"@smithy/node-config-provider": "^4.3.
|
|
51
|
-
"@smithy/node-http-handler": "^4.4.
|
|
52
|
-
"@smithy/protocol-http": "^5.3.
|
|
53
|
-
"@smithy/smithy-client": "^4.9.
|
|
54
|
-
"@smithy/types": "^4.
|
|
55
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.931.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.931.0",
|
|
25
|
+
"@aws-sdk/eventstream-handler-node": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-eventstream": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.931.0",
|
|
31
|
+
"@aws-sdk/middleware-websocket": "3.930.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
33
|
+
"@aws-sdk/types": "3.930.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.931.0",
|
|
37
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
38
|
+
"@smithy/core": "^3.18.2",
|
|
39
|
+
"@smithy/eventstream-serde-browser": "^4.2.5",
|
|
40
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.5",
|
|
41
|
+
"@smithy/eventstream-serde-node": "^4.2.5",
|
|
42
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
43
|
+
"@smithy/hash-node": "^4.2.5",
|
|
44
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
45
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
46
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
47
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
48
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
49
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
50
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
51
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
52
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
53
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
54
|
+
"@smithy/types": "^4.9.0",
|
|
55
|
+
"@smithy/url-parser": "^4.2.5",
|
|
56
56
|
"@smithy/util-base64": "^4.3.0",
|
|
57
57
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
58
58
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
61
|
-
"@smithy/util-endpoints": "^3.2.
|
|
62
|
-
"@smithy/util-middleware": "^4.2.
|
|
63
|
-
"@smithy/util-retry": "^4.2.
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
61
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
62
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
63
|
+
"@smithy/util-retry": "^4.2.5",
|
|
64
64
|
"@smithy/util-utf8": "^4.2.0",
|
|
65
65
|
"tslib": "^2.6.2"
|
|
66
66
|
},
|