@aws-sdk/client-rekognitionstreaming 3.1075.0 → 3.1077.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 +613 -16
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +11 -13
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/RekognitionStreamingServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -113
- package/dist-cjs/runtimeConfig.browser.js +0 -37
- package/dist-cjs/runtimeConfig.js +0 -49
- package/dist-cjs/runtimeConfig.native.js +0 -16
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -302
|
@@ -1,302 +0,0 @@
|
|
|
1
|
-
const _ADE = "AccessDeniedException";
|
|
2
|
-
const _BB = "BoundingBox";
|
|
3
|
-
const _BFDT = "BlazeFaceDetectionThreshold";
|
|
4
|
-
const _C = "Code";
|
|
5
|
-
const _CC = "ChallengeConfig";
|
|
6
|
-
const _CCST = "CurrentColorStartTimestamp";
|
|
7
|
-
const _CCl = "ClientChallenge";
|
|
8
|
-
const _CCu = "CurrentColor";
|
|
9
|
-
const _CD = "ColorDisplayed";
|
|
10
|
-
const _CE = "ChallengeEvent";
|
|
11
|
-
const _CI = "ChallengeId";
|
|
12
|
-
const _CS = "ColorSequence";
|
|
13
|
-
const _CSIE = "ClientSessionInformationEvent";
|
|
14
|
-
const _CSo = "ColorSequences";
|
|
15
|
-
const _CV = "ChallengeVersions";
|
|
16
|
-
const _CX = "CenterX";
|
|
17
|
-
const _CY = "CenterY";
|
|
18
|
-
const _Ch = "Challenge";
|
|
19
|
-
const _DD = "DownscrollDuration";
|
|
20
|
-
const _DE = "DisconnectionEvent";
|
|
21
|
-
const _FC = "FreshnessColor";
|
|
22
|
-
const _FDD = "FlatDisplayDuration";
|
|
23
|
-
const _FDITPET = "FaceDetectedInTargetPositionEndTimestamp";
|
|
24
|
-
const _FDITPST = "FaceDetectedInTargetPositionStartTimestamp";
|
|
25
|
-
const _FDT = "FaceDistanceThreshold";
|
|
26
|
-
const _FDTM = "FaceDistanceThresholdMin";
|
|
27
|
-
const _FDTMa = "FaceDistanceThresholdMax";
|
|
28
|
-
const _FIHT = "FaceIouHeightThreshold";
|
|
29
|
-
const _FIWT = "FaceIouWidthThreshold";
|
|
30
|
-
const _FMALC = "FaceMovementAndLightChallenge";
|
|
31
|
-
const _FMALCC = "FaceMovementAndLightClientChallenge";
|
|
32
|
-
const _FMALSC = "FaceMovementAndLightServerChallenge";
|
|
33
|
-
const _FMC = "FaceMovementChallenge";
|
|
34
|
-
const _FMCC = "FaceMovementClientChallenge";
|
|
35
|
-
const _FMSC = "FaceMovementServerChallenge";
|
|
36
|
-
const _H = "Height";
|
|
37
|
-
const _IF = "InitialFace";
|
|
38
|
-
const _IFDT = "InitialFaceDetectedTimestamp";
|
|
39
|
-
const _ISE = "InternalServerException";
|
|
40
|
-
const _L = "Left";
|
|
41
|
-
const _LCT = "LightChallengeType";
|
|
42
|
-
const _LRS = "LivenessRequestStream";
|
|
43
|
-
const _LRSi = "LivenessResponseStream";
|
|
44
|
-
const _M = "Message";
|
|
45
|
-
const _OFT = "OvalFitTimeout";
|
|
46
|
-
const _OHWR = "OvalHeightWidthRatio";
|
|
47
|
-
const _OIHT = "OvalIouHeightThreshold";
|
|
48
|
-
const _OIT = "OvalIouThreshold";
|
|
49
|
-
const _OIWT = "OvalIouWidthThreshold";
|
|
50
|
-
const _OP = "OvalParameters";
|
|
51
|
-
const _PC = "PreviousColor";
|
|
52
|
-
const _RGB = "RGB";
|
|
53
|
-
const _SC = "ServerChallenge";
|
|
54
|
-
const _SFLS = "StartFaceLivenessSession";
|
|
55
|
-
const _SFLSR = "StartFaceLivenessSessionRequest";
|
|
56
|
-
const _SFLSRt = "StartFaceLivenessSessionResponse";
|
|
57
|
-
const _SI = "SessionInformation";
|
|
58
|
-
const _SIe = "SessionId";
|
|
59
|
-
const _SN = "SequenceNumber";
|
|
60
|
-
const _SNFE = "SessionNotFoundException";
|
|
61
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
62
|
-
const _SSIE = "ServerSessionInformationEvent";
|
|
63
|
-
const _SUE = "ServiceUnavailableException";
|
|
64
|
-
const _T = "Top";
|
|
65
|
-
const _TE = "ThrottlingException";
|
|
66
|
-
const _TF = "TargetFace";
|
|
67
|
-
const _TM = "TimestampMillis";
|
|
68
|
-
const _Ty = "Type";
|
|
69
|
-
const _V = "Version";
|
|
70
|
-
const _VC = "VideoChunk";
|
|
71
|
-
const _VE = "ValidationException";
|
|
72
|
-
const _VET = "VideoEndTimestamp";
|
|
73
|
-
const _VEi = "VideoEvent";
|
|
74
|
-
const _VH = "VideoHeight";
|
|
75
|
-
const _VST = "VideoStartTimestamp";
|
|
76
|
-
const _VW = "VideoWidth";
|
|
77
|
-
const _W = "Width";
|
|
78
|
-
const _c = "client";
|
|
79
|
-
const _e = "error";
|
|
80
|
-
const _h = "http";
|
|
81
|
-
const _hE = "httpError";
|
|
82
|
-
const _hH = "httpHeader";
|
|
83
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.rekognitionstreaming";
|
|
84
|
-
const _se = "server";
|
|
85
|
-
const _st = "streaming";
|
|
86
|
-
const _xarslcv = "x-amz-rekognition-streaming-liveness-challenge-versions";
|
|
87
|
-
const _xarslsi = "x-amz-rekognition-streaming-liveness-session-id";
|
|
88
|
-
const _xarslvh = "x-amz-rekognition-streaming-liveness-video-height";
|
|
89
|
-
const _xarslvw = "x-amz-rekognition-streaming-liveness-video-width";
|
|
90
|
-
const n0 = "com.amazonaws.rekognitionstreaming";
|
|
91
|
-
const { TypeRegistry } = require("@smithy/core/schema");
|
|
92
|
-
const { AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ServiceUnavailableException, SessionNotFoundException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
93
|
-
const { RekognitionStreamingServiceException } = require("../models/RekognitionStreamingServiceException");
|
|
94
|
-
const _s_registry = TypeRegistry.for(_s);
|
|
95
|
-
const RekognitionStreamingServiceException$ = [-3, _s, "RekognitionStreamingServiceException", 0, [], []];
|
|
96
|
-
exports.RekognitionStreamingServiceException$ = RekognitionStreamingServiceException$;
|
|
97
|
-
_s_registry.registerError(RekognitionStreamingServiceException$, RekognitionStreamingServiceException);
|
|
98
|
-
const n0_registry = TypeRegistry.for(n0);
|
|
99
|
-
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
100
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
101
|
-
[_M, _C],
|
|
102
|
-
[0, 0]
|
|
103
|
-
];
|
|
104
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
105
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
106
|
-
const InternalServerException$ = [-3, n0, _ISE,
|
|
107
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
108
|
-
[_M, _C],
|
|
109
|
-
[0, 0]
|
|
110
|
-
];
|
|
111
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
112
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
113
|
-
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
114
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
115
|
-
[_M, _C],
|
|
116
|
-
[0, 0]
|
|
117
|
-
];
|
|
118
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
119
|
-
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
120
|
-
const ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
121
|
-
{ [_e]: _se, [_hE]: 503 },
|
|
122
|
-
[_M, _C],
|
|
123
|
-
[0, 0]
|
|
124
|
-
];
|
|
125
|
-
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
126
|
-
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
127
|
-
const SessionNotFoundException$ = [-3, n0, _SNFE,
|
|
128
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
129
|
-
[_M, _C],
|
|
130
|
-
[0, 0]
|
|
131
|
-
];
|
|
132
|
-
exports.SessionNotFoundException$ = SessionNotFoundException$;
|
|
133
|
-
n0_registry.registerError(SessionNotFoundException$, SessionNotFoundException);
|
|
134
|
-
const ThrottlingException$ = [-3, n0, _TE,
|
|
135
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
136
|
-
[_M, _C],
|
|
137
|
-
[0, 0]
|
|
138
|
-
];
|
|
139
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
140
|
-
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
141
|
-
const ValidationException$ = [-3, n0, _VE,
|
|
142
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
143
|
-
[_M, _C],
|
|
144
|
-
[0, 0]
|
|
145
|
-
];
|
|
146
|
-
exports.ValidationException$ = ValidationException$;
|
|
147
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
148
|
-
exports.errorTypeRegistries = [
|
|
149
|
-
_s_registry,
|
|
150
|
-
n0_registry,
|
|
151
|
-
];
|
|
152
|
-
const BoundingBox$ = [3, n0, _BB,
|
|
153
|
-
0,
|
|
154
|
-
[_W, _H, _L, _T],
|
|
155
|
-
[1, 1, 1, 1], 4
|
|
156
|
-
];
|
|
157
|
-
exports.BoundingBox$ = BoundingBox$;
|
|
158
|
-
const ChallengeConfig$ = [3, n0, _CC,
|
|
159
|
-
0,
|
|
160
|
-
[_BFDT, _FDTM, _FDT, _FDTMa, _OIT, _OHWR, _OIWT, _OIHT, _FIWT, _FIHT, _OFT],
|
|
161
|
-
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
|
|
162
|
-
];
|
|
163
|
-
exports.ChallengeConfig$ = ChallengeConfig$;
|
|
164
|
-
const ChallengeEvent$ = [3, n0, _CE,
|
|
165
|
-
0,
|
|
166
|
-
[_V, _Ty],
|
|
167
|
-
[0, 0], 2
|
|
168
|
-
];
|
|
169
|
-
exports.ChallengeEvent$ = ChallengeEvent$;
|
|
170
|
-
const ClientSessionInformationEvent$ = [3, n0, _CSIE,
|
|
171
|
-
0,
|
|
172
|
-
[_Ch],
|
|
173
|
-
[() => ClientChallenge$], 1
|
|
174
|
-
];
|
|
175
|
-
exports.ClientSessionInformationEvent$ = ClientSessionInformationEvent$;
|
|
176
|
-
const ColorDisplayed$ = [3, n0, _CD,
|
|
177
|
-
0,
|
|
178
|
-
[_CCu, _SN, _CCST, _PC],
|
|
179
|
-
[() => FreshnessColor$, 1, 1, () => FreshnessColor$], 3
|
|
180
|
-
];
|
|
181
|
-
exports.ColorDisplayed$ = ColorDisplayed$;
|
|
182
|
-
const ColorSequence$ = [3, n0, _CS,
|
|
183
|
-
0,
|
|
184
|
-
[_FC, _DD, _FDD],
|
|
185
|
-
[() => FreshnessColor$, 1, 1], 3
|
|
186
|
-
];
|
|
187
|
-
exports.ColorSequence$ = ColorSequence$;
|
|
188
|
-
const DisconnectionEvent$ = [3, n0, _DE,
|
|
189
|
-
0,
|
|
190
|
-
[_TM],
|
|
191
|
-
[1], 1
|
|
192
|
-
];
|
|
193
|
-
exports.DisconnectionEvent$ = DisconnectionEvent$;
|
|
194
|
-
const FaceMovementAndLightClientChallenge$ = [3, n0, _FMALCC,
|
|
195
|
-
0,
|
|
196
|
-
[_CI, _VST, _VET, _IF, _TF, _CD],
|
|
197
|
-
[0, 1, 1, () => InitialFace$, () => TargetFace$, () => ColorDisplayed$], 1
|
|
198
|
-
];
|
|
199
|
-
exports.FaceMovementAndLightClientChallenge$ = FaceMovementAndLightClientChallenge$;
|
|
200
|
-
const FaceMovementAndLightServerChallenge$ = [3, n0, _FMALSC,
|
|
201
|
-
0,
|
|
202
|
-
[_OP, _LCT, _CC, _CSo],
|
|
203
|
-
[() => OvalParameters$, 0, () => ChallengeConfig$, () => ColorSequences], 4
|
|
204
|
-
];
|
|
205
|
-
exports.FaceMovementAndLightServerChallenge$ = FaceMovementAndLightServerChallenge$;
|
|
206
|
-
const FaceMovementClientChallenge$ = [3, n0, _FMCC,
|
|
207
|
-
0,
|
|
208
|
-
[_CI, _VST, _VET, _IF, _TF],
|
|
209
|
-
[0, 1, 1, () => InitialFace$, () => TargetFace$], 1
|
|
210
|
-
];
|
|
211
|
-
exports.FaceMovementClientChallenge$ = FaceMovementClientChallenge$;
|
|
212
|
-
const FaceMovementServerChallenge$ = [3, n0, _FMSC,
|
|
213
|
-
0,
|
|
214
|
-
[_OP, _CC],
|
|
215
|
-
[() => OvalParameters$, () => ChallengeConfig$], 2
|
|
216
|
-
];
|
|
217
|
-
exports.FaceMovementServerChallenge$ = FaceMovementServerChallenge$;
|
|
218
|
-
const FreshnessColor$ = [3, n0, _FC,
|
|
219
|
-
0,
|
|
220
|
-
[_RGB],
|
|
221
|
-
[64 | 1], 1
|
|
222
|
-
];
|
|
223
|
-
exports.FreshnessColor$ = FreshnessColor$;
|
|
224
|
-
const InitialFace$ = [3, n0, _IF,
|
|
225
|
-
0,
|
|
226
|
-
[_BB, _IFDT],
|
|
227
|
-
[() => BoundingBox$, 1], 2
|
|
228
|
-
];
|
|
229
|
-
exports.InitialFace$ = InitialFace$;
|
|
230
|
-
const OvalParameters$ = [3, n0, _OP,
|
|
231
|
-
0,
|
|
232
|
-
[_W, _H, _CX, _CY],
|
|
233
|
-
[1, 1, 1, 1], 4
|
|
234
|
-
];
|
|
235
|
-
exports.OvalParameters$ = OvalParameters$;
|
|
236
|
-
const ServerSessionInformationEvent$ = [3, n0, _SSIE,
|
|
237
|
-
0,
|
|
238
|
-
[_SI],
|
|
239
|
-
[() => SessionInformation$], 1
|
|
240
|
-
];
|
|
241
|
-
exports.ServerSessionInformationEvent$ = ServerSessionInformationEvent$;
|
|
242
|
-
const SessionInformation$ = [3, n0, _SI,
|
|
243
|
-
0,
|
|
244
|
-
[_Ch],
|
|
245
|
-
[() => ServerChallenge$], 1
|
|
246
|
-
];
|
|
247
|
-
exports.SessionInformation$ = SessionInformation$;
|
|
248
|
-
const StartFaceLivenessSessionRequest$ = [3, n0, _SFLSR,
|
|
249
|
-
0,
|
|
250
|
-
[_SIe, _VW, _VH, _CV, _LRS],
|
|
251
|
-
[[0, { [_hH]: _xarslsi }], [0, { [_hH]: _xarslvw }], [0, { [_hH]: _xarslvh }], [0, { [_hH]: _xarslcv }], [() => LivenessRequestStream$, 16]], 4
|
|
252
|
-
];
|
|
253
|
-
exports.StartFaceLivenessSessionRequest$ = StartFaceLivenessSessionRequest$;
|
|
254
|
-
const StartFaceLivenessSessionResponse$ = [3, n0, _SFLSRt,
|
|
255
|
-
0,
|
|
256
|
-
[_SIe, _LRSi],
|
|
257
|
-
[[0, { [_hH]: _xarslsi }], [() => LivenessResponseStream$, 16]], 1
|
|
258
|
-
];
|
|
259
|
-
exports.StartFaceLivenessSessionResponse$ = StartFaceLivenessSessionResponse$;
|
|
260
|
-
const TargetFace$ = [3, n0, _TF,
|
|
261
|
-
0,
|
|
262
|
-
[_BB, _FDITPST, _FDITPET],
|
|
263
|
-
[() => BoundingBox$, 1, 1], 3
|
|
264
|
-
];
|
|
265
|
-
exports.TargetFace$ = TargetFace$;
|
|
266
|
-
const VideoEvent$ = [3, n0, _VEi,
|
|
267
|
-
0,
|
|
268
|
-
[_VC, _TM],
|
|
269
|
-
[21, 1]
|
|
270
|
-
];
|
|
271
|
-
exports.VideoEvent$ = VideoEvent$;
|
|
272
|
-
var ColorComponentList = 64 | 1;
|
|
273
|
-
var ColorSequences = [1, n0, _CSo,
|
|
274
|
-
0, () => ColorSequence$
|
|
275
|
-
];
|
|
276
|
-
const ClientChallenge$ = [4, n0, _CCl,
|
|
277
|
-
0,
|
|
278
|
-
[_FMALC, _FMC],
|
|
279
|
-
[() => FaceMovementAndLightClientChallenge$, () => FaceMovementClientChallenge$]
|
|
280
|
-
];
|
|
281
|
-
exports.ClientChallenge$ = ClientChallenge$;
|
|
282
|
-
const LivenessRequestStream$ = [4, n0, _LRS,
|
|
283
|
-
{ [_st]: 1 },
|
|
284
|
-
[_VEi, _CSIE],
|
|
285
|
-
[() => VideoEvent$, () => ClientSessionInformationEvent$]
|
|
286
|
-
];
|
|
287
|
-
exports.LivenessRequestStream$ = LivenessRequestStream$;
|
|
288
|
-
const LivenessResponseStream$ = [4, n0, _LRSi,
|
|
289
|
-
{ [_st]: 1 },
|
|
290
|
-
[_SSIE, _DE, _CE, _VE, _ISE, _TE, _SQEE, _SUE],
|
|
291
|
-
[() => ServerSessionInformationEvent$, () => DisconnectionEvent$, () => ChallengeEvent$, [() => ValidationException$, 0], [() => InternalServerException$, 0], [() => ThrottlingException$, 0], [() => ServiceQuotaExceededException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
292
|
-
];
|
|
293
|
-
exports.LivenessResponseStream$ = LivenessResponseStream$;
|
|
294
|
-
const ServerChallenge$ = [4, n0, _SC,
|
|
295
|
-
0,
|
|
296
|
-
[_FMALC, _FMC],
|
|
297
|
-
[() => FaceMovementAndLightServerChallenge$, () => FaceMovementServerChallenge$]
|
|
298
|
-
];
|
|
299
|
-
exports.ServerChallenge$ = ServerChallenge$;
|
|
300
|
-
exports.StartFaceLivenessSession$ = [9, n0, _SFLS,
|
|
301
|
-
{ [_h]: ["POST", "/start-face-liveness-session", 200] }, () => StartFaceLivenessSessionRequest$, () => StartFaceLivenessSessionResponse$
|
|
302
|
-
];
|