@aws-sdk/client-rekognition 3.287.0 → 3.289.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-types/commands/CompareFacesCommand.d.ts +50 -0
- package/dist-types/commands/CopyProjectVersionCommand.d.ts +27 -0
- package/dist-types/commands/CreateCollectionCommand.d.ts +17 -0
- package/dist-types/commands/DeleteCollectionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFacesCommand.d.ts +21 -0
- package/dist-types/commands/DeleteProjectPolicyCommand.d.ts +13 -0
- package/dist-types/commands/DetectFacesCommand.d.ts +68 -0
- package/dist-types/commands/DetectLabelsCommand.d.ts +32 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +142 -0
- package/dist-types/commands/ListCollectionsCommand.d.ts +16 -0
- package/dist-types/commands/ListFacesCommand.d.ts +139 -0
- package/dist-types/commands/ListProjectPoliciesCommand.d.ts +28 -0
- package/dist-types/commands/PutProjectPolicyCommand.d.ts +19 -0
- package/dist-types/commands/SearchFacesByImageCommand.d.ts +46 -0
- package/dist-types/commands/SearchFacesCommand.d.ts +63 -0
- package/package.json +30 -30
|
@@ -79,6 +79,56 @@ export interface CompareFacesCommandOutput extends CompareFacesResponse, __Metad
|
|
|
79
79
|
* @see {@link CompareFacesCommandOutput} for command's `response` shape.
|
|
80
80
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
81
81
|
*
|
|
82
|
+
* @example To compare two images
|
|
83
|
+
* ```javascript
|
|
84
|
+
* // This operation compares the largest face detected in the source image with each face detected in the target image.
|
|
85
|
+
* const input = {
|
|
86
|
+
* "SimilarityThreshold": 90,
|
|
87
|
+
* "SourceImage": {
|
|
88
|
+
* "S3Object": {
|
|
89
|
+
* "Bucket": "mybucket",
|
|
90
|
+
* "Name": "mysourceimage"
|
|
91
|
+
* }
|
|
92
|
+
* },
|
|
93
|
+
* "TargetImage": {
|
|
94
|
+
* "S3Object": {
|
|
95
|
+
* "Bucket": "mybucket",
|
|
96
|
+
* "Name": "mytargetimage"
|
|
97
|
+
* }
|
|
98
|
+
* }
|
|
99
|
+
* };
|
|
100
|
+
* const command = new CompareFacesCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response ==
|
|
103
|
+
* {
|
|
104
|
+
* "FaceMatches": [
|
|
105
|
+
* {
|
|
106
|
+
* "Face": {
|
|
107
|
+
* "BoundingBox": {
|
|
108
|
+
* "Height": 0.33481481671333313,
|
|
109
|
+
* "Left": 0.31888890266418457,
|
|
110
|
+
* "Top": 0.4933333396911621,
|
|
111
|
+
* "Width": 0.25
|
|
112
|
+
* },
|
|
113
|
+
* "Confidence": 99.9991226196289
|
|
114
|
+
* },
|
|
115
|
+
* "Similarity": 100
|
|
116
|
+
* }
|
|
117
|
+
* ],
|
|
118
|
+
* "SourceImageFace": {
|
|
119
|
+
* "BoundingBox": {
|
|
120
|
+
* "Height": 0.33481481671333313,
|
|
121
|
+
* "Left": 0.31888890266418457,
|
|
122
|
+
* "Top": 0.4933333396911621,
|
|
123
|
+
* "Width": 0.25
|
|
124
|
+
* },
|
|
125
|
+
* "Confidence": 99.9991226196289
|
|
126
|
+
* }
|
|
127
|
+
* }
|
|
128
|
+
* *\/
|
|
129
|
+
* // example id: to-compare-two-images-1482181985581
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
82
132
|
*/
|
|
83
133
|
export declare class CompareFacesCommand extends $Command<CompareFacesCommandInput, CompareFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
84
134
|
readonly input: CompareFacesCommandInput;
|
|
@@ -47,6 +47,33 @@ export interface CopyProjectVersionCommandOutput extends CopyProjectVersionRespo
|
|
|
47
47
|
* @see {@link CopyProjectVersionCommandOutput} for command's `response` shape.
|
|
48
48
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
49
49
|
*
|
|
50
|
+
* @example CopyProjectVersion
|
|
51
|
+
* ```javascript
|
|
52
|
+
* // This operation copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project.
|
|
53
|
+
* const input = {
|
|
54
|
+
* "DestinationProjectArn": "arn:aws:rekognition:us-east-1:555555555555:project/DestinationProject/1656705098765",
|
|
55
|
+
* "KmsKeyId": "arn:1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
56
|
+
* "OutputConfig": {
|
|
57
|
+
* "S3Bucket": "bucket-name",
|
|
58
|
+
* "S3KeyPrefix": "path_to_folder"
|
|
59
|
+
* },
|
|
60
|
+
* "SourceProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/16565123456",
|
|
61
|
+
* "SourceProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/version/model_1/1656611123456",
|
|
62
|
+
* "Tags": {
|
|
63
|
+
* "key1": "val1"
|
|
64
|
+
* },
|
|
65
|
+
* "VersionName": "DestinationVersionName_cross_account"
|
|
66
|
+
* };
|
|
67
|
+
* const command = new CopyProjectVersionCommand(input);
|
|
68
|
+
* const response = await client.send(command);
|
|
69
|
+
* /* response ==
|
|
70
|
+
* {
|
|
71
|
+
* "ProjectVersionArn": "arn:aws:rekognition:us-east-1:555555555555:project/DestinationProject/version/DestinationVersionName_cross_account/16567050987651"
|
|
72
|
+
* }
|
|
73
|
+
* *\/
|
|
74
|
+
* // example id: copyprojectversion-1658203943815
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
50
77
|
*/
|
|
51
78
|
export declare class CopyProjectVersionCommand extends $Command<CopyProjectVersionCommandInput, CopyProjectVersionCommandOutput, RekognitionClientResolvedConfig> {
|
|
52
79
|
readonly input: CopyProjectVersionCommandInput;
|
|
@@ -43,6 +43,23 @@ export interface CreateCollectionCommandOutput extends CreateCollectionResponse,
|
|
|
43
43
|
* @see {@link CreateCollectionCommandOutput} for command's `response` shape.
|
|
44
44
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
45
45
|
*
|
|
46
|
+
* @example To create a collection
|
|
47
|
+
* ```javascript
|
|
48
|
+
* // This operation creates a Rekognition collection for storing image data.
|
|
49
|
+
* const input = {
|
|
50
|
+
* "CollectionId": "myphotos"
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateCollectionCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* /* response ==
|
|
55
|
+
* {
|
|
56
|
+
* "CollectionArn": "aws:rekognition:us-west-2:123456789012:collection/myphotos",
|
|
57
|
+
* "StatusCode": 200
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: to-create-a-collection-1481833313674
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
46
63
|
*/
|
|
47
64
|
export declare class CreateCollectionCommand extends $Command<CreateCollectionCommandInput, CreateCollectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
48
65
|
readonly input: CreateCollectionCommandInput;
|
|
@@ -33,6 +33,22 @@ export interface DeleteCollectionCommandOutput extends DeleteCollectionResponse,
|
|
|
33
33
|
* @see {@link DeleteCollectionCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @example To delete a collection
|
|
37
|
+
* ```javascript
|
|
38
|
+
* // This operation deletes a Rekognition collection.
|
|
39
|
+
* const input = {
|
|
40
|
+
* "CollectionId": "myphotos"
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteCollectionCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "StatusCode": 200
|
|
47
|
+
* }
|
|
48
|
+
* *\/
|
|
49
|
+
* // example id: to-delete-a-collection-1481838179973
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
36
52
|
*/
|
|
37
53
|
export declare class DeleteCollectionCommand extends $Command<DeleteCollectionCommandInput, DeleteCollectionCommandOutput, RekognitionClientResolvedConfig> {
|
|
38
54
|
readonly input: DeleteCollectionCommandInput;
|
|
@@ -32,6 +32,27 @@ export interface DeleteFacesCommandOutput extends DeleteFacesResponse, __Metadat
|
|
|
32
32
|
* @see {@link DeleteFacesCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @example To delete a face
|
|
36
|
+
* ```javascript
|
|
37
|
+
* // This operation deletes one or more faces from a Rekognition collection.
|
|
38
|
+
* const input = {
|
|
39
|
+
* "CollectionId": "myphotos",
|
|
40
|
+
* "FaceIds": [
|
|
41
|
+
* "ff43d742-0c13-5d16-a3e8-03d3f58e980b"
|
|
42
|
+
* ]
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteFacesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* /* response ==
|
|
47
|
+
* {
|
|
48
|
+
* "DeletedFaces": [
|
|
49
|
+
* "ff43d742-0c13-5d16-a3e8-03d3f58e980b"
|
|
50
|
+
* ]
|
|
51
|
+
* }
|
|
52
|
+
* *\/
|
|
53
|
+
* // example id: to-delete-a-face-1482182799377
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
35
56
|
*/
|
|
36
57
|
export declare class DeleteFacesCommand extends $Command<DeleteFacesCommandInput, DeleteFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
37
58
|
readonly input: DeleteFacesCommandInput;
|
|
@@ -30,6 +30,19 @@ export interface DeleteProjectPolicyCommandOutput extends DeleteProjectPolicyRes
|
|
|
30
30
|
* @see {@link DeleteProjectPolicyCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example DeleteProjectPolicy
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // This operation deletes a revision of an existing project policy from an Amazon Rekognition Custom Labels project.
|
|
36
|
+
* const input = {
|
|
37
|
+
* "PolicyName": "testPolicy1",
|
|
38
|
+
* "PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc",
|
|
39
|
+
* "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/1656557123456"
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteProjectPolicyCommand(input);
|
|
42
|
+
* await client.send(command);
|
|
43
|
+
* // example id: deleteprojectpolicy-1658204413810
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
33
46
|
*/
|
|
34
47
|
export declare class DeleteProjectPolicyCommand extends $Command<DeleteProjectPolicyCommandInput, DeleteProjectPolicyCommandOutput, RekognitionClientResolvedConfig> {
|
|
35
48
|
readonly input: DeleteProjectPolicyCommandInput;
|
|
@@ -47,6 +47,74 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
47
47
|
* @see {@link DetectFacesCommandOutput} for command's `response` shape.
|
|
48
48
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
49
49
|
*
|
|
50
|
+
* @example To detect faces in an image
|
|
51
|
+
* ```javascript
|
|
52
|
+
* // This operation detects faces in an image stored in an AWS S3 bucket.
|
|
53
|
+
* const input = {
|
|
54
|
+
* "Image": {
|
|
55
|
+
* "S3Object": {
|
|
56
|
+
* "Bucket": "mybucket",
|
|
57
|
+
* "Name": "myphoto"
|
|
58
|
+
* }
|
|
59
|
+
* }
|
|
60
|
+
* };
|
|
61
|
+
* const command = new DetectFacesCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* /* response ==
|
|
64
|
+
* {
|
|
65
|
+
* "FaceDetails": [
|
|
66
|
+
* {
|
|
67
|
+
* "BoundingBox": {
|
|
68
|
+
* "Height": 0.18000000715255737,
|
|
69
|
+
* "Left": 0.5555555820465088,
|
|
70
|
+
* "Top": 0.33666667342185974,
|
|
71
|
+
* "Width": 0.23999999463558197
|
|
72
|
+
* },
|
|
73
|
+
* "Confidence": 100,
|
|
74
|
+
* "Landmarks": [
|
|
75
|
+
* {
|
|
76
|
+
* "Type": "eyeLeft",
|
|
77
|
+
* "X": 0.6394737362861633,
|
|
78
|
+
* "Y": 0.40819624066352844
|
|
79
|
+
* },
|
|
80
|
+
* {
|
|
81
|
+
* "Type": "eyeRight",
|
|
82
|
+
* "X": 0.7266660928726196,
|
|
83
|
+
* "Y": 0.41039225459098816
|
|
84
|
+
* },
|
|
85
|
+
* {
|
|
86
|
+
* "Type": "eyeRight",
|
|
87
|
+
* "X": 0.6912462115287781,
|
|
88
|
+
* "Y": 0.44240960478782654
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* "Type": "mouthDown",
|
|
92
|
+
* "X": 0.6306198239326477,
|
|
93
|
+
* "Y": 0.46700039505958557
|
|
94
|
+
* },
|
|
95
|
+
* {
|
|
96
|
+
* "Type": "mouthUp",
|
|
97
|
+
* "X": 0.7215608954429626,
|
|
98
|
+
* "Y": 0.47114261984825134
|
|
99
|
+
* }
|
|
100
|
+
* ],
|
|
101
|
+
* "Pose": {
|
|
102
|
+
* "Pitch": 4.050806522369385,
|
|
103
|
+
* "Roll": 0.9950747489929199,
|
|
104
|
+
* "Yaw": 13.693790435791016
|
|
105
|
+
* },
|
|
106
|
+
* "Quality": {
|
|
107
|
+
* "Brightness": 37.60169982910156,
|
|
108
|
+
* "Sharpness": 80
|
|
109
|
+
* }
|
|
110
|
+
* }
|
|
111
|
+
* ],
|
|
112
|
+
* "OrientationCorrection": "ROTATE_0"
|
|
113
|
+
* }
|
|
114
|
+
* *\/
|
|
115
|
+
* // example id: to-detect-faces-in-an-image-1481841782793
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
50
118
|
*/
|
|
51
119
|
export declare class DetectFacesCommand extends $Command<DetectFacesCommandInput, DetectFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
52
120
|
readonly input: DetectFacesCommandInput;
|
|
@@ -141,6 +141,38 @@ export interface DetectLabelsCommandOutput extends DetectLabelsResponse, __Metad
|
|
|
141
141
|
* @see {@link DetectLabelsCommandOutput} for command's `response` shape.
|
|
142
142
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
143
143
|
*
|
|
144
|
+
* @example To detect labels
|
|
145
|
+
* ```javascript
|
|
146
|
+
* // This operation detects labels in the supplied image
|
|
147
|
+
* const input = {
|
|
148
|
+
* "Image": {
|
|
149
|
+
* "S3Object": {
|
|
150
|
+
* "Bucket": "mybucket",
|
|
151
|
+
* "Name": "myphoto"
|
|
152
|
+
* }
|
|
153
|
+
* },
|
|
154
|
+
* "MaxLabels": 123,
|
|
155
|
+
* "MinConfidence": 70
|
|
156
|
+
* };
|
|
157
|
+
* const command = new DetectLabelsCommand(input);
|
|
158
|
+
* const response = await client.send(command);
|
|
159
|
+
* /* response ==
|
|
160
|
+
* {
|
|
161
|
+
* "Labels": [
|
|
162
|
+
* {
|
|
163
|
+
* "Confidence": 99.25072479248047,
|
|
164
|
+
* "Name": "People"
|
|
165
|
+
* },
|
|
166
|
+
* {
|
|
167
|
+
* "Confidence": 99.25074005126953,
|
|
168
|
+
* "Name": "Person"
|
|
169
|
+
* }
|
|
170
|
+
* ]
|
|
171
|
+
* }
|
|
172
|
+
* *\/
|
|
173
|
+
* // example id: to-detect-labels-1481834255770
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
144
176
|
*/
|
|
145
177
|
export declare class DetectLabelsCommand extends $Command<DetectLabelsCommandInput, DetectLabelsCommandOutput, RekognitionClientResolvedConfig> {
|
|
146
178
|
readonly input: DetectLabelsCommandInput;
|
|
@@ -119,6 +119,148 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
119
119
|
* @see {@link IndexFacesCommandOutput} for command's `response` shape.
|
|
120
120
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
121
121
|
*
|
|
122
|
+
* @example To add a face to a collection
|
|
123
|
+
* ```javascript
|
|
124
|
+
* // This operation detects faces in an image and adds them to the specified Rekognition collection.
|
|
125
|
+
* const input = {
|
|
126
|
+
* "CollectionId": "myphotos",
|
|
127
|
+
* "DetectionAttributes": [],
|
|
128
|
+
* "ExternalImageId": "myphotoid",
|
|
129
|
+
* "Image": {
|
|
130
|
+
* "S3Object": {
|
|
131
|
+
* "Bucket": "mybucket",
|
|
132
|
+
* "Name": "myphoto"
|
|
133
|
+
* }
|
|
134
|
+
* }
|
|
135
|
+
* };
|
|
136
|
+
* const command = new IndexFacesCommand(input);
|
|
137
|
+
* const response = await client.send(command);
|
|
138
|
+
* /* response ==
|
|
139
|
+
* {
|
|
140
|
+
* "FaceRecords": [
|
|
141
|
+
* {
|
|
142
|
+
* "Face": {
|
|
143
|
+
* "BoundingBox": {
|
|
144
|
+
* "Height": 0.33481481671333313,
|
|
145
|
+
* "Left": 0.31888890266418457,
|
|
146
|
+
* "Top": 0.4933333396911621,
|
|
147
|
+
* "Width": 0.25
|
|
148
|
+
* },
|
|
149
|
+
* "Confidence": 99.9991226196289,
|
|
150
|
+
* "FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
|
|
151
|
+
* "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
152
|
+
* },
|
|
153
|
+
* "FaceDetail": {
|
|
154
|
+
* "BoundingBox": {
|
|
155
|
+
* "Height": 0.33481481671333313,
|
|
156
|
+
* "Left": 0.31888890266418457,
|
|
157
|
+
* "Top": 0.4933333396911621,
|
|
158
|
+
* "Width": 0.25
|
|
159
|
+
* },
|
|
160
|
+
* "Confidence": 99.9991226196289,
|
|
161
|
+
* "Landmarks": [
|
|
162
|
+
* {
|
|
163
|
+
* "Type": "eyeLeft",
|
|
164
|
+
* "X": 0.3976764678955078,
|
|
165
|
+
* "Y": 0.6248345971107483
|
|
166
|
+
* },
|
|
167
|
+
* {
|
|
168
|
+
* "Type": "eyeRight",
|
|
169
|
+
* "X": 0.4810936450958252,
|
|
170
|
+
* "Y": 0.6317117214202881
|
|
171
|
+
* },
|
|
172
|
+
* {
|
|
173
|
+
* "Type": "noseLeft",
|
|
174
|
+
* "X": 0.41986238956451416,
|
|
175
|
+
* "Y": 0.7111940383911133
|
|
176
|
+
* },
|
|
177
|
+
* {
|
|
178
|
+
* "Type": "mouthDown",
|
|
179
|
+
* "X": 0.40525302290916443,
|
|
180
|
+
* "Y": 0.7497701048851013
|
|
181
|
+
* },
|
|
182
|
+
* {
|
|
183
|
+
* "Type": "mouthUp",
|
|
184
|
+
* "X": 0.4753248989582062,
|
|
185
|
+
* "Y": 0.7558549642562866
|
|
186
|
+
* }
|
|
187
|
+
* ],
|
|
188
|
+
* "Pose": {
|
|
189
|
+
* "Pitch": -9.713645935058594,
|
|
190
|
+
* "Roll": 4.707281112670898,
|
|
191
|
+
* "Yaw": -24.438663482666016
|
|
192
|
+
* },
|
|
193
|
+
* "Quality": {
|
|
194
|
+
* "Brightness": 29.23358917236328,
|
|
195
|
+
* "Sharpness": 80
|
|
196
|
+
* }
|
|
197
|
+
* }
|
|
198
|
+
* },
|
|
199
|
+
* {
|
|
200
|
+
* "Face": {
|
|
201
|
+
* "BoundingBox": {
|
|
202
|
+
* "Height": 0.32592591643333435,
|
|
203
|
+
* "Left": 0.5144444704055786,
|
|
204
|
+
* "Top": 0.15111111104488373,
|
|
205
|
+
* "Width": 0.24444444477558136
|
|
206
|
+
* },
|
|
207
|
+
* "Confidence": 99.99950408935547,
|
|
208
|
+
* "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
|
209
|
+
* "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
210
|
+
* },
|
|
211
|
+
* "FaceDetail": {
|
|
212
|
+
* "BoundingBox": {
|
|
213
|
+
* "Height": 0.32592591643333435,
|
|
214
|
+
* "Left": 0.5144444704055786,
|
|
215
|
+
* "Top": 0.15111111104488373,
|
|
216
|
+
* "Width": 0.24444444477558136
|
|
217
|
+
* },
|
|
218
|
+
* "Confidence": 99.99950408935547,
|
|
219
|
+
* "Landmarks": [
|
|
220
|
+
* {
|
|
221
|
+
* "Type": "eyeLeft",
|
|
222
|
+
* "X": 0.6006892323493958,
|
|
223
|
+
* "Y": 0.290842205286026
|
|
224
|
+
* },
|
|
225
|
+
* {
|
|
226
|
+
* "Type": "eyeRight",
|
|
227
|
+
* "X": 0.6808141469955444,
|
|
228
|
+
* "Y": 0.29609042406082153
|
|
229
|
+
* },
|
|
230
|
+
* {
|
|
231
|
+
* "Type": "noseLeft",
|
|
232
|
+
* "X": 0.6395332217216492,
|
|
233
|
+
* "Y": 0.3522595763206482
|
|
234
|
+
* },
|
|
235
|
+
* {
|
|
236
|
+
* "Type": "mouthDown",
|
|
237
|
+
* "X": 0.5892083048820496,
|
|
238
|
+
* "Y": 0.38689887523651123
|
|
239
|
+
* },
|
|
240
|
+
* {
|
|
241
|
+
* "Type": "mouthUp",
|
|
242
|
+
* "X": 0.674560010433197,
|
|
243
|
+
* "Y": 0.394125759601593
|
|
244
|
+
* }
|
|
245
|
+
* ],
|
|
246
|
+
* "Pose": {
|
|
247
|
+
* "Pitch": -4.683138370513916,
|
|
248
|
+
* "Roll": 2.1029529571533203,
|
|
249
|
+
* "Yaw": 6.716655254364014
|
|
250
|
+
* },
|
|
251
|
+
* "Quality": {
|
|
252
|
+
* "Brightness": 34.951698303222656,
|
|
253
|
+
* "Sharpness": 160
|
|
254
|
+
* }
|
|
255
|
+
* }
|
|
256
|
+
* }
|
|
257
|
+
* ],
|
|
258
|
+
* "OrientationCorrection": "ROTATE_0"
|
|
259
|
+
* }
|
|
260
|
+
* *\/
|
|
261
|
+
* // example id: to-add-a-face-to-a-collection-1482179542923
|
|
262
|
+
* ```
|
|
263
|
+
*
|
|
122
264
|
*/
|
|
123
265
|
export declare class IndexFacesCommand extends $Command<IndexFacesCommandInput, IndexFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
124
266
|
readonly input: IndexFacesCommandInput;
|
|
@@ -35,6 +35,22 @@ export interface ListCollectionsCommandOutput extends ListCollectionsResponse, _
|
|
|
35
35
|
* @see {@link ListCollectionsCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @example To list the collections
|
|
39
|
+
* ```javascript
|
|
40
|
+
* // This operation returns a list of Rekognition collections.
|
|
41
|
+
* const input = {};
|
|
42
|
+
* const command = new ListCollectionsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "CollectionIds": [
|
|
47
|
+
* "myphotos"
|
|
48
|
+
* ]
|
|
49
|
+
* }
|
|
50
|
+
* *\/
|
|
51
|
+
* // example id: to-list-the-collections-1482179199088
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
38
54
|
*/
|
|
39
55
|
export declare class ListCollectionsCommand extends $Command<ListCollectionsCommandInput, ListCollectionsCommandOutput, RekognitionClientResolvedConfig> {
|
|
40
56
|
readonly input: ListCollectionsCommandInput;
|
|
@@ -34,6 +34,145 @@ export interface ListFacesCommandOutput extends ListFacesResponse, __MetadataBea
|
|
|
34
34
|
* @see {@link ListFacesCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @example To list the faces in a collection
|
|
38
|
+
* ```javascript
|
|
39
|
+
* // This operation lists the faces in a Rekognition collection.
|
|
40
|
+
* const input = {
|
|
41
|
+
* "CollectionId": "myphotos",
|
|
42
|
+
* "MaxResults": 20
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListFacesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* /* response ==
|
|
47
|
+
* {
|
|
48
|
+
* "Faces": [
|
|
49
|
+
* {
|
|
50
|
+
* "BoundingBox": {
|
|
51
|
+
* "Height": 0.18000000715255737,
|
|
52
|
+
* "Left": 0.5555559992790222,
|
|
53
|
+
* "Top": 0.336667001247406,
|
|
54
|
+
* "Width": 0.23999999463558197
|
|
55
|
+
* },
|
|
56
|
+
* "Confidence": 100,
|
|
57
|
+
* "FaceId": "1c62e8b5-69a7-5b7d-b3cd-db4338a8a7e7",
|
|
58
|
+
* "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
|
|
59
|
+
* },
|
|
60
|
+
* {
|
|
61
|
+
* "BoundingBox": {
|
|
62
|
+
* "Height": 0.16555599868297577,
|
|
63
|
+
* "Left": 0.30963000655174255,
|
|
64
|
+
* "Top": 0.7066670060157776,
|
|
65
|
+
* "Width": 0.22074100375175476
|
|
66
|
+
* },
|
|
67
|
+
* "Confidence": 100,
|
|
68
|
+
* "FaceId": "29a75abe-397b-5101-ba4f-706783b2246c",
|
|
69
|
+
* "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
|
|
70
|
+
* },
|
|
71
|
+
* {
|
|
72
|
+
* "BoundingBox": {
|
|
73
|
+
* "Height": 0.3234420120716095,
|
|
74
|
+
* "Left": 0.3233329951763153,
|
|
75
|
+
* "Top": 0.5,
|
|
76
|
+
* "Width": 0.24222199618816376
|
|
77
|
+
* },
|
|
78
|
+
* "Confidence": 99.99829864501953,
|
|
79
|
+
* "FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85",
|
|
80
|
+
* "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
|
|
81
|
+
* },
|
|
82
|
+
* {
|
|
83
|
+
* "BoundingBox": {
|
|
84
|
+
* "Height": 0.03555560111999512,
|
|
85
|
+
* "Left": 0.37388700246810913,
|
|
86
|
+
* "Top": 0.2477779984474182,
|
|
87
|
+
* "Width": 0.04747769981622696
|
|
88
|
+
* },
|
|
89
|
+
* "Confidence": 99.99210357666016,
|
|
90
|
+
* "FaceId": "3b01bef0-c883-5654-ba42-d5ad28b720b3",
|
|
91
|
+
* "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
|
92
|
+
* },
|
|
93
|
+
* {
|
|
94
|
+
* "BoundingBox": {
|
|
95
|
+
* "Height": 0.05333330109715462,
|
|
96
|
+
* "Left": 0.2937690019607544,
|
|
97
|
+
* "Top": 0.35666701197624207,
|
|
98
|
+
* "Width": 0.07121659815311432
|
|
99
|
+
* },
|
|
100
|
+
* "Confidence": 99.99919891357422,
|
|
101
|
+
* "FaceId": "4839a608-49d0-566c-8301-509d71b534d1",
|
|
102
|
+
* "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
|
103
|
+
* },
|
|
104
|
+
* {
|
|
105
|
+
* "BoundingBox": {
|
|
106
|
+
* "Height": 0.3249259889125824,
|
|
107
|
+
* "Left": 0.5155559778213501,
|
|
108
|
+
* "Top": 0.1513350009918213,
|
|
109
|
+
* "Width": 0.24333299696445465
|
|
110
|
+
* },
|
|
111
|
+
* "Confidence": 99.99949645996094,
|
|
112
|
+
* "FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14",
|
|
113
|
+
* "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
|
|
114
|
+
* },
|
|
115
|
+
* {
|
|
116
|
+
* "BoundingBox": {
|
|
117
|
+
* "Height": 0.03777780011296272,
|
|
118
|
+
* "Left": 0.7002969980239868,
|
|
119
|
+
* "Top": 0.18777799606323242,
|
|
120
|
+
* "Width": 0.05044509842991829
|
|
121
|
+
* },
|
|
122
|
+
* "Confidence": 99.92639923095703,
|
|
123
|
+
* "FaceId": "7f5f88ed-d684-5a88-b0df-01e4a521552b",
|
|
124
|
+
* "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
|
125
|
+
* },
|
|
126
|
+
* {
|
|
127
|
+
* "BoundingBox": {
|
|
128
|
+
* "Height": 0.05555560067296028,
|
|
129
|
+
* "Left": 0.13946600258350372,
|
|
130
|
+
* "Top": 0.46333301067352295,
|
|
131
|
+
* "Width": 0.07270029932260513
|
|
132
|
+
* },
|
|
133
|
+
* "Confidence": 99.99469757080078,
|
|
134
|
+
* "FaceId": "895b4e2c-81de-5902-a4bd-d1792bda00b2",
|
|
135
|
+
* "ImageId": "812d9f04-86f9-54fc-9275-8d0dcbcb6784"
|
|
136
|
+
* },
|
|
137
|
+
* {
|
|
138
|
+
* "BoundingBox": {
|
|
139
|
+
* "Height": 0.3259260058403015,
|
|
140
|
+
* "Left": 0.5144439935684204,
|
|
141
|
+
* "Top": 0.15111100673675537,
|
|
142
|
+
* "Width": 0.24444399774074554
|
|
143
|
+
* },
|
|
144
|
+
* "Confidence": 99.99949645996094,
|
|
145
|
+
* "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
|
146
|
+
* "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
147
|
+
* },
|
|
148
|
+
* {
|
|
149
|
+
* "BoundingBox": {
|
|
150
|
+
* "Height": 0.18888899683952332,
|
|
151
|
+
* "Left": 0.3783380091190338,
|
|
152
|
+
* "Top": 0.2355560064315796,
|
|
153
|
+
* "Width": 0.25222599506378174
|
|
154
|
+
* },
|
|
155
|
+
* "Confidence": 99.9999008178711,
|
|
156
|
+
* "FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5",
|
|
157
|
+
* "ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07"
|
|
158
|
+
* },
|
|
159
|
+
* {
|
|
160
|
+
* "BoundingBox": {
|
|
161
|
+
* "Height": 0.33481499552726746,
|
|
162
|
+
* "Left": 0.31888899207115173,
|
|
163
|
+
* "Top": 0.49333301186561584,
|
|
164
|
+
* "Width": 0.25
|
|
165
|
+
* },
|
|
166
|
+
* "Confidence": 99.99909973144531,
|
|
167
|
+
* "FaceId": "ff43d742-0c13-5d16-a3e8-03d3f58e980b",
|
|
168
|
+
* "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
169
|
+
* }
|
|
170
|
+
* ]
|
|
171
|
+
* }
|
|
172
|
+
* *\/
|
|
173
|
+
* // example id: to-list-the-faces-in-a-collection-1482181416530
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
37
176
|
*/
|
|
38
177
|
export declare class ListFacesCommand extends $Command<ListFacesCommandInput, ListFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
39
178
|
readonly input: ListFacesCommandInput;
|
|
@@ -30,6 +30,34 @@ export interface ListProjectPoliciesCommandOutput extends ListProjectPoliciesRes
|
|
|
30
30
|
* @see {@link ListProjectPoliciesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example ListProjectPolicies
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // This operation lists the project policies that are attached to an Amazon Rekognition Custom Labels project.
|
|
36
|
+
* const input = {
|
|
37
|
+
* "MaxResults": 5,
|
|
38
|
+
* "NextToken": "",
|
|
39
|
+
* "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListProjectPoliciesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* /* response ==
|
|
44
|
+
* {
|
|
45
|
+
* "NextToken": "",
|
|
46
|
+
* "ProjectPolicies": [
|
|
47
|
+
* {
|
|
48
|
+
* "CreationTimestamp": "2022-07-01T11:51:27.086000-07:00",
|
|
49
|
+
* "LastUpdatedTimestamp": "2022-07-01T11:51:27.086000-07:00",
|
|
50
|
+
* "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Statemented1\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:root\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"*\"}]}",
|
|
51
|
+
* "PolicyName": "testPolicy",
|
|
52
|
+
* "PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc",
|
|
53
|
+
* "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
|
|
54
|
+
* }
|
|
55
|
+
* ]
|
|
56
|
+
* }
|
|
57
|
+
* *\/
|
|
58
|
+
* // example id: listprojectpolicies-1658202290173
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
33
61
|
*/
|
|
34
62
|
export declare class ListProjectPoliciesCommand extends $Command<ListProjectPoliciesCommandInput, ListProjectPoliciesCommandOutput, RekognitionClientResolvedConfig> {
|
|
35
63
|
readonly input: ListProjectPoliciesCommandInput;
|
|
@@ -41,6 +41,25 @@ export interface PutProjectPolicyCommandOutput extends PutProjectPolicyResponse,
|
|
|
41
41
|
* @see {@link PutProjectPolicyCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @example PutProjectPolicy
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // This operation attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "PolicyDocument": "'{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"ALLOW\",\"Principal\":{\"AWS\":\"principal\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"arn:aws:rekognition:us-east-1:123456789012:project/my-sdk-project/version/DestinationVersionName/1627045542080\"}]}'",
|
|
49
|
+
* "PolicyName": "SamplePolicy",
|
|
50
|
+
* "PolicyRevisionId": "0123456789abcdef",
|
|
51
|
+
* "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
|
|
52
|
+
* };
|
|
53
|
+
* const command = new PutProjectPolicyCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* /* response ==
|
|
56
|
+
* {
|
|
57
|
+
* "PolicyRevisionId": "0123456789abcdef"
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: putprojectpolicy-1658201727623
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
44
63
|
*/
|
|
45
64
|
export declare class PutProjectPolicyCommand extends $Command<PutProjectPolicyCommandInput, PutProjectPolicyCommandOutput, RekognitionClientResolvedConfig> {
|
|
46
65
|
readonly input: PutProjectPolicyCommandInput;
|
|
@@ -65,6 +65,52 @@ export interface SearchFacesByImageCommandOutput extends SearchFacesByImageRespo
|
|
|
65
65
|
* @see {@link SearchFacesByImageCommandOutput} for command's `response` shape.
|
|
66
66
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
67
67
|
*
|
|
68
|
+
* @example To search for faces matching a supplied image
|
|
69
|
+
* ```javascript
|
|
70
|
+
* // This operation searches for faces in a Rekognition collection that match the largest face in an S3 bucket stored image.
|
|
71
|
+
* const input = {
|
|
72
|
+
* "CollectionId": "myphotos",
|
|
73
|
+
* "FaceMatchThreshold": 95,
|
|
74
|
+
* "Image": {
|
|
75
|
+
* "S3Object": {
|
|
76
|
+
* "Bucket": "mybucket",
|
|
77
|
+
* "Name": "myphoto"
|
|
78
|
+
* }
|
|
79
|
+
* },
|
|
80
|
+
* "MaxFaces": 5
|
|
81
|
+
* };
|
|
82
|
+
* const command = new SearchFacesByImageCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response ==
|
|
85
|
+
* {
|
|
86
|
+
* "FaceMatches": [
|
|
87
|
+
* {
|
|
88
|
+
* "Face": {
|
|
89
|
+
* "BoundingBox": {
|
|
90
|
+
* "Height": 0.3234420120716095,
|
|
91
|
+
* "Left": 0.3233329951763153,
|
|
92
|
+
* "Top": 0.5,
|
|
93
|
+
* "Width": 0.24222199618816376
|
|
94
|
+
* },
|
|
95
|
+
* "Confidence": 99.99829864501953,
|
|
96
|
+
* "FaceId": "38271d79-7bc2-5efb-b752-398a8d575b85",
|
|
97
|
+
* "ImageId": "d5631190-d039-54e4-b267-abd22c8647c5"
|
|
98
|
+
* },
|
|
99
|
+
* "Similarity": 99.97036743164062
|
|
100
|
+
* }
|
|
101
|
+
* ],
|
|
102
|
+
* "SearchedFaceBoundingBox": {
|
|
103
|
+
* "Height": 0.33481481671333313,
|
|
104
|
+
* "Left": 0.31888890266418457,
|
|
105
|
+
* "Top": 0.4933333396911621,
|
|
106
|
+
* "Width": 0.25
|
|
107
|
+
* },
|
|
108
|
+
* "SearchedFaceConfidence": 99.9991226196289
|
|
109
|
+
* }
|
|
110
|
+
* *\/
|
|
111
|
+
* // example id: to-search-for-faces-matching-a-supplied-image-1482175994491
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
68
114
|
*/
|
|
69
115
|
export declare class SearchFacesByImageCommand extends $Command<SearchFacesByImageCommandInput, SearchFacesByImageCommandOutput, RekognitionClientResolvedConfig> {
|
|
70
116
|
readonly input: SearchFacesByImageCommandInput;
|
|
@@ -44,6 +44,69 @@ export interface SearchFacesCommandOutput extends SearchFacesResponse, __Metadat
|
|
|
44
44
|
* @see {@link SearchFacesCommandOutput} for command's `response` shape.
|
|
45
45
|
* @see {@link RekognitionClientResolvedConfig | config} for RekognitionClient's `config` shape.
|
|
46
46
|
*
|
|
47
|
+
* @example To delete a face
|
|
48
|
+
* ```javascript
|
|
49
|
+
* // This operation searches for matching faces in the collection the supplied face belongs to.
|
|
50
|
+
* const input = {
|
|
51
|
+
* "CollectionId": "myphotos",
|
|
52
|
+
* "FaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14",
|
|
53
|
+
* "FaceMatchThreshold": 90,
|
|
54
|
+
* "MaxFaces": 10
|
|
55
|
+
* };
|
|
56
|
+
* const command = new SearchFacesCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* /* response ==
|
|
59
|
+
* {
|
|
60
|
+
* "FaceMatches": [
|
|
61
|
+
* {
|
|
62
|
+
* "Face": {
|
|
63
|
+
* "BoundingBox": {
|
|
64
|
+
* "Height": 0.3259260058403015,
|
|
65
|
+
* "Left": 0.5144439935684204,
|
|
66
|
+
* "Top": 0.15111100673675537,
|
|
67
|
+
* "Width": 0.24444399774074554
|
|
68
|
+
* },
|
|
69
|
+
* "Confidence": 99.99949645996094,
|
|
70
|
+
* "FaceId": "8be04dba-4e58-520d-850e-9eae4af70eb2",
|
|
71
|
+
* "ImageId": "465f4e93-763e-51d0-b030-b9667a2d94b1"
|
|
72
|
+
* },
|
|
73
|
+
* "Similarity": 99.97222137451172
|
|
74
|
+
* },
|
|
75
|
+
* {
|
|
76
|
+
* "Face": {
|
|
77
|
+
* "BoundingBox": {
|
|
78
|
+
* "Height": 0.16555599868297577,
|
|
79
|
+
* "Left": 0.30963000655174255,
|
|
80
|
+
* "Top": 0.7066670060157776,
|
|
81
|
+
* "Width": 0.22074100375175476
|
|
82
|
+
* },
|
|
83
|
+
* "Confidence": 100,
|
|
84
|
+
* "FaceId": "29a75abe-397b-5101-ba4f-706783b2246c",
|
|
85
|
+
* "ImageId": "147fdf82-7a71-52cf-819b-e786c7b9746e"
|
|
86
|
+
* },
|
|
87
|
+
* "Similarity": 97.04154968261719
|
|
88
|
+
* },
|
|
89
|
+
* {
|
|
90
|
+
* "Face": {
|
|
91
|
+
* "BoundingBox": {
|
|
92
|
+
* "Height": 0.18888899683952332,
|
|
93
|
+
* "Left": 0.3783380091190338,
|
|
94
|
+
* "Top": 0.2355560064315796,
|
|
95
|
+
* "Width": 0.25222599506378174
|
|
96
|
+
* },
|
|
97
|
+
* "Confidence": 99.9999008178711,
|
|
98
|
+
* "FaceId": "908544ad-edc3-59df-8faf-6a87cc256cf5",
|
|
99
|
+
* "ImageId": "3c731605-d772-541a-a5e7-0375dbc68a07"
|
|
100
|
+
* },
|
|
101
|
+
* "Similarity": 95.94520568847656
|
|
102
|
+
* }
|
|
103
|
+
* ],
|
|
104
|
+
* "SearchedFaceId": "70008e50-75e4-55d0-8e80-363fb73b3a14"
|
|
105
|
+
* }
|
|
106
|
+
* *\/
|
|
107
|
+
* // example id: to-delete-a-face-1482182799377
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
47
110
|
*/
|
|
48
111
|
export declare class SearchFacesCommand extends $Command<SearchFacesCommandInput, SearchFacesCommandOutput, RekognitionClientResolvedConfig> {
|
|
49
112
|
readonly input: SearchFacesCommandInput;
|
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.289.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",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.289.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.289.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.289.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.289.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.289.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.289.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.289.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.289.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.289.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.289.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.289.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.289.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.289.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.289.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.289.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.289.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.289.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.289.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.289.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.289.0",
|
|
43
|
+
"@aws-sdk/types": "3.289.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.289.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.289.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.289.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.289.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.289.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.289.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.289.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
55
|
+
"@aws-sdk/util-waiter": "3.289.0",
|
|
56
56
|
"tslib": "^2.3.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|