@aws-sdk/client-rekognitionstreaming 3.379.1 → 3.382.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.
@@ -25,18 +25,22 @@ export declare class AccessDeniedException extends __BaseException {
25
25
  */
26
26
  export interface BoundingBox {
27
27
  /**
28
+ * @public
28
29
  * <p>Width of the bounding box as a ratio of the overall image width.</p>
29
30
  */
30
31
  Width: number | undefined;
31
32
  /**
33
+ * @public
32
34
  * <p>Height of the bounding box as a ratio of the overall image height.</p>
33
35
  */
34
36
  Height: number | undefined;
35
37
  /**
38
+ * @public
36
39
  * <p>Left coordinate of the bounding box as a ratio of overall image width.</p>
37
40
  */
38
41
  Left: number | undefined;
39
42
  /**
43
+ * @public
40
44
  * <p>Top coordinate of the bounding box as a ratio of overall image height.</p>
41
45
  */
42
46
  Top: number | undefined;
@@ -47,44 +51,54 @@ export interface BoundingBox {
47
51
  */
48
52
  export interface ChallengeConfig {
49
53
  /**
54
+ * @public
50
55
  * <p>Threshold for face detection done using blaze face.</p>
51
56
  */
52
57
  BlazeFaceDetectionThreshold?: number;
53
58
  /**
59
+ * @public
54
60
  * <p>Threshold for the minimum distance that face can be from the camera before face oval
55
61
  * match challenge starts.</p>
56
62
  */
57
63
  FaceDistanceThresholdMin?: number;
58
64
  /**
65
+ * @public
59
66
  * <p>Threshold for face distance threshold face liveness challenge.</p>
60
67
  */
61
68
  FaceDistanceThreshold?: number;
62
69
  /**
70
+ * @public
63
71
  * <p>Threshold for the maximum distance that face can be from the camera before face oval
64
72
  * match challenge starts.</p>
65
73
  */
66
74
  FaceDistanceThresholdMax?: number;
67
75
  /**
76
+ * @public
68
77
  * <p>Threshold for face oval match using IoU (Intersection over Union).</p>
69
78
  */
70
79
  OvalIouThreshold?: number;
71
80
  /**
81
+ * @public
72
82
  * <p>Height to width ratio of oval used for face oval match.</p>
73
83
  */
74
84
  OvalHeightWidthRatio?: number;
75
85
  /**
86
+ * @public
76
87
  * <p>Threshold for width during oval IOU (Intersection over Union) match.</p>
77
88
  */
78
89
  OvalIouWidthThreshold?: number;
79
90
  /**
91
+ * @public
80
92
  * <p>Threshold for height during oval IOU (Intersection over Union) match.</p>
81
93
  */
82
94
  OvalIouHeightThreshold?: number;
83
95
  /**
96
+ * @public
84
97
  * <p>Threshold for width during face IOU (Intersection over Union) match.</p>
85
98
  */
86
99
  FaceIouWidthThreshold?: number;
87
100
  /**
101
+ * @public
88
102
  * <p> Threshold for height during face IOU (Intersection over Union) match.</p>
89
103
  */
90
104
  FaceIouHeightThreshold?: number;
@@ -95,6 +109,7 @@ export interface ChallengeConfig {
95
109
  */
96
110
  export interface FreshnessColor {
97
111
  /**
112
+ * @public
98
113
  * <p>RGB values for a color to be flashed to the end user.</p>
99
114
  */
100
115
  RGB: number[] | undefined;
@@ -106,18 +121,22 @@ export interface FreshnessColor {
106
121
  */
107
122
  export interface ColorDisplayed {
108
123
  /**
124
+ * @public
109
125
  * <p> The current color being displayed on the screen (flat or downscrolled). It will contain a separate RGB list having 3 elements (each element can have values between 0 to 255). </p>
110
126
  */
111
127
  CurrentColor: FreshnessColor | undefined;
112
128
  /**
129
+ * @public
113
130
  * <p>The previous color displayed on screen (flat or downscrolled). It will contain a separate RGB list having 3 elements (each element can have values between 0 to 255). </p>
114
131
  */
115
132
  PreviousColor?: FreshnessColor;
116
133
  /**
134
+ * @public
117
135
  * <p>The order in which the current color was displayed on the screen.</p>
118
136
  */
119
137
  SequenceNumber: number | undefined;
120
138
  /**
139
+ * @public
121
140
  * <p>Epoch timestamp of when the current color was displayed on the user screen.</p>
122
141
  */
123
142
  CurrentColorStartTimestamp: number | undefined;
@@ -130,10 +149,12 @@ export interface ColorDisplayed {
130
149
  */
131
150
  export interface InitialFace {
132
151
  /**
152
+ * @public
133
153
  * <p>The bounding box for the initial face position of the user on the device screen.</p>
134
154
  */
135
155
  BoundingBox: BoundingBox | undefined;
136
156
  /**
157
+ * @public
137
158
  * <p>Timestamp that a face was initially detected at.</p>
138
159
  */
139
160
  InitialFaceDetectedTimestamp: number | undefined;
@@ -147,14 +168,17 @@ export interface InitialFace {
147
168
  */
148
169
  export interface TargetFace {
149
170
  /**
171
+ * @public
150
172
  * <p>A bounding box for the target face.</p>
151
173
  */
152
174
  BoundingBox: BoundingBox | undefined;
153
175
  /**
176
+ * @public
154
177
  * <p>Starting timestamp at which a face was detected in the target position.</p>
155
178
  */
156
179
  FaceDetectedInTargetPositionStartTimestamp: number | undefined;
157
180
  /**
181
+ * @public
158
182
  * <p>Ending timestamp at which a face was detected in the target position.</p>
159
183
  */
160
184
  FaceDetectedInTargetPositionEndTimestamp: number | undefined;
@@ -166,24 +190,29 @@ export interface TargetFace {
166
190
  */
167
191
  export interface FaceMovementAndLightClientChallenge {
168
192
  /**
193
+ * @public
169
194
  * <p>An ID that uniquely identifies a challenge from a client.</p>
170
195
  */
171
196
  ChallengeId: string | undefined;
172
197
  /**
198
+ * @public
173
199
  * <p>Epoch timestamp indicating start of video recording.</p>
174
200
  */
175
201
  VideoStartTimestamp?: number;
176
202
  /**
203
+ * @public
177
204
  * <p>Epoch timestamp indicating end of video recording.</p>
178
205
  */
179
206
  VideoEndTimestamp?: number;
180
207
  /**
208
+ * @public
181
209
  * <p>Contains the bounding box of the initial face position for the user on the device screen.
182
210
  * Also contains an epoch timestamp of when the user was detected in this position. Used for Face
183
211
  * Liveness detection.</p>
184
212
  */
185
213
  InitialFace?: InitialFace;
186
214
  /**
215
+ * @public
187
216
  * <p>Contains the face position bounding box for the user on the device's screen, set at the
188
217
  * target location constructed for the challenge. Generated using a precise oval location
189
218
  * depending on the provided video </p>
@@ -192,6 +221,7 @@ export interface FaceMovementAndLightClientChallenge {
192
221
  */
193
222
  TargetFace?: TargetFace;
194
223
  /**
224
+ * @public
195
225
  * <p>Contains information regarding SequenceNumber, CurrentColor, PreviousColor, and CurrentColorStartTimestamp for a challenge.</p>
196
226
  */
197
227
  ColorDisplayed?: ColorDisplayed;
@@ -207,12 +237,16 @@ export type ClientChallenge = ClientChallenge.FaceMovementAndLightChallengeMembe
207
237
  */
208
238
  export declare namespace ClientChallenge {
209
239
  /**
240
+ * @public
210
241
  * <p>Information about a face movement and light challenge type.</p>
211
242
  */
212
243
  interface FaceMovementAndLightChallengeMember {
213
244
  FaceMovementAndLightChallenge: FaceMovementAndLightClientChallenge;
214
245
  $unknown?: never;
215
246
  }
247
+ /**
248
+ * @public
249
+ */
216
250
  interface $UnknownMember {
217
251
  FaceMovementAndLightChallenge?: never;
218
252
  $unknown: [string, any];
@@ -230,6 +264,7 @@ export declare namespace ClientChallenge {
230
264
  */
231
265
  export interface ClientSessionInformationEvent {
232
266
  /**
267
+ * @public
233
268
  * <p>Contains information on FaceMovementAndLightChellenge, TargetFace, and ColorDisplayed, for a given Challenge.</p>
234
269
  */
235
270
  Challenge: ClientChallenge | undefined;
@@ -240,14 +275,17 @@ export interface ClientSessionInformationEvent {
240
275
  */
241
276
  export interface ColorSequence {
242
277
  /**
278
+ * @public
243
279
  * <p>Represents the colors in a given ColorSequence to be flashed to the end user, with each color represented in RGB values.</p>
244
280
  */
245
281
  FreshnessColor: FreshnessColor | undefined;
246
282
  /**
283
+ * @public
247
284
  * <p>Duration in milliseconds for which a given color in the color sequence will down-scroll before taking over full screen.</p>
248
285
  */
249
286
  DownscrollDuration: number | undefined;
250
287
  /**
288
+ * @public
251
289
  * <p>Duration in milliseconds for which a given flat color in the color sequence will be displayed on the full screen.</p>
252
290
  */
253
291
  FlatDisplayDuration: number | undefined;
@@ -259,6 +297,7 @@ export interface ColorSequence {
259
297
  */
260
298
  export interface DisconnectionEvent {
261
299
  /**
300
+ * @public
262
301
  * <p>The timestamp that a disconnection event took place at.</p>
263
302
  */
264
303
  TimestampMillis: number | undefined;
@@ -280,18 +319,22 @@ export type LightChallengeType = (typeof LightChallengeType)[keyof typeof LightC
280
319
  */
281
320
  export interface OvalParameters {
282
321
  /**
322
+ * @public
283
323
  * <p>Width of the oval</p>
284
324
  */
285
325
  Width: number | undefined;
286
326
  /**
327
+ * @public
287
328
  * <p>Height of the oval</p>
288
329
  */
289
330
  Height: number | undefined;
290
331
  /**
332
+ * @public
291
333
  * <p>X-axis co-ordinate of for center of oval</p>
292
334
  */
293
335
  CenterX: number | undefined;
294
336
  /**
337
+ * @public
295
338
  * <p>Y-axis co-ordinate of for center of oval</p>
296
339
  */
297
340
  CenterY: number | undefined;
@@ -303,18 +346,22 @@ export interface OvalParameters {
303
346
  */
304
347
  export interface FaceMovementAndLightServerChallenge {
305
348
  /**
349
+ * @public
306
350
  * <p>The parameters needed for an oval to display and to complete oval match challenge.</p>
307
351
  */
308
352
  OvalParameters: OvalParameters | undefined;
309
353
  /**
354
+ * @public
310
355
  * <p>Information on the type of colored light challenge.</p>
311
356
  */
312
357
  LightChallengeType: LightChallengeType | string | undefined;
313
358
  /**
359
+ * @public
314
360
  * <p>Configurations for attributes of the Face Liveness movement and light challenges.</p>
315
361
  */
316
362
  ChallengeConfig: ChallengeConfig | undefined;
317
363
  /**
364
+ * @public
318
365
  * <p>Used to generate a list of color sequences to be displayed on a user's screen.</p>
319
366
  */
320
367
  ColorSequences: ColorSequence[] | undefined;
@@ -339,10 +386,12 @@ export declare class InternalServerException extends __BaseException {
339
386
  */
340
387
  export interface VideoEvent {
341
388
  /**
389
+ * @public
342
390
  * <p>The video chunk for a video event.</p>
343
391
  */
344
392
  VideoChunk?: Uint8Array;
345
393
  /**
394
+ * @public
346
395
  * <p>Milisecond timestamp for a video chunk in a video event.</p>
347
396
  */
348
397
  TimestampMillis?: number;
@@ -357,6 +406,7 @@ export type LivenessRequestStream = LivenessRequestStream.ClientSessionInformati
357
406
  */
358
407
  export declare namespace LivenessRequestStream {
359
408
  /**
409
+ * @public
360
410
  * <p>Contains video events for a Face Liveness request stream.</p>
361
411
  */
362
412
  interface VideoEventMember {
@@ -365,6 +415,7 @@ export declare namespace LivenessRequestStream {
365
415
  $unknown?: never;
366
416
  }
367
417
  /**
418
+ * @public
368
419
  * <p>Information event for the client session for a given Face Liveness request stream.</p>
369
420
  */
370
421
  interface ClientSessionInformationEventMember {
@@ -372,6 +423,9 @@ export declare namespace LivenessRequestStream {
372
423
  ClientSessionInformationEvent: ClientSessionInformationEvent;
373
424
  $unknown?: never;
374
425
  }
426
+ /**
427
+ * @public
428
+ */
375
429
  interface $UnknownMember {
376
430
  VideoEvent?: never;
377
431
  ClientSessionInformationEvent?: never;
@@ -394,12 +448,16 @@ export type ServerChallenge = ServerChallenge.FaceMovementAndLightChallengeMembe
394
448
  */
395
449
  export declare namespace ServerChallenge {
396
450
  /**
451
+ * @public
397
452
  * <p>Paramteters and configuration information for the face movement and light sequence challenges.</p>
398
453
  */
399
454
  interface FaceMovementAndLightChallengeMember {
400
455
  FaceMovementAndLightChallenge: FaceMovementAndLightServerChallenge;
401
456
  $unknown?: never;
402
457
  }
458
+ /**
459
+ * @public
460
+ */
403
461
  interface $UnknownMember {
404
462
  FaceMovementAndLightChallenge?: never;
405
463
  $unknown: [string, any];
@@ -416,6 +474,7 @@ export declare namespace ServerChallenge {
416
474
  */
417
475
  export interface SessionInformation {
418
476
  /**
477
+ * @public
419
478
  * <p>Object containing information of Face Liveness challenge to be performed by the client. The information is used to construct the challenges at the client's SDK.</p>
420
479
  */
421
480
  Challenge: ServerChallenge | undefined;
@@ -426,6 +485,7 @@ export interface SessionInformation {
426
485
  */
427
486
  export interface ServerSessionInformationEvent {
428
487
  /**
488
+ * @public
429
489
  * <p>Contains the session information sent by the server..</p>
430
490
  */
431
491
  SessionInformation: SessionInformation | undefined;
@@ -501,6 +561,7 @@ export type LivenessResponseStream = LivenessResponseStream.DisconnectionEventMe
501
561
  */
502
562
  export declare namespace LivenessResponseStream {
503
563
  /**
564
+ * @public
504
565
  * <p>Details for a server session information event.</p>
505
566
  */
506
567
  interface ServerSessionInformationEventMember {
@@ -514,6 +575,7 @@ export declare namespace LivenessResponseStream {
514
575
  $unknown?: never;
515
576
  }
516
577
  /**
578
+ * @public
517
579
  * <p>Notification that disconnection event has occurred to a Face Liveness session.</p>
518
580
  */
519
581
  interface DisconnectionEventMember {
@@ -527,6 +589,7 @@ export declare namespace LivenessResponseStream {
527
589
  $unknown?: never;
528
590
  }
529
591
  /**
592
+ * @public
530
593
  * <p>Notification that a ValidationException occurred during a Face Liveness session.</p>
531
594
  */
532
595
  interface ValidationExceptionMember {
@@ -540,6 +603,7 @@ export declare namespace LivenessResponseStream {
540
603
  $unknown?: never;
541
604
  }
542
605
  /**
606
+ * @public
543
607
  * <p>Notification that an InternalServerException occurred during a Face Liveness session.</p>
544
608
  */
545
609
  interface InternalServerExceptionMember {
@@ -553,6 +617,7 @@ export declare namespace LivenessResponseStream {
553
617
  $unknown?: never;
554
618
  }
555
619
  /**
620
+ * @public
556
621
  * <p>Notification that a ThrottlingException occurred during a Face Liveness session.</p>
557
622
  */
558
623
  interface ThrottlingExceptionMember {
@@ -566,6 +631,7 @@ export declare namespace LivenessResponseStream {
566
631
  $unknown?: never;
567
632
  }
568
633
  /**
634
+ * @public
569
635
  * <p>Notification that a ServiceQuotaExceededException occurred during a Face Liveness session.</p>
570
636
  */
571
637
  interface ServiceQuotaExceededExceptionMember {
@@ -579,6 +645,7 @@ export declare namespace LivenessResponseStream {
579
645
  $unknown?: never;
580
646
  }
581
647
  /**
648
+ * @public
582
649
  * <p>Notification that a ServiceUnavailableException occurred during a Face Liveness session.</p>
583
650
  */
584
651
  interface ServiceUnavailableExceptionMember {
@@ -591,6 +658,9 @@ export declare namespace LivenessResponseStream {
591
658
  ServiceUnavailableException: ServiceUnavailableException;
592
659
  $unknown?: never;
593
660
  }
661
+ /**
662
+ * @public
663
+ */
594
664
  interface $UnknownMember {
595
665
  ServerSessionInformationEvent?: never;
596
666
  DisconnectionEvent?: never;
@@ -632,25 +702,30 @@ export declare class SessionNotFoundException extends __BaseException {
632
702
  */
633
703
  export interface StartFaceLivenessSessionRequest {
634
704
  /**
705
+ * @public
635
706
  * <p>A unique 128-bit UUID. Used to uniquely identify the session and also acta as an
636
707
  * idempotency token for all operations associated with the session.</p>
637
708
  */
638
709
  SessionId: string | undefined;
639
710
  /**
711
+ * @public
640
712
  * <p>The width of the video object included in a request to start a Face Liveness
641
713
  * session.</p>
642
714
  */
643
715
  VideoWidth: string | undefined;
644
716
  /**
717
+ * @public
645
718
  * <p>The height of the video object included in a request to start a Face Liveness
646
719
  * session.</p>
647
720
  */
648
721
  VideoHeight: string | undefined;
649
722
  /**
723
+ * @public
650
724
  * <p>String containing comma separated list of challenge versions supported by client.</p>
651
725
  */
652
726
  ChallengeVersions: string | undefined;
653
727
  /**
728
+ * @public
654
729
  * <p>Information regarding the request stream for a Face Liveness session.</p>
655
730
  */
656
731
  LivenessRequestStream?: AsyncIterable<LivenessRequestStream>;
@@ -660,10 +735,12 @@ export interface StartFaceLivenessSessionRequest {
660
735
  */
661
736
  export interface StartFaceLivenessSessionResponse {
662
737
  /**
738
+ * @public
663
739
  * <p>The ID that identifies a Face Liveness session.</p>
664
740
  */
665
741
  SessionId: string | undefined;
666
742
  /**
743
+ * @public
667
744
  * <p>Information regarding the response stream for a Face Liveness session.</p>
668
745
  */
669
746
  LivenessResponseStream?: AsyncIterable<LivenessResponseStream>;
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.379.1",
4
+ "version": "3.382.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,18 +21,18 @@
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.379.1",
25
- "@aws-sdk/credential-provider-node": "3.379.1",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
26
  "@aws-sdk/eventstream-handler-node": "3.378.0",
27
27
  "@aws-sdk/middleware-eventstream": "3.379.1",
28
28
  "@aws-sdk/middleware-host-header": "3.379.1",
29
29
  "@aws-sdk/middleware-logger": "3.378.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
31
31
  "@aws-sdk/middleware-signing": "3.379.1",
32
- "@aws-sdk/middleware-user-agent": "3.379.1",
32
+ "@aws-sdk/middleware-user-agent": "3.382.0",
33
33
  "@aws-sdk/middleware-websocket": "3.379.1",
34
34
  "@aws-sdk/types": "3.378.0",
35
- "@aws-sdk/util-endpoints": "3.378.0",
35
+ "@aws-sdk/util-endpoints": "3.382.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.378.0",
37
37
  "@aws-sdk/util-user-agent-node": "3.378.0",
38
38
  "@smithy/config-resolver": "^2.0.1",