@aws-sdk/client-rekognitionstreaming 3.395.0 → 3.398.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/protocols/Aws_restJson1.js +1 -0
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/protocols/Aws_restJson1.js +2 -1
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/commands/StartFaceLivenessSessionCommand.d.ts +3 -0
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +3 -3
- package/package.json +35 -35
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -3
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
|
@@ -353,6 +353,7 @@ const de_ChallengeConfig = (output, context) => {
|
|
|
353
353
|
FaceDistanceThresholdMin: smithy_client_1.limitedParseFloat32,
|
|
354
354
|
FaceIouHeightThreshold: smithy_client_1.limitedParseFloat32,
|
|
355
355
|
FaceIouWidthThreshold: smithy_client_1.limitedParseFloat32,
|
|
356
|
+
OvalFitTimeout: smithy_client_1.expectInt32,
|
|
356
357
|
OvalHeightWidthRatio: smithy_client_1.limitedParseFloat32,
|
|
357
358
|
OvalIouHeightThreshold: smithy_client_1.limitedParseFloat32,
|
|
358
359
|
OvalIouThreshold: smithy_client_1.limitedParseFloat32,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const asPartial = (t) => t;
|
|
6
6
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const
|
|
8
|
-
...asPartial((0,
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
9
9
|
};
|
|
10
|
-
extensions.forEach((extension) => extension.
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
11
|
return {
|
|
12
12
|
...runtimeConfig,
|
|
13
|
-
...(0,
|
|
13
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { AccessDeniedException, ClientChallenge, InternalServerException, LivenessRequestStream, ServiceQuotaExceededException, ServiceUnavailableException, SessionNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
4
4
|
import { RekognitionStreamingServiceException as __BaseException } from "../models/RekognitionStreamingServiceException";
|
|
5
5
|
export const se_StartFaceLivenessSessionCommand = async (input, context) => {
|
|
@@ -348,6 +348,7 @@ const de_ChallengeConfig = (output, context) => {
|
|
|
348
348
|
FaceDistanceThresholdMin: __limitedParseFloat32,
|
|
349
349
|
FaceIouHeightThreshold: __limitedParseFloat32,
|
|
350
350
|
FaceIouWidthThreshold: __limitedParseFloat32,
|
|
351
|
+
OvalFitTimeout: __expectInt32,
|
|
351
352
|
OvalHeightWidthRatio: __limitedParseFloat32,
|
|
352
353
|
OvalIouHeightThreshold: __limitedParseFloat32,
|
|
353
354
|
OvalIouThreshold: __limitedParseFloat32,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -32,6 +32,8 @@ export interface StartFaceLivenessSessionCommandOutput extends StartFaceLiveness
|
|
|
32
32
|
* <p>The maximum video size for Face Liveness is 10 MB. Face Liveness throws a
|
|
33
33
|
* <code>ValidationException</code> if the video does not match the necessary formatting and
|
|
34
34
|
* size parameters. </p>
|
|
35
|
+
* <p>StartFaceLivenessSession supports the websockets and <a href="https://aws.amazon.com/sdk-for-javascript/">the AWS SDK
|
|
36
|
+
* for JavaScript</a>.</p>
|
|
35
37
|
* @example
|
|
36
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
39
|
* ```javascript
|
|
@@ -119,6 +121,7 @@ export interface StartFaceLivenessSessionCommandOutput extends StartFaceLiveness
|
|
|
119
121
|
* // OvalIouHeightThreshold: Number("float"),
|
|
120
122
|
* // FaceIouWidthThreshold: Number("float"),
|
|
121
123
|
* // FaceIouHeightThreshold: Number("float"),
|
|
124
|
+
* // OvalFitTimeout: Number("int"),
|
|
122
125
|
* // },
|
|
123
126
|
* // ColorSequences: [ // ColorSequences // required
|
|
124
127
|
* // { // ColorSequence
|
|
@@ -102,6 +102,11 @@ export interface ChallengeConfig {
|
|
|
102
102
|
* <p> Threshold for height during face IOU (Intersection over Union) match.</p>
|
|
103
103
|
*/
|
|
104
104
|
FaceIouHeightThreshold?: number;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* <p>Timeout limit in which the end-users need to fit in the oval, in miliseconds.</p>
|
|
108
|
+
*/
|
|
109
|
+
OvalFitTimeout?: number;
|
|
105
110
|
}
|
|
106
111
|
/**
|
|
107
112
|
* @public
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
|
|
6
|
+
configure(clientConfiguration: RekognitionStreamingExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
|
|
4
|
-
clientConfiguration:
|
|
3
|
+
configure(
|
|
4
|
+
clientConfiguration: RekognitionStreamingExtensionConfiguration
|
|
5
5
|
): void;
|
|
6
6
|
}
|
|
7
7
|
export interface RuntimeExtensionsConfig {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognitionstreaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.398.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,43 +21,43 @@
|
|
|
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/eventstream-handler-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-signing": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^2.0.
|
|
39
|
-
"@smithy/eventstream-serde-browser": "^2.0.
|
|
40
|
-
"@smithy/eventstream-serde-config-resolver": "^2.0.
|
|
41
|
-
"@smithy/eventstream-serde-node": "^2.0.
|
|
42
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
43
|
-
"@smithy/hash-node": "^2.0.
|
|
44
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
45
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
46
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
47
|
-
"@smithy/middleware-retry": "^2.0.
|
|
48
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.398.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.398.0",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "3.398.0",
|
|
27
|
+
"@aws-sdk/middleware-eventstream": "3.398.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.398.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
31
|
+
"@aws-sdk/middleware-signing": "3.398.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.398.0",
|
|
33
|
+
"@aws-sdk/middleware-websocket": "3.398.0",
|
|
34
|
+
"@aws-sdk/types": "3.398.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.398.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.398.0",
|
|
38
|
+
"@smithy/config-resolver": "^2.0.5",
|
|
39
|
+
"@smithy/eventstream-serde-browser": "^2.0.5",
|
|
40
|
+
"@smithy/eventstream-serde-config-resolver": "^2.0.5",
|
|
41
|
+
"@smithy/eventstream-serde-node": "^2.0.5",
|
|
42
|
+
"@smithy/fetch-http-handler": "^2.0.5",
|
|
43
|
+
"@smithy/hash-node": "^2.0.5",
|
|
44
|
+
"@smithy/invalid-dependency": "^2.0.5",
|
|
45
|
+
"@smithy/middleware-content-length": "^2.0.5",
|
|
46
|
+
"@smithy/middleware-endpoint": "^2.0.5",
|
|
47
|
+
"@smithy/middleware-retry": "^2.0.5",
|
|
48
|
+
"@smithy/middleware-serde": "^2.0.5",
|
|
49
49
|
"@smithy/middleware-stack": "^2.0.0",
|
|
50
|
-
"@smithy/node-config-provider": "^2.0.
|
|
51
|
-
"@smithy/node-http-handler": "^2.0.
|
|
52
|
-
"@smithy/protocol-http": "^2.0.
|
|
53
|
-
"@smithy/smithy-client": "^2.0.
|
|
54
|
-
"@smithy/types": "^2.2.
|
|
55
|
-
"@smithy/url-parser": "^2.0.
|
|
50
|
+
"@smithy/node-config-provider": "^2.0.5",
|
|
51
|
+
"@smithy/node-http-handler": "^2.0.5",
|
|
52
|
+
"@smithy/protocol-http": "^2.0.5",
|
|
53
|
+
"@smithy/smithy-client": "^2.0.5",
|
|
54
|
+
"@smithy/types": "^2.2.2",
|
|
55
|
+
"@smithy/url-parser": "^2.0.5",
|
|
56
56
|
"@smithy/util-base64": "^2.0.0",
|
|
57
57
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
58
|
-
"@smithy/util-body-length-node": "^2.
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
58
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^2.0.5",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^2.0.5",
|
|
61
61
|
"@smithy/util-retry": "^2.0.0",
|
|
62
62
|
"@smithy/util-utf8": "^2.0.0",
|
|
63
63
|
"tslib": "^2.5.0"
|
|
File without changes
|
|
File without changes
|