@aws-sdk/client-rekognition 3.326.0 → 3.328.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +7 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +7 -0
- package/dist-types/commands/DetectFacesCommand.d.ts +7 -3
- package/dist-types/commands/GetCelebrityRecognitionCommand.d.ts +4 -0
- package/dist-types/commands/GetFaceDetectionCommand.d.ts +4 -0
- package/dist-types/commands/GetFaceSearchCommand.d.ts +4 -0
- package/dist-types/commands/GetPersonTrackingCommand.d.ts +4 -0
- package/dist-types/commands/IndexFacesCommand.d.ts +16 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +66 -22
- package/dist-types/models/models_1.d.ts +5 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +16 -1
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +8 -8
|
@@ -21,8 +21,19 @@ class AccessDeniedException extends RekognitionServiceException_1.RekognitionSer
|
|
|
21
21
|
}
|
|
22
22
|
exports.AccessDeniedException = AccessDeniedException;
|
|
23
23
|
exports.Attribute = {
|
|
24
|
+
AGE_RANGE: "AGE_RANGE",
|
|
24
25
|
ALL: "ALL",
|
|
26
|
+
BEARD: "BEARD",
|
|
25
27
|
DEFAULT: "DEFAULT",
|
|
28
|
+
EMOTIONS: "EMOTIONS",
|
|
29
|
+
EYEGLASSES: "EYEGLASSES",
|
|
30
|
+
EYES_OPEN: "EYES_OPEN",
|
|
31
|
+
FACE_OCCLUDED: "FACE_OCCLUDED",
|
|
32
|
+
GENDER: "GENDER",
|
|
33
|
+
MOUTH_OPEN: "MOUTH_OPEN",
|
|
34
|
+
MUSTACHE: "MUSTACHE",
|
|
35
|
+
SMILE: "SMILE",
|
|
36
|
+
SUNGLASSES: "SUNGLASSES",
|
|
26
37
|
};
|
|
27
38
|
exports.BodyPart = {
|
|
28
39
|
FACE: "FACE",
|
|
@@ -4765,6 +4765,7 @@ const de_FaceDetail = (output, context) => {
|
|
|
4765
4765
|
Emotions: (_) => de_Emotions(_, context),
|
|
4766
4766
|
Eyeglasses: (_) => de_Eyeglasses(_, context),
|
|
4767
4767
|
EyesOpen: (_) => de_EyeOpen(_, context),
|
|
4768
|
+
FaceOccluded: (_) => de_FaceOccluded(_, context),
|
|
4768
4769
|
Gender: (_) => de_Gender(_, context),
|
|
4769
4770
|
Landmarks: (_) => de_Landmarks(_, context),
|
|
4770
4771
|
MouthOpen: (_) => de_MouthOpen(_, context),
|
|
@@ -4819,6 +4820,12 @@ const de_FaceMatchList = (output, context) => {
|
|
|
4819
4820
|
});
|
|
4820
4821
|
return retVal;
|
|
4821
4822
|
};
|
|
4823
|
+
const de_FaceOccluded = (output, context) => {
|
|
4824
|
+
return (0, smithy_client_1.take)(output, {
|
|
4825
|
+
Confidence: smithy_client_1.limitedParseFloat32,
|
|
4826
|
+
Value: smithy_client_1.expectBoolean,
|
|
4827
|
+
});
|
|
4828
|
+
};
|
|
4822
4829
|
const de_FaceRecord = (output, context) => {
|
|
4823
4830
|
return (0, smithy_client_1.take)(output, {
|
|
4824
4831
|
Face: (_) => de_Face(_, context),
|
|
@@ -16,8 +16,19 @@ export class AccessDeniedException extends __BaseException {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
export const Attribute = {
|
|
19
|
+
AGE_RANGE: "AGE_RANGE",
|
|
19
20
|
ALL: "ALL",
|
|
21
|
+
BEARD: "BEARD",
|
|
20
22
|
DEFAULT: "DEFAULT",
|
|
23
|
+
EMOTIONS: "EMOTIONS",
|
|
24
|
+
EYEGLASSES: "EYEGLASSES",
|
|
25
|
+
EYES_OPEN: "EYES_OPEN",
|
|
26
|
+
FACE_OCCLUDED: "FACE_OCCLUDED",
|
|
27
|
+
GENDER: "GENDER",
|
|
28
|
+
MOUTH_OPEN: "MOUTH_OPEN",
|
|
29
|
+
MUSTACHE: "MUSTACHE",
|
|
30
|
+
SMILE: "SMILE",
|
|
31
|
+
SUNGLASSES: "SUNGLASSES",
|
|
21
32
|
};
|
|
22
33
|
export const BodyPart = {
|
|
23
34
|
FACE: "FACE",
|
|
@@ -4630,6 +4630,7 @@ const de_FaceDetail = (output, context) => {
|
|
|
4630
4630
|
Emotions: (_) => de_Emotions(_, context),
|
|
4631
4631
|
Eyeglasses: (_) => de_Eyeglasses(_, context),
|
|
4632
4632
|
EyesOpen: (_) => de_EyeOpen(_, context),
|
|
4633
|
+
FaceOccluded: (_) => de_FaceOccluded(_, context),
|
|
4633
4634
|
Gender: (_) => de_Gender(_, context),
|
|
4634
4635
|
Landmarks: (_) => de_Landmarks(_, context),
|
|
4635
4636
|
MouthOpen: (_) => de_MouthOpen(_, context),
|
|
@@ -4684,6 +4685,12 @@ const de_FaceMatchList = (output, context) => {
|
|
|
4684
4685
|
});
|
|
4685
4686
|
return retVal;
|
|
4686
4687
|
};
|
|
4688
|
+
const de_FaceOccluded = (output, context) => {
|
|
4689
|
+
return take(output, {
|
|
4690
|
+
Confidence: __limitedParseFloat32,
|
|
4691
|
+
Value: __expectBoolean,
|
|
4692
|
+
});
|
|
4693
|
+
};
|
|
4687
4694
|
const de_FaceRecord = (output, context) => {
|
|
4688
4695
|
return take(output, {
|
|
4689
4696
|
Face: (_) => de_Face(_, context),
|
|
@@ -24,8 +24,8 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
24
24
|
* <code>DetectFaces</code> detects the 100 largest faces in the image. For each face
|
|
25
25
|
* detected, the operation returns face details. These details include a bounding box of the
|
|
26
26
|
* face, a confidence value (that the bounding box contains a face), and a fixed set of
|
|
27
|
-
* attributes such as facial landmarks (for example, coordinates of eye and mouth),
|
|
28
|
-
*
|
|
27
|
+
* attributes such as facial landmarks (for example, coordinates of eye and mouth), pose,
|
|
28
|
+
* presence of facial occlusion, and so on.</p>
|
|
29
29
|
* <p>The face-detection algorithm is most effective on frontal faces. For non-frontal or
|
|
30
30
|
* obscured faces, the algorithm might not detect the faces or might detect faces with lower
|
|
31
31
|
* confidence. </p>
|
|
@@ -54,7 +54,7 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
56
56
|
* Attributes: [ // Attributes
|
|
57
|
-
* "DEFAULT" || "ALL",
|
|
57
|
+
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
58
58
|
* ],
|
|
59
59
|
* };
|
|
60
60
|
* const command = new DetectFacesCommand(input);
|
|
@@ -127,6 +127,10 @@ export interface DetectFacesCommandOutput extends DetectFacesResponse, __Metadat
|
|
|
127
127
|
* // Sharpness: Number("float"),
|
|
128
128
|
* // },
|
|
129
129
|
* // Confidence: Number("float"),
|
|
130
|
+
* // FaceOccluded: { // FaceOccluded
|
|
131
|
+
* // Value: true || false,
|
|
132
|
+
* // Confidence: Number("float"),
|
|
133
|
+
* // },
|
|
130
134
|
* // },
|
|
131
135
|
* // ],
|
|
132
136
|
* // OrientationCorrection: "ROTATE_0" || "ROTATE_90" || "ROTATE_180" || "ROTATE_270",
|
|
@@ -167,6 +167,10 @@ export interface GetCelebrityRecognitionCommandOutput extends GetCelebrityRecogn
|
|
|
167
167
|
* // Sharpness: Number("float"),
|
|
168
168
|
* // },
|
|
169
169
|
* // Confidence: Number("float"),
|
|
170
|
+
* // FaceOccluded: { // FaceOccluded
|
|
171
|
+
* // Value: true || false,
|
|
172
|
+
* // Confidence: Number("float"),
|
|
173
|
+
* // },
|
|
170
174
|
* // },
|
|
171
175
|
* // KnownGender: { // KnownGender
|
|
172
176
|
* // Type: "Male" || "Female" || "Nonbinary" || "Unlisted",
|
|
@@ -127,6 +127,10 @@ export interface GetFaceDetectionCommandOutput extends GetFaceDetectionResponse,
|
|
|
127
127
|
* // Sharpness: Number("float"),
|
|
128
128
|
* // },
|
|
129
129
|
* // Confidence: Number("float"),
|
|
130
|
+
* // FaceOccluded: { // FaceOccluded
|
|
131
|
+
* // Value: true || false,
|
|
132
|
+
* // Confidence: Number("float"),
|
|
133
|
+
* // },
|
|
130
134
|
* // },
|
|
131
135
|
* // },
|
|
132
136
|
* // ],
|
|
@@ -152,6 +152,10 @@ export interface GetFaceSearchCommandOutput extends GetFaceSearchResponse, __Met
|
|
|
152
152
|
* // Sharpness: Number("float"),
|
|
153
153
|
* // },
|
|
154
154
|
* // Confidence: Number("float"),
|
|
155
|
+
* // FaceOccluded: { // FaceOccluded
|
|
156
|
+
* // Value: true || false,
|
|
157
|
+
* // Confidence: Number("float"),
|
|
158
|
+
* // },
|
|
155
159
|
* // },
|
|
156
160
|
* // },
|
|
157
161
|
* // FaceMatches: [ // FaceMatchList
|
|
@@ -148,6 +148,10 @@ export interface GetPersonTrackingCommandOutput extends GetPersonTrackingRespons
|
|
|
148
148
|
* // Sharpness: Number("float"),
|
|
149
149
|
* // },
|
|
150
150
|
* // Confidence: Number("float"),
|
|
151
|
+
* // FaceOccluded: { // FaceOccluded
|
|
152
|
+
* // Value: true || false,
|
|
153
|
+
* // Confidence: Number("float"),
|
|
154
|
+
* // },
|
|
151
155
|
* // },
|
|
152
156
|
* // },
|
|
153
157
|
* // },
|
|
@@ -99,11 +99,13 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
99
99
|
* <p>An image ID, <code>ImageId</code>, assigned by the service for the input image.</p>
|
|
100
100
|
* </li>
|
|
101
101
|
* </ul>
|
|
102
|
-
* <p>If you request
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
102
|
+
* <p>If you request <code>ALL</code> or specific facial attributes (e.g.,
|
|
103
|
+
* <code>FACE_OCCLUDED</code>) by using the detectionAttributes parameter, Amazon Rekognition
|
|
104
|
+
* returns detailed facial attributes, such as facial landmarks (for example, location of eye and
|
|
105
|
+
* mouth), facial occlusion, and other facial attributes.</p>
|
|
106
|
+
* <p>If you provide the same image, specify the same collection, and use the same external ID
|
|
107
|
+
* in the <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face
|
|
108
|
+
* metadata.</p>
|
|
107
109
|
* <p></p>
|
|
108
110
|
* <p>The input image is passed either as base64-encoded image bytes, or as a reference to an
|
|
109
111
|
* image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations,
|
|
@@ -128,7 +130,7 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
128
130
|
* },
|
|
129
131
|
* ExternalImageId: "STRING_VALUE",
|
|
130
132
|
* DetectionAttributes: [ // Attributes
|
|
131
|
-
* "DEFAULT" || "ALL",
|
|
133
|
+
* "DEFAULT" || "ALL" || "AGE_RANGE" || "BEARD" || "EMOTIONS" || "EYEGLASSES" || "EYES_OPEN" || "GENDER" || "MOUTH_OPEN" || "MUSTACHE" || "FACE_OCCLUDED" || "SMILE" || "SUNGLASSES",
|
|
132
134
|
* ],
|
|
133
135
|
* MaxFaces: Number("int"),
|
|
134
136
|
* QualityFilter: "NONE" || "AUTO" || "LOW" || "MEDIUM" || "HIGH",
|
|
@@ -217,6 +219,10 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
217
219
|
* // Sharpness: Number("float"),
|
|
218
220
|
* // },
|
|
219
221
|
* // Confidence: Number("float"),
|
|
222
|
+
* // FaceOccluded: { // FaceOccluded
|
|
223
|
+
* // Value: true || false,
|
|
224
|
+
* // Confidence: Number("float"),
|
|
225
|
+
* // },
|
|
220
226
|
* // },
|
|
221
227
|
* // },
|
|
222
228
|
* // ],
|
|
@@ -293,6 +299,10 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
293
299
|
* // Sharpness: Number("float"),
|
|
294
300
|
* // },
|
|
295
301
|
* // Confidence: Number("float"),
|
|
302
|
+
* // FaceOccluded: {
|
|
303
|
+
* // Value: true || false,
|
|
304
|
+
* // Confidence: Number("float"),
|
|
305
|
+
* // },
|
|
296
306
|
* // },
|
|
297
307
|
* // },
|
|
298
308
|
* // ],
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { UntagResourceRequest
|
|
4
|
+
import { UntagResourceRequest } from "../models/models_0";
|
|
5
|
+
import { UntagResourceResponse } from "../models/models_1";
|
|
5
6
|
import { RekognitionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionClient";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
@@ -92,8 +92,19 @@ export interface Asset {
|
|
|
92
92
|
* @enum
|
|
93
93
|
*/
|
|
94
94
|
export declare const Attribute: {
|
|
95
|
+
readonly AGE_RANGE: "AGE_RANGE";
|
|
95
96
|
readonly ALL: "ALL";
|
|
97
|
+
readonly BEARD: "BEARD";
|
|
96
98
|
readonly DEFAULT: "DEFAULT";
|
|
99
|
+
readonly EMOTIONS: "EMOTIONS";
|
|
100
|
+
readonly EYEGLASSES: "EYEGLASSES";
|
|
101
|
+
readonly EYES_OPEN: "EYES_OPEN";
|
|
102
|
+
readonly FACE_OCCLUDED: "FACE_OCCLUDED";
|
|
103
|
+
readonly GENDER: "GENDER";
|
|
104
|
+
readonly MOUTH_OPEN: "MOUTH_OPEN";
|
|
105
|
+
readonly MUSTACHE: "MUSTACHE";
|
|
106
|
+
readonly SMILE: "SMILE";
|
|
107
|
+
readonly SUNGLASSES: "SUNGLASSES";
|
|
97
108
|
};
|
|
98
109
|
/**
|
|
99
110
|
* @public
|
|
@@ -610,6 +621,31 @@ export interface EyeOpen {
|
|
|
610
621
|
*/
|
|
611
622
|
Confidence?: number;
|
|
612
623
|
}
|
|
624
|
+
/**
|
|
625
|
+
* @public
|
|
626
|
+
* <p>
|
|
627
|
+
* <code>FaceOccluded</code> should return "true" with a high confidence score if a detected
|
|
628
|
+
* face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark
|
|
629
|
+
* sunglasses, cell phones, hands, or other objects. <code>FaceOccluded</code> should return
|
|
630
|
+
* "false" with a high confidence score if common occurrences that do not impact face
|
|
631
|
+
* verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair,
|
|
632
|
+
* and others. </p>
|
|
633
|
+
* <p>You can use <code>FaceOccluded</code> to determine if an obstruction on a face negatively
|
|
634
|
+
* impacts using the image for face matching.</p>
|
|
635
|
+
*/
|
|
636
|
+
export interface FaceOccluded {
|
|
637
|
+
/**
|
|
638
|
+
* <p>True if a detected face’s eyes, nose, and mouth are partially captured or if they are
|
|
639
|
+
* covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common
|
|
640
|
+
* occurrences that do not impact face verification are detected, such as eye glasses, lightly
|
|
641
|
+
* tinted sunglasses, strands of hair, and others.</p>
|
|
642
|
+
*/
|
|
643
|
+
Value?: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* <p>The confidence that the service has detected the presence of a face occlusion.</p>
|
|
646
|
+
*/
|
|
647
|
+
Confidence?: number;
|
|
648
|
+
}
|
|
613
649
|
/**
|
|
614
650
|
* @public
|
|
615
651
|
* @enum
|
|
@@ -798,6 +834,16 @@ export interface FaceDetail {
|
|
|
798
834
|
* as a tree). Default attribute.</p>
|
|
799
835
|
*/
|
|
800
836
|
Confidence?: number;
|
|
837
|
+
/**
|
|
838
|
+
* <p>
|
|
839
|
+
* <code>FaceOccluded</code> should return "true" with a high confidence score if a detected
|
|
840
|
+
* face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark
|
|
841
|
+
* sunglasses, cell phones, hands, or other objects. <code>FaceOccluded</code> should return
|
|
842
|
+
* "false" with a high confidence score if common occurrences that do not impact face
|
|
843
|
+
* verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair,
|
|
844
|
+
* and others. </p>
|
|
845
|
+
*/
|
|
846
|
+
FaceOccluded?: FaceOccluded;
|
|
801
847
|
}
|
|
802
848
|
/**
|
|
803
849
|
* @public
|
|
@@ -1613,10 +1659,11 @@ export interface LivenessOutputConfig {
|
|
|
1613
1659
|
*/
|
|
1614
1660
|
export interface CreateFaceLivenessSessionRequestSettings {
|
|
1615
1661
|
/**
|
|
1616
|
-
* <p>Can specify the
|
|
1617
|
-
* stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the
|
|
1618
|
-
* region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are
|
|
1619
|
-
* the Face Liveness system
|
|
1662
|
+
* <p>Can specify the location of an Amazon S3 bucket, where reference and audit images will be
|
|
1663
|
+
* stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the
|
|
1664
|
+
* same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are
|
|
1665
|
+
* auto-generated by the Face Liveness system. Requires that the caller has the
|
|
1666
|
+
* <code>s3:PutObject</code> permission on the Amazon S3 bucket.</p>
|
|
1620
1667
|
*/
|
|
1621
1668
|
OutputConfig?: LivenessOutputConfig;
|
|
1622
1669
|
/**
|
|
@@ -3001,13 +3048,14 @@ export interface DetectFacesRequest {
|
|
|
3001
3048
|
*/
|
|
3002
3049
|
Image: Image | undefined;
|
|
3003
3050
|
/**
|
|
3004
|
-
* <p>An array of facial attributes you want to be returned.
|
|
3005
|
-
*
|
|
3006
|
-
*
|
|
3007
|
-
* attributes
|
|
3008
|
-
*
|
|
3009
|
-
* facial attributes
|
|
3010
|
-
*
|
|
3051
|
+
* <p>An array of facial attributes you want to be returned. A <code>DEFAULT</code> subset of
|
|
3052
|
+
* facial attributes - <code>BoundingBox</code>, <code>Confidence</code>, <code>Pose</code>,
|
|
3053
|
+
* <code>Quality</code>, and <code>Landmarks</code> - will always be returned. You can request
|
|
3054
|
+
* for specific facial attributes (in addition to the default list) - by using [<code>"DEFAULT",
|
|
3055
|
+
* "FACE_OCCLUDED"</code>] or just [<code>"FACE_OCCLUDED"</code>]. You can request for all
|
|
3056
|
+
* facial attributes by using [<code>"ALL"]</code>. Requesting more attributes may increase
|
|
3057
|
+
* response time.</p>
|
|
3058
|
+
* <p>If you provide both, <code>["ALL", "DEFAULT"]</code>, the service uses a logical "AND"
|
|
3011
3059
|
* operator to determine which attributes to return (in this case, all attributes). </p>
|
|
3012
3060
|
*/
|
|
3013
3061
|
Attributes?: (Attribute | string)[];
|
|
@@ -5009,12 +5057,13 @@ export interface IndexFacesRequest {
|
|
|
5009
5057
|
*/
|
|
5010
5058
|
ExternalImageId?: string;
|
|
5011
5059
|
/**
|
|
5012
|
-
* <p>An array of facial attributes
|
|
5013
|
-
*
|
|
5014
|
-
*
|
|
5015
|
-
* attributes
|
|
5016
|
-
*
|
|
5017
|
-
* facial attributes
|
|
5060
|
+
* <p>An array of facial attributes you want to be returned. A <code>DEFAULT</code> subset of
|
|
5061
|
+
* facial attributes - <code>BoundingBox</code>, <code>Confidence</code>, <code>Pose</code>,
|
|
5062
|
+
* <code>Quality</code>, and <code>Landmarks</code> - will always be returned. You can request
|
|
5063
|
+
* for specific facial attributes (in addition to the default list) - by using <code>["DEFAULT",
|
|
5064
|
+
* "FACE_OCCLUDED"]</code> or just <code>["FACE_OCCLUDED"]</code>. You can request for all
|
|
5065
|
+
* facial attributes by using <code>["ALL"]</code>. Requesting more attributes may increase
|
|
5066
|
+
* response time.</p>
|
|
5018
5067
|
* <p>If you provide both, <code>["ALL", "DEFAULT"]</code>, the service uses a logical AND
|
|
5019
5068
|
* operator to determine which attributes to return (in this case, all attributes). </p>
|
|
5020
5069
|
*/
|
|
@@ -6335,11 +6384,6 @@ export interface UntagResourceRequest {
|
|
|
6335
6384
|
*/
|
|
6336
6385
|
TagKeys: string[] | undefined;
|
|
6337
6386
|
}
|
|
6338
|
-
/**
|
|
6339
|
-
* @public
|
|
6340
|
-
*/
|
|
6341
|
-
export interface UntagResourceResponse {
|
|
6342
|
-
}
|
|
6343
6387
|
/**
|
|
6344
6388
|
* @internal
|
|
6345
6389
|
*/
|
|
@@ -6,10 +6,8 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
UntagResourceResponse,
|
|
12
|
-
} from "../models/models_0";
|
|
9
|
+
import { UntagResourceRequest } from "../models/models_0";
|
|
10
|
+
import { UntagResourceResponse } from "../models/models_1";
|
|
13
11
|
import {
|
|
14
12
|
RekognitionClientResolvedConfig,
|
|
15
13
|
ServiceInputTypes,
|
|
@@ -29,8 +29,19 @@ export interface Asset {
|
|
|
29
29
|
GroundTruthManifest?: GroundTruthManifest;
|
|
30
30
|
}
|
|
31
31
|
export declare const Attribute: {
|
|
32
|
+
readonly AGE_RANGE: "AGE_RANGE";
|
|
32
33
|
readonly ALL: "ALL";
|
|
34
|
+
readonly BEARD: "BEARD";
|
|
33
35
|
readonly DEFAULT: "DEFAULT";
|
|
36
|
+
readonly EMOTIONS: "EMOTIONS";
|
|
37
|
+
readonly EYEGLASSES: "EYEGLASSES";
|
|
38
|
+
readonly EYES_OPEN: "EYES_OPEN";
|
|
39
|
+
readonly FACE_OCCLUDED: "FACE_OCCLUDED";
|
|
40
|
+
readonly GENDER: "GENDER";
|
|
41
|
+
readonly MOUTH_OPEN: "MOUTH_OPEN";
|
|
42
|
+
readonly MUSTACHE: "MUSTACHE";
|
|
43
|
+
readonly SMILE: "SMILE";
|
|
44
|
+
readonly SUNGLASSES: "SUNGLASSES";
|
|
34
45
|
};
|
|
35
46
|
export type Attribute = (typeof Attribute)[keyof typeof Attribute];
|
|
36
47
|
export interface AudioMetadata {
|
|
@@ -190,6 +201,10 @@ export interface EyeOpen {
|
|
|
190
201
|
Value?: boolean;
|
|
191
202
|
Confidence?: number;
|
|
192
203
|
}
|
|
204
|
+
export interface FaceOccluded {
|
|
205
|
+
Value?: boolean;
|
|
206
|
+
Confidence?: number;
|
|
207
|
+
}
|
|
193
208
|
export declare const GenderType: {
|
|
194
209
|
readonly Female: "Female";
|
|
195
210
|
readonly Male: "Male";
|
|
@@ -227,6 +242,7 @@ export interface FaceDetail {
|
|
|
227
242
|
Pose?: Pose;
|
|
228
243
|
Quality?: ImageQuality;
|
|
229
244
|
Confidence?: number;
|
|
245
|
+
FaceOccluded?: FaceOccluded;
|
|
230
246
|
}
|
|
231
247
|
export interface CelebrityDetail {
|
|
232
248
|
Urls?: string[];
|
|
@@ -1703,7 +1719,6 @@ export interface UntagResourceRequest {
|
|
|
1703
1719
|
ResourceArn: string | undefined;
|
|
1704
1720
|
TagKeys: string[] | undefined;
|
|
1705
1721
|
}
|
|
1706
|
-
export interface UntagResourceResponse {}
|
|
1707
1722
|
export declare const AuditImageFilterSensitiveLog: (obj: AuditImage) => any;
|
|
1708
1723
|
export declare const GetFaceLivenessSessionResultsResponseFilterSensitiveLog: (
|
|
1709
1724
|
obj: GetFaceLivenessSessionResultsResponse
|
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.328.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.328.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.328.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.328.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|