@aws-sdk/client-rekognition 3.425.0 → 3.428.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 +187 -175
- package/dist-types/models/models_1.d.ts +124 -7
- 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 +33 -28
- package/dist-types/ts3.4/models/models_1.d.ts +31 -0
- package/package.json +32 -32
|
@@ -1,6 +1,128 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { BlackFrame, ConnectedHomeSettingsForUpdate, DatasetChanges, DetectionFilter, FaceAttributes, KinesisVideoStreamStartSelector, LabelDetectionFeatureName, LabelDetectionSettings, NotificationChannel, ProjectVersionStatus, RegionOfInterest, SegmentType, StreamProcessorDataSharingPreference, Video } from "./models_0";
|
|
2
|
+
import { BlackFrame, ConnectedHomeSettingsForUpdate, DatasetChanges, DetectionFilter, FaceAttributes, FaceDetail, KinesisVideoStreamStartSelector, LabelDetectionFeatureName, LabelDetectionSettings, NotificationChannel, ProjectVersionStatus, RegionOfInterest, SearchedFaceDetails, SegmentType, StreamProcessorDataSharingPreference, UserMatch, Video } from "./models_0";
|
|
3
3
|
import { RekognitionServiceException as __BaseException } from "./RekognitionServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* @enum
|
|
7
|
+
*/
|
|
8
|
+
export declare const UnsearchedFaceReason: {
|
|
9
|
+
readonly EXCEEDS_MAX_FACES: "EXCEEDS_MAX_FACES";
|
|
10
|
+
readonly EXTREME_POSE: "EXTREME_POSE";
|
|
11
|
+
readonly FACE_NOT_LARGEST: "FACE_NOT_LARGEST";
|
|
12
|
+
readonly LOW_BRIGHTNESS: "LOW_BRIGHTNESS";
|
|
13
|
+
readonly LOW_CONFIDENCE: "LOW_CONFIDENCE";
|
|
14
|
+
readonly LOW_FACE_QUALITY: "LOW_FACE_QUALITY";
|
|
15
|
+
readonly LOW_SHARPNESS: "LOW_SHARPNESS";
|
|
16
|
+
readonly SMALL_BOUNDING_BOX: "SMALL_BOUNDING_BOX";
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type UnsearchedFaceReason = (typeof UnsearchedFaceReason)[keyof typeof UnsearchedFaceReason];
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
* <p>Face details inferred from the image but not used for search. The response attribute
|
|
25
|
+
* contains reasons for why a face wasn't used for Search. </p>
|
|
26
|
+
*/
|
|
27
|
+
export interface UnsearchedFace {
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* <p>Structure containing attributes of the face that the algorithm detected.</p>
|
|
31
|
+
* <p>A <code>FaceDetail</code> object contains either the default facial attributes or all
|
|
32
|
+
* facial attributes. The default attributes are <code>BoundingBox</code>,
|
|
33
|
+
* <code>Confidence</code>, <code>Landmarks</code>, <code>Pose</code>, and
|
|
34
|
+
* <code>Quality</code>.</p>
|
|
35
|
+
* <p>
|
|
36
|
+
* <a>GetFaceDetection</a> is the only Amazon Rekognition Video stored video operation that can
|
|
37
|
+
* return a <code>FaceDetail</code> object with all attributes. To specify which attributes to
|
|
38
|
+
* return, use the <code>FaceAttributes</code> input parameter for <a>StartFaceDetection</a>. The following Amazon Rekognition Video operations return only the default
|
|
39
|
+
* attributes. The corresponding Start operations don't have a <code>FaceAttributes</code> input
|
|
40
|
+
* parameter:</p>
|
|
41
|
+
* <ul>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>GetCelebrityRecognition</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>GetPersonTracking</p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>GetFaceSearch</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* <p>The Amazon Rekognition Image <a>DetectFaces</a> and <a>IndexFaces</a> operations
|
|
53
|
+
* can return all facial attributes. To specify which attributes to return, use the
|
|
54
|
+
* <code>Attributes</code> input parameter for <code>DetectFaces</code>. For
|
|
55
|
+
* <code>IndexFaces</code>, use the <code>DetectAttributes</code> input parameter.</p>
|
|
56
|
+
*/
|
|
57
|
+
FaceDetails?: FaceDetail;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* <p> Reasons why a face wasn't used for Search. </p>
|
|
61
|
+
*/
|
|
62
|
+
Reasons?: (UnsearchedFaceReason | string)[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface SearchUsersByImageResponse {
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* <p>An array of UserID objects that matched the input face, along with the confidence in the
|
|
71
|
+
* match. The returned structure will be empty if there are no matches. Returned if the
|
|
72
|
+
* SearchUsersByImageResponse action is successful.</p>
|
|
73
|
+
*/
|
|
74
|
+
UserMatches?: UserMatch[];
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* <p>Version number of the face detection model associated with the input collection
|
|
78
|
+
* CollectionId.</p>
|
|
79
|
+
*/
|
|
80
|
+
FaceModelVersion?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* <p>A list of FaceDetail objects containing the BoundingBox for the largest face in image, as
|
|
84
|
+
* well as the confidence in the bounding box, that was searched for matches. If no valid face is
|
|
85
|
+
* detected in the image the response will contain no SearchedFace object.</p>
|
|
86
|
+
*/
|
|
87
|
+
SearchedFace?: SearchedFaceDetails;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* <p>List of UnsearchedFace objects. Contains the face details infered from the specified image
|
|
91
|
+
* but not used for search. Contains reasons that describe why a face wasn't used for Search.
|
|
92
|
+
* </p>
|
|
93
|
+
*/
|
|
94
|
+
UnsearchedFaces?: UnsearchedFace[];
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export interface StartCelebrityRecognitionRequest {
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* <p>The video in which you want to recognize celebrities. The video must be stored
|
|
103
|
+
* in an Amazon S3 bucket.</p>
|
|
104
|
+
*/
|
|
105
|
+
Video: Video | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* <p>Idempotent token used to identify the start request. If you use the same token with multiple
|
|
109
|
+
* <code>StartCelebrityRecognition</code> requests, the same <code>JobId</code> is returned. Use
|
|
110
|
+
* <code>ClientRequestToken</code> to prevent the same job from being accidently started more than once. </p>
|
|
111
|
+
*/
|
|
112
|
+
ClientRequestToken?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* <p>The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the
|
|
116
|
+
* celebrity recognition analysis to. The Amazon SNS topic must have a topic name that begins with <i>AmazonRekognition</i> if you are using the AmazonRekognitionServiceRole permissions policy.</p>
|
|
117
|
+
*/
|
|
118
|
+
NotificationChannel?: NotificationChannel;
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* <p>An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.
|
|
122
|
+
* For example, you can use <code>JobTag</code> to group related jobs and identify them in the completion notification.</p>
|
|
123
|
+
*/
|
|
124
|
+
JobTag?: string;
|
|
125
|
+
}
|
|
4
126
|
/**
|
|
5
127
|
* @public
|
|
6
128
|
*/
|
|
@@ -298,11 +420,6 @@ export interface StartProjectVersionRequest {
|
|
|
298
420
|
* @public
|
|
299
421
|
* <p>The minimum number of inference units to use. A single
|
|
300
422
|
* inference unit represents 1 hour of processing. </p>
|
|
301
|
-
* <p>For information about the number
|
|
302
|
-
* of transactions per second (TPS) that an inference unit can support, see
|
|
303
|
-
* <i>Running a trained Amazon Rekognition Custom Labels model</i> in the
|
|
304
|
-
* Amazon Rekognition Custom Labels Guide.
|
|
305
|
-
* </p>
|
|
306
423
|
* <p>Use a higher number to increase the TPS throughput of your model. You are charged for the number
|
|
307
424
|
* of inference units that you use.
|
|
308
425
|
* </p>
|
|
@@ -578,7 +695,7 @@ export interface StartTextDetectionResponse {
|
|
|
578
695
|
export interface StopProjectVersionRequest {
|
|
579
696
|
/**
|
|
580
697
|
* @public
|
|
581
|
-
* <p>The Amazon Resource Name (ARN) of the model version that you want to
|
|
698
|
+
* <p>The Amazon Resource Name (ARN) of the model version that you want to stop.</p>
|
|
582
699
|
* <p>This operation requires permissions to perform the <code>rekognition:StopProjectVersion</code> action.</p>
|
|
583
700
|
*/
|
|
584
701
|
ProjectVersionArn: string | undefined;
|
|
@@ -6,10 +6,8 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@smithy/types";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
SearchUsersByImageResponse,
|
|
12
|
-
} from "../models/models_0";
|
|
9
|
+
import { SearchUsersByImageRequest } from "../models/models_0";
|
|
10
|
+
import { SearchUsersByImageResponse } from "../models/models_1";
|
|
13
11
|
import {
|
|
14
12
|
RekognitionClientResolvedConfig,
|
|
15
13
|
ServiceInputTypes,
|
|
@@ -6,8 +6,10 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@smithy/types";
|
|
9
|
-
import {
|
|
10
|
-
|
|
9
|
+
import {
|
|
10
|
+
StartCelebrityRecognitionRequest,
|
|
11
|
+
StartCelebrityRecognitionResponse,
|
|
12
|
+
} from "../models/models_1";
|
|
11
13
|
import {
|
|
12
14
|
RekognitionClientResolvedConfig,
|
|
13
15
|
ServiceInputTypes,
|
|
@@ -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 | string;
|
|
604
|
+
AutoUpdate?: ProjectAutoUpdate | string;
|
|
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;
|
|
@@ -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";
|
|
@@ -842,12 +866,15 @@ export interface DescribeProjectsRequest {
|
|
|
842
866
|
NextToken?: string;
|
|
843
867
|
MaxResults?: number;
|
|
844
868
|
ProjectNames?: string[];
|
|
869
|
+
Features?: (CustomizationFeature | string)[];
|
|
845
870
|
}
|
|
846
871
|
export interface ProjectDescription {
|
|
847
872
|
ProjectArn?: string;
|
|
848
873
|
CreationTimestamp?: Date;
|
|
849
874
|
Status?: ProjectStatus | string;
|
|
850
875
|
Datasets?: DatasetMetadata[];
|
|
876
|
+
Feature?: CustomizationFeature | string;
|
|
877
|
+
AutoUpdate?: ProjectAutoUpdate | string;
|
|
851
878
|
}
|
|
852
879
|
export interface DescribeProjectsResponse {
|
|
853
880
|
ProjectDescriptions?: ProjectDescription[];
|
|
@@ -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 | string;
|
|
940
|
+
BaseModelVersion?: string;
|
|
941
|
+
FeatureConfig?: CustomizationFeatureConfig;
|
|
911
942
|
}
|
|
912
943
|
export interface DescribeProjectVersionsResponse {
|
|
913
944
|
ProjectVersionDescriptions?: ProjectVersionDescription[];
|
|
@@ -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";
|
|
@@ -1724,34 +1757,6 @@ export interface SearchUsersByImageRequest {
|
|
|
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 | string)[];
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognition",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.428.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.428.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.428.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.428.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
|
-
"@smithy/util-waiter": "^2.0.
|
|
58
|
+
"@smithy/util-waiter": "^2.0.11",
|
|
59
59
|
"tslib": "^2.5.0",
|
|
60
60
|
"uuid": "^8.3.2"
|
|
61
61
|
},
|