@aws-sdk/client-rekognitionstreaming 3.687.0 → 3.691.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.
@@ -7,8 +7,8 @@ import { RekognitionStreamingServiceException as __BaseException } from "./Rekog
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
9
9
  readonly $fault: "client";
10
- Message?: string;
11
- Code?: string;
10
+ Message?: string | undefined;
11
+ Code?: string | undefined;
12
12
  /**
13
13
  * @internal
14
14
  */
@@ -54,59 +54,59 @@ export interface ChallengeConfig {
54
54
  * <p>Threshold for face detection done using blaze face.</p>
55
55
  * @public
56
56
  */
57
- BlazeFaceDetectionThreshold?: number;
57
+ BlazeFaceDetectionThreshold?: number | undefined;
58
58
  /**
59
59
  * <p>Threshold for the minimum distance that face can be from the camera before face oval
60
60
  * match challenge starts.</p>
61
61
  * @public
62
62
  */
63
- FaceDistanceThresholdMin?: number;
63
+ FaceDistanceThresholdMin?: number | undefined;
64
64
  /**
65
65
  * <p>Threshold for face distance threshold face liveness challenge.</p>
66
66
  * @public
67
67
  */
68
- FaceDistanceThreshold?: number;
68
+ FaceDistanceThreshold?: number | undefined;
69
69
  /**
70
70
  * <p>Threshold for the maximum distance that face can be from the camera before face oval
71
71
  * match challenge starts.</p>
72
72
  * @public
73
73
  */
74
- FaceDistanceThresholdMax?: number;
74
+ FaceDistanceThresholdMax?: number | undefined;
75
75
  /**
76
76
  * <p>Threshold for face oval match using IoU (Intersection over Union).</p>
77
77
  * @public
78
78
  */
79
- OvalIouThreshold?: number;
79
+ OvalIouThreshold?: number | undefined;
80
80
  /**
81
81
  * <p>Height to width ratio of oval used for face oval match.</p>
82
82
  * @public
83
83
  */
84
- OvalHeightWidthRatio?: number;
84
+ OvalHeightWidthRatio?: number | undefined;
85
85
  /**
86
86
  * <p>Threshold for width during oval IOU (Intersection over Union) match.</p>
87
87
  * @public
88
88
  */
89
- OvalIouWidthThreshold?: number;
89
+ OvalIouWidthThreshold?: number | undefined;
90
90
  /**
91
91
  * <p>Threshold for height during oval IOU (Intersection over Union) match.</p>
92
92
  * @public
93
93
  */
94
- OvalIouHeightThreshold?: number;
94
+ OvalIouHeightThreshold?: number | undefined;
95
95
  /**
96
96
  * <p>Threshold for width during face IOU (Intersection over Union) match.</p>
97
97
  * @public
98
98
  */
99
- FaceIouWidthThreshold?: number;
99
+ FaceIouWidthThreshold?: number | undefined;
100
100
  /**
101
101
  * <p> Threshold for height during face IOU (Intersection over Union) match.</p>
102
102
  * @public
103
103
  */
104
- FaceIouHeightThreshold?: number;
104
+ FaceIouHeightThreshold?: number | undefined;
105
105
  /**
106
106
  * <p>Timeout limit in which the end-users need to fit in the oval, in miliseconds.</p>
107
107
  * @public
108
108
  */
109
- OvalFitTimeout?: number;
109
+ OvalFitTimeout?: number | undefined;
110
110
  }
111
111
  /**
112
112
  * <p>Represents the colors to be flashed to the end user, each color represented in RGB values.</p>
@@ -134,7 +134,7 @@ export interface ColorDisplayed {
134
134
  * <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>
135
135
  * @public
136
136
  */
137
- PreviousColor?: FreshnessColor;
137
+ PreviousColor?: FreshnessColor | undefined;
138
138
  /**
139
139
  * <p>The order in which the current color was displayed on the screen.</p>
140
140
  * @public
@@ -203,19 +203,19 @@ export interface FaceMovementAndLightClientChallenge {
203
203
  * <p>Epoch timestamp indicating start of video recording.</p>
204
204
  * @public
205
205
  */
206
- VideoStartTimestamp?: number;
206
+ VideoStartTimestamp?: number | undefined;
207
207
  /**
208
208
  * <p>Epoch timestamp indicating end of video recording.</p>
209
209
  * @public
210
210
  */
