@aws-sdk/client-rekognition 3.43.0 → 3.45.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/CHANGELOG.md +11 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/Rekognition.d.ts +2 -2
- package/dist-types/commands/CompareFacesCommand.d.ts +1 -1
- package/dist-types/commands/DetectTextCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +7 -3
- package/dist-types/ts3.4/models/models_0.d.ts +3 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-rekognition
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -169,6 +169,8 @@ var KnownGenderType;
|
|
|
169
169
|
(function (KnownGenderType) {
|
|
170
170
|
KnownGenderType["Female"] = "Female";
|
|
171
171
|
KnownGenderType["Male"] = "Male";
|
|
172
|
+
KnownGenderType["Nonbinary"] = "Nonbinary";
|
|
173
|
+
KnownGenderType["Unlisted"] = "Unlisted";
|
|
172
174
|
})(KnownGenderType = exports.KnownGenderType || (exports.KnownGenderType = {}));
|
|
173
175
|
var KnownGender;
|
|
174
176
|
(function (KnownGender) {
|
package/dist-es/endpoints.js
CHANGED
|
@@ -126,6 +126,8 @@ export var KnownGenderType;
|
|
|
126
126
|
(function (KnownGenderType) {
|
|
127
127
|
KnownGenderType["Female"] = "Female";
|
|
128
128
|
KnownGenderType["Male"] = "Male";
|
|
129
|
+
KnownGenderType["Nonbinary"] = "Nonbinary";
|
|
130
|
+
KnownGenderType["Unlisted"] = "Unlisted";
|
|
129
131
|
})(KnownGenderType || (KnownGenderType = {}));
|
|
130
132
|
export var KnownGender;
|
|
131
133
|
(function (KnownGender) {
|
|
@@ -90,7 +90,7 @@ export declare class Rekognition extends RekognitionClient {
|
|
|
90
90
|
* supported. The image must be formatted as a PNG or JPEG file. </p>
|
|
91
91
|
* <p>In response, the operation returns an array of face matches ordered by similarity score
|
|
92
92
|
* in descending order. For each face match, the response provides a bounding box of the face,
|
|
93
|
-
* facial landmarks, pose details (pitch,
|
|
93
|
+
* facial landmarks, pose details (pitch, roll, and yaw), quality (brightness and sharpness), and
|
|
94
94
|
* confidence value (indicating the level of confidence that the bounding box contains a face).
|
|
95
95
|
* The response also provides a similarity score, which indicates how closely the faces match. </p>
|
|
96
96
|
*
|
|
@@ -594,7 +594,7 @@ export declare class Rekognition extends RekognitionClient {
|
|
|
594
594
|
* <p>The <code>DetectText</code> operation returns text in an array of <a>TextDetection</a> elements, <code>TextDetections</code>. Each
|
|
595
595
|
* <code>TextDetection</code> element provides information about a single word or line of text
|
|
596
596
|
* that was detected in the image. </p>
|
|
597
|
-
* <p>A word is one or more
|
|
597
|
+
* <p>A word is one or more script characters that are not separated by spaces.
|
|
598
598
|
* <code>DetectText</code> can detect up to 100 words in an image.</p>
|
|
599
599
|
* <p>A line is a string of equally spaced words. A line isn't necessarily a complete
|
|
600
600
|
* sentence. For example, a driver's license number is detected as a line. A line ends when there
|
|
@@ -34,7 +34,7 @@ export interface CompareFacesCommandOutput extends CompareFacesResponse, __Metad
|
|
|
34
34
|
* supported. The image must be formatted as a PNG or JPEG file. </p>
|
|
35
35
|
* <p>In response, the operation returns an array of face matches ordered by similarity score
|
|
36
36
|
* in descending order. For each face match, the response provides a bounding box of the face,
|
|
37
|
-
* facial landmarks, pose details (pitch,
|
|
37
|
+
* facial landmarks, pose details (pitch, roll, and yaw), quality (brightness and sharpness), and
|
|
38
38
|
* confidence value (indicating the level of confidence that the bounding box contains a face).
|
|
39
39
|
* The response also provides a similarity score, which indicates how closely the faces match. </p>
|
|
40
40
|
*
|
|
@@ -15,7 +15,7 @@ export interface DetectTextCommandOutput extends DetectTextResponse, __MetadataB
|
|
|
15
15
|
* <p>The <code>DetectText</code> operation returns text in an array of <a>TextDetection</a> elements, <code>TextDetections</code>. Each
|
|
16
16
|
* <code>TextDetection</code> element provides information about a single word or line of text
|
|
17
17
|
* that was detected in the image. </p>
|
|
18
|
-
* <p>A word is one or more
|
|
18
|
+
* <p>A word is one or more script characters that are not separated by spaces.
|
|
19
19
|
* <code>DetectText</code> can detect up to 100 words in an image.</p>
|
|
20
20
|
* <p>A line is a string of equally spaced words. A line isn't necessarily a complete
|
|
21
21
|
* sentence. For example, a driver's license number is detected as a line. A line ends when there
|
|
@@ -520,10 +520,13 @@ export declare namespace ComparedFace {
|
|
|
520
520
|
}
|
|
521
521
|
export declare enum KnownGenderType {
|
|
522
522
|
Female = "Female",
|
|
523
|
-
Male = "Male"
|
|
523
|
+
Male = "Male",
|
|
524
|
+
Nonbinary = "Nonbinary",
|
|
525
|
+
Unlisted = "Unlisted"
|
|
524
526
|
}
|
|
525
527
|
/**
|
|
526
|
-
* <p>The known gender identity for the celebrity that matches the provided ID
|
|
528
|
+
* <p>The known gender identity for the celebrity that matches the provided ID. The known
|
|
529
|
+
* gender identity can be Male, Female, Nonbinary, or Unlisted.</p>
|
|
527
530
|
*/
|
|
528
531
|
export interface KnownGender {
|
|
529
532
|
/**
|
|
@@ -565,7 +568,8 @@ export interface Celebrity {
|
|
|
565
568
|
*/
|
|
566
569
|
MatchConfidence?: number;
|
|
567
570
|
/**
|
|
568
|
-
* <p>The known gender identity for the celebrity that matches the provided ID
|
|
571
|
+
* <p>The known gender identity for the celebrity that matches the provided ID. The known
|
|
572
|
+
* gender identity can be Male, Female, Nonbinary, or Unlisted.</p>
|
|
569
573
|
*/
|
|
570
574
|
KnownGender?: KnownGender;
|
|
571
575
|
}
|
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.45.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.45.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.45.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.45.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.40.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.40.0",
|
|
33
33
|
"@aws-sdk/middleware-retry": "3.40.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.40.0",
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.45.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.40.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.40.0",
|