@aws-sdk/client-rekognition 3.427.0 → 3.429.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 +12 -12
- package/dist-cjs/models/models_1.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +48 -1
- package/dist-es/models/models_0.js +10 -10
- package/dist-es/models/models_1.js +10 -0
- package/dist-es/protocols/Aws_json1_1.js +48 -1
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +12 -5
- package/dist-types/commands/CreateDatasetCommand.d.ts +9 -4
- package/dist-types/commands/CreateProjectCommand.d.ts +13 -6
- package/dist-types/commands/CreateProjectVersionCommand.d.ts +29 -22
- package/dist-types/commands/CreateStreamProcessorCommand.d.ts +5 -3
- package/dist-types/commands/DeleteDatasetCommand.d.ts +9 -4
- package/dist-types/commands/DeleteProjectCommand.d.ts +2 -2
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +4 -1
- package/dist-types/commands/DeleteProjectVersionCommand.d.ts +6 -7
- package/dist-types/commands/DescribeDatasetCommand.d.ts +4 -1
- package/dist-types/commands/DescribeProjectVersionsCommand.d.ts +12 -4
- package/dist-types/commands/DescribeProjectsCommand.d.ts +6 -1
- package/dist-types/commands/DetectCustomLabelsCommand.d.ts +9 -4
- package/dist-types/commands/DetectModerationLabelsCommand.d.ts +12 -0
- package/dist-types/commands/DistributeDatasetEntriesCommand.d.ts +4 -1
- package/dist-types/commands/ListDatasetEntriesCommand.d.ts +4 -1
- package/dist-types/commands/ListDatasetLabelsCommand.d.ts +4 -1
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +4 -1
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +12 -6
- package/dist-types/commands/SearchUsersByImageCommand.d.ts +2 -1
- package/dist-types/commands/StartCelebrityRecognitionCommand.d.ts +6 -5
- package/dist-types/commands/StartContentModerationCommand.d.ts +5 -3
- package/dist-types/commands/StartFaceDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StartFaceSearchCommand.d.ts +5 -3
- package/dist-types/commands/StartLabelDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StartPersonTrackingCommand.d.ts +5 -3
- package/dist-types/commands/StartProjectVersionCommand.d.ts +11 -7
- package/dist-types/commands/StartSegmentDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StartTextDetectionCommand.d.ts +5 -3
- package/dist-types/commands/StopProjectVersionCommand.d.ts +7 -3
- package/dist-types/commands/UpdateDatasetEntriesCommand.d.ts +9 -4
- package/dist-types/models/models_0.d.ts +253 -241
- package/dist-types/models/models_1.d.ts +130 -13
- package/dist-types/ts3.4/commands/SearchUsersByImageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartCelebrityRecognitionCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +99 -94
- package/dist-types/ts3.4/models/models_1.d.ts +37 -6
- package/package.json +32 -32
|
@@ -49,7 +49,7 @@ export interface UnsuccessfulFaceAssociation {
|
|
|
49
49
|
FaceId?: string;
|
|
50
50
|
UserId?: string;
|
|
51
51
|
Confidence?: number;
|
|
52
|
-
Reasons?:
|
|
52
|
+
Reasons?: UnsuccessfulFaceAssociationReason[];
|
|
53
53
|
}
|
|
54
54
|
export declare const UserStatus: {
|
|
55
55
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -61,7 +61,7 @@ export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus];
|
|
|
61
61
|
export interface AssociateFacesResponse {
|
|
62
62
|
AssociatedFaces?: AssociatedFace[];
|
|
63
63
|
UnsuccessfulFaceAssociations?: UnsuccessfulFaceAssociation[];
|
|
64
|
-
UserStatus?: UserStatus
|
|
64
|
+
UserStatus?: UserStatus;
|
|
65
65
|
}
|
|
66
66
|
export declare class ConflictException extends __BaseException {
|
|
67
67
|
readonly name: "ConflictException";
|
|
@@ -210,11 +210,11 @@ export type ProtectiveEquipmentType =
|
|
|
210
210
|
export interface EquipmentDetection {
|
|
211
211
|
BoundingBox?: BoundingBox;
|
|
212
212
|
Confidence?: number;
|
|
213
|
-
Type?: ProtectiveEquipmentType
|
|
213
|
+
Type?: ProtectiveEquipmentType;
|
|
214
214
|
CoversBodyPart?: CoversBodyPart;
|
|
215
215
|
}
|
|
216
216
|
export interface ProtectiveEquipmentBodyPart {
|
|
217
|
-
Name?: BodyPart
|
|
217
|
+
Name?: BodyPart;
|
|
218
218
|
Confidence?: number;
|
|
219
219
|
EquipmentDetections?: EquipmentDetection[];
|
|
220
220
|
}
|
|
@@ -231,7 +231,7 @@ export declare const EmotionName: {
|
|
|
231
231
|
};
|
|
232
232
|
export type EmotionName = (typeof EmotionName)[keyof typeof EmotionName];
|
|
233
233
|
export interface Emotion {
|
|
234
|
-
Type?: EmotionName
|
|
234
|
+
Type?: EmotionName;
|
|
235
235
|
Confidence?: number;
|
|
236
236
|
}
|
|
237
237
|
export declare const LandmarkType: {
|
|
@@ -268,7 +268,7 @@ export declare const LandmarkType: {
|
|
|
268
268
|
};
|
|
269
269
|
export type LandmarkType = (typeof LandmarkType)[keyof typeof LandmarkType];
|
|
270
270
|
export interface Landmark {
|
|
271
|
-
Type?: LandmarkType
|
|
271
|
+
Type?: LandmarkType;
|
|
272
272
|
X?: number;
|
|
273
273
|
Y?: number;
|
|
274
274
|
}
|
|
@@ -303,7 +303,7 @@ export declare const KnownGenderType: {
|
|
|
303
303
|
export type KnownGenderType =
|
|
304
304
|
(typeof KnownGenderType)[keyof typeof KnownGenderType];
|
|
305
305
|
export interface KnownGender {
|
|
306
|
-
Type?: KnownGenderType
|
|
306
|
+
Type?: KnownGenderType;
|
|
307
307
|
}
|
|
308
308
|
export interface Celebrity {
|
|
309
309
|
Urls?: string[];
|
|
@@ -336,7 +336,7 @@ export declare const GenderType: {
|
|
|
336
336
|
};
|
|
337
337
|
export type GenderType = (typeof GenderType)[keyof typeof GenderType];
|
|
338
338
|
export interface Gender {
|
|
339
|
-
Value?: GenderType
|
|
339
|
+
Value?: GenderType;
|
|
340
340
|
Confidence?: number;
|
|
341
341
|
}
|
|
342
342
|
export interface MouthOpen {
|
|
@@ -409,7 +409,7 @@ export interface CompareFacesRequest {
|
|
|
409
409
|
SourceImage: Image | undefined;
|
|
410
410
|
TargetImage: Image | undefined;
|
|
411
411
|
SimilarityThreshold?: number;
|
|
412
|
-
QualityFilter?: QualityFilter
|
|
412
|
+
QualityFilter?: QualityFilter;
|
|
413
413
|
}
|
|
414
414
|
export interface CompareFacesMatch {
|
|
415
415
|
Similarity?: number;
|
|
@@ -427,8 +427,8 @@ export interface CompareFacesResponse {
|
|
|
427
427
|
SourceImageFace?: ComparedSourceImageFace;
|
|
428
428
|
FaceMatches?: CompareFacesMatch[];
|
|
429
429
|
UnmatchedFaces?: ComparedFace[];
|
|
430
|
-
SourceImageOrientationCorrection?: OrientationCorrection
|
|
431
|
-
TargetImageOrientationCorrection?: OrientationCorrection
|
|
430
|
+
SourceImageOrientationCorrection?: OrientationCorrection;
|
|
431
|
+
TargetImageOrientationCorrection?: OrientationCorrection;
|
|
432
432
|
}
|
|
433
433
|
export declare class ImageTooLargeException extends __BaseException {
|
|
434
434
|
readonly name: "ImageTooLargeException";
|
|
@@ -564,7 +564,7 @@ export declare const DatasetType: {
|
|
|
564
564
|
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
565
565
|
export interface CreateDatasetRequest {
|
|
566
566
|
DatasetSource?: DatasetSource;
|
|
567
|
-
DatasetType: DatasetType |
|
|
567
|
+
DatasetType: DatasetType | undefined;
|
|
568
568
|
ProjectArn: string | undefined;
|
|
569
569
|
}
|
|
570
570
|
export interface CreateDatasetResponse {
|
|
@@ -586,12 +586,32 @@ export interface CreateFaceLivenessSessionRequest {
|
|
|
586
586
|
export interface CreateFaceLivenessSessionResponse {
|
|
587
587
|
SessionId: string | undefined;
|
|
588
588
|
}
|
|
589
|
+
export declare const ProjectAutoUpdate: {
|
|
590
|
+
readonly DISABLED: "DISABLED";
|
|
591
|
+
readonly ENABLED: "ENABLED";
|
|
592
|
+
};
|
|
593
|
+
export type ProjectAutoUpdate =
|
|
594
|
+
(typeof ProjectAutoUpdate)[keyof typeof ProjectAutoUpdate];
|
|
595
|
+
export declare const CustomizationFeature: {
|
|
596
|
+
readonly CONTENT_MODERATION: "CONTENT_MODERATION";
|
|
597
|
+
readonly CUSTOM_LABELS: "CUSTOM_LABELS";
|
|
598
|
+
};
|
|
599
|
+
export type CustomizationFeature =
|
|
600
|
+
(typeof CustomizationFeature)[keyof typeof CustomizationFeature];
|
|
589
601
|
export interface CreateProjectRequest {
|
|
590
602
|
ProjectName: string | undefined;
|
|
603
|
+
Feature?: CustomizationFeature;
|
|
604
|
+
AutoUpdate?: ProjectAutoUpdate;
|
|
591
605
|
}
|
|
592
606
|
export interface CreateProjectResponse {
|
|
593
607
|
ProjectArn?: string;
|
|
594
608
|
}
|
|
609
|
+
export interface CustomizationFeatureContentModerationConfig {
|
|
610
|
+
ConfidenceThreshold?: number;
|
|
611
|
+
}
|
|
612
|
+
export interface CustomizationFeatureConfig {
|
|
613
|
+
ContentModeration?: CustomizationFeatureContentModerationConfig;
|
|
614
|
+
}
|
|
595
615
|
export interface TestingData {
|
|
596
616
|
Assets?: Asset[];
|
|
597
617
|
AutoCreate?: boolean;
|
|
@@ -607,6 +627,8 @@ export interface CreateProjectVersionRequest {
|
|
|
607
627
|
TestingData?: TestingData;
|
|
608
628
|
Tags?: Record<string, string>;
|
|
609
629
|
KmsKeyId?: string;
|
|
630
|
+
VersionDescription?: string;
|
|
631
|
+
FeatureConfig?: CustomizationFeatureConfig;
|
|
610
632
|
}
|
|
611
633
|
export interface CreateProjectVersionResponse {
|
|
612
634
|
ProjectVersionArn?: string;
|
|
@@ -709,9 +731,9 @@ export type DatasetStatusMessageCode =
|
|
|
709
731
|
export interface DatasetDescription {
|
|
710
732
|
CreationTimestamp?: Date;
|
|
711
733
|
LastUpdatedTimestamp?: Date;
|
|
712
|
-
Status?: DatasetStatus
|
|
734
|
+
Status?: DatasetStatus;
|
|
713
735
|
StatusMessage?: string;
|
|
714
|
-
StatusMessageCode?: DatasetStatusMessageCode
|
|
736
|
+
StatusMessageCode?: DatasetStatusMessageCode;
|
|
715
737
|
DatasetStats?: DatasetStats;
|
|
716
738
|
}
|
|
717
739
|
export interface DatasetLabelStats {
|
|
@@ -724,11 +746,11 @@ export interface DatasetLabelDescription {
|
|
|
724
746
|
}
|
|
725
747
|
export interface DatasetMetadata {
|
|
726
748
|
CreationTimestamp?: Date;
|
|
727
|
-
DatasetType?: DatasetType
|
|
749
|
+
DatasetType?: DatasetType;
|
|
728
750
|
DatasetArn?: string;
|
|
729
|
-
Status?: DatasetStatus
|
|
751
|
+
Status?: DatasetStatus;
|
|
730
752
|
StatusMessage?: string;
|
|
731
|
-
StatusMessageCode?: DatasetStatusMessageCode
|
|
753
|
+
StatusMessageCode?: DatasetStatusMessageCode;
|
|
732
754
|
}
|
|
733
755
|
export interface DeleteCollectionRequest {
|
|
734
756
|
CollectionId: string | undefined;
|
|
@@ -753,7 +775,7 @@ export type UnsuccessfulFaceDeletionReason =
|
|
|
753
775
|
export interface UnsuccessfulFaceDeletion {
|
|
754
776
|
FaceId?: string;
|
|
755
777
|
UserId?: string;
|
|
756
|
-
Reasons?:
|
|
778
|
+
Reasons?: UnsuccessfulFaceDeletionReason[];
|
|
757
779
|
}
|
|
758
780
|
export interface DeleteFacesResponse {
|
|
759
781
|
DeletedFaces?: string[];
|
|
@@ -769,7 +791,7 @@ export declare const ProjectStatus: {
|
|
|
769
791
|
};
|
|
770
792
|
export type ProjectStatus = (typeof ProjectStatus)[keyof typeof ProjectStatus];
|
|
771
793
|
export interface DeleteProjectResponse {
|
|
772
|
-
Status?: ProjectStatus
|
|
794
|
+
Status?: ProjectStatus;
|
|
773
795
|
}
|
|
774
796
|
export interface DeleteProjectPolicyRequest {
|
|
775
797
|
ProjectArn: string | undefined;
|
|
@@ -798,6 +820,8 @@ export declare const ProjectVersionStatus: {
|
|
|
798
820
|
readonly COPYING_FAILED: "COPYING_FAILED";
|
|
799
821
|
readonly COPYING_IN_PROGRESS: "COPYING_IN_PROGRESS";
|
|
800
822
|
readonly DELETING: "DELETING";
|
|
823
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
824
|
+
readonly EXPIRED: "EXPIRED";
|
|
801
825
|
readonly FAILED: "FAILED";
|
|
802
826
|
readonly RUNNING: "RUNNING";
|
|
803
827
|
readonly STARTING: "STARTING";
|
|
@@ -810,7 +834,7 @@ export declare const ProjectVersionStatus: {
|
|
|
810
834
|
export type ProjectVersionStatus =
|
|
811
835
|
(typeof ProjectVersionStatus)[keyof typeof ProjectVersionStatus];
|
|
812
836
|
export interface DeleteProjectVersionResponse {
|
|
813
|
-
Status?: ProjectVersionStatus
|
|
837
|
+
Status?: ProjectVersionStatus;
|
|
814
838
|
}
|
|
815
839
|
export interface DeleteStreamProcessorRequest {
|
|
816
840
|
Name: string | undefined;
|
|
@@ -842,12 +866,15 @@ export interface DescribeProjectsRequest {
|
|
|
842
866
|
NextToken?: string;
|
|
843
867
|
MaxResults?: number;
|
|
844
868
|
ProjectNames?: string[];
|
|
869
|
+
Features?: CustomizationFeature[];
|
|
845
870
|
}
|
|
846
871
|
export interface ProjectDescription {
|
|
847
872
|
ProjectArn?: string;
|
|
848
873
|
CreationTimestamp?: Date;
|
|
849
|
-
Status?: ProjectStatus
|
|
874
|
+
Status?: ProjectStatus;
|
|
850
875
|
Datasets?: DatasetMetadata[];
|
|
876
|
+
Feature?: CustomizationFeature;
|
|
877
|
+
AutoUpdate?: ProjectAutoUpdate;
|
|
851
878
|
}
|
|
852
879
|
export interface DescribeProjectsResponse {
|
|
853
880
|
ProjectDescriptions?: ProjectDescription[];
|
|
@@ -896,7 +923,7 @@ export interface ProjectVersionDescription {
|
|
|
896
923
|
ProjectVersionArn?: string;
|
|
897
924
|
CreationTimestamp?: Date;
|
|
898
925
|
MinInferenceUnits?: number;
|
|
899
|
-
Status?: ProjectVersionStatus
|
|
926
|
+
Status?: ProjectVersionStatus;
|
|
900
927
|
StatusMessage?: string;
|
|
901
928
|
BillableTrainingTimeInSeconds?: number;
|
|
902
929
|
TrainingEndTimestamp?: Date;
|
|
@@ -908,6 +935,10 @@ export interface ProjectVersionDescription {
|
|
|
908
935
|
KmsKeyId?: string;
|
|
909
936
|
MaxInferenceUnits?: number;
|
|
910
937
|
SourceProjectVersionArn?: string;
|
|
938
|
+
VersionDescription?: string;
|
|
939
|
+
Feature?: CustomizationFeature;
|
|
940
|
+
BaseModelVersion?: string;
|
|
941
|
+
FeatureConfig?: CustomizationFeatureConfig;
|
|
911
942
|
}
|
|
912
943
|
export interface DescribeProjectVersionsResponse {
|
|
913
944
|
ProjectVersionDescriptions?: ProjectVersionDescription[];
|
|
@@ -929,7 +960,7 @@ export type StreamProcessorStatus =
|
|
|
929
960
|
export interface DescribeStreamProcessorResponse {
|
|
930
961
|
Name?: string;
|
|
931
962
|
StreamProcessorArn?: string;
|
|
932
|
-
Status?: StreamProcessorStatus
|
|
963
|
+
Status?: StreamProcessorStatus;
|
|
933
964
|
StatusMessage?: string;
|
|
934
965
|
CreationTimestamp?: Date;
|
|
935
966
|
LastUpdateTimestamp?: Date;
|
|
@@ -963,11 +994,11 @@ export declare class ResourceNotReadyException extends __BaseException {
|
|
|
963
994
|
}
|
|
964
995
|
export interface DetectFacesRequest {
|
|
965
996
|
Image: Image | undefined;
|
|
966
|
-
Attributes?:
|
|
997
|
+
Attributes?: Attribute[];
|
|
967
998
|
}
|
|
968
999
|
export interface DetectFacesResponse {
|
|
969
1000
|
FaceDetails?: FaceDetail[];
|
|
970
|
-
OrientationCorrection?: OrientationCorrection
|
|
1001
|
+
OrientationCorrection?: OrientationCorrection;
|
|
971
1002
|
}
|
|
972
1003
|
export interface DetectionFilter {
|
|
973
1004
|
MinConfidence?: number;
|
|
@@ -997,7 +1028,7 @@ export interface DetectLabelsRequest {
|
|
|
997
1028
|
Image: Image | undefined;
|
|
998
1029
|
MaxLabels?: number;
|
|
999
1030
|
MinConfidence?: number;
|
|
1000
|
-
Features?:
|
|
1031
|
+
Features?: DetectLabelsFeatureName[];
|
|
1001
1032
|
Settings?: DetectLabelsSettings;
|
|
1002
1033
|
}
|
|
1003
1034
|
export interface DominantColor {
|
|
@@ -1052,12 +1083,12 @@ export interface Label {
|
|
|
1052
1083
|
}
|
|
1053
1084
|
export interface DetectLabelsResponse {
|
|
1054
1085
|
Labels?: Label[];
|
|
1055
|
-
OrientationCorrection?: OrientationCorrection
|
|
1086
|
+
OrientationCorrection?: OrientationCorrection;
|
|
1056
1087
|
LabelModelVersion?: string;
|
|
1057
1088
|
ImageProperties?: DetectLabelsImageProperties;
|
|
1058
1089
|
}
|
|
1059
1090
|
export interface HumanLoopDataAttributes {
|
|
1060
|
-
ContentClassifiers?:
|
|
1091
|
+
ContentClassifiers?: ContentClassifier[];
|
|
1061
1092
|
}
|
|
1062
1093
|
export interface HumanLoopConfig {
|
|
1063
1094
|
HumanLoopName: string | undefined;
|
|
@@ -1068,6 +1099,7 @@ export interface DetectModerationLabelsRequest {
|
|
|
1068
1099
|
Image: Image | undefined;
|
|
1069
1100
|
MinConfidence?: number;
|
|
1070
1101
|
HumanLoopConfig?: HumanLoopConfig;
|
|
1102
|
+
ProjectVersion?: string;
|
|
1071
1103
|
}
|
|
1072
1104
|
export interface HumanLoopActivationOutput {
|
|
1073
1105
|
HumanLoopArn?: string;
|
|
@@ -1078,6 +1110,7 @@ export interface DetectModerationLabelsResponse {
|
|
|
1078
1110
|
ModerationLabels?: ModerationLabel[];
|
|
1079
1111
|
ModerationModelVersion?: string;
|
|
1080
1112
|
HumanLoopActivationOutput?: HumanLoopActivationOutput;
|
|
1113
|
+
ProjectVersion?: string;
|
|
1081
1114
|
}
|
|
1082
1115
|
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
1083
1116
|
readonly name: "HumanLoopQuotaExceededException";
|
|
@@ -1097,7 +1130,7 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
1097
1130
|
}
|
|
1098
1131
|
export interface ProtectiveEquipmentSummarizationAttributes {
|
|
1099
1132
|
MinConfidence: number | undefined;
|
|
1100
|
-
RequiredEquipmentTypes:
|
|
1133
|
+
RequiredEquipmentTypes: ProtectiveEquipmentType[] | undefined;
|
|
1101
1134
|
}
|
|
1102
1135
|
export interface DetectProtectiveEquipmentRequest {
|
|
1103
1136
|
Image: Image | undefined;
|
|
@@ -1134,7 +1167,7 @@ export declare const TextTypes: {
|
|
|
1134
1167
|
export type TextTypes = (typeof TextTypes)[keyof typeof TextTypes];
|
|
1135
1168
|
export interface TextDetection {
|
|
1136
1169
|
DetectedText?: string;
|
|
1137
|
-
Type?: TextTypes
|
|
1170
|
+
Type?: TextTypes;
|
|
1138
1171
|
Id?: number;
|
|
1139
1172
|
ParentId?: number;
|
|
1140
1173
|
Confidence?: number;
|
|
@@ -1162,12 +1195,12 @@ export type UnsuccessfulFaceDisassociationReason =
|
|
|
1162
1195
|
export interface UnsuccessfulFaceDisassociation {
|
|
1163
1196
|
FaceId?: string;
|
|
1164
1197
|
UserId?: string;
|
|
1165
|
-
Reasons?:
|
|
1198
|
+
Reasons?: UnsuccessfulFaceDisassociationReason[];
|
|
1166
1199
|
}
|
|
1167
1200
|
export interface DisassociateFacesResponse {
|
|
1168
1201
|
DisassociatedFaces?: DisassociatedFace[];
|
|
1169
1202
|
UnsuccessfulFaceDisassociations?: UnsuccessfulFaceDisassociation[];
|
|
1170
|
-
UserStatus?: UserStatus
|
|
1203
|
+
UserStatus?: UserStatus;
|
|
1171
1204
|
}
|
|
1172
1205
|
export interface DistributeDataset {
|
|
1173
1206
|
Arn: string | undefined;
|
|
@@ -1221,7 +1254,7 @@ export interface GetCelebrityRecognitionRequest {
|
|
|
1221
1254
|
JobId: string | undefined;
|
|
1222
1255
|
MaxResults?: number;
|
|
1223
1256
|
NextToken?: string;
|
|
1224
|
-
SortBy?: CelebrityRecognitionSortBy
|
|
1257
|
+
SortBy?: CelebrityRecognitionSortBy;
|
|
1225
1258
|
}
|
|
1226
1259
|
export declare const VideoJobStatus: {
|
|
1227
1260
|
readonly FAILED: "FAILED";
|
|
@@ -1246,10 +1279,10 @@ export interface VideoMetadata {
|
|
|
1246
1279
|
FrameRate?: number;
|
|
1247
1280
|
FrameHeight?: number;
|
|
1248
1281
|
FrameWidth?: number;
|
|
1249
|
-
ColorRange?: VideoColorRange
|
|
1282
|
+
ColorRange?: VideoColorRange;
|
|
1250
1283
|
}
|
|
1251
1284
|
export interface GetCelebrityRecognitionResponse {
|
|
1252
|
-
JobStatus?: VideoJobStatus
|
|
1285
|
+
JobStatus?: VideoJobStatus;
|
|
1253
1286
|
StatusMessage?: string;
|
|
1254
1287
|
VideoMetadata?: VideoMetadata;
|
|
1255
1288
|
NextToken?: string;
|
|
@@ -1262,15 +1295,15 @@ export interface GetContentModerationRequest {
|
|
|
1262
1295
|
JobId: string | undefined;
|
|
1263
1296
|
MaxResults?: number;
|
|
1264
1297
|
NextToken?: string;
|
|
1265
|
-
SortBy?: ContentModerationSortBy
|
|
1266
|
-
AggregateBy?: ContentModerationAggregateBy
|
|
1298
|
+
SortBy?: ContentModerationSortBy;
|
|
1299
|
+
AggregateBy?: ContentModerationAggregateBy;
|
|
1267
1300
|
}
|
|
1268
1301
|
export interface GetContentModerationRequestMetadata {
|
|
1269
|
-
SortBy?: ContentModerationSortBy
|
|
1270
|
-
AggregateBy?: ContentModerationAggregateBy
|
|
1302
|
+
SortBy?: ContentModerationSortBy;
|
|
1303
|
+
AggregateBy?: ContentModerationAggregateBy;
|
|
1271
1304
|
}
|
|
1272
1305
|
export interface GetContentModerationResponse {
|
|
1273
|
-
JobStatus?: VideoJobStatus
|
|
1306
|
+
JobStatus?: VideoJobStatus;
|
|
1274
1307
|
StatusMessage?: string;
|
|
1275
1308
|
VideoMetadata?: VideoMetadata;
|
|
1276
1309
|
ModerationLabels?: ContentModerationDetection[];
|
|
@@ -1287,7 +1320,7 @@ export interface GetFaceDetectionRequest {
|
|
|
1287
1320
|
NextToken?: string;
|
|
1288
1321
|
}
|
|
1289
1322
|
export interface GetFaceDetectionResponse {
|
|
1290
|
-
JobStatus?: VideoJobStatus
|
|
1323
|
+
JobStatus?: VideoJobStatus;
|
|
1291
1324
|
StatusMessage?: string;
|
|
1292
1325
|
VideoMetadata?: VideoMetadata;
|
|
1293
1326
|
NextToken?: string;
|
|
@@ -1310,7 +1343,7 @@ export type LivenessSessionStatus =
|
|
|
1310
1343
|
(typeof LivenessSessionStatus)[keyof typeof LivenessSessionStatus];
|
|
1311
1344
|
export interface GetFaceLivenessSessionResultsResponse {
|
|
1312
1345
|
SessionId: string | undefined;
|
|
1313
|
-
Status: LivenessSessionStatus |
|
|
1346
|
+
Status: LivenessSessionStatus | undefined;
|
|
1314
1347
|
Confidence?: number;
|
|
1315
1348
|
ReferenceImage?: AuditImage;
|
|
1316
1349
|
AuditImages?: AuditImage[];
|
|
@@ -1329,7 +1362,7 @@ export interface GetFaceSearchRequest {
|
|
|
1329
1362
|
JobId: string | undefined;
|
|
1330
1363
|
MaxResults?: number;
|
|
1331
1364
|
NextToken?: string;
|
|
1332
|
-
SortBy?: FaceSearchSortBy
|
|
1365
|
+
SortBy?: FaceSearchSortBy;
|
|
1333
1366
|
}
|
|
1334
1367
|
export interface PersonDetail {
|
|
1335
1368
|
Index?: number;
|
|
@@ -1342,7 +1375,7 @@ export interface PersonMatch {
|
|
|
1342
1375
|
FaceMatches?: FaceMatch[];
|
|
1343
1376
|
}
|
|
1344
1377
|
export interface GetFaceSearchResponse {
|
|
1345
|
-
JobStatus?: VideoJobStatus
|
|
1378
|
+
JobStatus?: VideoJobStatus;
|
|
1346
1379
|
StatusMessage?: string;
|
|
1347
1380
|
NextToken?: string;
|
|
1348
1381
|
VideoMetadata?: VideoMetadata;
|
|
@@ -1367,12 +1400,12 @@ export interface GetLabelDetectionRequest {
|
|
|
1367
1400
|
JobId: string | undefined;
|
|
1368
1401
|
MaxResults?: number;
|
|
1369
1402
|
NextToken?: string;
|
|
1370
|
-
SortBy?: LabelDetectionSortBy
|
|
1371
|
-
AggregateBy?: LabelDetectionAggregateBy
|
|
1403
|
+
SortBy?: LabelDetectionSortBy;
|
|
1404
|
+
AggregateBy?: LabelDetectionAggregateBy;
|
|
1372
1405
|
}
|
|
1373
1406
|
export interface GetLabelDetectionRequestMetadata {
|
|
1374
|
-
SortBy?: LabelDetectionSortBy
|
|
1375
|
-
AggregateBy?: LabelDetectionAggregateBy
|
|
1407
|
+
SortBy?: LabelDetectionSortBy;
|
|
1408
|
+
AggregateBy?: LabelDetectionAggregateBy;
|
|
1376
1409
|
}
|
|
1377
1410
|
export interface LabelDetection {
|
|
1378
1411
|
Timestamp?: number;
|
|
@@ -1382,7 +1415,7 @@ export interface LabelDetection {
|
|
|
1382
1415
|
DurationMillis?: number;
|
|
1383
1416
|
}
|
|
1384
1417
|
export interface GetLabelDetectionResponse {
|
|
1385
|
-
JobStatus?: VideoJobStatus
|
|
1418
|
+
JobStatus?: VideoJobStatus;
|
|
1386
1419
|
StatusMessage?: string;
|
|
1387
1420
|
VideoMetadata?: VideoMetadata;
|
|
1388
1421
|
NextToken?: string;
|
|
@@ -1403,14 +1436,14 @@ export interface GetPersonTrackingRequest {
|
|
|
1403
1436
|
JobId: string | undefined;
|
|
1404
1437
|
MaxResults?: number;
|
|
1405
1438
|
NextToken?: string;
|
|
1406
|
-
SortBy?: PersonTrackingSortBy
|
|
1439
|
+
SortBy?: PersonTrackingSortBy;
|
|
1407
1440
|
}
|
|
1408
1441
|
export interface PersonDetection {
|
|
1409
1442
|
Timestamp?: number;
|
|
1410
1443
|
Person?: PersonDetail;
|
|
1411
1444
|
}
|
|
1412
1445
|
export interface GetPersonTrackingResponse {
|
|
1413
|
-
JobStatus?: VideoJobStatus
|
|
1446
|
+
JobStatus?: VideoJobStatus;
|
|
1414
1447
|
StatusMessage?: string;
|
|
1415
1448
|
VideoMetadata?: VideoMetadata;
|
|
1416
1449
|
NextToken?: string;
|
|
@@ -1440,7 +1473,7 @@ export declare const TechnicalCueType: {
|
|
|
1440
1473
|
export type TechnicalCueType =
|
|
1441
1474
|
(typeof TechnicalCueType)[keyof typeof TechnicalCueType];
|
|
1442
1475
|
export interface TechnicalCueSegment {
|
|
1443
|
-
Type?: TechnicalCueType
|
|
1476
|
+
Type?: TechnicalCueType;
|
|
1444
1477
|
Confidence?: number;
|
|
1445
1478
|
}
|
|
1446
1479
|
export declare const SegmentType: {
|
|
@@ -1449,7 +1482,7 @@ export declare const SegmentType: {
|
|
|
1449
1482
|
};
|
|
1450
1483
|
export type SegmentType = (typeof SegmentType)[keyof typeof SegmentType];
|
|
1451
1484
|
export interface SegmentDetection {
|
|
1452
|
-
Type?: SegmentType
|
|
1485
|
+
Type?: SegmentType;
|
|
1453
1486
|
StartTimestampMillis?: number;
|
|
1454
1487
|
EndTimestampMillis?: number;
|
|
1455
1488
|
DurationMillis?: number;
|
|
@@ -1463,11 +1496,11 @@ export interface SegmentDetection {
|
|
|
1463
1496
|
DurationFrames?: number;
|
|
1464
1497
|
}
|
|
1465
1498
|
export interface SegmentTypeInfo {
|
|
1466
|
-
Type?: SegmentType
|
|
1499
|
+
Type?: SegmentType;
|
|
1467
1500
|
ModelVersion?: string;
|
|
1468
1501
|
}
|
|
1469
1502
|
export interface GetSegmentDetectionResponse {
|
|
1470
|
-
JobStatus?: VideoJobStatus
|
|
1503
|
+
JobStatus?: VideoJobStatus;
|
|
1471
1504
|
StatusMessage?: string;
|
|
1472
1505
|
VideoMetadata?: VideoMetadata[];
|
|
1473
1506
|
AudioMetadata?: AudioMetadata[];
|
|
@@ -1488,7 +1521,7 @@ export interface TextDetectionResult {
|
|
|
1488
1521
|
TextDetection?: TextDetection;
|
|
1489
1522
|
}
|
|
1490
1523
|
export interface GetTextDetectionResponse {
|
|
1491
|
-
JobStatus?: VideoJobStatus
|
|
1524
|
+
JobStatus?: VideoJobStatus;
|
|
1492
1525
|
StatusMessage?: string;
|
|
1493
1526
|
VideoMetadata?: VideoMetadata;
|
|
1494
1527
|
TextDetections?: TextDetectionResult[];
|
|
@@ -1502,9 +1535,9 @@ export interface IndexFacesRequest {
|
|
|
1502
1535
|
CollectionId: string | undefined;
|
|
1503
1536
|
Image: Image | undefined;
|
|
1504
1537
|
ExternalImageId?: string;
|
|
1505
|
-
DetectionAttributes?:
|
|
1538
|
+
DetectionAttributes?: Attribute[];
|
|
1506
1539
|
MaxFaces?: number;
|
|
1507
|
-
QualityFilter?: QualityFilter
|
|
1540
|
+
QualityFilter?: QualityFilter;
|
|
1508
1541
|
}
|
|
1509
1542
|
export declare const Reason: {
|
|
1510
1543
|
readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
|
|
@@ -1517,12 +1550,12 @@ export declare const Reason: {
|
|
|
1517
1550
|
};
|
|
1518
1551
|
export type Reason = (typeof Reason)[keyof typeof Reason];
|
|
1519
1552
|
export interface UnindexedFace {
|
|
1520
|
-
Reasons?:
|
|
1553
|
+
Reasons?: Reason[];
|
|
1521
1554
|
FaceDetail?: FaceDetail;
|
|
1522
1555
|
}
|
|
1523
1556
|
export interface IndexFacesResponse {
|
|
1524
1557
|
FaceRecords?: FaceRecord[];
|
|
1525
|
-
OrientationCorrection?: OrientationCorrection
|
|
1558
|
+
OrientationCorrection?: OrientationCorrection;
|
|
1526
1559
|
FaceModelVersion?: string;
|
|
1527
1560
|
UnindexedFaces?: UnindexedFace[];
|
|
1528
1561
|
}
|
|
@@ -1604,7 +1637,7 @@ export interface ListStreamProcessorsRequest {
|
|
|
1604
1637
|
}
|
|
1605
1638
|
export interface StreamProcessor {
|
|
1606
1639
|
Name?: string;
|
|
1607
|
-
Status?: StreamProcessorStatus
|
|
1640
|
+
Status?: StreamProcessorStatus;
|
|
1608
1641
|
}
|
|
1609
1642
|
export interface ListStreamProcessorsResponse {
|
|
1610
1643
|
NextToken?: string;
|
|
@@ -1623,7 +1656,7 @@ export interface ListUsersRequest {
|
|
|
1623
1656
|
}
|
|
1624
1657
|
export interface User {
|
|
1625
1658
|
UserId?: string;
|
|
1626
|
-
UserStatus?: UserStatus
|
|
1659
|
+
UserStatus?: UserStatus;
|
|
1627
1660
|
}
|
|
1628
1661
|
export interface ListUsersResponse {
|
|
1629
1662
|
Users?: User[];
|
|
@@ -1644,7 +1677,7 @@ export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
|
1644
1677
|
}
|
|
1645
1678
|
export interface MatchedUser {
|
|
1646
1679
|
UserId?: string;
|
|
1647
|
-
UserStatus?: UserStatus
|
|
1680
|
+
UserStatus?: UserStatus;
|
|
1648
1681
|
}
|
|
1649
1682
|
export interface NotificationChannel {
|
|
1650
1683
|
SNSTopicArn: string | undefined;
|
|
@@ -1665,7 +1698,7 @@ export interface RecognizeCelebritiesRequest {
|
|
|
1665
1698
|
export interface RecognizeCelebritiesResponse {
|
|
1666
1699
|
CelebrityFaces?: Celebrity[];
|
|
1667
1700
|
UnrecognizedFaces?: ComparedFace[];
|
|
1668
|
-
OrientationCorrection?: OrientationCorrection
|
|
1701
|
+
OrientationCorrection?: OrientationCorrection;
|
|
1669
1702
|
}
|
|
1670
1703
|
export interface SearchFacesRequest {
|
|
1671
1704
|
CollectionId: string | undefined;
|
|
@@ -1683,7 +1716,7 @@ export interface SearchFacesByImageRequest {
|
|
|
1683
1716
|
Image: Image | undefined;
|
|
1684
1717
|
MaxFaces?: number;
|
|
1685
1718
|
FaceMatchThreshold?: number;
|
|
1686
|
-
QualityFilter?: QualityFilter
|
|
1719
|
+
QualityFilter?: QualityFilter;
|
|
1687
1720
|
}
|
|
1688
1721
|
export interface SearchFacesByImageResponse {
|
|
1689
1722
|
SearchedFaceBoundingBox?: BoundingBox;
|
|
@@ -1719,39 +1752,11 @@ export interface SearchUsersByImageRequest {
|
|
|
1719
1752
|
Image: Image | undefined;
|
|
1720
1753
|
UserMatchThreshold?: number;
|
|
1721
1754
|
MaxUsers?: number;
|
|
1722
|
-
QualityFilter?: QualityFilter
|
|
1755
|
+
QualityFilter?: QualityFilter;
|
|
1723
1756
|
}
|
|
1724
1757
|
export interface SearchedFaceDetails {
|
|
1725
1758
|
FaceDetail?: FaceDetail;
|
|
1726
1759
|
}
|
|
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[];
|
|
1748
|
-
}
|
|
1749
|
-
export interface StartCelebrityRecognitionRequest {
|
|
1750
|
-
Video: Video | undefined;
|
|
1751
|
-
ClientRequestToken?: string;
|
|
1752
|
-
NotificationChannel?: NotificationChannel;
|
|
1753
|
-
JobTag?: string;
|
|
1754
|
-
}
|
|
1755
1760
|
export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
|
|
1756
1761
|
export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
|
|
1757
1762
|
obj: GetFaceLivenessSessionResultsResponse
|
|
@@ -5,17 +5,48 @@ import {
|
|
|
5
5
|
DatasetChanges,
|
|
6
6
|
DetectionFilter,
|
|
7
7
|
FaceAttributes,
|
|
8
|
+
FaceDetail,
|
|
8
9
|
KinesisVideoStreamStartSelector,
|
|
9
10
|
LabelDetectionFeatureName,
|
|
10
11
|
LabelDetectionSettings,
|
|
11
12
|
NotificationChannel,
|
|
12
13
|
ProjectVersionStatus,
|
|
13
14
|
RegionOfInterest,
|
|
15
|
+
SearchedFaceDetails,
|
|
14
16
|
SegmentType,
|
|
15
17
|
StreamProcessorDataSharingPreference,
|
|
18
|
+
UserMatch,
|
|
16
19
|
Video,
|
|
17
20
|
} from "./models_0";
|
|
18
21
|
import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
|
|
22
|
+
export declare const UnsearchedFaceReason: {
|
|
23
|
+
readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
|
|
24
|
+
readonly EXTREME_POSE: "EXTREME_POSE";
|
|
25
|
+
readonly FACE_NOT_LARGEST: "FACE_NOT_LARGEST";
|
|
26
|
+
readonly LOW_BRIGHTNESS: "LOW_BRIGHTNESS";
|
|
27
|
+
readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
|
|
28
|
+
readonly LOW_FACE_QUALITY: "LOW_FACE_QUALITY";
|
|
29
|
+
readonly LOW_SHARPNESS: "LOW_SHARPNESS";
|
|
30
|
+
readonly SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX";
|
|
31
|
+
};
|
|
32
|
+
export type UnsearchedFaceReason =
|
|
33
|
+
(typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
|
|
34
|
+
export interface UnsearchedFace {
|
|
35
|
+
FaceDetails?: FaceDetail;
|
|
36
|
+
Reasons?: UnsearchedFaceReason[];
|
|
37
|
+
}
|
|
38
|
+
export interface SearchUsersByImageResponse {
|
|
39
|
+
UserMatches?: UserMatch[];
|
|
40
|
+
FaceModelVersion?: string;
|
|
41
|
+
SearchedFace?: SearchedFaceDetails;
|
|
42
|
+
UnsearchedFaces?: UnsearchedFace[];
|
|
43
|
+
}
|
|
44
|
+
export interface StartCelebrityRecognitionRequest {
|
|
45
|
+
Video: Video | undefined;
|
|
46
|
+
ClientRequestToken?: string;
|
|
47
|
+
NotificationChannel?: NotificationChannel;
|
|
48
|
+
JobTag?: string;
|
|
49
|
+
}
|
|
19
50
|
export interface StartCelebrityRecognitionResponse {
|
|
20
51
|
JobId?: string;
|
|
21
52
|
}
|
|
@@ -43,7 +74,7 @@ export interface StartFaceDetectionRequest {
|
|
|
43
74
|
Video: Video | undefined;
|
|
44
75
|
ClientRequestToken?: string;
|
|
45
76
|
NotificationChannel?: NotificationChannel;
|
|
46
|
-
FaceAttributes?: FaceAttributes
|
|
77
|
+
FaceAttributes?: FaceAttributes;
|
|
47
78
|
JobTag?: string;
|
|
48
79
|
}
|
|
49
80
|
export interface StartFaceDetectionResponse {
|
|
@@ -66,7 +97,7 @@ export interface StartLabelDetectionRequest {
|
|
|
66
97
|
MinConfidence?: number;
|
|
67
98
|
NotificationChannel?: NotificationChannel;
|
|
68
99
|
JobTag?: string;
|
|
69
|
-
Features?:
|
|
100
|
+
Features?: LabelDetectionFeatureName[];
|
|
70
101
|
Settings?: LabelDetectionSettings;
|
|
71
102
|
}
|
|
72
103
|
export interface StartLabelDetectionResponse {
|
|
@@ -87,7 +118,7 @@ export interface StartProjectVersionRequest {
|
|
|
87
118
|
MaxInferenceUnits?: number;
|
|
88
119
|
}
|
|
89
120
|
export interface StartProjectVersionResponse {
|
|
90
|
-
Status?: ProjectVersionStatus
|
|
121
|
+
Status?: ProjectVersionStatus;
|
|
91
122
|
}
|
|
92
123
|
export interface StartShotDetectionFilter {
|
|
93
124
|
MinSegmentConfidence?: number;
|
|
@@ -106,7 +137,7 @@ export interface StartSegmentDetectionRequest {
|
|
|
106
137
|
NotificationChannel?: NotificationChannel;
|
|
107
138
|
JobTag?: string;
|
|
108
139
|
Filters?: StartSegmentDetectionFilters;
|
|
109
|
-
SegmentTypes:
|
|
140
|
+
SegmentTypes: SegmentType[] | undefined;
|
|
110
141
|
}
|
|
111
142
|
export interface StartSegmentDetectionResponse {
|
|
112
143
|
JobId?: string;
|
|
@@ -143,7 +174,7 @@ export interface StopProjectVersionRequest {
|
|
|
143
174
|
ProjectVersionArn: string | undefined;
|
|
144
175
|
}
|
|
145
176
|
export interface StopProjectVersionResponse {
|
|
146
|
-
Status?: ProjectVersionStatus
|
|
177
|
+
Status?: ProjectVersionStatus;
|
|
147
178
|
}
|
|
148
179
|
export interface StopStreamProcessorRequest {
|
|
149
180
|
Name: string | undefined;
|
|
@@ -178,6 +209,6 @@ export interface UpdateStreamProcessorRequest {
|
|
|
178
209
|
SettingsForUpdate?: StreamProcessorSettingsForUpdate;
|
|
179
210
|
RegionsOfInterestForUpdate?: RegionOfInterest[];
|
|
180
211
|
DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference;
|
|
181
|
-
ParametersToDelete?:
|
|
212
|
+
ParametersToDelete?: StreamProcessorParameterToDelete[];
|
|
182
213
|
}
|
|
183
214
|
export interface UpdateStreamProcessorResponse {}
|