211
- VideoEndTimestamp?: number;
211
+ VideoEndTimestamp?: number | undefined;
212
212
  /**
213
213
  * <p>Contains the bounding box of the initial face position for the user on the device screen.
214
214
  * Also contains an epoch timestamp of when the user was detected in this position. Used for Face
215
215
  * Liveness detection.</p>
216
216
  * @public
217
217
  */
218
- InitialFace?: InitialFace;
218
+ InitialFace?: InitialFace | undefined;
219
219
  /**
220
220
  * <p>Contains the face position bounding box for the user on the device's screen, set at the
221
221
  * target location constructed for the challenge. Generated using a precise oval location
@@ -224,12 +224,12 @@ export interface FaceMovementAndLightClientChallenge {
224
224
  * was detected in this position.</p>
225
225
  * @public
226
226
  */
227
- TargetFace?: TargetFace;
227
+ TargetFace?: TargetFace | undefined;
228
228
  /**
229
229
  * <p>Contains information regarding SequenceNumber, CurrentColor, PreviousColor, and CurrentColorStartTimestamp for a challenge.</p>
230
230
  * @public
231
231
  */
232
- ColorDisplayed?: ColorDisplayed;
232
+ ColorDisplayed?: ColorDisplayed | undefined;
233
233
  }
234
234
  /**
235
235
  * <p>Object containing information for Face Liveness challenges performed at the client
@@ -378,8 +378,8 @@ export interface FaceMovementAndLightServerChallenge {
378
378
  export declare class InternalServerException extends __BaseException {
379
379
  readonly name: "InternalServerException";
380
380
  readonly $fault: "server";
381
- Message?: string;
382
- Code?: string;
381
+ Message?: string | undefined;
382
+ Code?: string | undefined;
383
383
  /**
384
384
  * @internal
385
385
  */
@@ -394,12 +394,12 @@ export interface VideoEvent {
394
394
  * <p>The video chunk for a video event.</p>
395
395
  * @public
396
396
  */
397
- VideoChunk?: Uint8Array;
397
+ VideoChunk?: Uint8Array | undefined;
398
398
  /**
399
399
  * <p>Milisecond timestamp for a video chunk in a video event.</p>
400
400
  * @public
401
401
  */
402
- TimestampMillis?: number;
402
+ TimestampMillis?: number | undefined;
403
403
  }
404
404
  /**
405
405
  * <p>Contains information regarding video events and client session details for a Face Liveness verification request stream.</p>
@@ -502,8 +502,8 @@ export interface ServerSessionInformationEvent {
502
502
  export declare class ServiceQuotaExceededException extends __BaseException {
503
503
  readonly name: "ServiceQuotaExceededException";
504
504
  readonly $fault: "client";
505
- Message?: string;
506
- Code?: string;
505
+ Message?: string | undefined;
506
+ Code?: string | undefined;
507
507
  /**
508
508
  * @internal
509
509
  */
