@aws-sdk/client-rekognition 3.721.0 → 3.723.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 +631 -350
- package/dist-es/RekognitionClient.js +1 -0
- package/dist-es/models/models_0.js +113 -44
- package/dist-es/models/models_1.js +5 -2
- 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 +44 -44
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class RekognitionClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { SENSITIVE_STRING, } from "@smithy/smithy-client";
|
|
2
2
|
import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
Message;
|
|
7
|
+
Code;
|
|
8
|
+
Logref;
|
|
4
9
|
constructor(opts) {
|
|
5
10
|
super({
|
|
6
11
|
name: "AccessDeniedException",
|
|
7
12
|
$fault: "client",
|
|
8
13
|
...opts,
|
|
9
14
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
15
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
16
|
this.Message = opts.Message;
|
|
14
17
|
this.Code = opts.Code;
|
|
@@ -27,14 +30,17 @@ export const UserStatus = {
|
|
|
27
30
|
UPDATING: "UPDATING",
|
|
28
31
|
};
|
|
29
32
|
export class ConflictException extends __BaseException {
|
|
33
|
+
name = "ConflictException";
|
|
34
|
+
$fault = "client";
|
|
35
|
+
Message;
|
|
36
|
+
Code;
|
|
37
|
+
Logref;
|
|
30
38
|
constructor(opts) {
|
|
31
39
|
super({
|
|
32
40
|
name: "ConflictException",
|
|
33
41
|
$fault: "client",
|
|
34
42
|
...opts,
|
|
35
43
|
});
|
|
36
|
-
this.name = "ConflictException";
|
|
37
|
-
this.$fault = "client";
|
|
38
44
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
45
|
this.Message = opts.Message;
|
|
40
46
|
this.Code = opts.Code;
|
|
@@ -42,14 +48,17 @@ export class ConflictException extends __BaseException {
|
|
|
42
48
|
}
|
|
43
49
|
}
|
|
44
50
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
51
|
+
name = "IdempotentParameterMismatchException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
Code;
|
|
55
|
+
Logref;
|
|
45
56
|
constructor(opts) {
|
|
46
57
|
super({
|
|
47
58
|
name: "IdempotentParameterMismatchException",
|
|
48
59
|
$fault: "client",
|
|
49
60
|
...opts,
|
|
50
61
|
});
|
|
51
|
-
this.name = "IdempotentParameterMismatchException";
|
|
52
|
-
this.$fault = "client";
|
|
53
62
|
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
54
63
|
this.Message = opts.Message;
|
|
55
64
|
this.Code = opts.Code;
|
|
@@ -57,14 +66,17 @@ export class IdempotentParameterMismatchException extends __BaseException {
|
|
|
57
66
|
}
|
|
58
67
|
}
|
|
59
68
|
export class InternalServerError extends __BaseException {
|
|
69
|
+
name = "InternalServerError";
|
|
70
|
+
$fault = "server";
|
|
71
|
+
Message;
|
|
72
|
+
Code;
|
|
73
|
+
Logref;
|
|
60
74
|
constructor(opts) {
|
|
61
75
|
super({
|
|
62
76
|
name: "InternalServerError",
|
|
63
77
|
$fault: "server",
|
|
64
78
|
...opts,
|
|
65
79
|
});
|
|
66
|
-
this.name = "InternalServerError";
|
|
67
|
-
this.$fault = "server";
|
|
68
80
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
69
81
|
this.Message = opts.Message;
|
|
70
82
|
this.Code = opts.Code;
|
|
@@ -72,14 +84,17 @@ export class InternalServerError extends __BaseException {
|
|
|
72
84
|
}
|
|
73
85
|
}
|
|
74
86
|
export class InvalidParameterException extends __BaseException {
|
|
87
|
+
name = "InvalidParameterException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
Message;
|
|
90
|
+
Code;
|
|
91
|
+
Logref;
|
|
75
92
|
constructor(opts) {
|
|
76
93
|
super({
|
|
77
94
|
name: "InvalidParameterException",
|
|
78
95
|
$fault: "client",
|
|
79
96
|
...opts,
|
|
80
97
|
});
|
|
81
|
-
this.name = "InvalidParameterException";
|
|
82
|
-
this.$fault = "client";
|
|
83
98
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
84
99
|
this.Message = opts.Message;
|
|
85
100
|
this.Code = opts.Code;
|
|
@@ -87,14 +102,17 @@ export class InvalidParameterException extends __BaseException {
|
|
|
87
102
|
}
|
|
88
103
|
}
|
|
89
104
|
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
105
|
+
name = "ProvisionedThroughputExceededException";
|
|
106
|
+
$fault = "client";
|
|
107
|
+
Message;
|
|
108
|
+
Code;
|
|
109
|
+
Logref;
|
|
90
110
|
constructor(opts) {
|
|
91
111
|
super({
|
|
92
112
|
name: "ProvisionedThroughputExceededException",
|
|
93
113
|
$fault: "client",
|
|
94
114
|
...opts,
|
|
95
115
|
});
|
|
96
|
-
this.name = "ProvisionedThroughputExceededException";
|
|
97
|
-
this.$fault = "client";
|
|
98
116
|
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
99
117
|
this.Message = opts.Message;
|
|
100
118
|
this.Code = opts.Code;
|
|
@@ -102,14 +120,17 @@ export class ProvisionedThroughputExceededException extends __BaseException {
|
|
|
102
120
|
}
|
|
103
121
|
}
|
|
104
122
|
export class ResourceNotFoundException extends __BaseException {
|
|
123
|
+
name = "ResourceNotFoundException";
|
|
124
|
+
$fault = "client";
|
|
125
|
+
Message;
|
|
126
|
+
Code;
|
|
127
|
+
Logref;
|
|
105
128
|
constructor(opts) {
|
|
106
129
|
super({
|
|
107
130
|
name: "ResourceNotFoundException",
|
|
108
131
|
$fault: "client",
|
|
109
132
|
...opts,
|
|
110
133
|
});
|
|
111
|
-
this.name = "ResourceNotFoundException";
|
|
112
|
-
this.$fault = "client";
|
|
113
134
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
114
135
|
this.Message = opts.Message;
|
|
115
136
|
this.Code = opts.Code;
|
|
@@ -117,14 +138,17 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
117
138
|
}
|
|
118
139
|
}
|
|
119
140
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
141
|
+
name = "ServiceQuotaExceededException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
Code;
|
|
145
|
+
Logref;
|
|
120
146
|
constructor(opts) {
|
|
121
147
|
super({
|
|
122
148
|
name: "ServiceQuotaExceededException",
|
|
123
149
|
$fault: "client",
|
|
124
150
|
...opts,
|
|
125
151
|
});
|
|
126
|
-
this.name = "ServiceQuotaExceededException";
|
|
127
|
-
this.$fault = "client";
|
|
128
152
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
129
153
|
this.Message = opts.Message;
|
|
130
154
|
this.Code = opts.Code;
|
|
@@ -132,14 +156,17 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
132
156
|
}
|
|
133
157
|
}
|
|
134
158
|
export class ThrottlingException extends __BaseException {
|
|
159
|
+
name = "ThrottlingException";
|
|
160
|
+
$fault = "server";
|
|
161
|
+
Message;
|
|
162
|
+
Code;
|
|
163
|
+
Logref;
|
|
135
164
|
constructor(opts) {
|
|
136
165
|
super({
|
|
137
166
|
name: "ThrottlingException",
|
|
138
167
|
$fault: "server",
|
|
139
168
|
...opts,
|
|
140
169
|
});
|
|
141
|
-
this.name = "ThrottlingException";
|
|
142
|
-
this.$fault = "server";
|
|
143
170
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
144
171
|
this.Message = opts.Message;
|
|
145
172
|
this.Code = opts.Code;
|
|
@@ -244,14 +271,17 @@ export const OrientationCorrection = {
|
|
|
244
271
|
ROTATE_90: "ROTATE_90",
|
|
245
272
|
};
|
|
246
273
|
export class ImageTooLargeException extends __BaseException {
|
|
274
|
+
name = "ImageTooLargeException";
|
|
275
|
+
$fault = "client";
|
|
276
|
+
Message;
|
|
277
|
+
Code;
|
|
278
|
+
Logref;
|
|
247
279
|
constructor(opts) {
|
|
248
280
|
super({
|
|
249
281
|
name: "ImageTooLargeException",
|
|
250
282
|
$fault: "client",
|
|
251
283
|
...opts,
|
|
252
284
|
});
|
|
253
|
-
this.name = "ImageTooLargeException";
|
|
254
|
-
this.$fault = "client";
|
|
255
285
|
Object.setPrototypeOf(this, ImageTooLargeException.prototype);
|
|
256
286
|
this.Message = opts.Message;
|
|
257
287
|
this.Code = opts.Code;
|
|
@@ -259,14 +289,17 @@ export class ImageTooLargeException extends __BaseException {
|
|
|
259
289
|
}
|
|
260
290
|
}
|
|
261
291
|
export class InvalidImageFormatException extends __BaseException {
|
|
292
|
+
name = "InvalidImageFormatException";
|
|
293
|
+
$fault = "client";
|
|
294
|
+
Message;
|
|
295
|
+
Code;
|
|
296
|
+
Logref;
|
|
262
297
|
constructor(opts) {
|
|
263
298
|
super({
|
|
264
299
|
name: "InvalidImageFormatException",
|
|
265
300
|
$fault: "client",
|
|
266
301
|
...opts,
|
|
267
302
|
});
|
|
268
|
-
this.name = "InvalidImageFormatException";
|
|
269
|
-
this.$fault = "client";
|
|
270
303
|
Object.setPrototypeOf(this, InvalidImageFormatException.prototype);
|
|
271
304
|
this.Message = opts.Message;
|
|
272
305
|
this.Code = opts.Code;
|
|
@@ -274,14 +307,17 @@ export class InvalidImageFormatException extends __BaseException {
|
|
|
274
307
|
}
|
|
275
308
|
}
|
|
276
309
|
export class InvalidS3ObjectException extends __BaseException {
|
|
310
|
+
name = "InvalidS3ObjectException";
|
|
311
|
+
$fault = "client";
|
|
312
|
+
Message;
|
|
313
|
+
Code;
|
|
314
|
+
Logref;
|
|
277
315
|
constructor(opts) {
|
|
278
316
|
super({
|
|
279
317
|
name: "InvalidS3ObjectException",
|
|
280
318
|
$fault: "client",
|
|
281
319
|
...opts,
|
|
282
320
|
});
|
|
283
|
-
this.name = "InvalidS3ObjectException";
|
|
284
|
-
this.$fault = "client";
|
|
285
321
|
Object.setPrototypeOf(this, InvalidS3ObjectException.prototype);
|
|
286
322
|
this.Message = opts.Message;
|
|
287
323
|
this.Code = opts.Code;
|
|
@@ -301,14 +337,17 @@ export const ContentModerationSortBy = {
|
|
|
301
337
|
TIMESTAMP: "TIMESTAMP",
|
|
302
338
|
};
|
|
303
339
|
export class LimitExceededException extends __BaseException {
|
|
340
|
+
name = "LimitExceededException";
|
|
341
|
+
$fault = "client";
|
|
342
|
+
Message;
|
|
343
|
+
Code;
|
|
344
|
+
Logref;
|
|
304
345
|
constructor(opts) {
|
|
305
346
|
super({
|
|
306
347
|
name: "LimitExceededException",
|
|
307
348
|
$fault: "client",
|
|
308
349
|
...opts,
|
|
309
350
|
});
|
|
310
|
-
this.name = "LimitExceededException";
|
|
311
|
-
this.$fault = "client";
|
|
312
351
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
313
352
|
this.Message = opts.Message;
|
|
314
353
|
this.Code = opts.Code;
|
|
@@ -316,14 +355,17 @@ export class LimitExceededException extends __BaseException {
|
|
|
316
355
|
}
|
|
317
356
|
}
|
|
318
357
|
export class ResourceInUseException extends __BaseException {
|
|
358
|
+
name = "ResourceInUseException";
|
|
359
|
+
$fault = "client";
|
|
360
|
+
Message;
|
|
361
|
+
Code;
|
|
362
|
+
Logref;
|
|
319
363
|
constructor(opts) {
|
|
320
364
|
super({
|
|
321
365
|
name: "ResourceInUseException",
|
|
322
366
|
$fault: "client",
|
|
323
367
|
...opts,
|
|
324
368
|
});
|
|
325
|
-
this.name = "ResourceInUseException";
|
|
326
|
-
this.$fault = "client";
|
|
327
369
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
328
370
|
this.Message = opts.Message;
|
|
329
371
|
this.Code = opts.Code;
|
|
@@ -331,14 +373,17 @@ export class ResourceInUseException extends __BaseException {
|
|
|
331
373
|
}
|
|
332
374
|
}
|
|
333
375
|
export class ResourceAlreadyExistsException extends __BaseException {
|
|
376
|
+
name = "ResourceAlreadyExistsException";
|
|
377
|
+
$fault = "client";
|
|
378
|
+
Message;
|
|
379
|
+
Code;
|
|
380
|
+
Logref;
|
|
334
381
|
constructor(opts) {
|
|
335
382
|
super({
|
|
336
383
|
name: "ResourceAlreadyExistsException",
|
|
337
384
|
$fault: "client",
|
|
338
385
|
...opts,
|
|
339
386
|
});
|
|
340
|
-
this.name = "ResourceAlreadyExistsException";
|
|
341
|
-
this.$fault = "client";
|
|
342
387
|
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
343
388
|
this.Message = opts.Message;
|
|
344
389
|
this.Code = opts.Code;
|
|
@@ -381,14 +426,17 @@ export const ProjectStatus = {
|
|
|
381
426
|
DELETING: "DELETING",
|
|
382
427
|
};
|
|
383
428
|
export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
429
|
+
name = "InvalidPolicyRevisionIdException";
|
|
430
|
+
$fault = "client";
|
|
431
|
+
Message;
|
|
432
|
+
Code;
|
|
433
|
+
Logref;
|
|
384
434
|
constructor(opts) {
|
|
385
435
|
super({
|
|
386
436
|
name: "InvalidPolicyRevisionIdException",
|
|
387
437
|
$fault: "client",
|
|
388
438
|
...opts,
|
|
389
439
|
});
|
|
390
|
-
this.name = "InvalidPolicyRevisionIdException";
|
|
391
|
-
this.$fault = "client";
|
|
392
440
|
Object.setPrototypeOf(this, InvalidPolicyRevisionIdException.prototype);
|
|
393
441
|
this.Message = opts.Message;
|
|
394
442
|
this.Code = opts.Code;
|
|
@@ -412,14 +460,17 @@ export const ProjectVersionStatus = {
|
|
|
412
460
|
TRAINING_IN_PROGRESS: "TRAINING_IN_PROGRESS",
|
|
413
461
|
};
|
|
414
462
|
export class InvalidPaginationTokenException extends __BaseException {
|
|
463
|
+
name = "InvalidPaginationTokenException";
|
|
464
|
+
$fault = "client";
|
|
465
|
+
Message;
|
|
466
|
+
Code;
|
|
467
|
+
Logref;
|
|
415
468
|
constructor(opts) {
|
|
416
469
|
super({
|
|
417
470
|
name: "InvalidPaginationTokenException",
|
|
418
471
|
$fault: "client",
|
|
419
472
|
...opts,
|
|
420
473
|
});
|
|
421
|
-
this.name = "InvalidPaginationTokenException";
|
|
422
|
-
this.$fault = "client";
|
|
423
474
|
Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
|
|
424
475
|
this.Message = opts.Message;
|
|
425
476
|
this.Code = opts.Code;
|
|
@@ -435,14 +486,17 @@ export const StreamProcessorStatus = {
|
|
|
435
486
|
UPDATING: "UPDATING",
|
|
436
487
|
};
|
|
437
488
|
export class ResourceNotReadyException extends __BaseException {
|
|
489
|
+
name = "ResourceNotReadyException";
|
|
490
|
+
$fault = "client";
|
|
491
|
+
Message;
|
|
492
|
+
Code;
|
|
493
|
+
Logref;
|
|
438
494
|
constructor(opts) {
|
|
439
495
|
super({
|
|
440
496
|
name: "ResourceNotReadyException",
|
|
441
497
|
$fault: "client",
|
|
442
498
|
...opts,
|
|
443
499
|
});
|
|
444
|
-
this.name = "ResourceNotReadyException";
|
|
445
|
-
this.$fault = "client";
|
|
446
500
|
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
|
|
447
501
|
this.Message = opts.Message;
|
|
448
502
|
this.Code = opts.Code;
|
|
@@ -454,14 +508,20 @@ export const DetectLabelsFeatureName = {
|
|
|
454
508
|
IMAGE_PROPERTIES: "IMAGE_PROPERTIES",
|
|
455
509
|
};
|
|
456
510
|
export class HumanLoopQuotaExceededException extends __BaseException {
|
|
511
|
+
name = "HumanLoopQuotaExceededException";
|
|
512
|
+
$fault = "client";
|
|
513
|
+
ResourceType;
|
|
514
|
+
QuotaCode;
|
|
515
|
+
ServiceCode;
|
|
516
|
+
Message;
|
|
517
|
+
Code;
|
|
518
|
+
Logref;
|
|
457
519
|
constructor(opts) {
|
|
458
520
|
super({
|
|
459
521
|
name: "HumanLoopQuotaExceededException",
|
|
460
522
|
$fault: "client",
|
|
461
523
|
...opts,
|
|
462
524
|
});
|
|
463
|
-
this.name = "HumanLoopQuotaExceededException";
|
|
464
|
-
this.$fault = "client";
|
|
465
525
|
Object.setPrototypeOf(this, HumanLoopQuotaExceededException.prototype);
|
|
466
526
|
this.ResourceType = opts.ResourceType;
|
|
467
527
|
this.QuotaCode = opts.QuotaCode;
|
|
@@ -504,14 +564,17 @@ export const LivenessSessionStatus = {
|
|
|
504
564
|
SUCCEEDED: "SUCCEEDED",
|
|
505
565
|
};
|
|
506
566
|
export class SessionNotFoundException extends __BaseException {
|
|
567
|
+
name = "SessionNotFoundException";
|
|
568
|
+
$fault = "client";
|
|
569
|
+
Message;
|
|
570
|
+
Code;
|
|
571
|
+
Logref;
|
|
507
572
|
constructor(opts) {
|
|
508
573
|
super({
|
|
509
574
|
name: "SessionNotFoundException",
|
|
510
575
|
$fault: "client",
|
|
511
576
|
...opts,
|
|
512
577
|
});
|
|
513
|
-
this.name = "SessionNotFoundException";
|
|
514
|
-
this.$fault = "client";
|
|
515
578
|
Object.setPrototypeOf(this, SessionNotFoundException.prototype);
|
|
516
579
|
this.Message = opts.Message;
|
|
517
580
|
this.Code = opts.Code;
|
|
@@ -571,14 +634,17 @@ export const Reason = {
|
|
|
571
634
|
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
572
635
|
};
|
|
573
636
|
export class InvalidManifestException extends __BaseException {
|
|
637
|
+
name = "InvalidManifestException";
|
|
638
|
+
$fault = "client";
|
|
639
|
+
Message;
|
|
640
|
+
Code;
|
|
641
|
+
Logref;
|
|
574
642
|
constructor(opts) {
|
|
575
643
|
super({
|
|
576
644
|
name: "InvalidManifestException",
|
|
577
645
|
$fault: "client",
|
|
578
646
|
...opts,
|
|
579
647
|
});
|
|
580
|
-
this.name = "InvalidManifestException";
|
|
581
|
-
this.$fault = "client";
|
|
582
648
|
Object.setPrototypeOf(this, InvalidManifestException.prototype);
|
|
583
649
|
this.Message = opts.Message;
|
|
584
650
|
this.Code = opts.Code;
|
|
@@ -589,14 +655,17 @@ export const LabelDetectionFeatureName = {
|
|
|
589
655
|
GENERAL_LABELS: "GENERAL_LABELS",
|
|
590
656
|
};
|
|
591
657
|
export class MalformedPolicyDocumentException extends __BaseException {
|
|
658
|
+
name = "MalformedPolicyDocumentException";
|
|
659
|
+
$fault = "client";
|
|
660
|
+
Message;
|
|
661
|
+
Code;
|
|
662
|
+
Logref;
|
|
592
663
|
constructor(opts) {
|
|
593
664
|
super({
|
|
594
665
|
name: "MalformedPolicyDocumentException",
|
|
595
666
|
$fault: "client",
|
|
596
667
|
...opts,
|
|
597
668
|
});
|
|
598
|
-
this.name = "MalformedPolicyDocumentException";
|
|
599
|
-
this.$fault = "client";
|
|
600
669
|
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
601
670
|
this.Message = opts.Message;
|
|
602
671
|
this.Code = opts.Code;
|
|
@@ -10,14 +10,17 @@ export const UnsearchedFaceReason = {
|
|
|
10
10
|
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
11
11
|
};
|
|
12
12
|
export class VideoTooLargeException extends __BaseException {
|
|
13
|
+
name = "VideoTooLargeException";
|
|
14
|
+
$fault = "client";
|
|
15
|
+
Message;
|
|
16
|
+
Code;
|
|
17
|
+
Logref;
|
|
13
18
|
constructor(opts) {
|
|
14
19
|
super({
|
|
15
20
|
name: "VideoTooLargeException",
|
|
16
21
|
$fault: "client",
|
|
17
22
|
...opts,
|
|
18
23
|
});
|
|
19
|
-
this.name = "VideoTooLargeException";
|
|
20
|
-
this.$fault = "client";
|
|
21
24
|
Object.setPrototypeOf(this, VideoTooLargeException.prototype);
|
|
22
25
|
this.Message = opts.Message;
|
|
23
26
|
this.Code = opts.Code;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
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
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
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
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
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;
|
|
34
|
+
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;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: RekognitionClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|