@aws-sdk/client-rekognitionstreaming 3.721.0 → 3.726.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 +77 -48
- package/dist-es/RekognitionStreamingClient.js +1 -0
- package/dist-es/models/models_0.js +28 -14
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +49 -49
package/dist-cjs/index.js
CHANGED
|
@@ -145,7 +145,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
145
145
|
}, "resolveRuntimeExtensions");
|
|
146
146
|
|
|
147
147
|
// src/RekognitionStreamingClient.ts
|
|
148
|
-
var
|
|
148
|
+
var RekognitionStreamingClient = class extends import_smithy_client.Client {
|
|
149
|
+
static {
|
|
150
|
+
__name(this, "RekognitionStreamingClient");
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The resolved configuration of RekognitionStreamingClient class. This is resolved and normalized from the {@link RekognitionStreamingClientConfig | constructor configuration interface}.
|
|
154
|
+
*/
|
|
155
|
+
config;
|
|
149
156
|
constructor(...[configuration]) {
|
|
150
157
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
151
158
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -158,7 +165,7 @@ var _RekognitionStreamingClient = class _RekognitionStreamingClient extends impo
|
|
|
158
165
|
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
159
166
|
const _config_9 = (0, import_middleware_eventstream.resolveEventStreamConfig)(_config_8);
|
|
160
167
|
const _config_10 = (0, import_middleware_websocket.resolveWebSocketConfig)(_config_9);
|
|
161
|
-
const _config_11 = resolveRuntimeExtensions(_config_10,
|
|
168
|
+
const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
|
|
162
169
|
super(_config_11);
|
|
163
170
|
this.config = _config_11;
|
|
164
171
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -186,8 +193,6 @@ var _RekognitionStreamingClient = class _RekognitionStreamingClient extends impo
|
|
|
186
193
|
super.destroy();
|
|
187
194
|
}
|
|
188
195
|
};
|
|
189
|
-
__name(_RekognitionStreamingClient, "RekognitionStreamingClient");
|
|
190
|
-
var RekognitionStreamingClient = _RekognitionStreamingClient;
|
|
191
196
|
|
|
192
197
|
// src/RekognitionStreaming.ts
|
|
193
198
|
|
|
@@ -201,7 +206,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
201
206
|
|
|
202
207
|
// src/models/RekognitionStreamingServiceException.ts
|
|
203
208
|
|
|
204
|
-
var
|
|
209
|
+
var RekognitionStreamingServiceException = class _RekognitionStreamingServiceException extends import_smithy_client.ServiceException {
|
|
210
|
+
static {
|
|
211
|
+
__name(this, "RekognitionStreamingServiceException");
|
|
212
|
+
}
|
|
205
213
|
/**
|
|
206
214
|
* @internal
|
|
207
215
|
*/
|
|
@@ -210,11 +218,16 @@ var _RekognitionStreamingServiceException = class _RekognitionStreamingServiceEx
|
|
|
210
218
|
Object.setPrototypeOf(this, _RekognitionStreamingServiceException.prototype);
|
|
211
219
|
}
|
|
212
220
|
};
|
|
213
|
-
__name(_RekognitionStreamingServiceException, "RekognitionStreamingServiceException");
|
|
214
|
-
var RekognitionStreamingServiceException = _RekognitionStreamingServiceException;
|
|
215
221
|
|
|
216
222
|
// src/models/models_0.ts
|
|
217
|
-
var
|
|
223
|
+
var AccessDeniedException = class _AccessDeniedException extends RekognitionStreamingServiceException {
|
|
224
|
+
static {
|
|
225
|
+
__name(this, "AccessDeniedException");
|
|
226
|
+
}
|
|
227
|
+
name = "AccessDeniedException";
|
|
228
|
+
$fault = "client";
|
|
229
|
+
Message;
|
|
230
|
+
Code;
|
|
218
231
|
/**
|
|
219
232
|
* @internal
|
|
220
233
|
*/
|
|
@@ -224,15 +237,11 @@ var _AccessDeniedException = class _AccessDeniedException extends RekognitionStr
|
|
|
224
237
|
$fault: "client",
|
|
225
238
|
...opts
|
|
226
239
|
});
|
|
227
|
-
this.name = "AccessDeniedException";
|
|
228
|
-
this.$fault = "client";
|
|
229
240
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
230
241
|
this.Message = opts.Message;
|
|
231
242
|
this.Code = opts.Code;
|
|
232
243
|
}
|
|
233
244
|
};
|
|
234
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
235
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
236
245
|
var ClientChallenge;
|
|
237
246
|
((ClientChallenge2) => {
|
|
238
247
|
ClientChallenge2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -244,7 +253,14 @@ var ClientChallenge;
|
|
|
244
253
|
var LightChallengeType = {
|
|
245
254
|
SEQUENTIAL: "SEQUENTIAL"
|
|
246
255
|
};
|
|
247
|
-
var
|
|
256
|
+
var InternalServerException = class _InternalServerException extends RekognitionStreamingServiceException {
|
|
257
|
+
static {
|
|
258
|
+
__name(this, "InternalServerException");
|
|
259
|
+
}
|
|
260
|
+
name = "InternalServerException";
|
|
261
|
+
$fault = "server";
|
|
262
|
+
Message;
|
|
263
|
+
Code;
|
|
248
264
|
/**
|
|
249
265
|
* @internal
|
|
250
266
|
*/
|
|
@@ -254,15 +270,11 @@ var _InternalServerException = class _InternalServerException extends Rekognitio
|
|
|
254
270
|
$fault: "server",
|
|
255
271
|
...opts
|
|
256
272
|
});
|
|
257
|
-
this.name = "InternalServerException";
|
|
258
|
-
this.$fault = "server";
|
|
259
273
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
260
274
|
this.Message = opts.Message;
|
|
261
275
|
this.Code = opts.Code;
|
|
262
276
|
}
|
|
263
277
|
};
|
|
264
|
-
__name(_InternalServerException, "InternalServerException");
|
|
265
|
-
var InternalServerException = _InternalServerException;
|
|
266
278
|
var LivenessRequestStream;
|
|
267
279
|
((LivenessRequestStream2) => {
|
|
268
280
|
LivenessRequestStream2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -281,7 +293,14 @@ var ServerChallenge;
|
|
|
281
293
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
282
294
|
}, "visit");
|
|
283
295
|
})(ServerChallenge || (ServerChallenge = {}));
|
|
284
|
-
var
|
|
296
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends RekognitionStreamingServiceException {
|
|
297
|
+
static {
|
|
298
|
+
__name(this, "ServiceQuotaExceededException");
|
|
299
|
+
}
|
|
300
|
+
name = "ServiceQuotaExceededException";
|
|
301
|
+
$fault = "client";
|
|
302
|
+
Message;
|
|
303
|
+
Code;
|
|
285
304
|
/**
|
|
286
305
|
* @internal
|
|
287
306
|
*/
|
|
@@ -291,16 +310,19 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
291
310
|
$fault: "client",
|
|
292
311
|
...opts
|
|
293
312
|
});
|
|
294
|
-
this.name = "ServiceQuotaExceededException";
|
|
295
|
-
this.$fault = "client";
|
|
296
313
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
297
314
|
this.Message = opts.Message;
|
|
298
315
|
this.Code = opts.Code;
|
|
299
316
|
}
|
|
300
317
|
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
318
|
+
var ServiceUnavailableException = class _ServiceUnavailableException extends RekognitionStreamingServiceException {
|
|
319
|
+
static {
|
|
320
|
+
__name(this, "ServiceUnavailableException");
|
|
321
|
+
}
|
|
322
|
+
name = "ServiceUnavailableException";
|
|
323
|
+
$fault = "server";
|
|
324
|
+
Message;
|
|
325
|
+
Code;
|
|
304
326
|
/**
|
|
305
327
|
* @internal
|
|
306
328
|
*/
|
|
@@ -310,16 +332,19 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Re
|
|
|
310
332
|
$fault: "server",
|
|
311
333
|
...opts
|
|
312
334
|
});
|
|
313
|
-
this.name = "ServiceUnavailableException";
|
|
314
|
-
this.$fault = "server";
|
|
315
335
|
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
316
336
|
this.Message = opts.Message;
|
|
317
337
|
this.Code = opts.Code;
|
|
318
338
|
}
|
|
319
339
|
};
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
340
|
+
var ThrottlingException = class _ThrottlingException extends RekognitionStreamingServiceException {
|
|
341
|
+
static {
|
|
342
|
+
__name(this, "ThrottlingException");
|
|
343
|
+
}
|
|
344
|
+
name = "ThrottlingException";
|
|
345
|
+
$fault = "client";
|
|
346
|
+
Message;
|
|
347
|
+
Code;
|
|
323
348
|
/**
|
|
324
349
|
* @internal
|
|
325
350
|
*/
|
|
@@ -329,16 +354,19 @@ var _ThrottlingException = class _ThrottlingException extends RekognitionStreami
|
|
|
329
354
|
$fault: "client",
|
|
330
355
|
...opts
|
|
331
356
|
});
|
|
332
|
-
this.name = "ThrottlingException";
|
|
333
|
-
this.$fault = "client";
|
|
334
357
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
335
358
|
this.Message = opts.Message;
|
|
336
359
|
this.Code = opts.Code;
|
|
337
360
|
}
|
|
338
361
|
};
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
362
|
+
var ValidationException = class _ValidationException extends RekognitionStreamingServiceException {
|
|
363
|
+
static {
|
|
364
|
+
__name(this, "ValidationException");
|
|
365
|
+
}
|
|
366
|
+
name = "ValidationException";
|
|
367
|
+
$fault = "client";
|
|
368
|
+
Message;
|
|
369
|
+
Code;
|
|
342
370
|
/**
|
|
343
371
|
* @internal
|
|
344
372
|
*/
|
|
@@ -348,15 +376,11 @@ var _ValidationException = class _ValidationException extends RekognitionStreami
|
|
|
348
376
|
$fault: "client",
|
|
349
377
|
...opts
|
|
350
378
|
});
|
|
351
|
-
this.name = "ValidationException";
|
|
352
|
-
this.$fault = "client";
|
|
353
379
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
354
380
|
this.Message = opts.Message;
|
|
355
381
|
this.Code = opts.Code;
|
|
356
382
|
}
|
|
357
383
|
};
|
|
358
|
-
__name(_ValidationException, "ValidationException");
|
|
359
|
-
var ValidationException = _ValidationException;
|
|
360
384
|
var LivenessResponseStream;
|
|
361
385
|
((LivenessResponseStream3) => {
|
|
362
386
|
LivenessResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -377,7 +401,14 @@ var LivenessResponseStream;
|
|
|
377
401
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
378
402
|
}, "visit");
|
|
379
403
|
})(LivenessResponseStream || (LivenessResponseStream = {}));
|
|
380
|
-
var
|
|
404
|
+
var SessionNotFoundException = class _SessionNotFoundException extends RekognitionStreamingServiceException {
|
|
405
|
+
static {
|
|
406
|
+
__name(this, "SessionNotFoundException");
|
|
407
|
+
}
|
|
408
|
+
name = "SessionNotFoundException";
|
|
409
|
+
$fault = "client";
|
|
410
|
+
Message;
|
|
411
|
+
Code;
|
|
381
412
|
/**
|
|
382
413
|
* @internal
|
|
383
414
|
*/
|
|
@@ -387,15 +418,11 @@ var _SessionNotFoundException = class _SessionNotFoundException extends Rekognit
|
|
|
387
418
|
$fault: "client",
|
|
388
419
|
...opts
|
|
389
420
|
});
|
|
390
|
-
this.name = "SessionNotFoundException";
|
|
391
|
-
this.$fault = "client";
|
|
392
421
|
Object.setPrototypeOf(this, _SessionNotFoundException.prototype);
|
|
393
422
|
this.Message = opts.Message;
|
|
394
423
|
this.Code = opts.Code;
|
|
395
424
|
}
|
|
396
425
|
};
|
|
397
|
-
__name(_SessionNotFoundException, "SessionNotFoundException");
|
|
398
|
-
var SessionNotFoundException = _SessionNotFoundException;
|
|
399
426
|
var LivenessRequestStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
400
427
|
if (obj.VideoEvent !== void 0)
|
|
401
428
|
return { VideoEvent: obj.VideoEvent };
|
|
@@ -857,7 +884,7 @@ var _xarslvh = "x-amz-rekognition-streaming-liveness-video-height";
|
|
|
857
884
|
var _xarslvw = "x-amz-rekognition-streaming-liveness-video-width";
|
|
858
885
|
|
|
859
886
|
// src/commands/StartFaceLivenessSessionCommand.ts
|
|
860
|
-
var
|
|
887
|
+
var StartFaceLivenessSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
861
888
|
return [
|
|
862
889
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
863
890
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -875,18 +902,20 @@ var _StartFaceLivenessSessionCommand = class _StartFaceLivenessSessionCommand ex
|
|
|
875
902
|
output: true
|
|
876
903
|
}
|
|
877
904
|
}).n("RekognitionStreamingClient", "StartFaceLivenessSessionCommand").f(StartFaceLivenessSessionRequestFilterSensitiveLog, StartFaceLivenessSessionResponseFilterSensitiveLog).ser(se_StartFaceLivenessSessionCommand).de(de_StartFaceLivenessSessionCommand).build() {
|
|
905
|
+
static {
|
|
906
|
+
__name(this, "StartFaceLivenessSessionCommand");
|
|
907
|
+
}
|
|
878
908
|
};
|
|
879
|
-
__name(_StartFaceLivenessSessionCommand, "StartFaceLivenessSessionCommand");
|
|
880
|
-
var StartFaceLivenessSessionCommand = _StartFaceLivenessSessionCommand;
|
|
881
909
|
|
|
882
910
|
// src/RekognitionStreaming.ts
|
|
883
911
|
var commands = {
|
|
884
912
|
StartFaceLivenessSessionCommand
|
|
885
913
|
};
|
|
886
|
-
var
|
|
914
|
+
var RekognitionStreaming = class extends RekognitionStreamingClient {
|
|
915
|
+
static {
|
|
916
|
+
__name(this, "RekognitionStreaming");
|
|
917
|
+
}
|
|
887
918
|
};
|
|
888
|
-
__name(_RekognitionStreaming, "RekognitionStreaming");
|
|
889
|
-
var RekognitionStreaming = _RekognitionStreaming;
|
|
890
919
|
(0, import_smithy_client.createAggregatedClient)(commands, RekognitionStreaming);
|
|
891
920
|
// Annotate the CommonJS export names for ESM import in node:
|
|
892
921
|
|
|
@@ -17,6 +17,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
17
17
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
18
18
|
export { __Client };
|
|
19
19
|
export class RekognitionStreamingClient extends __Client {
|
|
20
|
+
config;
|
|
20
21
|
constructor(...[configuration]) {
|
|
21
22
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
22
23
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { RekognitionStreamingServiceException as __BaseException } from "./RekognitionStreamingServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
Code;
|
|
3
7
|
constructor(opts) {
|
|
4
8
|
super({
|
|
5
9
|
name: "AccessDeniedException",
|
|
6
10
|
$fault: "client",
|
|
7
11
|
...opts,
|
|
8
12
|
});
|
|
9
|
-
this.name = "AccessDeniedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
13
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
14
|
this.Message = opts.Message;
|
|
13
15
|
this.Code = opts.Code;
|
|
@@ -25,14 +27,16 @@ export const LightChallengeType = {
|
|
|
25
27
|
SEQUENTIAL: "SEQUENTIAL",
|
|
26
28
|
};
|
|
27
29
|
export class InternalServerException extends __BaseException {
|
|
30
|
+
name = "InternalServerException";
|
|
31
|
+
$fault = "server";
|
|
32
|
+
Message;
|
|
33
|
+
Code;
|
|
28
34
|
constructor(opts) {
|
|
29
35
|
super({
|
|
30
36
|
name: "InternalServerException",
|
|
31
37
|
$fault: "server",
|
|
32
38
|
...opts,
|
|
33
39
|
});
|
|
34
|
-
this.name = "InternalServerException";
|
|
35
|
-
this.$fault = "server";
|
|
36
40
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
37
41
|
this.Message = opts.Message;
|
|
38
42
|
this.Code = opts.Code;
|
|
@@ -57,56 +61,64 @@ export var ServerChallenge;
|
|
|
57
61
|
};
|
|
58
62
|
})(ServerChallenge || (ServerChallenge = {}));
|
|
59
63
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
64
|
+
name = "ServiceQuotaExceededException";
|
|
65
|
+
$fault = "client";
|
|
66
|
+
Message;
|
|
67
|
+
Code;
|
|
60
68
|
constructor(opts) {
|
|
61
69
|
super({
|
|
62
70
|
name: "ServiceQuotaExceededException",
|
|
63
71
|
$fault: "client",
|
|
64
72
|
...opts,
|
|
65
73
|
});
|
|
66
|
-
this.name = "ServiceQuotaExceededException";
|
|
67
|
-
this.$fault = "client";
|
|
68
74
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
75
|
this.Message = opts.Message;
|
|
70
76
|
this.Code = opts.Code;
|
|
71
77
|
}
|
|
72
78
|
}
|
|
73
79
|
export class ServiceUnavailableException extends __BaseException {
|
|
80
|
+
name = "ServiceUnavailableException";
|
|
81
|
+
$fault = "server";
|
|
82
|
+
Message;
|
|
83
|
+
Code;
|
|
74
84
|
constructor(opts) {
|
|
75
85
|
super({
|
|
76
86
|
name: "ServiceUnavailableException",
|
|
77
87
|
$fault: "server",
|
|
78
88
|
...opts,
|
|
79
89
|
});
|
|
80
|
-
this.name = "ServiceUnavailableException";
|
|
81
|
-
this.$fault = "server";
|
|
82
90
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
83
91
|
this.Message = opts.Message;
|
|
84
92
|
this.Code = opts.Code;
|
|
85
93
|
}
|
|
86
94
|
}
|
|
87
95
|
export class ThrottlingException extends __BaseException {
|
|
96
|
+
name = "ThrottlingException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
Code;
|
|
88
100
|
constructor(opts) {
|
|
89
101
|
super({
|
|
90
102
|
name: "ThrottlingException",
|
|
91
103
|
$fault: "client",
|
|
92
104
|
...opts,
|
|
93
105
|
});
|
|
94
|
-
this.name = "ThrottlingException";
|
|
95
|
-
this.$fault = "client";
|
|
96
106
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
107
|
this.Message = opts.Message;
|
|
98
108
|
this.Code = opts.Code;
|
|
99
109
|
}
|
|
100
110
|
}
|
|
101
111
|
export class ValidationException extends __BaseException {
|
|
112
|
+
name = "ValidationException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
Message;
|
|
115
|
+
Code;
|
|
102
116
|
constructor(opts) {
|
|
103
117
|
super({
|
|
104
118
|
name: "ValidationException",
|
|
105
119
|
$fault: "client",
|
|
106
120
|
...opts,
|
|
107
121
|
});
|
|
108
|
-
this.name = "ValidationException";
|
|
109
|
-
this.$fault = "client";
|
|
110
122
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
111
123
|
this.Message = opts.Message;
|
|
112
124
|
this.Code = opts.Code;
|
|
@@ -133,14 +145,16 @@ export var LivenessResponseStream;
|
|
|
133
145
|
};
|
|
134
146
|
})(LivenessResponseStream || (LivenessResponseStream = {}));
|
|
135
147
|
export class SessionNotFoundException extends __BaseException {
|
|
148
|
+
name = "SessionNotFoundException";
|
|
149
|
+
$fault = "client";
|
|
150
|
+
Message;
|
|
151
|
+
Code;
|
|
136
152
|
constructor(opts) {
|
|
137
153
|
super({
|
|
138
154
|
name: "SessionNotFoundException",
|
|
139
155
|
$fault: "client",
|
|
140
156
|
...opts,
|
|
141
157
|
});
|
|
142
|
-
this.name = "SessionNotFoundException";
|
|
143
|
-
this.$fault = "client";
|
|
144
158
|
Object.setPrototypeOf(this, SessionNotFoundException.prototype);
|
|
145
159
|
this.Message = opts.Message;
|
|
146
160
|
this.Code = opts.Code;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
26
26
|
region: string | import("@smithy/types").Provider<any>;
|
|
27
27
|
profile?: string | undefined;
|
|
28
28
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
29
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
29
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
30
30
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
31
31
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
@@ -36,7 +36,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
37
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
-
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> | undefined;
|
|
39
|
+
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;
|
|
40
40
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
41
|
logger?: import("@smithy/types").Logger | undefined;
|
|
42
42
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -43,9 +43,11 @@ export declare const getRuntimeConfig: (
|
|
|
43
43
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
44
44
|
| undefined
|
|
45
45
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
46
|
-
credentialDefaultProvider:
|
|
47
|
-
input: any
|
|
48
|
-
|
|
46
|
+
credentialDefaultProvider:
|
|
47
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
48
|
+
| ((
|
|
49
|
+
_: unknown
|
|
50
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
49
51
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
52
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
51
53
|
logger: import("@smithy/types").Logger;
|
|
@@ -66,11 +68,21 @@ export declare const getRuntimeConfig: (
|
|
|
66
68
|
| import("@smithy/types").RetryStrategyV2
|
|
67
69
|
| undefined;
|
|
68
70
|
endpoint?:
|
|
69
|
-
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
| ((
|
|
72
|
+
| string
|
|
73
|
+
| import("@smithy/types").Endpoint
|
|
74
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
75
|
+
| import("@smithy/types").EndpointV2
|
|
76
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
77
|
+
) &
|
|
78
|
+
(
|
|
79
|
+
| string
|
|
80
|
+
| import("@smithy/types").Provider<string>
|
|
81
|
+
| import("@smithy/types").Endpoint
|
|
82
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
83
|
+
| import("@smithy/types").EndpointV2
|
|
84
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
85
|
+
))
|
|
74
86
|
| undefined;
|
|
75
87
|
endpointProvider: (
|
|
76
88
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognitionstreaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.726.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rekognitionstreaming",
|
|
@@ -20,62 +20,62 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
34
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
35
|
-
"@aws-sdk/types": "3.
|
|
36
|
-
"@aws-sdk/util-endpoints": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
38
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
39
|
-
"@smithy/config-resolver": "^
|
|
40
|
-
"@smithy/core": "^
|
|
41
|
-
"@smithy/eventstream-serde-browser": "^
|
|
42
|
-
"@smithy/eventstream-serde-config-resolver": "^
|
|
43
|
-
"@smithy/eventstream-serde-node": "^
|
|
44
|
-
"@smithy/fetch-http-handler": "^
|
|
45
|
-
"@smithy/hash-node": "^
|
|
46
|
-
"@smithy/invalid-dependency": "^
|
|
47
|
-
"@smithy/middleware-content-length": "^
|
|
48
|
-
"@smithy/middleware-endpoint": "^
|
|
49
|
-
"@smithy/middleware-retry": "^
|
|
50
|
-
"@smithy/middleware-serde": "^
|
|
51
|
-
"@smithy/middleware-stack": "^
|
|
52
|
-
"@smithy/node-config-provider": "^
|
|
53
|
-
"@smithy/node-http-handler": "^
|
|
54
|
-
"@smithy/protocol-http": "^
|
|
55
|
-
"@smithy/smithy-client": "^
|
|
56
|
-
"@smithy/types": "^
|
|
57
|
-
"@smithy/url-parser": "^
|
|
58
|
-
"@smithy/util-base64": "^
|
|
59
|
-
"@smithy/util-body-length-browser": "^
|
|
60
|
-
"@smithy/util-body-length-node": "^
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^
|
|
63
|
-
"@smithy/util-endpoints": "^
|
|
64
|
-
"@smithy/util-middleware": "^
|
|
65
|
-
"@smithy/util-retry": "^
|
|
66
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/eventstream-handler-node": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-eventstream": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
33
|
+
"@aws-sdk/middleware-websocket": "3.723.0",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
35
|
+
"@aws-sdk/types": "3.723.0",
|
|
36
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
39
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
40
|
+
"@smithy/core": "^3.0.0",
|
|
41
|
+
"@smithy/eventstream-serde-browser": "^4.0.0",
|
|
42
|
+
"@smithy/eventstream-serde-config-resolver": "^4.0.0",
|
|
43
|
+
"@smithy/eventstream-serde-node": "^4.0.0",
|
|
44
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
45
|
+
"@smithy/hash-node": "^4.0.0",
|
|
46
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
47
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
48
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
49
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
50
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
51
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
52
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
53
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
54
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
55
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
56
|
+
"@smithy/types": "^4.0.0",
|
|
57
|
+
"@smithy/url-parser": "^4.0.0",
|
|
58
|
+
"@smithy/util-base64": "^4.0.0",
|
|
59
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
60
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
63
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
64
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
65
|
+
"@smithy/util-retry": "^4.0.0",
|
|
66
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@tsconfig/
|
|
71
|
-
"@types/node": "^
|
|
70
|
+
"@tsconfig/node18": "18.2.4",
|
|
71
|
+
"@types/node": "^18.19.69",
|
|
72
72
|
"concurrently": "7.0.0",
|
|
73
73
|
"downlevel-dts": "0.10.1",
|
|
74
74
|
"rimraf": "3.0.2",
|
|
75
|
-
"typescript": "~
|
|
75
|
+
"typescript": "~5.2.2"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
|
-
"node": ">=
|
|
78
|
+
"node": ">=18.0.0"
|
|
79
79
|
},
|
|
80
80
|
"typesVersions": {
|
|
81
81
|
"<4.0": {
|