@@ -516,8 +516,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
516
516
  export declare class ServiceUnavailableException extends __BaseException {
517
517
  readonly name: "ServiceUnavailableException";
518
518
  readonly $fault: "server";
519
- Message?: string;
520
- Code?: string;
519
+ Message?: string | undefined;
520
+ Code?: string | undefined;
521
521
  /**
522
522
  * @internal
523
523
  */
@@ -531,8 +531,8 @@ export declare class ServiceUnavailableException extends __BaseException {
531
531
  export declare class ThrottlingException extends __BaseException {
532
532
  readonly name: "ThrottlingException";
533
533
  readonly $fault: "client";
534
- Message?: string;
535
- Code?: string;
534
+ Message?: string | undefined;
535
+ Code?: string | undefined;
536
536
  /**
537
537
  * @internal
538
538
  */
@@ -549,8 +549,8 @@ export declare class ThrottlingException extends __BaseException {
549
549
  export declare class ValidationException extends __BaseException {
550
550
  readonly name: "ValidationException";
551
551
  readonly $fault: "client";
552
- Message?: string;
553
- Code?: string;
552
+ Message?: string | undefined;
553
+ Code?: string | undefined;
554
554
  /**
555
555
  * @internal
556
556
  */
@@ -695,8 +695,8 @@ export declare namespace LivenessResponseStream {
695
695
  export declare class SessionNotFoundException extends __BaseException {
696
696
  readonly name: "SessionNotFoundException";
697
697
  readonly $fault: "client";
698
- Message?: string;
699
- Code?: string;
698
+ Message?: string | undefined;
699
+ Code?: string | undefined;
700
700
  /**
701
701
  * @internal
702
702
  */
@@ -733,7 +733,7 @@ export interface StartFaceLivenessSessionRequest {
733
733
  * <p>Information regarding the request stream for a Face Liveness session.</p>
734
734
  * @public
735
735
  */
736
- LivenessRequestStream?: AsyncIterable<LivenessRequestStream>;
736
+ LivenessRequestStream?: AsyncIterable<LivenessRequestStream> | undefined;
737
737
  }
738
738
  /**
739
739
  * @public
@@ -748,7 +748,7 @@ export interface StartFaceLivenessSessionResponse {
748
748
  * <p>Information regarding the response stream for a Face Liveness session.</p>
749
749
  * @public
750
750
  */
751
- LivenessResponseStream?: AsyncIterable<LivenessResponseStream>;
751
+ LivenessResponseStream?: AsyncIterable<LivenessResponseStream> | undefined;
752
752
  }
753
753
  /**
754
754
  * @internal
@@ -3,8 +3,8 @@ import { RekognitionStreamingServiceException as __BaseException } from "./Rekog
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- Message?: string;
7
- Code?: string;
6
+ Message?: string | undefined;
7
+ Code?: string | undefined;
8
8
  constructor(
9
9
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
10
  );
@@ -16,24 +16,24 @@ export interface BoundingBox {
16
16
  Top: number | undefined;
17
17
  }
18
18
  export interface ChallengeConfig {
19
- BlazeFaceDetectionThreshold?: number;
20
- FaceDistanceThresholdMin?: number;
21
- FaceDistanceThreshold?: number;
22
- FaceDistanceThresholdMax?: number;
23
- OvalIouThreshold?: number;
24
- OvalHeightWidthRatio?: number;
25
- OvalIouWidthThreshold?: number;
26
- OvalIouHeightThreshold?: number;
27
- FaceIouWidthThreshold?: number;
28
- FaceIouHeightThreshold?: number;
29
- OvalFitTimeout?: number;
19
+ BlazeFaceDetectionThreshold?: number | undefined;
20
+ FaceDistanceThresholdMin?: number | undefined;
21
+ FaceDistanceThreshold?: number | undefined;
22
+ FaceDistanceThresholdMax?: number | undefined;
23
+ OvalIouThreshold?: number | undefined;
24
+ OvalHeightWidthRatio?: number | undefined;
25
+ OvalIouWidthThreshold?: number | undefined;
26
+ OvalIouHeightThreshold?: number | undefined;
27
+ FaceIouWidthThreshold?: number | undefined;
28
+ FaceIouHeightThreshold?: number | undefined;
29
+ OvalFitTimeout?: number | undefined;
30
30
  }
31
31
  export interface FreshnessColor {
32
32
  RGB: number[] | undefined;
33
33
  }
34
34
  export interface ColorDisplayed {
35
35
  CurrentColor: FreshnessColor | undefined;
36
- PreviousColor?: FreshnessColor;
36
+ PreviousColor?: FreshnessColor | undefined;
37
37
  SequenceNumber: number | undefined;
38
38
  CurrentColorStartTimestamp: number | undefined;
39
39
  }
@@ -48,11 +48,11 @@ export interface TargetFace {
48
48
  }
49
49
  export interface FaceMovementAndLightClientChallenge {
50
50
  ChallengeId: string | undefined;
51
- VideoStartTimestamp?: number;
52
- VideoEndTimestamp?: number;
53
- InitialFace?: InitialFace;
54
- TargetFace?: TargetFace;
55
- ColorDisplayed?: ColorDisplayed;
51
+ VideoStartTimestamp?: number | undefined;
52
+ VideoEndTimestamp?: number | undefined;
53
+ InitialFace?: InitialFace | undefined;
54
+ TargetFace?: TargetFace | undefined;
55
+ ColorDisplayed?: ColorDisplayed | undefined;
56
56
  }
57
57
  export type ClientChallenge =
58
58
  | ClientChallenge.FaceMovementAndLightChallengeMember
@@ -105,15 +105,15 @@ export interface FaceMovementAndLightServerChallenge {
105
105
  export declare class InternalServerException extends __BaseException {
106
106
  readonly name: "InternalServerException";
107
107
  readonly $fault: "server";
108
- Message?: string;
109
- Code?: string;
108
+ Message?: string | undefined;
109
+ Code?: string | undefined;
110
110
  constructor(
111
111
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
112
112
  );
113
113
  }
114
114
  export interface VideoEvent {
115
- VideoChunk?: Uint8Array;
116
- TimestampMillis?: number;
115
+ VideoChunk?: Uint8Array | undefined;
116
+ TimestampMillis?: number | undefined;
117
117
  }
118
118
  export type LivenessRequestStream =
119
119
  | LivenessRequestStream.ClientSessionInformationEventMember
@@ -171,8 +171,8 @@ export interface ServerSessionInformationEvent {
171
171
  export declare class ServiceQuotaExceededException extends __BaseException {
172
172
  readonly name: "ServiceQuotaExceededException";
173
173
  readonly $fault: "client";
174
- Message?: string;
175
- Code?: string;
174
+ Message?: string | undefined;
175
+ Code?: string | undefined;
176
176
  constructor(
177
177
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
178
178
  );
@@ -180,8 +180,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
180
180
  export declare class ServiceUnavailableException extends __BaseException {
181
181
  readonly name: "ServiceUnavailableException";
182
182
  readonly $fault: "server";
183
- Message?: string;
184
- Code?: string;
183
+ Message?: string | undefined;
184
+ Code?: string | undefined;
185
185
  constructor(
186
186
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
187
187
  );
@@ -189,8 +189,8 @@ export declare class ServiceUnavailableException extends __BaseException {
189
189
  export declare class ThrottlingException extends __BaseException {
190
190
  readonly name: "ThrottlingException";
191
191
  readonly $fault: "client";
192
- Message?: string;
193
- Code?: string;
192
+ Message?: string | undefined;
193
+ Code?: string | undefined;
194
194
  constructor(
195
195
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
196
196
  );
@@ -198,8 +198,8 @@ export declare class ThrottlingException extends __BaseException {
198
198
  export declare class ValidationException extends __BaseException {
199
199
  readonly name: "ValidationException";
200
200
  readonly $fault: "client";
201
- Message?: string;
202
- Code?: string;
201
+ Message?: string | undefined;
202
+ Code?: string | undefined;
203
203
  constructor(
204
204
  opts: __ExceptionOptionType<ValidationException, __BaseException>
205
205
  );
@@ -309,8 +309,8 @@ export declare namespace LivenessResponseStream {
309
309
  export declare class SessionNotFoundException extends __BaseException {
310
310
  readonly name: "SessionNotFoundException";
311
311
  readonly $fault: "client";
312
- Message?: string;
313
- Code?: string;
312
+ Message?: string | undefined;
313
+ Code?: string | undefined;
314
314
  constructor(
315
315
  opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>
316
316
  );
@@ -320,11 +320,11 @@ export interface StartFaceLivenessSessionRequest {
320
320
  VideoWidth: string | undefined;
321
321
  VideoHeight: string | undefined;
322
322
  ChallengeVersions: string | undefined;
323
- LivenessRequestStream?: AsyncIterable<LivenessRequestStream>;
323
+ LivenessRequestStream?: AsyncIterable<LivenessRequestStream> | undefined;
324
324
  }
325
325
  export interface StartFaceLivenessSessionResponse {
326
326
  SessionId: string | undefined;
327
- LivenessResponseStream?: AsyncIterable<LivenessResponseStream>;
327
+ LivenessResponseStream?: AsyncIterable<LivenessResponseStream> | undefined;
328
328
  }
329
329
  export declare const LivenessRequestStreamFilterSensitiveLog: (
330
330
  obj: LivenessRequestStream
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.687.0",
4
+ "version": "3.691.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,22 +20,22 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/eventstream-handler-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
+ "@aws-sdk/eventstream-handler-node": "3.691.0",
28
28
  "@aws-sdk/middleware-eventstream": "3.686.0",
29
29
  "@aws-sdk/middleware-host-header": "3.686.0",
30
30
  "@aws-sdk/middleware-logger": "3.686.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
32
- "@aws-sdk/middleware-user-agent": "3.687.0",
33
- "@aws-sdk/middleware-websocket": "3.686.0",
32
+ "@aws-sdk/middleware-user-agent": "3.691.0",
33
+ "@aws-sdk/middleware-websocket": "3.691.0",
34
34
  "@aws-sdk/region-config-resolver": "3.686.0",
35
35
  "@aws-sdk/types": "3.686.0",
36
36
  "@aws-sdk/util-endpoints": "3.686.0",
37
37
  "@aws-sdk/util-user-agent-browser": "3.686.0",
38
- "@aws-sdk/util-user-agent-node": "3.687.0",
38
+ "@aws-sdk/util-user-agent-node": "3.691.0",
39
39
  "@smithy/config-resolver": "^3.0.10",
40
40
  "@smithy/core": "^2.5.1",
41
41
  "@smithy/eventstream-serde-browser": "^3.0.11",