@aws-sdk/client-rekognitionstreaming 3.305.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/LICENSE +201 -0
- package/README.md +222 -0
- package/dist-cjs/RekognitionStreaming.js +37 -0
- package/dist-cjs/RekognitionStreamingClient.js +46 -0
- package/dist-cjs/commands/StartFaceLivenessSessionCommand.js +50 -0
- package/dist-cjs/commands/StartStreamingLivenessSessionCommand.js +50 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/RekognitionStreamingServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +188 -0
- package/dist-cjs/protocols/Aws_restJson1.js +573 -0
- package/dist-cjs/runtimeConfig.browser.js +44 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +18 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/RekognitionStreaming.js +33 -0
- package/dist-es/RekognitionStreamingClient.js +42 -0
- package/dist-es/commands/StartFaceLivenessSessionCommand.js +46 -0
- package/dist-es/commands/StartStreamingLivenessSessionCommand.js +46 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/RekognitionStreamingServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +173 -0
- package/dist-es/protocols/Aws_restJson1.js +566 -0
- package/dist-es/runtimeConfig.browser.js +39 -0
- package/dist-es/runtimeConfig.js +47 -0
- package/dist-es/runtimeConfig.native.js +14 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/RekognitionStreaming.d.ts +21 -0
- package/dist-types/RekognitionStreamingClient.d.ts +174 -0
- package/dist-types/commands/StartFaceLivenessSessionCommand.d.ts +39 -0
- package/dist-types/commands/StartStreamingLivenessSessionCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/RekognitionStreamingServiceException.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +415 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +8 -0
- package/dist-types/runtimeConfig.browser.d.ts +44 -0
- package/dist-types/runtimeConfig.d.ts +44 -0
- package/dist-types/runtimeConfig.native.d.ts +43 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/RekognitionStreaming.d.ts +38 -0
- package/dist-types/ts3.4/RekognitionStreamingClient.d.ts +147 -0
- package/dist-types/ts3.4/commands/StartFaceLivenessSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartStreamingLivenessSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/RekognitionStreamingServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +316 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
- package/package.json +104 -0
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { RekognitionStreamingServiceException as __BaseException } from "./RekognitionStreamingServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
Message?: string;
|
|
10
|
+
Code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export interface BoundingBox {
|
|
20
|
+
Width: number | undefined;
|
|
21
|
+
Height: number | undefined;
|
|
22
|
+
Left: number | undefined;
|
|
23
|
+
Top: number | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface FreshnessColor {
|
|
29
|
+
RGB: number[] | undefined;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ColorDisplayed {
|
|
35
|
+
CurrentColor: FreshnessColor | undefined;
|
|
36
|
+
PreviousColor?: FreshnessColor;
|
|
37
|
+
SequenceNumber: number | undefined;
|
|
38
|
+
CurrentColorStartTimestamp: number | undefined;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export interface InitialFace {
|
|
44
|
+
BoundingBox: BoundingBox | undefined;
|
|
45
|
+
InitialFaceDetectedTimestamp: number | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface TargetFace {
|
|
51
|
+
BoundingBox: BoundingBox | undefined;
|
|
52
|
+
FaceDetectedInTargetPositionStartTimestamp: number | undefined;
|
|
53
|
+
FaceDetectedInTargetPositionEndTimestamp: number | undefined;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface FaceMovementAndLightClientChallenge {
|
|
59
|
+
ChallengeId: string | undefined;
|
|
60
|
+
VideoStartTimestamp?: number;
|
|
61
|
+
InitialFace?: InitialFace;
|
|
62
|
+
TargetFace?: TargetFace;
|
|
63
|
+
ColorDisplayed?: ColorDisplayed;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type ClientChallenge = ClientChallenge.FaceMovementAndLightChallengeMember | ClientChallenge.$UnknownMember;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare namespace ClientChallenge {
|
|
73
|
+
interface FaceMovementAndLightChallengeMember {
|
|
74
|
+
FaceMovementAndLightChallenge: FaceMovementAndLightClientChallenge;
|
|
75
|
+
$unknown?: never;
|
|
76
|
+
}
|
|
77
|
+
interface $UnknownMember {
|
|
78
|
+
FaceMovementAndLightChallenge?: never;
|
|
79
|
+
$unknown: [string, any];
|
|
80
|
+
}
|
|
81
|
+
interface Visitor<T> {
|
|
82
|
+
FaceMovementAndLightChallenge: (value: FaceMovementAndLightClientChallenge) => T;
|
|
83
|
+
_: (name: string, value: any) => T;
|
|
84
|
+
}
|
|
85
|
+
const visit: <T>(value: ClientChallenge, visitor: Visitor<T>) => T;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export interface DeviceInformation {
|
|
91
|
+
VideoHeight: number | undefined;
|
|
92
|
+
VideoWidth: number | undefined;
|
|
93
|
+
ClientSDKVersion: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export interface ClientSessionInformationEvent {
|
|
99
|
+
DeviceInformation: DeviceInformation | undefined;
|
|
100
|
+
Challenge: ClientChallenge | undefined;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export interface ColorSequence {
|
|
106
|
+
FreshnessColor: FreshnessColor | undefined;
|
|
107
|
+
DownscrollDuration: number | undefined;
|
|
108
|
+
FlatDisplayDuration: number | undefined;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export interface DisconnectionEvent {
|
|
114
|
+
TimestampMillis: number | undefined;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* @enum
|
|
119
|
+
*/
|
|
120
|
+
export declare const LightChallengeType: {
|
|
121
|
+
readonly SEQUENTIAL: "SEQUENTIAL";
|
|
122
|
+
readonly SIMULTANEOUS: "SIMULTANEOUS";
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export type LightChallengeType = (typeof LightChallengeType)[keyof typeof LightChallengeType];
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export interface OvalScaleFactors {
|
|
132
|
+
Width: number | undefined;
|
|
133
|
+
CenterX: number | undefined;
|
|
134
|
+
CenterY: number | undefined;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export interface FaceMovementAndLightServerChallenge {
|
|
140
|
+
OvalScaleFactors: OvalScaleFactors | undefined;
|
|
141
|
+
LightChallengeType: LightChallengeType | string | undefined;
|
|
142
|
+
ColorSequences: ColorSequence[] | undefined;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class InternalServerException extends __BaseException {
|
|
148
|
+
readonly name: "InternalServerException";
|
|
149
|
+
readonly $fault: "server";
|
|
150
|
+
Message?: string;
|
|
151
|
+
Code?: string;
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export interface VideoEvent {
|
|
161
|
+
VideoChunk?: Uint8Array;
|
|
162
|
+
TimestampMillis?: number;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export type LivenessRequestStream = LivenessRequestStream.ClientSessionInformationEventMember | LivenessRequestStream.VideoEventMember | LivenessRequestStream.$UnknownMember;
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export declare namespace LivenessRequestStream {
|
|
172
|
+
interface VideoEventMember {
|
|
173
|
+
VideoEvent: VideoEvent;
|
|
174
|
+
ClientSessionInformationEvent?: never;
|
|
175
|
+
$unknown?: never;
|
|
176
|
+
}
|
|
177
|
+
interface ClientSessionInformationEventMember {
|
|
178
|
+
VideoEvent?: never;
|
|
179
|
+
ClientSessionInformationEvent: ClientSessionInformationEvent;
|
|
180
|
+
$unknown?: never;
|
|
181
|
+
}
|
|
182
|
+
interface $UnknownMember {
|
|
183
|
+
VideoEvent?: never;
|
|
184
|
+
ClientSessionInformationEvent?: never;
|
|
185
|
+
$unknown: [string, any];
|
|
186
|
+
}
|
|
187
|
+
interface Visitor<T> {
|
|
188
|
+
VideoEvent: (value: VideoEvent) => T;
|
|
189
|
+
ClientSessionInformationEvent: (value: ClientSessionInformationEvent) => T;
|
|
190
|
+
_: (name: string, value: any) => T;
|
|
191
|
+
}
|
|
192
|
+
const visit: <T>(value: LivenessRequestStream, visitor: Visitor<T>) => T;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type ServerChallenge = ServerChallenge.FaceMovementAndLightChallengeMember | ServerChallenge.$UnknownMember;
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
export declare namespace ServerChallenge {
|
|
202
|
+
interface FaceMovementAndLightChallengeMember {
|
|
203
|
+
FaceMovementAndLightChallenge: FaceMovementAndLightServerChallenge;
|
|
204
|
+
$unknown?: never;
|
|
205
|
+
}
|
|
206
|
+
interface $UnknownMember {
|
|
207
|
+
FaceMovementAndLightChallenge?: never;
|
|
208
|
+
$unknown: [string, any];
|
|
209
|
+
}
|
|
210
|
+
interface Visitor<T> {
|
|
211
|
+
FaceMovementAndLightChallenge: (value: FaceMovementAndLightServerChallenge) => T;
|
|
212
|
+
_: (name: string, value: any) => T;
|
|
213
|
+
}
|
|
214
|
+
const visit: <T>(value: ServerChallenge, visitor: Visitor<T>) => T;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export interface SessionInformation {
|
|
220
|
+
Challenge: ServerChallenge | undefined;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export interface ServerSessionInformationEvent {
|
|
226
|
+
SessionInformation: SessionInformation | undefined;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
232
|
+
readonly name: "ServiceQuotaExceededException";
|
|
233
|
+
readonly $fault: "client";
|
|
234
|
+
Message?: string;
|
|
235
|
+
Code?: string;
|
|
236
|
+
/**
|
|
237
|
+
* @internal
|
|
238
|
+
*/
|
|
239
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* @public
|
|
243
|
+
*/
|
|
244
|
+
export declare class ThrottlingException extends __BaseException {
|
|
245
|
+
readonly name: "ThrottlingException";
|
|
246
|
+
readonly $fault: "client";
|
|
247
|
+
Message?: string;
|
|
248
|
+
Code?: string;
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export declare class ValidationException extends __BaseException {
|
|
258
|
+
readonly name: "ValidationException";
|
|
259
|
+
readonly $fault: "client";
|
|
260
|
+
Message?: string;
|
|
261
|
+
Code?: string;
|
|
262
|
+
/**
|
|
263
|
+
* @internal
|
|
264
|
+
*/
|
|
265
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export type LivenessResponseStream = LivenessResponseStream.DisconnectionEventMember | LivenessResponseStream.InternalServerExceptionMember | LivenessResponseStream.ServerSessionInformationEventMember | LivenessResponseStream.ServiceQuotaExceededExceptionMember | LivenessResponseStream.ThrottlingExceptionMember | LivenessResponseStream.ValidationExceptionMember | LivenessResponseStream.$UnknownMember;
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
export declare namespace LivenessResponseStream {
|
|
275
|
+
interface ServerSessionInformationEventMember {
|
|
276
|
+
ServerSessionInformationEvent: ServerSessionInformationEvent;
|
|
277
|
+
DisconnectionEvent?: never;
|
|
278
|
+
ValidationException?: never;
|
|
279
|
+
InternalServerException?: never;
|
|
280
|
+
ThrottlingException?: never;
|
|
281
|
+
ServiceQuotaExceededException?: never;
|
|
282
|
+
$unknown?: never;
|
|
283
|
+
}
|
|
284
|
+
interface DisconnectionEventMember {
|
|
285
|
+
ServerSessionInformationEvent?: never;
|
|
286
|
+
DisconnectionEvent: DisconnectionEvent;
|
|
287
|
+
ValidationException?: never;
|
|
288
|
+
InternalServerException?: never;
|
|
289
|
+
ThrottlingException?: never;
|
|
290
|
+
ServiceQuotaExceededException?: never;
|
|
291
|
+
$unknown?: never;
|
|
292
|
+
}
|
|
293
|
+
interface ValidationExceptionMember {
|
|
294
|
+
ServerSessionInformationEvent?: never;
|
|
295
|
+
DisconnectionEvent?: never;
|
|
296
|
+
ValidationException: ValidationException;
|
|
297
|
+
InternalServerException?: never;
|
|
298
|
+
ThrottlingException?: never;
|
|
299
|
+
ServiceQuotaExceededException?: never;
|
|
300
|
+
$unknown?: never;
|
|
301
|
+
}
|
|
302
|
+
interface InternalServerExceptionMember {
|
|
303
|
+
ServerSessionInformationEvent?: never;
|
|
304
|
+
DisconnectionEvent?: never;
|
|
305
|
+
ValidationException?: never;
|
|
306
|
+
InternalServerException: InternalServerException;
|
|
307
|
+
ThrottlingException?: never;
|
|
308
|
+
ServiceQuotaExceededException?: never;
|
|
309
|
+
$unknown?: never;
|
|
310
|
+
}
|
|
311
|
+
interface ThrottlingExceptionMember {
|
|
312
|
+
ServerSessionInformationEvent?: never;
|
|
313
|
+
DisconnectionEvent?: never;
|
|
314
|
+
ValidationException?: never;
|
|
315
|
+
InternalServerException?: never;
|
|
316
|
+
ThrottlingException: ThrottlingException;
|
|
317
|
+
ServiceQuotaExceededException?: never;
|
|
318
|
+
$unknown?: never;
|
|
319
|
+
}
|
|
320
|
+
interface ServiceQuotaExceededExceptionMember {
|
|
321
|
+
ServerSessionInformationEvent?: never;
|
|
322
|
+
DisconnectionEvent?: never;
|
|
323
|
+
ValidationException?: never;
|
|
324
|
+
InternalServerException?: never;
|
|
325
|
+
ThrottlingException?: never;
|
|
326
|
+
ServiceQuotaExceededException: ServiceQuotaExceededException;
|
|
327
|
+
$unknown?: never;
|
|
328
|
+
}
|
|
329
|
+
interface $UnknownMember {
|
|
330
|
+
ServerSessionInformationEvent?: never;
|
|
331
|
+
DisconnectionEvent?: never;
|
|
332
|
+
ValidationException?: never;
|
|
333
|
+
InternalServerException?: never;
|
|
334
|
+
ThrottlingException?: never;
|
|
335
|
+
ServiceQuotaExceededException?: never;
|
|
336
|
+
$unknown: [string, any];
|
|
337
|
+
}
|
|
338
|
+
interface Visitor<T> {
|
|
339
|
+
ServerSessionInformationEvent: (value: ServerSessionInformationEvent) => T;
|
|
340
|
+
DisconnectionEvent: (value: DisconnectionEvent) => T;
|
|
341
|
+
ValidationException: (value: ValidationException) => T;
|
|
342
|
+
InternalServerException: (value: InternalServerException) => T;
|
|
343
|
+
ThrottlingException: (value: ThrottlingException) => T;
|
|
344
|
+
ServiceQuotaExceededException: (value: ServiceQuotaExceededException) => T;
|
|
345
|
+
_: (name: string, value: any) => T;
|
|
346
|
+
}
|
|
347
|
+
const visit: <T>(value: LivenessResponseStream, visitor: Visitor<T>) => T;
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
export declare class SessionNotFoundException extends __BaseException {
|
|
353
|
+
readonly name: "SessionNotFoundException";
|
|
354
|
+
readonly $fault: "client";
|
|
355
|
+
Message?: string;
|
|
356
|
+
Code?: string;
|
|
357
|
+
/**
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
constructor(opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export interface StartFaceLivenessSessionRequest {
|
|
366
|
+
SessionId: string | undefined;
|
|
367
|
+
ClientSDKVersion: string | undefined;
|
|
368
|
+
LivenessRequestStream?: AsyncIterable<LivenessRequestStream>;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export interface StartFaceLivenessSessionResponse {
|
|
374
|
+
SessionId: string | undefined;
|
|
375
|
+
LivenessResponseStream?: AsyncIterable<LivenessResponseStream>;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
export interface StartStreamingLivenessSessionRequest {
|
|
381
|
+
SessionId: string | undefined;
|
|
382
|
+
ClientSDKVersion: string | undefined;
|
|
383
|
+
LivenessRequestStream?: AsyncIterable<LivenessRequestStream>;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
export interface StartStreamingLivenessSessionResponse {
|
|
389
|
+
SessionId: string | undefined;
|
|
390
|
+
LivenessResponseStream?: AsyncIterable<LivenessResponseStream>;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* @internal
|
|
394
|
+
*/
|
|
395
|
+
export declare const LivenessRequestStreamFilterSensitiveLog: (obj: LivenessRequestStream) => any;
|
|
396
|
+
/**
|
|
397
|
+
* @internal
|
|
398
|
+
*/
|
|
399
|
+
export declare const LivenessResponseStreamFilterSensitiveLog: (obj: LivenessResponseStream) => any;
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
export declare const StartFaceLivenessSessionRequestFilterSensitiveLog: (obj: StartFaceLivenessSessionRequest) => any;
|
|
404
|
+
/**
|
|
405
|
+
* @internal
|
|
406
|
+
*/
|
|
407
|
+
export declare const StartFaceLivenessSessionResponseFilterSensitiveLog: (obj: StartFaceLivenessSessionResponse) => any;
|
|
408
|
+
/**
|
|
409
|
+
* @internal
|
|
410
|
+
*/
|
|
411
|
+
export declare const StartStreamingLivenessSessionRequestFilterSensitiveLog: (obj: StartStreamingLivenessSessionRequest) => any;
|
|
412
|
+
/**
|
|
413
|
+
* @internal
|
|
414
|
+
*/
|
|
415
|
+
export declare const StartStreamingLivenessSessionResponseFilterSensitiveLog: (obj: StartStreamingLivenessSessionResponse) => any;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "../commands/StartFaceLivenessSessionCommand";
|
|
4
|
+
import { StartStreamingLivenessSessionCommandInput, StartStreamingLivenessSessionCommandOutput } from "../commands/StartStreamingLivenessSessionCommand";
|
|
5
|
+
export declare const serializeAws_restJson1StartFaceLivenessSessionCommand: (input: StartFaceLivenessSessionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
|
|
6
|
+
export declare const serializeAws_restJson1StartStreamingLivenessSessionCommand: (input: StartStreamingLivenessSessionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
|
|
7
|
+
export declare const deserializeAws_restJson1StartFaceLivenessSessionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartFaceLivenessSessionCommandOutput>;
|
|
8
|
+
export declare const deserializeAws_restJson1StartStreamingLivenessSessionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartStreamingLivenessSessionCommandOutput>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { WebSocketFetchHandler as WebSocketRequestHandler } from "@aws-sdk/middleware-websocket";
|
|
2
|
+
import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
13
|
+
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | WebSocketRequestHandler;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
27
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
logger: import("@aws-sdk/types").Logger;
|
|
31
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
32
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
34
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
35
|
+
tls?: boolean | undefined;
|
|
36
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
37
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
38
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
39
|
+
signingEscapePath?: boolean | undefined;
|
|
40
|
+
systemClockOffset?: number | undefined;
|
|
41
|
+
signingRegion?: string | undefined;
|
|
42
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
43
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
44
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
13
|
+
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
26
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
27
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
logger: import("@aws-sdk/types").Logger;
|
|
31
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
32
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
33
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
34
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
35
|
+
tls?: boolean | undefined;
|
|
36
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
37
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
38
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
39
|
+
signingEscapePath?: boolean | undefined;
|
|
40
|
+
systemClockOffset?: number | undefined;
|
|
41
|
+
signingRegion?: string | undefined;
|
|
42
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
43
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
44
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
eventStreamPayloadHandlerProvider: import("@aws-sdk/types").EventStreamPayloadHandlerProvider;
|
|
8
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
9
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/middleware-websocket").WebSocketFetchHandler;
|
|
10
|
+
apiVersion: string;
|
|
11
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
12
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
13
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
14
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
15
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
18
|
+
disableHostPrefix: boolean;
|
|
19
|
+
serviceId: string;
|
|
20
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
25
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
26
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
27
|
+
logger: import("@aws-sdk/types").Logger;
|
|
28
|
+
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
30
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
|
|
31
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
33
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
34
|
+
tls?: boolean | undefined;
|
|
35
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
36
|
+
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
37
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
38
|
+
signingEscapePath?: boolean | undefined;
|
|
39
|
+
systemClockOffset?: number | undefined;
|
|
40
|
+
signingRegion?: string | undefined;
|
|
41
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
42
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
43
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
12
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
serviceId: string;
|
|
15
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
18
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
StartFaceLivenessSessionCommandInput,
|
|
4
|
+
StartFaceLivenessSessionCommandOutput,
|
|
5
|
+
} from "./commands/StartFaceLivenessSessionCommand";
|
|
6
|
+
import {
|
|
7
|
+
StartStreamingLivenessSessionCommandInput,
|
|
8
|
+
StartStreamingLivenessSessionCommandOutput,
|
|
9
|
+
} from "./commands/StartStreamingLivenessSessionCommand";
|
|
10
|
+
import { RekognitionStreamingClient } from "./RekognitionStreamingClient";
|
|
11
|
+
export declare class RekognitionStreaming extends RekognitionStreamingClient {
|
|
12
|
+
startFaceLivenessSession(
|
|
13
|
+
args: StartFaceLivenessSessionCommandInput,
|
|
14
|
+
options?: __HttpHandlerOptions
|
|
15
|
+
): Promise<StartFaceLivenessSessionCommandOutput>;
|
|
16
|
+
startFaceLivenessSession(
|
|
17
|
+
args: StartFaceLivenessSessionCommandInput,
|
|
18
|
+
cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void
|
|
19
|
+
): void;
|
|
20
|
+
startFaceLivenessSession(
|
|
21
|
+
args: StartFaceLivenessSessionCommandInput,
|
|
22
|
+
options: __HttpHandlerOptions,
|
|
23
|
+
cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void
|
|
24
|
+
): void;
|
|
25
|
+
startStreamingLivenessSession(
|
|
26
|
+
args: StartStreamingLivenessSessionCommandInput,
|
|
27
|
+
options?: __HttpHandlerOptions
|
|
28
|
+
): Promise<StartStreamingLivenessSessionCommandOutput>;
|
|
29
|
+
startStreamingLivenessSession(
|
|
30
|
+
args: StartStreamingLivenessSessionCommandInput,
|
|
31
|
+
cb: (err: any, data?: StartStreamingLivenessSessionCommandOutput) => void
|
|
32
|
+
): void;
|
|
33
|
+
startStreamingLivenessSession(
|
|
34
|
+
args: StartStreamingLivenessSessionCommandInput,
|
|
35
|
+
options: __HttpHandlerOptions,
|
|
36
|
+
cb: (err: any, data?: StartStreamingLivenessSessionCommandOutput) => void
|
|
37
|
+
): void;
|
|
38
|
+
}
|