@aws-sdk/client-rekognitionstreaming 3.952.0 → 3.954.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 +127 -87
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/StartFaceLivenessSessionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +72 -65
- package/dist-types/RekognitionStreamingClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +34 -36
- package/dist-types/ts3.4/RekognitionStreamingClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +33 -36
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -116,14 +116,14 @@ class RekognitionStreamingClient extends smithyClient.Client {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
class RekognitionStreamingServiceException extends smithyClient.ServiceException {
|
|
120
120
|
constructor(options) {
|
|
121
121
|
super(options);
|
|
122
122
|
Object.setPrototypeOf(this, RekognitionStreamingServiceException.prototype);
|
|
123
123
|
}
|
|
124
|
-
}
|
|
124
|
+
}
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
class AccessDeniedException extends RekognitionStreamingServiceException {
|
|
127
127
|
name = "AccessDeniedException";
|
|
128
128
|
$fault = "client";
|
|
129
129
|
Message;
|
|
@@ -138,8 +138,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends RekognitionStr
|
|
|
138
138
|
this.Message = opts.Message;
|
|
139
139
|
this.Code = opts.Code;
|
|
140
140
|
}
|
|
141
|
-
}
|
|
142
|
-
|
|
141
|
+
}
|
|
142
|
+
class InternalServerException extends RekognitionStreamingServiceException {
|
|
143
143
|
name = "InternalServerException";
|
|
144
144
|
$fault = "server";
|
|
145
145
|
Message;
|
|
@@ -154,8 +154,8 @@ let InternalServerException$1 = class InternalServerException extends Rekognitio
|
|
|
154
154
|
this.Message = opts.Message;
|
|
155
155
|
this.Code = opts.Code;
|
|
156
156
|
}
|
|
157
|
-
}
|
|
158
|
-
|
|
157
|
+
}
|
|
158
|
+
class ServiceQuotaExceededException extends RekognitionStreamingServiceException {
|
|
159
159
|
name = "ServiceQuotaExceededException";
|
|
160
160
|
$fault = "client";
|
|
161
161
|
Message;
|
|
@@ -170,8 +170,8 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
170
170
|
this.Message = opts.Message;
|
|
171
171
|
this.Code = opts.Code;
|
|
172
172
|
}
|
|
173
|
-
}
|
|
174
|
-
|
|
173
|
+
}
|
|
174
|
+
class ServiceUnavailableException extends RekognitionStreamingServiceException {
|
|
175
175
|
name = "ServiceUnavailableException";
|
|
176
176
|
$fault = "server";
|
|
177
177
|
Message;
|
|
@@ -186,8 +186,8 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Re
|
|
|
186
186
|
this.Message = opts.Message;
|
|
187
187
|
this.Code = opts.Code;
|
|
188
188
|
}
|
|
189
|
-
}
|
|
190
|
-
|
|
189
|
+
}
|
|
190
|
+
class ThrottlingException extends RekognitionStreamingServiceException {
|
|
191
191
|
name = "ThrottlingException";
|
|
192
192
|
$fault = "client";
|
|
193
193
|
Message;
|
|
@@ -202,8 +202,8 @@ let ThrottlingException$1 = class ThrottlingException extends RekognitionStreami
|
|
|
202
202
|
this.Message = opts.Message;
|
|
203
203
|
this.Code = opts.Code;
|
|
204
204
|
}
|
|
205
|
-
}
|
|
206
|
-
|
|
205
|
+
}
|
|
206
|
+
class ValidationException extends RekognitionStreamingServiceException {
|
|
207
207
|
name = "ValidationException";
|
|
208
208
|
$fault = "client";
|
|
209
209
|
Message;
|
|
@@ -218,8 +218,8 @@ let ValidationException$1 = class ValidationException extends RekognitionStreami
|
|
|
218
218
|
this.Message = opts.Message;
|
|
219
219
|
this.Code = opts.Code;
|
|
220
220
|
}
|
|
221
|
-
}
|
|
222
|
-
|
|
221
|
+
}
|
|
222
|
+
class SessionNotFoundException extends RekognitionStreamingServiceException {
|
|
223
223
|
name = "SessionNotFoundException";
|
|
224
224
|
$fault = "client";
|
|
225
225
|
Message;
|
|
@@ -234,7 +234,7 @@ let SessionNotFoundException$1 = class SessionNotFoundException extends Rekognit
|
|
|
234
234
|
this.Message = opts.Message;
|
|
235
235
|
this.Code = opts.Code;
|
|
236
236
|
}
|
|
237
|
-
}
|
|
237
|
+
}
|
|
238
238
|
|
|
239
239
|
const _ADE = "AccessDeniedException";
|
|
240
240
|
const _BB = "BoundingBox";
|
|
@@ -326,10 +326,10 @@ const _xarslsi = "x-amz-rekognition-streaming-liveness-session-id";
|
|
|
326
326
|
const _xarslvh = "x-amz-rekognition-streaming-liveness-video-height";
|
|
327
327
|
const _xarslvw = "x-amz-rekognition-streaming-liveness-video-width";
|
|
328
328
|
const n0 = "com.amazonaws.rekognitionstreaming";
|
|
329
|
-
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _C], [0, 0]];
|
|
330
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
331
|
-
var BoundingBox = [3, n0, _BB, 0, [_W, _H, _L, _T], [1, 1, 1, 1]];
|
|
332
|
-
var ChallengeConfig = [
|
|
329
|
+
var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _C], [0, 0]];
|
|
330
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
331
|
+
var BoundingBox$ = [3, n0, _BB, 0, [_W, _H, _L, _T], [1, 1, 1, 1]];
|
|
332
|
+
var ChallengeConfig$ = [
|
|
333
333
|
3,
|
|
334
334
|
n0,
|
|
335
335
|
_CC,
|
|
@@ -337,57 +337,64 @@ var ChallengeConfig = [
|
|
|
337
337
|
[_BFDT, _FDTM, _FDT, _FDTMa, _OIT, _OHWR, _OIWT, _OIHT, _FIWT, _FIHT, _OFT],
|
|
338
338
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
339
339
|
];
|
|
340
|
-
var ChallengeEvent = [3, n0, _CE, 0, [_V, _Ty], [0, 0]];
|
|
341
|
-
var ClientSessionInformationEvent = [3, n0, _CSIE, 0, [_Ch], [() => ClientChallenge]];
|
|
342
|
-
var ColorDisplayed = [
|
|
340
|
+
var ChallengeEvent$ = [3, n0, _CE, 0, [_V, _Ty], [0, 0]];
|
|
341
|
+
var ClientSessionInformationEvent$ = [3, n0, _CSIE, 0, [_Ch], [() => ClientChallenge$]];
|
|
342
|
+
var ColorDisplayed$ = [
|
|
343
343
|
3,
|
|
344
344
|
n0,
|
|
345
345
|
_CD,
|
|
346
346
|
0,
|
|
347
347
|
[_CCu, _PC, _SN, _CCST],
|
|
348
|
-
[() => FreshnessColor
|
|
348
|
+
[() => FreshnessColor$, () => FreshnessColor$, 1, 1],
|
|
349
349
|
];
|
|
350
|
-
var ColorSequence = [3, n0, _CS, 0, [_FC, _DD, _FDD], [() => FreshnessColor
|
|
351
|
-
var DisconnectionEvent = [3, n0, _DE, 0, [_TM], [1]];
|
|
352
|
-
var FaceMovementAndLightClientChallenge = [
|
|
350
|
+
var ColorSequence$ = [3, n0, _CS, 0, [_FC, _DD, _FDD], [() => FreshnessColor$, 1, 1]];
|
|
351
|
+
var DisconnectionEvent$ = [3, n0, _DE, 0, [_TM], [1]];
|
|
352
|
+
var FaceMovementAndLightClientChallenge$ = [
|
|
353
353
|
3,
|
|
354
354
|
n0,
|
|
355
355
|
_FMALCC,
|
|
356
356
|
0,
|
|
357
357
|
[_CI, _VST, _VET, _IF, _TF, _CD],
|
|
358
|
-
[0, 1, 1, () => InitialFace
|
|
358
|
+
[0, 1, 1, () => InitialFace$, () => TargetFace$, () => ColorDisplayed$],
|
|
359
359
|
];
|
|
360
|
-
var FaceMovementAndLightServerChallenge = [
|
|
360
|
+
var FaceMovementAndLightServerChallenge$ = [
|
|
361
361
|
3,
|
|
362
362
|
n0,
|
|
363
363
|
_FMALSC,
|
|
364
364
|
0,
|
|
365
365
|
[_OP, _LCT, _CC, _CSo],
|
|
366
|
-
[() => OvalParameters
|
|
366
|
+
[() => OvalParameters$, 0, () => ChallengeConfig$, () => ColorSequences],
|
|
367
367
|
];
|
|
368
|
-
var FaceMovementClientChallenge = [
|
|
368
|
+
var FaceMovementClientChallenge$ = [
|
|
369
369
|
3,
|
|
370
370
|
n0,
|
|
371
371
|
_FMCC,
|
|
372
372
|
0,
|
|
373
373
|
[_CI, _VST, _VET, _IF, _TF],
|
|
374
|
-
[0, 1, 1, () => InitialFace
|
|
374
|
+
[0, 1, 1, () => InitialFace$, () => TargetFace$],
|
|
375
375
|
];
|
|
376
|
-
var FaceMovementServerChallenge = [
|
|
376
|
+
var FaceMovementServerChallenge$ = [
|
|
377
377
|
3,
|
|
378
378
|
n0,
|
|
379
379
|
_FMSC,
|
|
380
380
|
0,
|
|
381
381
|
[_OP, _CC],
|
|
382
|
-
[() => OvalParameters
|
|
382
|
+
[() => OvalParameters$, () => ChallengeConfig$],
|
|
383
|
+
];
|
|
384
|
+
var FreshnessColor$ = [3, n0, _FC, 0, [_RGB], [64 | 1]];
|
|
385
|
+
var InitialFace$ = [3, n0, _IF, 0, [_BB, _IFDT], [() => BoundingBox$, 1]];
|
|
386
|
+
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _C], [0, 0]];
|
|
387
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
388
|
+
var OvalParameters$ = [3, n0, _OP, 0, [_W, _H, _CX, _CY], [1, 1, 1, 1]];
|
|
389
|
+
var ServerSessionInformationEvent$ = [
|
|
390
|
+
3,
|
|
391
|
+
n0,
|
|
392
|
+
_SSIE,
|
|
393
|
+
0,
|
|
394
|
+
[_SI],
|
|
395
|
+
[() => SessionInformation$],
|
|
383
396
|
];
|
|
384
|
-
var
|
|
385
|
-
var InitialFace = [3, n0, _IF, 0, [_BB, _IFDT], [() => BoundingBox, 1]];
|
|
386
|
-
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _C], [0, 0]];
|
|
387
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
388
|
-
var OvalParameters = [3, n0, _OP, 0, [_W, _H, _CX, _CY], [1, 1, 1, 1]];
|
|
389
|
-
var ServerSessionInformationEvent = [3, n0, _SSIE, 0, [_SI], [() => SessionInformation]];
|
|
390
|
-
var ServiceQuotaExceededException = [
|
|
397
|
+
var ServiceQuotaExceededException$ = [
|
|
391
398
|
-3,
|
|
392
399
|
n0,
|
|
393
400
|
_SQEE,
|
|
@@ -395,13 +402,13 @@ var ServiceQuotaExceededException = [
|
|
|
395
402
|
[_M, _C],
|
|
396
403
|
[0, 0],
|
|
397
404
|
];
|
|
398
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException
|
|
399
|
-
var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _C], [0, 0]];
|
|
400
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException
|
|
401
|
-
var SessionInformation = [3, n0, _SI, 0, [_Ch], [() => ServerChallenge]];
|
|
402
|
-
var SessionNotFoundException = [-3, n0, _SNFE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
403
|
-
schema.TypeRegistry.for(n0).registerError(SessionNotFoundException
|
|
404
|
-
var StartFaceLivenessSessionRequest = [
|
|
405
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
406
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _C], [0, 0]];
|
|
407
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
408
|
+
var SessionInformation$ = [3, n0, _SI, 0, [_Ch], [() => ServerChallenge$]];
|
|
409
|
+
var SessionNotFoundException$ = [-3, n0, _SNFE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
410
|
+
schema.TypeRegistry.for(n0).registerError(SessionNotFoundException$, SessionNotFoundException);
|
|
411
|
+
var StartFaceLivenessSessionRequest$ = [
|
|
405
412
|
3,
|
|
406
413
|
n0,
|
|
407
414
|
_SFLSR,
|
|
@@ -412,10 +419,10 @@ var StartFaceLivenessSessionRequest = [
|
|
|
412
419
|
[0, { [_hH]: _xarslvw }],
|
|
413
420
|
[0, { [_hH]: _xarslvh }],
|
|
414
421
|
[0, { [_hH]: _xarslcv }],
|
|
415
|
-
[() => LivenessRequestStream
|
|
422
|
+
[() => LivenessRequestStream$, 16],
|
|
416
423
|
],
|
|
417
424
|
];
|
|
418
|
-
var StartFaceLivenessSessionResponse = [
|
|
425
|
+
var StartFaceLivenessSessionResponse$ = [
|
|
419
426
|
3,
|
|
420
427
|
n0,
|
|
421
428
|
_SFLSRt,
|
|
@@ -423,16 +430,16 @@ var StartFaceLivenessSessionResponse = [
|
|
|
423
430
|
[_SIe, _LRSi],
|
|
424
431
|
[
|
|
425
432
|
[0, { [_hH]: _xarslsi }],
|
|
426
|
-
[() => LivenessResponseStream
|
|
433
|
+
[() => LivenessResponseStream$, 16],
|
|
427
434
|
],
|
|
428
435
|
];
|
|
429
|
-
var TargetFace = [3, n0, _TF, 0, [_BB, _FDITPST, _FDITPET], [() => BoundingBox
|
|
430
|
-
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M, _C], [0, 0]];
|
|
431
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException
|
|
432
|
-
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
433
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException
|
|
434
|
-
var VideoEvent = [3, n0, _VEi, 0, [_VC, _TM], [21, 1]];
|
|
435
|
-
var RekognitionStreamingServiceException = [
|
|
436
|
+
var TargetFace$ = [3, n0, _TF, 0, [_BB, _FDITPST, _FDITPET], [() => BoundingBox$, 1, 1]];
|
|
437
|
+
var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M, _C], [0, 0]];
|
|
438
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
439
|
+
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
440
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
441
|
+
var VideoEvent$ = [3, n0, _VEi, 0, [_VC, _TM], [21, 1]];
|
|
442
|
+
var RekognitionStreamingServiceException$ = [
|
|
436
443
|
-3,
|
|
437
444
|
_sm,
|
|
438
445
|
"RekognitionStreamingServiceException",
|
|
@@ -440,56 +447,56 @@ var RekognitionStreamingServiceException = [
|
|
|
440
447
|
[],
|
|
441
448
|
[],
|
|
442
449
|
];
|
|
443
|
-
schema.TypeRegistry.for(_sm).registerError(RekognitionStreamingServiceException
|
|
444
|
-
var ColorSequences = [1, n0, _CSo, 0, () => ColorSequence];
|
|
445
|
-
var ClientChallenge = [
|
|
450
|
+
schema.TypeRegistry.for(_sm).registerError(RekognitionStreamingServiceException$, RekognitionStreamingServiceException);
|
|
451
|
+
var ColorSequences = [1, n0, _CSo, 0, () => ColorSequence$];
|
|
452
|
+
var ClientChallenge$ = [
|
|
446
453
|
3,
|
|
447
454
|
n0,
|
|
448
455
|
_CCl,
|
|
449
456
|
0,
|
|
450
457
|
[_FMALC, _FMC],
|
|
451
|
-
[() => FaceMovementAndLightClientChallenge
|
|
458
|
+
[() => FaceMovementAndLightClientChallenge$, () => FaceMovementClientChallenge$],
|
|
452
459
|
];
|
|
453
|
-
var LivenessRequestStream = [
|
|
460
|
+
var LivenessRequestStream$ = [
|
|
454
461
|
3,
|
|
455
462
|
n0,
|
|
456
463
|
_LRS,
|
|
457
464
|
{ [_st]: 1 },
|
|
458
465
|
[_VEi, _CSIE],
|
|
459
|
-
[() => VideoEvent
|
|
466
|
+
[() => VideoEvent$, () => ClientSessionInformationEvent$],
|
|
460
467
|
];
|
|
461
|
-
var LivenessResponseStream = [
|
|
468
|
+
var LivenessResponseStream$ = [
|
|
462
469
|
3,
|
|
463
470
|
n0,
|
|
464
471
|
_LRSi,
|
|
465
472
|
{ [_st]: 1 },
|
|
466
473
|
[_SSIE, _DE, _CE, _VE, _ISE, _TE, _SQEE, _SUE],
|
|
467
474
|
[
|
|
468
|
-
() => ServerSessionInformationEvent
|
|
469
|
-
() => DisconnectionEvent
|
|
470
|
-
() => ChallengeEvent
|
|
471
|
-
[() => ValidationException
|
|
472
|
-
[() => InternalServerException
|
|
473
|
-
[() => ThrottlingException
|
|
474
|
-
[() => ServiceQuotaExceededException
|
|
475
|
-
[() => ServiceUnavailableException
|
|
475
|
+
() => ServerSessionInformationEvent$,
|
|
476
|
+
() => DisconnectionEvent$,
|
|
477
|
+
() => ChallengeEvent$,
|
|
478
|
+
[() => ValidationException$, 0],
|
|
479
|
+
[() => InternalServerException$, 0],
|
|
480
|
+
[() => ThrottlingException$, 0],
|
|
481
|
+
[() => ServiceQuotaExceededException$, 0],
|
|
482
|
+
[() => ServiceUnavailableException$, 0],
|
|
476
483
|
],
|
|
477
484
|
];
|
|
478
|
-
var ServerChallenge = [
|
|
485
|
+
var ServerChallenge$ = [
|
|
479
486
|
3,
|
|
480
487
|
n0,
|
|
481
488
|
_SC,
|
|
482
489
|
0,
|
|
483
490
|
[_FMALC, _FMC],
|
|
484
|
-
[() => FaceMovementAndLightServerChallenge
|
|
491
|
+
[() => FaceMovementAndLightServerChallenge$, () => FaceMovementServerChallenge$],
|
|
485
492
|
];
|
|
486
|
-
var StartFaceLivenessSession = [
|
|
493
|
+
var StartFaceLivenessSession$ = [
|
|
487
494
|
9,
|
|
488
495
|
n0,
|
|
489
496
|
_SFLS,
|
|
490
497
|
{ [_h]: ["POST", "/start-face-liveness-session", 200] },
|
|
491
|
-
() => StartFaceLivenessSessionRequest
|
|
492
|
-
() => StartFaceLivenessSessionResponse
|
|
498
|
+
() => StartFaceLivenessSessionRequest$,
|
|
499
|
+
() => StartFaceLivenessSessionResponse$,
|
|
493
500
|
];
|
|
494
501
|
|
|
495
502
|
class StartFaceLivenessSessionCommand extends smithyClient.Command
|
|
@@ -511,7 +518,7 @@ class StartFaceLivenessSessionCommand extends smithyClient.Command
|
|
|
511
518
|
},
|
|
512
519
|
})
|
|
513
520
|
.n("RekognitionStreamingClient", "StartFaceLivenessSessionCommand")
|
|
514
|
-
.sc(StartFaceLivenessSession)
|
|
521
|
+
.sc(StartFaceLivenessSession$)
|
|
515
522
|
.build() {
|
|
516
523
|
}
|
|
517
524
|
|
|
@@ -538,16 +545,49 @@ Object.defineProperty(exports, "__Client", {
|
|
|
538
545
|
enumerable: true,
|
|
539
546
|
get: function () { return smithyClient.Client; }
|
|
540
547
|
});
|
|
541
|
-
exports.AccessDeniedException = AccessDeniedException
|
|
548
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
549
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
550
|
+
exports.BoundingBox$ = BoundingBox$;
|
|
551
|
+
exports.ChallengeConfig$ = ChallengeConfig$;
|
|
552
|
+
exports.ChallengeEvent$ = ChallengeEvent$;
|
|
542
553
|
exports.ChallengeType = ChallengeType;
|
|
543
|
-
exports.
|
|
554
|
+
exports.ClientChallenge$ = ClientChallenge$;
|
|
555
|
+
exports.ClientSessionInformationEvent$ = ClientSessionInformationEvent$;
|
|
556
|
+
exports.ColorDisplayed$ = ColorDisplayed$;
|
|
557
|
+
exports.ColorSequence$ = ColorSequence$;
|
|
558
|
+
exports.DisconnectionEvent$ = DisconnectionEvent$;
|
|
559
|
+
exports.FaceMovementAndLightClientChallenge$ = FaceMovementAndLightClientChallenge$;
|
|
560
|
+
exports.FaceMovementAndLightServerChallenge$ = FaceMovementAndLightServerChallenge$;
|
|
561
|
+
exports.FaceMovementClientChallenge$ = FaceMovementClientChallenge$;
|
|
562
|
+
exports.FaceMovementServerChallenge$ = FaceMovementServerChallenge$;
|
|
563
|
+
exports.FreshnessColor$ = FreshnessColor$;
|
|
564
|
+
exports.InitialFace$ = InitialFace$;
|
|
565
|
+
exports.InternalServerException = InternalServerException;
|
|
566
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
544
567
|
exports.LightChallengeType = LightChallengeType;
|
|
568
|
+
exports.LivenessRequestStream$ = LivenessRequestStream$;
|
|
569
|
+
exports.LivenessResponseStream$ = LivenessResponseStream$;
|
|
570
|
+
exports.OvalParameters$ = OvalParameters$;
|
|
545
571
|
exports.RekognitionStreaming = RekognitionStreaming;
|
|
546
572
|
exports.RekognitionStreamingClient = RekognitionStreamingClient;
|
|
547
|
-
exports.RekognitionStreamingServiceException = RekognitionStreamingServiceException
|
|
548
|
-
exports.
|
|
549
|
-
exports.
|
|
550
|
-
exports.
|
|
573
|
+
exports.RekognitionStreamingServiceException = RekognitionStreamingServiceException;
|
|
574
|
+
exports.RekognitionStreamingServiceException$ = RekognitionStreamingServiceException$;
|
|
575
|
+
exports.ServerChallenge$ = ServerChallenge$;
|
|
576
|
+
exports.ServerSessionInformationEvent$ = ServerSessionInformationEvent$;
|
|
577
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
578
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
579
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
580
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
581
|
+
exports.SessionInformation$ = SessionInformation$;
|
|
582
|
+
exports.SessionNotFoundException = SessionNotFoundException;
|
|
583
|
+
exports.SessionNotFoundException$ = SessionNotFoundException$;
|
|
584
|
+
exports.StartFaceLivenessSession$ = StartFaceLivenessSession$;
|
|
551
585
|
exports.StartFaceLivenessSessionCommand = StartFaceLivenessSessionCommand;
|
|
552
|
-
exports.
|
|
553
|
-
exports.
|
|
586
|
+
exports.StartFaceLivenessSessionRequest$ = StartFaceLivenessSessionRequest$;
|
|
587
|
+
exports.StartFaceLivenessSessionResponse$ = StartFaceLivenessSessionResponse$;
|
|
588
|
+
exports.TargetFace$ = TargetFace$;
|
|
589
|
+
exports.ThrottlingException = ThrottlingException;
|
|
590
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
591
|
+
exports.ValidationException = ValidationException;
|
|
592
|
+
exports.ValidationException$ = ValidationException$;
|
|
593
|
+
exports.VideoEvent$ = VideoEvent$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.rekognitionstreaming",
|
|
32
|
+
version: "2022-05-30",
|
|
33
|
+
serviceTarget: "RekognitionStreamingService",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "RekognitionStreaming",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -3,7 +3,7 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
|
-
import { StartFaceLivenessSession } from "../schemas/schemas_0";
|
|
6
|
+
import { StartFaceLivenessSession$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartFaceLivenessSessionCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
@@ -24,6 +24,6 @@ export class StartFaceLivenessSessionCommand extends $Command
|
|
|
24
24
|
},
|
|
25
25
|
})
|
|
26
26
|
.n("RekognitionStreamingClient", "StartFaceLivenessSessionCommand")
|
|
27
|
-
.sc(StartFaceLivenessSession)
|
|
27
|
+
.sc(StartFaceLivenessSession$)
|
|
28
28
|
.build() {
|
|
29
29
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./RekognitionStreamingClient";
|
|
2
2
|
export * from "./RekognitionStreaming";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { RekognitionStreamingServiceException } from "./models/RekognitionStreamingServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.rekognitionstreaming",
|
|
29
|
+
version: "2022-05-30",
|
|
30
|
+
serviceTarget: "RekognitionStreamingService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "RekognitionStreaming",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -89,12 +89,12 @@ const _xarslvh = "x-amz-rekognition-streaming-liveness-video-height";
|
|
|
89
89
|
const _xarslvw = "x-amz-rekognition-streaming-liveness-video-width";
|
|
90
90
|
const n0 = "com.amazonaws.rekognitionstreaming";
|
|
91
91
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
92
|
-
import { AccessDeniedException
|
|
93
|
-
import { RekognitionStreamingServiceException
|
|
94
|
-
export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _C], [0, 0]];
|
|
95
|
-
TypeRegistry.for(n0).registerError(AccessDeniedException
|
|
96
|
-
export var BoundingBox = [3, n0, _BB, 0, [_W, _H, _L, _T], [1, 1, 1, 1]];
|
|
97
|
-
export var ChallengeConfig = [
|
|
92
|
+
import { AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ServiceUnavailableException, SessionNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
93
|
+
import { RekognitionStreamingServiceException } from "../models/RekognitionStreamingServiceException";
|
|
94
|
+
export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _C], [0, 0]];
|
|
95
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
96
|
+
export var BoundingBox$ = [3, n0, _BB, 0, [_W, _H, _L, _T], [1, 1, 1, 1]];
|
|
97
|
+
export var ChallengeConfig$ = [
|
|
98
98
|
3,
|
|
99
99
|
n0,
|
|
100
100
|
_CC,
|
|
@@ -102,57 +102,64 @@ export var ChallengeConfig = [
|
|
|
102
102
|
[_BFDT, _FDTM, _FDT, _FDTMa, _OIT, _OHWR, _OIWT, _OIHT, _FIWT, _FIHT, _OFT],
|
|
103
103
|
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
104
104
|
];
|
|
105
|
-
export var ChallengeEvent = [3, n0, _CE, 0, [_V, _Ty], [0, 0]];
|
|
106
|
-
export var ClientSessionInformationEvent = [3, n0, _CSIE, 0, [_Ch], [() => ClientChallenge]];
|
|
107
|
-
export var ColorDisplayed = [
|
|
105
|
+
export var ChallengeEvent$ = [3, n0, _CE, 0, [_V, _Ty], [0, 0]];
|
|
106
|
+
export var ClientSessionInformationEvent$ = [3, n0, _CSIE, 0, [_Ch], [() => ClientChallenge$]];
|
|
107
|
+
export var ColorDisplayed$ = [
|
|
108
108
|
3,
|
|
109
109
|
n0,
|
|
110
110
|
_CD,
|
|
111
111
|
0,
|
|
112
112
|
[_CCu, _PC, _SN, _CCST],
|
|
113
|
-
[() => FreshnessColor
|
|
113
|
+
[() => FreshnessColor$, () => FreshnessColor$, 1, 1],
|
|
114
114
|
];
|
|
115
|
-
export var ColorSequence = [3, n0, _CS, 0, [_FC, _DD, _FDD], [() => FreshnessColor
|
|
116
|
-
export var DisconnectionEvent = [3, n0, _DE, 0, [_TM], [1]];
|
|
117
|
-
export var FaceMovementAndLightClientChallenge = [
|
|
115
|
+
export var ColorSequence$ = [3, n0, _CS, 0, [_FC, _DD, _FDD], [() => FreshnessColor$, 1, 1]];
|
|
116
|
+
export var DisconnectionEvent$ = [3, n0, _DE, 0, [_TM], [1]];
|
|
117
|
+
export var FaceMovementAndLightClientChallenge$ = [
|
|
118
118
|
3,
|
|
119
119
|
n0,
|
|
120
120
|
_FMALCC,
|
|
121
121
|
0,
|
|
122
122
|
[_CI, _VST, _VET, _IF, _TF, _CD],
|
|
123
|
-
[0, 1, 1, () => InitialFace
|
|
123
|
+
[0, 1, 1, () => InitialFace$, () => TargetFace$, () => ColorDisplayed$],
|
|
124
124
|
];
|
|
125
|
-
export var FaceMovementAndLightServerChallenge = [
|
|
125
|
+
export var FaceMovementAndLightServerChallenge$ = [
|
|
126
126
|
3,
|
|
127
127
|
n0,
|
|
128
128
|
_FMALSC,
|
|
129
129
|
0,
|
|
130
130
|
[_OP, _LCT, _CC, _CSo],
|
|
131
|
-
[() => OvalParameters
|
|
131
|
+
[() => OvalParameters$, 0, () => ChallengeConfig$, () => ColorSequences],
|
|
132
132
|
];
|
|
133
|
-
export var FaceMovementClientChallenge = [
|
|
133
|
+
export var FaceMovementClientChallenge$ = [
|
|
134
134
|
3,
|
|
135
135
|
n0,
|
|
136
136
|
_FMCC,
|
|
137
137
|
0,
|
|
138
138
|
[_CI, _VST, _VET, _IF, _TF],
|
|
139
|
-
[0, 1, 1, () => InitialFace
|
|
139
|
+
[0, 1, 1, () => InitialFace$, () => TargetFace$],
|
|
140
140
|
];
|
|
141
|
-
export var FaceMovementServerChallenge = [
|
|
141
|
+
export var FaceMovementServerChallenge$ = [
|
|
142
142
|
3,
|
|
143
143
|
n0,
|
|
144
144
|
_FMSC,
|
|
145
145
|
0,
|
|
146
146
|
[_OP, _CC],
|
|
147
|
-
[() => OvalParameters
|
|
147
|
+
[() => OvalParameters$, () => ChallengeConfig$],
|
|
148
148
|
];
|
|
149
|
-
export var FreshnessColor = [3, n0, _FC, 0, [_RGB], [64 | 1]];
|
|
150
|
-
export var InitialFace = [3, n0, _IF, 0, [_BB, _IFDT], [() => BoundingBox
|
|
151
|
-
export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _C], [0, 0]];
|
|
152
|
-
TypeRegistry.for(n0).registerError(InternalServerException
|
|
153
|
-
export var OvalParameters = [3, n0, _OP, 0, [_W, _H, _CX, _CY], [1, 1, 1, 1]];
|
|
154
|
-
export var ServerSessionInformationEvent = [
|
|
155
|
-
|
|
149
|
+
export var FreshnessColor$ = [3, n0, _FC, 0, [_RGB], [64 | 1]];
|
|
150
|
+
export var InitialFace$ = [3, n0, _IF, 0, [_BB, _IFDT], [() => BoundingBox$, 1]];
|
|
151
|
+
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M, _C], [0, 0]];
|
|
152
|
+
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
153
|
+
export var OvalParameters$ = [3, n0, _OP, 0, [_W, _H, _CX, _CY], [1, 1, 1, 1]];
|
|
154
|
+
export var ServerSessionInformationEvent$ = [
|
|
155
|
+
3,
|
|
156
|
+
n0,
|
|
157
|
+
_SSIE,
|
|
158
|
+
0,
|
|
159
|
+
[_SI],
|
|
160
|
+
[() => SessionInformation$],
|
|
161
|
+
];
|
|
162
|
+
export var ServiceQuotaExceededException$ = [
|
|
156
163
|
-3,
|
|
157
164
|
n0,
|
|
158
165
|
_SQEE,
|
|
@@ -160,13 +167,13 @@ export var ServiceQuotaExceededException = [
|
|
|
160
167
|
[_M, _C],
|
|
161
168
|
[0, 0],
|
|
162
169
|
];
|
|
163
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException
|
|
164
|
-
export var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _C], [0, 0]];
|
|
165
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableException
|
|
166
|
-
export var SessionInformation = [3, n0, _SI, 0, [_Ch], [() => ServerChallenge]];
|
|
167
|
-
export var SessionNotFoundException = [-3, n0, _SNFE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
168
|
-
TypeRegistry.for(n0).registerError(SessionNotFoundException
|
|
169
|
-
export var StartFaceLivenessSessionRequest = [
|
|
170
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
171
|
+
export var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_M, _C], [0, 0]];
|
|
172
|
+
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
173
|
+
export var SessionInformation$ = [3, n0, _SI, 0, [_Ch], [() => ServerChallenge$]];
|
|
174
|
+
export var SessionNotFoundException$ = [-3, n0, _SNFE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
175
|
+
TypeRegistry.for(n0).registerError(SessionNotFoundException$, SessionNotFoundException);
|
|
176
|
+
export var StartFaceLivenessSessionRequest$ = [
|
|
170
177
|
3,
|
|
171
178
|
n0,
|
|
172
179
|
_SFLSR,
|
|
@@ -177,10 +184,10 @@ export var StartFaceLivenessSessionRequest = [
|
|
|
177
184
|
[0, { [_hH]: _xarslvw }],
|
|
178
185
|
[0, { [_hH]: _xarslvh }],
|
|
179
186
|
[0, { [_hH]: _xarslcv }],
|
|
180
|
-
[() => LivenessRequestStream
|
|
187
|
+
[() => LivenessRequestStream$, 16],
|
|
181
188
|
],
|
|
182
189
|
];
|
|
183
|
-
export var StartFaceLivenessSessionResponse = [
|
|
190
|
+
export var StartFaceLivenessSessionResponse$ = [
|
|
184
191
|
3,
|
|
185
192
|
n0,
|
|
186
193
|
_SFLSRt,
|
|
@@ -188,16 +195,16 @@ export var StartFaceLivenessSessionResponse = [
|
|
|
188
195
|
[_SIe, _LRSi],
|
|
189
196
|
[
|
|
190
197
|
[0, { [_hH]: _xarslsi }],
|
|
191
|
-
[() => LivenessResponseStream
|
|
198
|
+
[() => LivenessResponseStream$, 16],
|
|
192
199
|
],
|
|
193
200
|
];
|
|
194
|
-
export var TargetFace = [3, n0, _TF, 0, [_BB, _FDITPST, _FDITPET], [() => BoundingBox
|
|
195
|
-
export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M, _C], [0, 0]];
|
|
196
|
-
TypeRegistry.for(n0).registerError(ThrottlingException
|
|
197
|
-
export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
198
|
-
TypeRegistry.for(n0).registerError(ValidationException
|
|
199
|
-
export var VideoEvent = [3, n0, _VEi, 0, [_VC, _TM], [21, 1]];
|
|
200
|
-
export var RekognitionStreamingServiceException = [
|
|
201
|
+
export var TargetFace$ = [3, n0, _TF, 0, [_BB, _FDITPST, _FDITPET], [() => BoundingBox$, 1, 1]];
|
|
202
|
+
export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M, _C], [0, 0]];
|
|
203
|
+
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
204
|
+
export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _C], [0, 0]];
|
|
205
|
+
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
206
|
+
export var VideoEvent$ = [3, n0, _VEi, 0, [_VC, _TM], [21, 1]];
|
|
207
|
+
export var RekognitionStreamingServiceException$ = [
|
|
201
208
|
-3,
|
|
202
209
|
_sm,
|
|
203
210
|
"RekognitionStreamingServiceException",
|
|
@@ -205,55 +212,55 @@ export var RekognitionStreamingServiceException = [
|
|
|
205
212
|
[],
|
|
206
213
|
[],
|
|
207
214
|
];
|
|
208
|
-
TypeRegistry.for(_sm).registerError(RekognitionStreamingServiceException
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
export var ClientChallenge = [
|
|
215
|
+
TypeRegistry.for(_sm).registerError(RekognitionStreamingServiceException$, RekognitionStreamingServiceException);
|
|
216
|
+
var ColorComponentList = 64 | 1;
|
|
217
|
+
var ColorSequences = [1, n0, _CSo, 0, () => ColorSequence$];
|
|
218
|
+
export var ClientChallenge$ = [
|
|
212
219
|
3,
|
|
213
220
|
n0,
|
|
214
221
|
_CCl,
|
|
215
222
|
0,
|
|
216
223
|
[_FMALC, _FMC],
|
|
217
|
-
[() => FaceMovementAndLightClientChallenge
|
|
224
|
+
[() => FaceMovementAndLightClientChallenge$, () => FaceMovementClientChallenge$],
|
|
218
225
|
];
|
|
219
|
-
export var LivenessRequestStream = [
|
|
226
|
+
export var LivenessRequestStream$ = [
|
|
220
227
|
3,
|
|
221
228
|
n0,
|
|
222
229
|
_LRS,
|
|
223
230
|
{ [_st]: 1 },
|
|
224
231
|
[_VEi, _CSIE],
|
|
225
|
-
[() => VideoEvent
|
|
232
|
+
[() => VideoEvent$, () => ClientSessionInformationEvent$],
|
|
226
233
|
];
|
|
227
|
-
export var LivenessResponseStream = [
|
|
234
|
+
export var LivenessResponseStream$ = [
|
|
228
235
|
3,
|
|
229
236
|
n0,
|
|
230
237
|
_LRSi,
|
|
231
238
|
{ [_st]: 1 },
|
|
232
239
|
[_SSIE, _DE, _CE, _VE, _ISE, _TE, _SQEE, _SUE],
|
|
233
240
|
[
|
|
234
|
-
() => ServerSessionInformationEvent
|
|
235
|
-
() => DisconnectionEvent
|
|
236
|
-
() => ChallengeEvent
|
|
237
|
-
[() => ValidationException
|
|
238
|
-
[() => InternalServerException
|
|
239
|
-
[() => ThrottlingException
|
|
240
|
-
[() => ServiceQuotaExceededException
|
|
241
|
-
[() => ServiceUnavailableException
|
|
241
|
+
() => ServerSessionInformationEvent$,
|
|
242
|
+
() => DisconnectionEvent$,
|
|
243
|
+
() => ChallengeEvent$,
|
|
244
|
+
[() => ValidationException$, 0],
|
|
245
|
+
[() => InternalServerException$, 0],
|
|
246
|
+
[() => ThrottlingException$, 0],
|
|
247
|
+
[() => ServiceQuotaExceededException$, 0],
|
|
248
|
+
[() => ServiceUnavailableException$, 0],
|
|
242
249
|
],
|
|
243
250
|
];
|
|
244
|
-
export var ServerChallenge = [
|
|
251
|
+
export var ServerChallenge$ = [
|
|
245
252
|
3,
|
|
246
253
|
n0,
|
|
247
254
|
_SC,
|
|
248
255
|
0,
|
|
249
256
|
[_FMALC, _FMC],
|
|
250
|
-
[() => FaceMovementAndLightServerChallenge
|
|
257
|
+
[() => FaceMovementAndLightServerChallenge$, () => FaceMovementServerChallenge$],
|
|
251
258
|
];
|
|
252
|
-
export var StartFaceLivenessSession = [
|
|
259
|
+
export var StartFaceLivenessSession$ = [
|
|
253
260
|
9,
|
|
254
261
|
n0,
|
|
255
262
|
_SFLS,
|
|
256
263
|
{ [_h]: ["POST", "/start-face-liveness-session", 200] },
|
|
257
|
-
() => StartFaceLivenessSessionRequest
|
|
258
|
-
() => StartFaceLivenessSessionResponse
|
|
264
|
+
() => StartFaceLivenessSessionRequest$,
|
|
265
|
+
() => StartFaceLivenessSessionResponse$,
|
|
259
266
|
];
|
|
@@ -9,7 +9,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
9
9
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
10
10
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
11
11
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
12
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
12
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
13
13
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
14
14
|
import { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "./commands/StartFaceLivenessSessionCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
146
146
|
* Optional extensions
|
|
147
147
|
*/
|
|
148
148
|
extensions?: RuntimeExtension[];
|
|
149
|
-
/**
|
|
150
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
151
|
-
* may be overridden. A default will always be set by the client.
|
|
152
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
153
|
-
* the client.
|
|
154
|
-
* @alpha
|
|
155
|
-
*
|
|
156
|
-
*/
|
|
157
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
158
149
|
/**
|
|
159
150
|
* The function that provides necessary utilities for generating and parsing event stream
|
|
160
151
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
30
30
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
31
31
|
export type { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
32
32
|
export * from "./commands";
|
|
33
|
+
export * from "./schemas/schemas_0";
|
|
33
34
|
export * from "./models/enums";
|
|
34
35
|
export * from "./models/errors";
|
|
35
36
|
export type * from "./models/models_0";
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
19
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
20
20
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
37
41
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -21,8 +21,13 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
24
|
-
apiVersion: string;
|
|
25
24
|
cacheMiddleware?: boolean | undefined;
|
|
25
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
26
|
+
protocolSettings: {
|
|
27
|
+
defaultNamespace?: string;
|
|
28
|
+
[setting: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
apiVersion: string;
|
|
26
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
33
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -33,7 +38,6 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
33
38
|
profile?: string;
|
|
34
39
|
logger: import("@smithy/types").Logger;
|
|
35
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
37
41
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
42
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
39
43
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -10,8 +10,13 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
10
10
|
updateHttpClientConfig(key: never, value: never): void;
|
|
11
11
|
httpHandlerConfigs(): {};
|
|
12
12
|
}) | import("@aws-sdk/middleware-websocket").WebSocketFetchHandler;
|
|
13
|
-
apiVersion: string;
|
|
14
13
|
cacheMiddleware?: boolean;
|
|
14
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
15
|
+
protocolSettings: {
|
|
16
|
+
defaultNamespace?: string;
|
|
17
|
+
[setting: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
apiVersion: string;
|
|
15
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
16
21
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
22
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
31
36
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
36
40
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
37
41
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RekognitionStreamingHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,36 +1,34 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var AccessDeniedException
|
|
3
|
-
export declare var BoundingBox
|
|
4
|
-
export declare var ChallengeConfig
|
|
5
|
-
export declare var ChallengeEvent
|
|
6
|
-
export declare var ClientSessionInformationEvent
|
|
7
|
-
export declare var ColorDisplayed
|
|
8
|
-
export declare var ColorSequence
|
|
9
|
-
export declare var DisconnectionEvent
|
|
10
|
-
export declare var FaceMovementAndLightClientChallenge
|
|
11
|
-
export declare var FaceMovementAndLightServerChallenge
|
|
12
|
-
export declare var FaceMovementClientChallenge
|
|
13
|
-
export declare var FaceMovementServerChallenge
|
|
14
|
-
export declare var FreshnessColor
|
|
15
|
-
export declare var InitialFace
|
|
16
|
-
export declare var InternalServerException
|
|
17
|
-
export declare var OvalParameters
|
|
18
|
-
export declare var ServerSessionInformationEvent
|
|
19
|
-
export declare var ServiceQuotaExceededException
|
|
20
|
-
export declare var ServiceUnavailableException
|
|
21
|
-
export declare var SessionInformation
|
|
22
|
-
export declare var SessionNotFoundException
|
|
23
|
-
export declare var StartFaceLivenessSessionRequest
|
|
24
|
-
export declare var StartFaceLivenessSessionResponse
|
|
25
|
-
export declare var TargetFace
|
|
26
|
-
export declare var ThrottlingException
|
|
27
|
-
export declare var ValidationException
|
|
28
|
-
export declare var VideoEvent
|
|
29
|
-
export declare var RekognitionStreamingServiceException
|
|
30
|
-
export declare var
|
|
31
|
-
export declare var
|
|
32
|
-
export declare var
|
|
33
|
-
export declare var
|
|
34
|
-
export declare var
|
|
35
|
-
export declare var ServerChallenge: StaticStructureSchema;
|
|
36
|
-
export declare var StartFaceLivenessSession: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
|
+
export declare var BoundingBox$: StaticStructureSchema;
|
|
4
|
+
export declare var ChallengeConfig$: StaticStructureSchema;
|
|
5
|
+
export declare var ChallengeEvent$: StaticStructureSchema;
|
|
6
|
+
export declare var ClientSessionInformationEvent$: StaticStructureSchema;
|
|
7
|
+
export declare var ColorDisplayed$: StaticStructureSchema;
|
|
8
|
+
export declare var ColorSequence$: StaticStructureSchema;
|
|
9
|
+
export declare var DisconnectionEvent$: StaticStructureSchema;
|
|
10
|
+
export declare var FaceMovementAndLightClientChallenge$: StaticStructureSchema;
|
|
11
|
+
export declare var FaceMovementAndLightServerChallenge$: StaticStructureSchema;
|
|
12
|
+
export declare var FaceMovementClientChallenge$: StaticStructureSchema;
|
|
13
|
+
export declare var FaceMovementServerChallenge$: StaticStructureSchema;
|
|
14
|
+
export declare var FreshnessColor$: StaticStructureSchema;
|
|
15
|
+
export declare var InitialFace$: StaticStructureSchema;
|
|
16
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
17
|
+
export declare var OvalParameters$: StaticStructureSchema;
|
|
18
|
+
export declare var ServerSessionInformationEvent$: StaticStructureSchema;
|
|
19
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
20
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
21
|
+
export declare var SessionInformation$: StaticStructureSchema;
|
|
22
|
+
export declare var SessionNotFoundException$: StaticErrorSchema;
|
|
23
|
+
export declare var StartFaceLivenessSessionRequest$: StaticStructureSchema;
|
|
24
|
+
export declare var StartFaceLivenessSessionResponse$: StaticStructureSchema;
|
|
25
|
+
export declare var TargetFace$: StaticStructureSchema;
|
|
26
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
27
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
28
|
+
export declare var VideoEvent$: StaticStructureSchema;
|
|
29
|
+
export declare var RekognitionStreamingServiceException$: StaticErrorSchema;
|
|
30
|
+
export declare var ClientChallenge$: StaticStructureSchema;
|
|
31
|
+
export declare var LivenessRequestStream$: StaticStructureSchema;
|
|
32
|
+
export declare var LivenessResponseStream$: StaticStructureSchema;
|
|
33
|
+
export declare var ServerChallenge$: StaticStructureSchema;
|
|
34
|
+
export declare var StartFaceLivenessSession$: StaticOperationSchema;
|
|
@@ -42,14 +42,11 @@ import {
|
|
|
42
42
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
43
43
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
44
44
|
ChecksumConstructor as __ChecksumConstructor,
|
|
45
|
-
ClientProtocol,
|
|
46
45
|
Decoder as __Decoder,
|
|
47
46
|
Encoder as __Encoder,
|
|
48
47
|
EventStreamSerdeProvider as __EventStreamSerdeProvider,
|
|
49
48
|
HashConstructor as __HashConstructor,
|
|
50
49
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
51
|
-
HttpRequest,
|
|
52
|
-
HttpResponse,
|
|
53
50
|
Logger as __Logger,
|
|
54
51
|
Provider as __Provider,
|
|
55
52
|
StreamCollector as __StreamCollector,
|
|
@@ -99,7 +96,6 @@ export interface ClientDefaults
|
|
|
99
96
|
retryMode?: string | __Provider<string>;
|
|
100
97
|
logger?: __Logger;
|
|
101
98
|
extensions?: RuntimeExtension[];
|
|
102
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
103
99
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
104
100
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
105
101
|
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
|
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
29
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
30
30
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
31
|
-
apiVersion: string;
|
|
32
31
|
cacheMiddleware?: boolean | undefined;
|
|
32
|
+
protocol:
|
|
33
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
34
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
35
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
33
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
34
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
35
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
|
|
|
40
48
|
profile?: string;
|
|
41
49
|
logger: import("@smithy/types").Logger;
|
|
42
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
-
import("@smithy/types").HttpRequest,
|
|
45
|
-
import("@smithy/types").HttpResponse
|
|
46
|
-
>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
userAgentAppId?:
|
|
49
53
|
| string
|
|
@@ -30,8 +30,16 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
32
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
33
|
-
apiVersion: string;
|
|
34
33
|
cacheMiddleware?: boolean | undefined;
|
|
34
|
+
protocol:
|
|
35
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
36
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
37
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
38
|
+
protocolSettings: {
|
|
39
|
+
defaultNamespace?: string;
|
|
40
|
+
[setting: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
apiVersion: string;
|
|
35
43
|
urlParser: import("@smithy/types").UrlParser;
|
|
36
44
|
base64Decoder: import("@smithy/types").Decoder;
|
|
37
45
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,10 +50,6 @@ export declare const getRuntimeConfig: (
|
|
|
42
50
|
profile?: string;
|
|
43
51
|
logger: import("@smithy/types").Logger;
|
|
44
52
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
45
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
46
|
-
import("@smithy/types").HttpRequest,
|
|
47
|
-
import("@smithy/types").HttpResponse
|
|
48
|
-
>;
|
|
49
53
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
50
54
|
retryStrategy?:
|
|
51
55
|
| import("@smithy/types").RetryStrategy
|
|
@@ -23,8 +23,16 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
httpHandlerConfigs(): {};
|
|
24
24
|
})
|
|
25
25
|
| import("@aws-sdk/middleware-websocket").WebSocketFetchHandler;
|
|
26
|
-
apiVersion: string;
|
|
27
26
|
cacheMiddleware?: boolean;
|
|
27
|
+
protocol:
|
|
28
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
29
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
30
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
31
|
+
protocolSettings: {
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
[setting: string]: unknown;
|
|
34
|
+
};
|
|
35
|
+
apiVersion: string;
|
|
28
36
|
urlParser: import("@smithy/types").UrlParser;
|
|
29
37
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
30
38
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -52,10 +60,6 @@ export declare const getRuntimeConfig: (
|
|
|
52
60
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
61
|
logger: import("@smithy/types").Logger;
|
|
54
62
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
56
|
-
import("@smithy/types").HttpRequest,
|
|
57
|
-
import("@smithy/types").HttpResponse
|
|
58
|
-
>;
|
|
59
63
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
60
64
|
defaultsMode:
|
|
61
65
|
| import("@smithy/smithy-client").DefaultsMode
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
|
|
2
3
|
export declare const getRuntimeConfig: (
|
|
3
4
|
config: RekognitionStreamingClientConfig
|
|
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
|
|
|
16
17
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RekognitionStreamingHttpAuthSchemeProvider;
|
|
17
18
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
19
|
logger: import("@smithy/types").Logger;
|
|
19
|
-
protocol:
|
|
20
|
-
import("@smithy/types").
|
|
21
|
-
import("@smithy/types").
|
|
22
|
-
|
|
20
|
+
protocol:
|
|
21
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
22
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
23
|
+
| typeof AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
[setting: string]: unknown;
|
|
26
|
+
defaultNamespace?: string;
|
|
27
|
+
};
|
|
23
28
|
serviceId: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,41 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
3
|
StaticOperationSchema,
|
|
5
4
|
StaticStructureSchema,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
export declare var AccessDeniedException
|
|
8
|
-
export declare var BoundingBox
|
|
9
|
-
export declare var ChallengeConfig
|
|
10
|
-
export declare var ChallengeEvent
|
|
11
|
-
export declare var ClientSessionInformationEvent
|
|
12
|
-
export declare var ColorDisplayed
|
|
13
|
-
export declare var ColorSequence
|
|
14
|
-
export declare var DisconnectionEvent
|
|
15
|
-
export declare var FaceMovementAndLightClientChallenge
|
|
16
|
-
export declare var FaceMovementAndLightServerChallenge
|
|
17
|
-
export declare var FaceMovementClientChallenge
|
|
18
|
-
export declare var FaceMovementServerChallenge
|
|
19
|
-
export declare var FreshnessColor
|
|
20
|
-
export declare var InitialFace
|
|
21
|
-
export declare var InternalServerException
|
|
22
|
-
export declare var OvalParameters
|
|
23
|
-
export declare var ServerSessionInformationEvent
|
|
24
|
-
export declare var ServiceQuotaExceededException
|
|
25
|
-
export declare var ServiceUnavailableException
|
|
26
|
-
export declare var SessionInformation
|
|
27
|
-
export declare var SessionNotFoundException
|
|
28
|
-
export declare var StartFaceLivenessSessionRequest
|
|
29
|
-
export declare var StartFaceLivenessSessionResponse
|
|
30
|
-
export declare var TargetFace
|
|
31
|
-
export declare var ThrottlingException
|
|
32
|
-
export declare var ValidationException
|
|
33
|
-
export declare var VideoEvent
|
|
34
|
-
export declare var RekognitionStreamingServiceException
|
|
35
|
-
export declare var
|
|
36
|
-
export declare var
|
|
37
|
-
export declare var
|
|
38
|
-
export declare var
|
|
39
|
-
export declare var
|
|
40
|
-
export declare var ServerChallenge: StaticStructureSchema;
|
|
41
|
-
export declare var StartFaceLivenessSession: StaticOperationSchema;
|
|
6
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
7
|
+
export declare var BoundingBox$: StaticStructureSchema;
|
|
8
|
+
export declare var ChallengeConfig$: StaticStructureSchema;
|
|
9
|
+
export declare var ChallengeEvent$: StaticStructureSchema;
|
|
10
|
+
export declare var ClientSessionInformationEvent$: StaticStructureSchema;
|
|
11
|
+
export declare var ColorDisplayed$: StaticStructureSchema;
|
|
12
|
+
export declare var ColorSequence$: StaticStructureSchema;
|
|
13
|
+
export declare var DisconnectionEvent$: StaticStructureSchema;
|
|
14
|
+
export declare var FaceMovementAndLightClientChallenge$: StaticStructureSchema;
|
|
15
|
+
export declare var FaceMovementAndLightServerChallenge$: StaticStructureSchema;
|
|
16
|
+
export declare var FaceMovementClientChallenge$: StaticStructureSchema;
|
|
17
|
+
export declare var FaceMovementServerChallenge$: StaticStructureSchema;
|
|
18
|
+
export declare var FreshnessColor$: StaticStructureSchema;
|
|
19
|
+
export declare var InitialFace$: StaticStructureSchema;
|
|
20
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
21
|
+
export declare var OvalParameters$: StaticStructureSchema;
|
|
22
|
+
export declare var ServerSessionInformationEvent$: StaticStructureSchema;
|
|
23
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
24
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
25
|
+
export declare var SessionInformation$: StaticStructureSchema;
|
|
26
|
+
export declare var SessionNotFoundException$: StaticErrorSchema;
|
|
27
|
+
export declare var StartFaceLivenessSessionRequest$: StaticStructureSchema;
|
|
28
|
+
export declare var StartFaceLivenessSessionResponse$: StaticStructureSchema;
|
|
29
|
+
export declare var TargetFace$: StaticStructureSchema;
|
|
30
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
31
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
32
|
+
export declare var VideoEvent$: StaticStructureSchema;
|
|
33
|
+
export declare var RekognitionStreamingServiceException$: StaticErrorSchema;
|
|
34
|
+
export declare var ClientChallenge$: StaticStructureSchema;
|
|
35
|
+
export declare var LivenessRequestStream$: StaticStructureSchema;
|
|
36
|
+
export declare var LivenessResponseStream$: StaticStructureSchema;
|
|
37
|
+
export declare var ServerChallenge$: StaticStructureSchema;
|
|
38
|
+
export declare var StartFaceLivenessSession$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.954.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rekognitionstreaming",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,47 +21,47 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^4.4.
|
|
39
|
-
"@smithy/core": "^3.
|
|
40
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
41
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
42
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
43
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
44
|
-
"@smithy/hash-node": "^4.2.
|
|
45
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
46
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.
|
|
48
|
-
"@smithy/middleware-retry": "^4.4.
|
|
49
|
-
"@smithy/middleware-serde": "^4.2.
|
|
50
|
-
"@smithy/middleware-stack": "^4.2.
|
|
51
|
-
"@smithy/node-config-provider": "^4.3.
|
|
52
|
-
"@smithy/node-http-handler": "^4.4.
|
|
53
|
-
"@smithy/protocol-http": "^5.3.
|
|
54
|
-
"@smithy/smithy-client": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
56
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.954.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.954.0",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-eventstream": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.954.0",
|
|
32
|
+
"@aws-sdk/middleware-websocket": "3.953.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
34
|
+
"@aws-sdk/types": "3.953.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.954.0",
|
|
38
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
39
|
+
"@smithy/core": "^3.19.0",
|
|
40
|
+
"@smithy/eventstream-serde-browser": "^4.2.6",
|
|
41
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.6",
|
|
42
|
+
"@smithy/eventstream-serde-node": "^4.2.6",
|
|
43
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
44
|
+
"@smithy/hash-node": "^4.2.6",
|
|
45
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
46
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.4.0",
|
|
48
|
+
"@smithy/middleware-retry": "^4.4.16",
|
|
49
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
50
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
51
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
52
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
53
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
54
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
55
|
+
"@smithy/types": "^4.10.0",
|
|
56
|
+
"@smithy/url-parser": "^4.2.6",
|
|
57
57
|
"@smithy/util-base64": "^4.3.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
62
|
-
"@smithy/util-endpoints": "^3.2.
|
|
63
|
-
"@smithy/util-middleware": "^4.2.
|
|
64
|
-
"@smithy/util-retry": "^4.2.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.3.15",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.2.18",
|
|
62
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
63
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
64
|
+
"@smithy/util-retry": "^4.2.6",
|
|
65
65
|
"@smithy/util-utf8": "^4.2.0",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|