@aws-sdk/client-rekognition 3.301.0 → 3.306.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/models/models_0.js +204 -236
- package/dist-es/models/models_0.js +204 -236
- package/dist-types/models/models_0.d.ts +365 -205
- package/dist-types/ts3.4/models/models_0.d.ts +256 -204
- package/package.json +35 -35
|
@@ -14,101 +14,91 @@ export class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
this.Logref = opts.Logref;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
QualityFilter["MEDIUM"] = "MEDIUM";
|
|
103
|
-
QualityFilter["NONE"] = "NONE";
|
|
104
|
-
})(QualityFilter || (QualityFilter = {}));
|
|
105
|
-
export var OrientationCorrection;
|
|
106
|
-
(function (OrientationCorrection) {
|
|
107
|
-
OrientationCorrection["ROTATE_0"] = "ROTATE_0";
|
|
108
|
-
OrientationCorrection["ROTATE_180"] = "ROTATE_180";
|
|
109
|
-
OrientationCorrection["ROTATE_270"] = "ROTATE_270";
|
|
110
|
-
OrientationCorrection["ROTATE_90"] = "ROTATE_90";
|
|
111
|
-
})(OrientationCorrection || (OrientationCorrection = {}));
|
|
17
|
+
export const Attribute = {
|
|
18
|
+
ALL: "ALL",
|
|
19
|
+
DEFAULT: "DEFAULT",
|
|
20
|
+
};
|
|
21
|
+
export const BodyPart = {
|
|
22
|
+
FACE: "FACE",
|
|
23
|
+
HEAD: "HEAD",
|
|
24
|
+
LEFT_HAND: "LEFT_HAND",
|
|
25
|
+
RIGHT_HAND: "RIGHT_HAND",
|
|
26
|
+
};
|
|
27
|
+
export const ProtectiveEquipmentType = {
|
|
28
|
+
FACE_COVER: "FACE_COVER",
|
|
29
|
+
HAND_COVER: "HAND_COVER",
|
|
30
|
+
HEAD_COVER: "HEAD_COVER",
|
|
31
|
+
};
|
|
32
|
+
export const EmotionName = {
|
|
33
|
+
ANGRY: "ANGRY",
|
|
34
|
+
CALM: "CALM",
|
|
35
|
+
CONFUSED: "CONFUSED",
|
|
36
|
+
DISGUSTED: "DISGUSTED",
|
|
37
|
+
FEAR: "FEAR",
|
|
38
|
+
HAPPY: "HAPPY",
|
|
39
|
+
SAD: "SAD",
|
|
40
|
+
SURPRISED: "SURPRISED",
|
|
41
|
+
UNKNOWN: "UNKNOWN",
|
|
42
|
+
};
|
|
43
|
+
export const LandmarkType = {
|
|
44
|
+
chinBottom: "chinBottom",
|
|
45
|
+
eyeLeft: "eyeLeft",
|
|
46
|
+
eyeRight: "eyeRight",
|
|
47
|
+
leftEyeBrowLeft: "leftEyeBrowLeft",
|
|
48
|
+
leftEyeBrowRight: "leftEyeBrowRight",
|
|
49
|
+
leftEyeBrowUp: "leftEyeBrowUp",
|
|
50
|
+
leftEyeDown: "leftEyeDown",
|
|
51
|
+
leftEyeLeft: "leftEyeLeft",
|
|
52
|
+
leftEyeRight: "leftEyeRight",
|
|
53
|
+
leftEyeUp: "leftEyeUp",
|
|
54
|
+
leftPupil: "leftPupil",
|
|
55
|
+
midJawlineLeft: "midJawlineLeft",
|
|
56
|
+
midJawlineRight: "midJawlineRight",
|
|
57
|
+
mouthDown: "mouthDown",
|
|
58
|
+
mouthLeft: "mouthLeft",
|
|
59
|
+
mouthRight: "mouthRight",
|
|
60
|
+
mouthUp: "mouthUp",
|
|
61
|
+
nose: "nose",
|
|
62
|
+
noseLeft: "noseLeft",
|
|
63
|
+
noseRight: "noseRight",
|
|
64
|
+
rightEyeBrowLeft: "rightEyeBrowLeft",
|
|
65
|
+
rightEyeBrowRight: "rightEyeBrowRight",
|
|
66
|
+
rightEyeBrowUp: "rightEyeBrowUp",
|
|
67
|
+
rightEyeDown: "rightEyeDown",
|
|
68
|
+
rightEyeLeft: "rightEyeLeft",
|
|
69
|
+
rightEyeRight: "rightEyeRight",
|
|
70
|
+
rightEyeUp: "rightEyeUp",
|
|
71
|
+
rightPupil: "rightPupil",
|
|
72
|
+
upperJawlineLeft: "upperJawlineLeft",
|
|
73
|
+
upperJawlineRight: "upperJawlineRight",
|
|
74
|
+
};
|
|
75
|
+
export const KnownGenderType = {
|
|
76
|
+
Female: "Female",
|
|
77
|
+
Male: "Male",
|
|
78
|
+
Nonbinary: "Nonbinary",
|
|
79
|
+
Unlisted: "Unlisted",
|
|
80
|
+
};
|
|
81
|
+
export const GenderType = {
|
|
82
|
+
Female: "Female",
|
|
83
|
+
Male: "Male",
|
|
84
|
+
};
|
|
85
|
+
export const CelebrityRecognitionSortBy = {
|
|
86
|
+
ID: "ID",
|
|
87
|
+
TIMESTAMP: "TIMESTAMP",
|
|
88
|
+
};
|
|
89
|
+
export const QualityFilter = {
|
|
90
|
+
AUTO: "AUTO",
|
|
91
|
+
HIGH: "HIGH",
|
|
92
|
+
LOW: "LOW",
|
|
93
|
+
MEDIUM: "MEDIUM",
|
|
94
|
+
NONE: "NONE",
|
|
95
|
+
};
|
|
96
|
+
export const OrientationCorrection = {
|
|
97
|
+
ROTATE_0: "ROTATE_0",
|
|
98
|
+
ROTATE_180: "ROTATE_180",
|
|
99
|
+
ROTATE_270: "ROTATE_270",
|
|
100
|
+
ROTATE_90: "ROTATE_90",
|
|
101
|
+
};
|
|
112
102
|
export class ImageTooLargeException extends __BaseException {
|
|
113
103
|
constructor(opts) {
|
|
114
104
|
super({
|
|
@@ -214,16 +204,14 @@ export class ThrottlingException extends __BaseException {
|
|
|
214
204
|
this.Logref = opts.Logref;
|
|
215
205
|
}
|
|
216
206
|
}
|
|
217
|
-
export
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
ContentModerationSortBy["TIMESTAMP"] = "TIMESTAMP";
|
|
226
|
-
})(ContentModerationSortBy || (ContentModerationSortBy = {}));
|
|
207
|
+
export const ContentClassifier = {
|
|
208
|
+
FREE_OF_ADULT_CONTENT: "FreeOfAdultContent",
|
|
209
|
+
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation",
|
|
210
|
+
};
|
|
211
|
+
export const ContentModerationSortBy = {
|
|
212
|
+
NAME: "NAME",
|
|
213
|
+
TIMESTAMP: "TIMESTAMP",
|
|
214
|
+
};
|
|
227
215
|
export class LimitExceededException extends __BaseException {
|
|
228
216
|
constructor(opts) {
|
|
229
217
|
super({
|
|
@@ -299,33 +287,29 @@ export class ResourceAlreadyExistsException extends __BaseException {
|
|
|
299
287
|
this.Logref = opts.Logref;
|
|
300
288
|
}
|
|
301
289
|
}
|
|
302
|
-
export
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
ProjectStatus["CREATED"] = "CREATED";
|
|
326
|
-
ProjectStatus["CREATING"] = "CREATING";
|
|
327
|
-
ProjectStatus["DELETING"] = "DELETING";
|
|
328
|
-
})(ProjectStatus || (ProjectStatus = {}));
|
|
290
|
+
export const DatasetType = {
|
|
291
|
+
TEST: "TEST",
|
|
292
|
+
TRAIN: "TRAIN",
|
|
293
|
+
};
|
|
294
|
+
export const DatasetStatus = {
|
|
295
|
+
CREATE_COMPLETE: "CREATE_COMPLETE",
|
|
296
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
297
|
+
CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
|
|
298
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
299
|
+
UPDATE_COMPLETE: "UPDATE_COMPLETE",
|
|
300
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
301
|
+
UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
|
|
302
|
+
};
|
|
303
|
+
export const DatasetStatusMessageCode = {
|
|
304
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
305
|
+
SERVICE_ERROR: "SERVICE_ERROR",
|
|
306
|
+
SUCCESS: "SUCCESS",
|
|
307
|
+
};
|
|
308
|
+
export const ProjectStatus = {
|
|
309
|
+
CREATED: "CREATED",
|
|
310
|
+
CREATING: "CREATING",
|
|
311
|
+
DELETING: "DELETING",
|
|
312
|
+
};
|
|
329
313
|
export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
330
314
|
constructor(opts) {
|
|
331
315
|
super({
|
|
@@ -341,21 +325,20 @@ export class InvalidPolicyRevisionIdException extends __BaseException {
|
|
|
341
325
|
this.Logref = opts.Logref;
|
|
342
326
|
}
|
|
343
327
|
}
|
|
344
|
-
export
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
})(ProjectVersionStatus || (ProjectVersionStatus = {}));
|
|
328
|
+
export const ProjectVersionStatus = {
|
|
329
|
+
COPYING_COMPLETED: "COPYING_COMPLETED",
|
|
330
|
+
COPYING_FAILED: "COPYING_FAILED",
|
|
331
|
+
COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS",
|
|
332
|
+
DELETING: "DELETING",
|
|
333
|
+
FAILED: "FAILED",
|
|
334
|
+
RUNNING: "RUNNING",
|
|
335
|
+
STARTING: "STARTING",
|
|
336
|
+
STOPPED: "STOPPED",
|
|
337
|
+
STOPPING: "STOPPING",
|
|
338
|
+
TRAINING_COMPLETED: "TRAINING_COMPLETED",
|
|
339
|
+
TRAINING_FAILED: "TRAINING_FAILED",
|
|
340
|
+
TRAINING_IN_PROGRESS: "TRAINING_IN_PROGRESS",
|
|
341
|
+
};
|
|
359
342
|
export class InvalidPaginationTokenException extends __BaseException {
|
|
360
343
|
constructor(opts) {
|
|
361
344
|
super({
|
|
@@ -371,15 +354,14 @@ export class InvalidPaginationTokenException extends __BaseException {
|
|
|
371
354
|
this.Logref = opts.Logref;
|
|
372
355
|
}
|
|
373
356
|
}
|
|
374
|
-
export
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
})(StreamProcessorStatus || (StreamProcessorStatus = {}));
|
|
357
|
+
export const StreamProcessorStatus = {
|
|
358
|
+
FAILED: "FAILED",
|
|
359
|
+
RUNNING: "RUNNING",
|
|
360
|
+
STARTING: "STARTING",
|
|
361
|
+
STOPPED: "STOPPED",
|
|
362
|
+
STOPPING: "STOPPING",
|
|
363
|
+
UPDATING: "UPDATING",
|
|
364
|
+
};
|
|
383
365
|
export class ResourceNotReadyException extends __BaseException {
|
|
384
366
|
constructor(opts) {
|
|
385
367
|
super({
|
|
@@ -395,11 +377,10 @@ export class ResourceNotReadyException extends __BaseException {
|
|
|
395
377
|
this.Logref = opts.Logref;
|
|
396
378
|
}
|
|
397
379
|
}
|
|
398
|
-
export
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
})(DetectLabelsFeatureName || (DetectLabelsFeatureName = {}));
|
|
380
|
+
export const DetectLabelsFeatureName = {
|
|
381
|
+
GENERAL_LABELS: "GENERAL_LABELS",
|
|
382
|
+
IMAGE_PROPERTIES: "IMAGE_PROPERTIES",
|
|
383
|
+
};
|
|
403
384
|
export class HumanLoopQuotaExceededException extends __BaseException {
|
|
404
385
|
constructor(opts) {
|
|
405
386
|
super({
|
|
@@ -418,62 +399,52 @@ export class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
418
399
|
this.Logref = opts.Logref;
|
|
419
400
|
}
|
|
420
401
|
}
|
|
421
|
-
export
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
}
|
|
442
|
-
export
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
TechnicalCueType["END_CREDITS"] = "EndCredits";
|
|
468
|
-
TechnicalCueType["OPENING_CREDITS"] = "OpeningCredits";
|
|
469
|
-
TechnicalCueType["SLATE"] = "Slate";
|
|
470
|
-
TechnicalCueType["STUDIO_LOGO"] = "StudioLogo";
|
|
471
|
-
})(TechnicalCueType || (TechnicalCueType = {}));
|
|
472
|
-
export var SegmentType;
|
|
473
|
-
(function (SegmentType) {
|
|
474
|
-
SegmentType["SHOT"] = "SHOT";
|
|
475
|
-
SegmentType["TECHNICAL_CUE"] = "TECHNICAL_CUE";
|
|
476
|
-
})(SegmentType || (SegmentType = {}));
|
|
402
|
+
export const TextTypes = {
|
|
403
|
+
LINE: "LINE",
|
|
404
|
+
WORD: "WORD",
|
|
405
|
+
};
|
|
406
|
+
export const FaceAttributes = {
|
|
407
|
+
ALL: "ALL",
|
|
408
|
+
DEFAULT: "DEFAULT",
|
|
409
|
+
};
|
|
410
|
+
export const FaceSearchSortBy = {
|
|
411
|
+
INDEX: "INDEX",
|
|
412
|
+
TIMESTAMP: "TIMESTAMP",
|
|
413
|
+
};
|
|
414
|
+
export const VideoJobStatus = {
|
|
415
|
+
FAILED: "FAILED",
|
|
416
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
417
|
+
SUCCEEDED: "SUCCEEDED",
|
|
418
|
+
};
|
|
419
|
+
export const VideoColorRange = {
|
|
420
|
+
FULL: "FULL",
|
|
421
|
+
LIMITED: "LIMITED",
|
|
422
|
+
};
|
|
423
|
+
export const LabelDetectionAggregateBy = {
|
|
424
|
+
SEGMENTS: "SEGMENTS",
|
|
425
|
+
TIMESTAMPS: "TIMESTAMPS",
|
|
426
|
+
};
|
|
427
|
+
export const LabelDetectionSortBy = {
|
|
428
|
+
NAME: "NAME",
|
|
429
|
+
TIMESTAMP: "TIMESTAMP",
|
|
430
|
+
};
|
|
431
|
+
export const PersonTrackingSortBy = {
|
|
432
|
+
INDEX: "INDEX",
|
|
433
|
+
TIMESTAMP: "TIMESTAMP",
|
|
434
|
+
};
|
|
435
|
+
export const TechnicalCueType = {
|
|
436
|
+
BLACK_FRAMES: "BlackFrames",
|
|
437
|
+
COLOR_BARS: "ColorBars",
|
|
438
|
+
CONTENT: "Content",
|
|
439
|
+
END_CREDITS: "EndCredits",
|
|
440
|
+
OPENING_CREDITS: "OpeningCredits",
|
|
441
|
+
SLATE: "Slate",
|
|
442
|
+
STUDIO_LOGO: "StudioLogo",
|
|
443
|
+
};
|
|
444
|
+
export const SegmentType = {
|
|
445
|
+
SHOT: "SHOT",
|
|
446
|
+
TECHNICAL_CUE: "TECHNICAL_CUE",
|
|
447
|
+
};
|
|
477
448
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
478
449
|
constructor(opts) {
|
|
479
450
|
super({
|
|
@@ -489,20 +460,18 @@ export class IdempotentParameterMismatchException extends __BaseException {
|
|
|
489
460
|
this.Logref = opts.Logref;
|
|
490
461
|
}
|
|
491
462
|
}
|
|
492
|
-
export
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
LabelDetectionFeatureName["GENERAL_LABELS"] = "GENERAL_LABELS";
|
|
505
|
-
})(LabelDetectionFeatureName || (LabelDetectionFeatureName = {}));
|
|
463
|
+
export const Reason = {
|
|
464
|
+
EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES",
|
|
465
|
+
EXTREME_POSE: "EXTREME_POSE",
|
|
466
|
+
LOW_BRIGHTNESS: "LOW_BRIGHTNESS",
|
|
467
|
+
LOW_CONFIDENCE: "LOW_CONFIDENCE",
|
|
468
|
+
LOW_FACE_QUALITY: "LOW_FACE_QUALITY",
|
|
469
|
+
LOW_SHARPNESS: "LOW_SHARPNESS",
|
|
470
|
+
SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX",
|
|
471
|
+
};
|
|
472
|
+
export const LabelDetectionFeatureName = {
|
|
473
|
+
GENERAL_LABELS: "GENERAL_LABELS",
|
|
474
|
+
};
|
|
506
475
|
export class MalformedPolicyDocumentException extends __BaseException {
|
|
507
476
|
constructor(opts) {
|
|
508
477
|
super({
|
|
@@ -533,8 +502,7 @@ export class VideoTooLargeException extends __BaseException {
|
|
|
533
502
|
this.Logref = opts.Logref;
|
|
534
503
|
}
|
|
535
504
|
}
|
|
536
|
-
export
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
})(StreamProcessorParameterToDelete || (StreamProcessorParameterToDelete = {}));
|
|
505
|
+
export const StreamProcessorParameterToDelete = {
|
|
506
|
+
ConnectedHomeMinConfidence: "ConnectedHomeMinConfidence",
|
|
507
|
+
RegionsOfInterest: "RegionsOfInterest",
|
|
508
|
+
};
|