@aws-sdk/client-rekognition 3.348.0 → 3.351.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/README.md +98 -7
- package/dist-cjs/Rekognition.js +14 -0
- package/dist-cjs/commands/AssociateFacesCommand.js +46 -0
- package/dist-cjs/commands/CreateUserCommand.js +46 -0
- package/dist-cjs/commands/DeleteUserCommand.js +46 -0
- package/dist-cjs/commands/DisassociateFacesCommand.js +46 -0
- package/dist-cjs/commands/ListUsersCommand.js +46 -0
- package/dist-cjs/commands/SearchUsersByImageCommand.js +46 -0
- package/dist-cjs/commands/SearchUsersCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +159 -130
- package/dist-cjs/models/models_1.js +18 -1
- package/dist-cjs/pagination/ListUsersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +565 -4
- package/dist-es/Rekognition.js +14 -0
- package/dist-es/commands/AssociateFacesCommand.js +42 -0
- package/dist-es/commands/CreateUserCommand.js +42 -0
- package/dist-es/commands/DeleteUserCommand.js +42 -0
- package/dist-es/commands/DisassociateFacesCommand.js +42 -0
- package/dist-es/commands/ListUsersCommand.js +42 -0
- package/dist-es/commands/SearchUsersByImageCommand.js +42 -0
- package/dist-es/commands/SearchUsersCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +149 -120
- package/dist-es/models/models_1.js +16 -0
- package/dist-es/pagination/ListUsersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +548 -1
- package/dist-types/Rekognition.d.ts +84 -0
- package/dist-types/RekognitionClient.d.ts +44 -2
- package/dist-types/commands/AssociateFacesCommand.d.ts +158 -0
- package/dist-types/commands/CreateUserCommand.d.ts +114 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +9 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +106 -0
- package/dist-types/commands/DescribeCollectionCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateFacesCommand.d.ts +128 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +1 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +1 -0
- package/dist-types/commands/ListFacesCommand.d.ts +5 -0
- package/dist-types/commands/ListUsersCommand.d.ts +108 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +1 -0
- package/dist-types/commands/SearchFacesCommand.d.ts +1 -0
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +294 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +117 -0
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +2 -1
- package/dist-types/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartFaceSearchCommand.d.ts +1 -1
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +1 -1
- package/dist-types/commands/StartProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/StartTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StopProjectVersionCommand.d.ts +1 -1
- package/dist-types/commands/StopStreamProcessorCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +35 -0
- package/dist-types/models/models_0.d.ts +668 -604
- package/dist-types/models/models_1.d.ts +562 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
- package/dist-types/ts3.4/Rekognition.d.ts +119 -0
- package/dist-types/ts3.4/RekognitionClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateFacesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisassociateFacesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartContentModerationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartFaceDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartFaceSearchCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartLabelDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPersonTrackingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartProjectVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartSegmentDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartStreamProcessorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartTextDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopProjectVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopStreamProcessorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +236 -206
- package/dist-types/ts3.4/models/models_1.d.ts +150 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
- package/package.json +7 -5
|
@@ -28,6 +28,125 @@ export interface GroundTruthManifest {
|
|
|
28
28
|
export interface Asset {
|
|
29
29
|
GroundTruthManifest?: GroundTruthManifest;
|
|
30
30
|
}
|
|
31
|
+
export interface AssociatedFace {
|
|
32
|
+
FaceId?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface AssociateFacesRequest {
|
|
35
|
+
CollectionId: string | undefined;
|
|
36
|
+
UserId: string | undefined;
|
|
37
|
+
FaceIds: string[] | undefined;
|
|
38
|
+
UserMatchThreshold?: number;
|
|
39
|
+
ClientRequestToken?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const UnsuccessfulFaceAssociationReason: {
|
|
42
|
+
readonly ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER";
|
|
43
|
+
readonly FACE_NOT_FOUND: "FACE_NOT_FOUND";
|
|
44
|
+
readonly LOW_MATCH_CONFIDENCE: "LOW_MATCH_CONFIDENCE";
|
|
45
|
+
};
|
|
46
|
+
export type UnsuccessfulFaceAssociationReason =
|
|
47
|
+
(typeof UnsuccessfulFaceAssociationReason)[keyof typeof UnsuccessfulFaceAssociationReason];
|
|
48
|
+
export interface UnsuccessfulFaceAssociation {
|
|
49
|
+
FaceId?: string;
|
|
50
|
+
UserId?: string;
|
|
51
|
+
Confidence?: number;
|
|
52
|
+
Reasons?: (UnsuccessfulFaceAssociationReason | string)[];
|
|
53
|
+
}
|
|
54
|
+
export declare const UserStatus: {
|
|
55
|
+
readonly ACTIVE: "ACTIVE";
|
|
56
|
+
readonly CREATED: "CREATED";
|
|
57
|
+
readonly CREATING: "CREATING";
|
|
58
|
+
readonly UPDATING: "UPDATING";
|
|
59
|
+
};
|
|
60
|
+
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
|
|
61
|
+
export interface AssociateFacesResponse {
|
|
62
|
+
AssociatedFaces?: AssociatedFace[];
|
|
63
|
+
UnsuccessfulFaceAssociations?: UnsuccessfulFaceAssociation[];
|
|
64
|
+
UserStatus?: UserStatus | string;
|
|
65
|
+
}
|
|
66
|
+
export declare class ConflictException extends __BaseException {
|
|
67
|
+
readonly name: "ConflictException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
Message?: string;
|
|
70
|
+
Code?: string;
|
|
71
|
+
Logref?: string;
|
|
72
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
73
|
+
}
|
|
74
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
75
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string;
|
|
78
|
+
Code?: string;
|
|
79
|
+
Logref?: string;
|
|
80
|
+
constructor(
|
|
81
|
+
opts: __ExceptionOptionType<
|
|
82
|
+
IdempotentParameterMismatchException,
|
|
83
|
+
__BaseException
|
|
84
|
+
>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
export declare class InternalServerError extends __BaseException {
|
|
88
|
+
readonly name: "InternalServerError";
|
|
89
|
+
readonly $fault: "server";
|
|
90
|
+
Message?: string;
|
|
91
|
+
Code?: string;
|
|
92
|
+
Logref?: string;
|
|
93
|
+
constructor(
|
|
94
|
+
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
98
|
+
readonly name: "InvalidParameterException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
Message?: string;
|
|
101
|
+
Code?: string;
|
|
102
|
+
Logref?: string;
|
|
103
|
+
constructor(
|
|
104
|
+
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
108
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
109
|
+
readonly $fault: "client";
|
|
110
|
+
Message?: string;
|
|
111
|
+
Code?: string;
|
|
112
|
+
Logref?: string;
|
|
113
|
+
constructor(
|
|
114
|
+
opts: __ExceptionOptionType<
|
|
115
|
+
ProvisionedThroughputExceededException,
|
|
116
|
+
__BaseException
|
|
117
|
+
>
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
121
|
+
readonly name: "ResourceNotFoundException";
|
|
122
|
+
readonly $fault: "client";
|
|
123
|
+
Message?: string;
|
|
124
|
+
Code?: string;
|
|
125
|
+
Logref?: string;
|
|
126
|
+
constructor(
|
|
127
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
131
|
+
readonly name: "ServiceQuotaExceededException";
|
|
132
|
+
readonly $fault: "client";
|
|
133
|
+
Message?: string;
|
|
134
|
+
Code?: string;
|
|
135
|
+
Logref?: string;
|
|
136
|
+
constructor(
|
|
137
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
export declare class ThrottlingException extends __BaseException {
|
|
141
|
+
readonly name: "ThrottlingException";
|
|
142
|
+
readonly $fault: "server";
|
|
143
|
+
Message?: string;
|
|
144
|
+
Code?: string;
|
|
145
|
+
Logref?: string;
|
|
146
|
+
constructor(
|
|
147
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
31
150
|
export declare const Attribute: {
|
|
32
151
|
readonly AGE_RANGE: "AGE_RANGE";
|
|
33
152
|
readonly ALL: "ALL";
|
|
@@ -321,16 +440,6 @@ export declare class ImageTooLargeException extends __BaseException {
|
|
|
321
440
|
opts: __ExceptionOptionType<ImageTooLargeException, __BaseException>
|
|
322
441
|
);
|
|
323
442
|
}
|
|
324
|
-
export declare class InternalServerError extends __BaseException {
|
|
325
|
-
readonly name: "InternalServerError";
|
|
326
|
-
readonly $fault: "server";
|
|
327
|
-
Message?: string;
|
|
328
|
-
Code?: string;
|
|
329
|
-
Logref?: string;
|
|
330
|
-
constructor(
|
|
331
|
-
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
332
|
-
);
|
|
333
|
-
}
|
|
334
443
|
export declare class InvalidImageFormatException extends __BaseException {
|
|
335
444
|
readonly name: "InvalidImageFormatException";
|
|
336
445
|
readonly $fault: "client";
|
|
@@ -341,16 +450,6 @@ export declare class InvalidImageFormatException extends __BaseException {
|
|
|
341
450
|
opts: __ExceptionOptionType<InvalidImageFormatException, __BaseException>
|
|
342
451
|
);
|
|
343
452
|
}
|
|
344
|
-
export declare class InvalidParameterException extends __BaseException {
|
|
345
|
-
readonly name: "InvalidParameterException";
|
|
346
|
-
readonly $fault: "client";
|
|
347
|
-
Message?: string;
|
|
348
|
-
Code?: string;
|
|
349
|
-
Logref?: string;
|
|
350
|
-
constructor(
|
|
351
|
-
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
352
|
-
);
|
|
353
|
-
}
|
|
354
453
|
export declare class InvalidS3ObjectException extends __BaseException {
|
|
355
454
|
readonly name: "InvalidS3ObjectException";
|
|
356
455
|
readonly $fault: "client";
|
|
@@ -361,29 +460,6 @@ export declare class InvalidS3ObjectException extends __BaseException {
|
|
|
361
460
|
opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>
|
|
362
461
|
);
|
|
363
462
|
}
|
|
364
|
-
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
365
|
-
readonly name: "ProvisionedThroughputExceededException";
|
|
366
|
-
readonly $fault: "client";
|
|
367
|
-
Message?: string;
|
|
368
|
-
Code?: string;
|
|
369
|
-
Logref?: string;
|
|
370
|
-
constructor(
|
|
371
|
-
opts: __ExceptionOptionType<
|
|
372
|
-
ProvisionedThroughputExceededException,
|
|
373
|
-
__BaseException
|
|
374
|
-
>
|
|
375
|
-
);
|
|
376
|
-
}
|
|
377
|
-
export declare class ThrottlingException extends __BaseException {
|
|
378
|
-
readonly name: "ThrottlingException";
|
|
379
|
-
readonly $fault: "server";
|
|
380
|
-
Message?: string;
|
|
381
|
-
Code?: string;
|
|
382
|
-
Logref?: string;
|
|
383
|
-
constructor(
|
|
384
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
385
|
-
);
|
|
386
|
-
}
|
|
387
463
|
export interface ConnectedHomeSettings {
|
|
388
464
|
Labels: string[] | undefined;
|
|
389
465
|
MinConfidence?: number;
|
|
@@ -458,26 +534,6 @@ export declare class ResourceInUseException extends __BaseException {
|
|
|
458
534
|
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
459
535
|
);
|
|
460
536
|
}
|
|
461
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
462
|
-
readonly name: "ResourceNotFoundException";
|
|
463
|
-
readonly $fault: "client";
|
|
464
|
-
Message?: string;
|
|
465
|
-
Code?: string;
|
|
466
|
-
Logref?: string;
|
|
467
|
-
constructor(
|
|
468
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
469
|
-
);
|
|
470
|
-
}
|
|
471
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
472
|
-
readonly name: "ServiceQuotaExceededException";
|
|
473
|
-
readonly $fault: "client";
|
|
474
|
-
Message?: string;
|
|
475
|
-
Code?: string;
|
|
476
|
-
Logref?: string;
|
|
477
|
-
constructor(
|
|
478
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
479
|
-
);
|
|
480
|
-
}
|
|
481
537
|
export interface CreateCollectionRequest {
|
|
482
538
|
CollectionId: string | undefined;
|
|
483
539
|
Tags?: Record<string, string>;
|
|
@@ -609,6 +665,12 @@ export interface CreateStreamProcessorRequest {
|
|
|
609
665
|
export interface CreateStreamProcessorResponse {
|
|
610
666
|
StreamProcessorArn?: string;
|
|
611
667
|
}
|
|
668
|
+
export interface CreateUserRequest {
|
|
669
|
+
CollectionId: string | undefined;
|
|
670
|
+
UserId: string | undefined;
|
|
671
|
+
ClientRequestToken?: string;
|
|
672
|
+
}
|
|
673
|
+
export interface CreateUserResponse {}
|
|
612
674
|
export interface Geometry {
|
|
613
675
|
BoundingBox?: BoundingBox;
|
|
614
676
|
Polygon?: Point[];
|
|
@@ -682,8 +744,20 @@ export interface DeleteFacesRequest {
|
|
|
682
744
|
CollectionId: string | undefined;
|
|
683
745
|
FaceIds: string[] | undefined;
|
|
684
746
|
}
|
|
747
|
+
export declare const UnsuccessfulFaceDeletionReason: {
|
|
748
|
+
readonly ASSOCIATED_TO_AN_EXISTING_USER: "ASSOCIATED_TO_AN_EXISTING_USER";
|
|
749
|
+
readonly FACE_NOT_FOUND: "FACE_NOT_FOUND";
|
|
750
|
+
};
|
|
751
|
+
export type UnsuccessfulFaceDeletionReason =
|
|
752
|
+
(typeof UnsuccessfulFaceDeletionReason)[keyof typeof UnsuccessfulFaceDeletionReason];
|
|
753
|
+
export interface UnsuccessfulFaceDeletion {
|
|
754
|
+
FaceId?: string;
|
|
755
|
+
UserId?: string;
|
|
756
|
+
Reasons?: (UnsuccessfulFaceDeletionReason | string)[];
|
|
757
|
+
}
|
|
685
758
|
export interface DeleteFacesResponse {
|
|
686
759
|
DeletedFaces?: string[];
|
|
760
|
+
UnsuccessfulFaceDeletions?: UnsuccessfulFaceDeletion[];
|
|
687
761
|
}
|
|
688
762
|
export interface DeleteProjectRequest {
|
|
689
763
|
ProjectArn: string | undefined;
|
|
@@ -742,6 +816,12 @@ export interface DeleteStreamProcessorRequest {
|
|
|
742
816
|
Name: string | undefined;
|
|
743
817
|
}
|
|
744
818
|
export interface DeleteStreamProcessorResponse {}
|
|
819
|
+
export interface DeleteUserRequest {
|
|
820
|
+
CollectionId: string | undefined;
|
|
821
|
+
UserId: string | undefined;
|
|
822
|
+
ClientRequestToken?: string;
|
|
823
|
+
}
|
|
824
|
+
export interface DeleteUserResponse {}
|
|
745
825
|
export interface DescribeCollectionRequest {
|
|
746
826
|
CollectionId: string | undefined;
|
|
747
827
|
}
|
|
@@ -750,6 +830,7 @@ export interface DescribeCollectionResponse {
|
|
|
750
830
|
FaceModelVersion?: string;
|
|
751
831
|
CollectionARN?: string;
|
|
752
832
|
CreationTimestamp?: Date;
|
|
833
|
+
UserCount?: number;
|
|
753
834
|
}
|
|
754
835
|
export interface DescribeDatasetRequest {
|
|
755
836
|
DatasetArn: string | undefined;
|
|
@@ -1063,6 +1144,31 @@ export interface DetectTextResponse {
|
|
|
1063
1144
|
TextDetections?: TextDetection[];
|
|
1064
1145
|
TextModelVersion?: string;
|
|
1065
1146
|
}
|
|
1147
|
+
export interface DisassociatedFace {
|
|
1148
|
+
FaceId?: string;
|
|
1149
|
+
}
|
|
1150
|
+
export interface DisassociateFacesRequest {
|
|
1151
|
+
CollectionId: string | undefined;
|
|
1152
|
+
UserId: string | undefined;
|
|
1153
|
+
ClientRequestToken?: string;
|
|
1154
|
+
FaceIds: string[] | undefined;
|
|
1155
|
+
}
|
|
1156
|
+
export declare const UnsuccessfulFaceDisassociationReason: {
|
|
1157
|
+
readonly ASSOCIATED_TO_A_DIFFERENT_USER: "ASSOCIATED_TO_A_DIFFERENT_USER";
|
|
1158
|
+
readonly FACE_NOT_FOUND: "FACE_NOT_FOUND";
|
|
1159
|
+
};
|
|
1160
|
+
export type UnsuccessfulFaceDisassociationReason =
|
|
1161
|
+
(typeof UnsuccessfulFaceDisassociationReason)[keyof typeof UnsuccessfulFaceDisassociationReason];
|
|
1162
|
+
export interface UnsuccessfulFaceDisassociation {
|
|
1163
|
+
FaceId?: string;
|
|
1164
|
+
UserId?: string;
|
|
1165
|
+
Reasons?: (UnsuccessfulFaceDisassociationReason | string)[];
|
|
1166
|
+
}
|
|
1167
|
+
export interface DisassociateFacesResponse {
|
|
1168
|
+
DisassociatedFaces?: DisassociatedFace[];
|
|
1169
|
+
UnsuccessfulFaceDisassociations?: UnsuccessfulFaceDisassociation[];
|
|
1170
|
+
UserStatus?: UserStatus | string;
|
|
1171
|
+
}
|
|
1066
1172
|
export interface DistributeDataset {
|
|
1067
1173
|
Arn: string | undefined;
|
|
1068
1174
|
}
|
|
@@ -1077,6 +1183,7 @@ export interface Face {
|
|
|
1077
1183
|
ExternalImageId?: string;
|
|
1078
1184
|
Confidence?: number;
|
|
1079
1185
|
IndexFacesModelVersion?: string;
|
|
1186
|
+
UserId?: string;
|
|
1080
1187
|
}
|
|
1081
1188
|
export declare const FaceAttributes: {
|
|
1082
1189
|
readonly ALL: "ALL";
|
|
@@ -1391,19 +1498,6 @@ export interface GetTextDetectionResponse {
|
|
|
1391
1498
|
Video?: Video;
|
|
1392
1499
|
JobTag?: string;
|
|
1393
1500
|
}
|
|
1394
|
-
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
1395
|
-
readonly name: "IdempotentParameterMismatchException";
|
|
1396
|
-
readonly $fault: "client";
|
|
1397
|
-
Message?: string;
|
|
1398
|
-
Code?: string;
|
|
1399
|
-
Logref?: string;
|
|
1400
|
-
constructor(
|
|
1401
|
-
opts: __ExceptionOptionType<
|
|
1402
|
-
IdempotentParameterMismatchException,
|
|
1403
|
-
__BaseException
|
|
1404
|
-
>
|
|
1405
|
-
);
|
|
1406
|
-
}
|
|
1407
1501
|
export interface IndexFacesRequest {
|
|
1408
1502
|
CollectionId: string | undefined;
|
|
1409
1503
|
Image: Image | undefined;
|
|
@@ -1479,6 +1573,8 @@ export interface ListFacesRequest {
|
|
|
1479
1573
|
CollectionId: string | undefined;
|
|
1480
1574
|
NextToken?: string;
|
|
1481
1575
|
MaxResults?: number;
|
|
1576
|
+
UserId?: string;
|
|
1577
|
+
FaceIds?: string[];
|
|
1482
1578
|
}
|
|
1483
1579
|
export interface ListFacesResponse {
|
|
1484
1580
|
Faces?: Face[];
|
|
@@ -1520,6 +1616,19 @@ export interface ListTagsForResourceRequest {
|
|
|
1520
1616
|
export interface ListTagsForResourceResponse {
|
|
1521
1617
|
Tags?: Record<string, string>;
|
|
1522
1618
|
}
|
|
1619
|
+
export interface ListUsersRequest {
|
|
1620
|
+
CollectionId: string | undefined;
|
|
1621
|
+
MaxResults?: number;
|
|
1622
|
+
NextToken?: string;
|
|
1623
|
+
}
|
|
1624
|
+
export interface User {
|
|
1625
|
+
UserId?: string;
|
|
1626
|
+
UserStatus?: UserStatus | string;
|
|
1627
|
+
}
|
|
1628
|
+
export interface ListUsersResponse {
|
|
1629
|
+
Users?: User[];
|
|
1630
|
+
NextToken?: string;
|
|
1631
|
+
}
|
|
1523
1632
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
1524
1633
|
readonly name: "MalformedPolicyDocumentException";
|
|
1525
1634
|
readonly $fault: "client";
|
|
@@ -1533,6 +1642,10 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
1533
1642
|
>
|
|
1534
1643
|
);
|
|
1535
1644
|
}
|
|
1645
|
+
export interface MatchedUser {
|
|
1646
|
+
UserId?: string;
|
|
1647
|
+
UserStatus?: UserStatus | string;
|
|
1648
|
+
}
|
|
1536
1649
|
export interface NotificationChannel {
|
|
1537
1650
|
SNSTopicArn: string | undefined;
|
|
1538
1651
|
RoleArn: string | undefined;
|
|
@@ -1578,150 +1691,67 @@ export interface SearchFacesByImageResponse {
|
|
|
1578
1691
|
FaceMatches?: FaceMatch[];
|
|
1579
1692
|
FaceModelVersion?: string;
|
|
1580
1693
|
}
|
|
1581
|
-
export interface
|
|
1582
|
-
Video: Video | undefined;
|
|
1583
|
-
ClientRequestToken?: string;
|
|
1584
|
-
NotificationChannel?: NotificationChannel;
|
|
1585
|
-
JobTag?: string;
|
|
1586
|
-
}
|
|
1587
|
-
export interface StartCelebrityRecognitionResponse {
|
|
1588
|
-
JobId?: string;
|
|
1589
|
-
}
|
|
1590
|
-
export declare class VideoTooLargeException extends __BaseException {
|
|
1591
|
-
readonly name: "VideoTooLargeException";
|
|
1592
|
-
readonly $fault: "client";
|
|
1593
|
-
Message?: string;
|
|
1594
|
-
Code?: string;
|
|
1595
|
-
Logref?: string;
|
|
1596
|
-
constructor(
|
|
1597
|
-
opts: __ExceptionOptionType<VideoTooLargeException, __BaseException>
|
|
1598
|
-
);
|
|
1599
|
-
}
|
|
1600
|
-
export interface StartContentModerationRequest {
|
|
1601
|
-
Video: Video | undefined;
|
|
1602
|
-
MinConfidence?: number;
|
|
1603
|
-
ClientRequestToken?: string;
|
|
1604
|
-
NotificationChannel?: NotificationChannel;
|
|
1605
|
-
JobTag?: string;
|
|
1606
|
-
}
|
|
1607
|
-
export interface StartContentModerationResponse {
|
|
1608
|
-
JobId?: string;
|
|
1609
|
-
}
|
|
1610
|
-
export interface StartFaceDetectionRequest {
|
|
1611
|
-
Video: Video | undefined;
|
|
1612
|
-
ClientRequestToken?: string;
|
|
1613
|
-
NotificationChannel?: NotificationChannel;
|
|
1614
|
-
FaceAttributes?: FaceAttributes | string;
|
|
1615
|
-
JobTag?: string;
|
|
1616
|
-
}
|
|
1617
|
-
export interface StartFaceDetectionResponse {
|
|
1618
|
-
JobId?: string;
|
|
1619
|
-
}
|
|
1620
|
-
export interface StartFaceSearchRequest {
|
|
1621
|
-
Video: Video | undefined;
|
|
1622
|
-
ClientRequestToken?: string;
|
|
1623
|
-
FaceMatchThreshold?: number;
|
|
1694
|
+
export interface SearchUsersRequest {
|
|
1624
1695
|
CollectionId: string | undefined;
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
JobId?: string;
|
|
1630
|
-
}
|
|
1631
|
-
export interface StartLabelDetectionRequest {
|
|
1632
|
-
Video: Video | undefined;
|
|
1633
|
-
ClientRequestToken?: string;
|
|
1634
|
-
MinConfidence?: number;
|
|
1635
|
-
NotificationChannel?: NotificationChannel;
|
|
1636
|
-
JobTag?: string;
|
|
1637
|
-
Features?: (LabelDetectionFeatureName | string)[];
|
|
1638
|
-
Settings?: LabelDetectionSettings;
|
|
1639
|
-
}
|
|
1640
|
-
export interface StartLabelDetectionResponse {
|
|
1641
|
-
JobId?: string;
|
|
1642
|
-
}
|
|
1643
|
-
export interface StartPersonTrackingRequest {
|
|
1644
|
-
Video: Video | undefined;
|
|
1645
|
-
ClientRequestToken?: string;
|
|
1646
|
-
NotificationChannel?: NotificationChannel;
|
|
1647
|
-
JobTag?: string;
|
|
1648
|
-
}
|
|
1649
|
-
export interface StartPersonTrackingResponse {
|
|
1650
|
-
JobId?: string;
|
|
1651
|
-
}
|
|
1652
|
-
export interface StartProjectVersionRequest {
|
|
1653
|
-
ProjectVersionArn: string | undefined;
|
|
1654
|
-
MinInferenceUnits: number | undefined;
|
|
1655
|
-
MaxInferenceUnits?: number;
|
|
1656
|
-
}
|
|
1657
|
-
export interface StartProjectVersionResponse {
|
|
1658
|
-
Status?: ProjectVersionStatus | string;
|
|
1659
|
-
}
|
|
1660
|
-
export interface StartShotDetectionFilter {
|
|
1661
|
-
MinSegmentConfidence?: number;
|
|
1662
|
-
}
|
|
1663
|
-
export interface StartTechnicalCueDetectionFilter {
|
|
1664
|
-
MinSegmentConfidence?: number;
|
|
1665
|
-
BlackFrame?: BlackFrame;
|
|
1666
|
-
}
|
|
1667
|
-
export interface StartSegmentDetectionFilters {
|
|
1668
|
-
TechnicalCueFilter?: StartTechnicalCueDetectionFilter;
|
|
1669
|
-
ShotFilter?: StartShotDetectionFilter;
|
|
1696
|
+
UserId?: string;
|
|
1697
|
+
FaceId?: string;
|
|
1698
|
+
UserMatchThreshold?: number;
|
|
1699
|
+
MaxUsers?: number;
|
|
1670
1700
|
}
|
|
1671
|
-
export interface
|
|
1672
|
-
|
|
1673
|
-
ClientRequestToken?: string;
|
|
1674
|
-
NotificationChannel?: NotificationChannel;
|
|
1675
|
-
JobTag?: string;
|
|
1676
|
-
Filters?: StartSegmentDetectionFilters;
|
|
1677
|
-
SegmentTypes: (SegmentType | string)[] | undefined;
|
|
1701
|
+
export interface SearchedFace {
|
|
1702
|
+
FaceId?: string;
|
|
1678
1703
|
}
|
|
1679
|
-
export interface
|
|
1680
|
-
|
|
1704
|
+
export interface SearchedUser {
|
|
1705
|
+
UserId?: string;
|
|
1681
1706
|
}
|
|
1682
|
-
export interface
|
|
1683
|
-
|
|
1707
|
+
export interface UserMatch {
|
|
1708
|
+
Similarity?: number;
|
|
1709
|
+
User?: MatchedUser;
|
|
1684
1710
|
}
|
|
1685
|
-
export interface
|
|
1686
|
-
|
|
1711
|
+
export interface SearchUsersResponse {
|
|
1712
|
+
UserMatches?: UserMatch[];
|
|
1713
|
+
FaceModelVersion?: string;
|
|
1714
|
+
SearchedFace?: SearchedFace;
|
|
1715
|
+
SearchedUser?: SearchedUser;
|
|
1687
1716
|
}
|
|
1688
|
-
export interface
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1717
|
+
export interface SearchUsersByImageRequest {
|
|
1718
|
+
CollectionId: string | undefined;
|
|
1719
|
+
Image: Image | undefined;
|
|
1720
|
+
UserMatchThreshold?: number;
|
|
1721
|
+
MaxUsers?: number;
|
|
1722
|
+
QualityFilter?: QualityFilter | string;
|
|
1692
1723
|
}
|
|
1693
|
-
export interface
|
|
1694
|
-
|
|
1724
|
+
export interface SearchedFaceDetails {
|
|
1725
|
+
FaceDetail?: FaceDetail;
|
|
1695
1726
|
}
|
|
1696
|
-
export
|
|
1697
|
-
|
|
1698
|
-
|
|
1727
|
+
export declare const UnsearchedFaceReason: {
|
|
1728
|
+
readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
|
|
1729
|
+
readonly EXTREME_POSE: "EXTREME_POSE";
|
|
1730
|
+
readonly FACE_NOT_LARGEST: "FACE_NOT_LARGEST";
|
|
1731
|
+
readonly LOW_BRIGHTNESS: "LOW_BRIGHTNESS";
|
|
1732
|
+
readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
|
|
1733
|
+
readonly LOW_FACE_QUALITY: "LOW_FACE_QUALITY";
|
|
1734
|
+
readonly LOW_SHARPNESS: "LOW_SHARPNESS";
|
|
1735
|
+
readonly SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX";
|
|
1736
|
+
};
|
|
1737
|
+
export type UnsearchedFaceReason =
|
|
1738
|
+
(typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
|
|
1739
|
+
export interface UnsearchedFace {
|
|
1740
|
+
FaceDetails?: FaceDetail;
|
|
1741
|
+
Reasons?: (UnsearchedFaceReason | string)[];
|
|
1742
|
+
}
|
|
1743
|
+
export interface SearchUsersByImageResponse {
|
|
1744
|
+
UserMatches?: UserMatch[];
|
|
1745
|
+
FaceModelVersion?: string;
|
|
1746
|
+
SearchedFace?: SearchedFaceDetails;
|
|
1747
|
+
UnsearchedFaces?: UnsearchedFace[];
|
|
1699
1748
|
}
|
|
1700
|
-
export interface
|
|
1749
|
+
export interface StartCelebrityRecognitionRequest {
|
|
1701
1750
|
Video: Video | undefined;
|
|
1702
1751
|
ClientRequestToken?: string;
|
|
1703
1752
|
NotificationChannel?: NotificationChannel;
|
|
1704
1753
|
JobTag?: string;
|
|
1705
|
-
Filters?: StartTextDetectionFilters;
|
|
1706
|
-
}
|
|
1707
|
-
export interface StartTextDetectionResponse {
|
|
1708
|
-
JobId?: string;
|
|
1709
|
-
}
|
|
1710
|
-
export interface StopProjectVersionRequest {
|
|
1711
|
-
ProjectVersionArn: string | undefined;
|
|
1712
|
-
}
|
|
1713
|
-
export interface StopProjectVersionResponse {
|
|
1714
|
-
Status?: ProjectVersionStatus | string;
|
|
1715
|
-
}
|
|
1716
|
-
export interface StopStreamProcessorRequest {
|
|
1717
|
-
Name: string | undefined;
|
|
1718
|
-
}
|
|
1719
|
-
export interface StopStreamProcessorResponse {}
|
|
1720
|
-
export interface TagResourceRequest {
|
|
1721
|
-
ResourceArn: string | undefined;
|
|
1722
|
-
Tags: Record<string, string> | undefined;
|
|
1723
1754
|
}
|
|
1724
|
-
export interface TagResourceResponse {}
|
|
1725
1755
|
export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
|
|
1726
1756
|
export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
|
|
1727
1757
|
obj: GetFaceLivenessSessionResultsResponse
|