@aws-sdk/client-rekognitionstreaming 3.337.0 → 3.341.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/RekognitionStreamingClient.js +2 -1
- package/dist-cjs/commands/StartFaceLivenessSessionCommand.js +2 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/RekognitionStreamingServiceException.js +2 -1
- package/dist-es/RekognitionStreamingClient.js +1 -0
- package/dist-es/commands/StartFaceLivenessSessionCommand.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/RekognitionStreamingServiceException.js +1 -0
- package/dist-types/RekognitionStreamingClient.d.ts +3 -3
- package/dist-types/commands/StartFaceLivenessSessionCommand.d.ts +4 -0
- package/dist-types/index.d.ts +27 -1
- package/dist-types/models/RekognitionStreamingServiceException.d.ts +1 -0
- package/dist-types/ts3.4/RekognitionStreamingClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/StartFaceLivenessSessionCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/RekognitionStreamingServiceException.d.ts +1 -0
- package/package.json +34 -34
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RekognitionStreamingClient = void 0;
|
|
3
|
+
exports.RekognitionStreamingClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const eventstream_serde_config_resolver_1 = require("@aws-sdk/eventstream-serde-config-resolver");
|
|
6
6
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
@@ -14,6 +14,7 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
14
14
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
15
15
|
const middleware_websocket_1 = require("@aws-sdk/middleware-websocket");
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
17
18
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
18
19
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
19
20
|
class RekognitionStreamingClient extends smithy_client_1.Client {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartFaceLivenessSessionCommand = void 0;
|
|
3
|
+
exports.StartFaceLivenessSessionCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_eventstream_1 = require("@aws-sdk/middleware-eventstream");
|
|
6
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
7
|
const middleware_websocket_1 = require("@aws-sdk/middleware-websocket");
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
10
|
const models_0_1 = require("../models/models_0");
|
|
10
11
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
12
|
class StartFaceLivenessSessionCommand extends smithy_client_1.Command {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RekognitionStreamingServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./RekognitionStreaming"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./RekognitionStreamingClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./RekognitionStreaming"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
9
|
var RekognitionStreamingServiceException_1 = require("./models/RekognitionStreamingServiceException");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RekognitionStreamingServiceException = void 0;
|
|
3
|
+
exports.RekognitionStreamingServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class RekognitionStreamingServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -13,6 +13,7 @@ import { resolveWebSocketConfig } from "@aws-sdk/middleware-websocket";
|
|
|
13
13
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
14
14
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
15
15
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
16
|
+
export { __Client };
|
|
16
17
|
export class RekognitionStreamingClient extends __Client {
|
|
17
18
|
constructor(configuration) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -5,6 +5,7 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
6
|
import { StartFaceLivenessSessionRequestFilterSensitiveLog, StartFaceLivenessSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
7
7
|
import { de_StartFaceLivenessSessionCommand, se_StartFaceLivenessSessionCommand } from "../protocols/Aws_restJson1";
|
|
8
|
+
export { $Command };
|
|
8
9
|
export class StartFaceLivenessSessionCommand extends $Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
10
11
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./RekognitionStreaming";
|
|
2
1
|
export * from "./RekognitionStreamingClient";
|
|
2
|
+
export * from "./RekognitionStreaming";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./models";
|
|
5
5
|
export { RekognitionStreamingServiceException } from "./models/RekognitionStreamingServiceException";
|
|
@@ -13,6 +13,7 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
|
13
13
|
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
14
14
|
import { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "./commands/StartFaceLivenessSessionCommand";
|
|
15
15
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
export { __Client };
|
|
16
17
|
/**
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
@@ -136,7 +137,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
136
137
|
/**
|
|
137
138
|
* @public
|
|
138
139
|
*/
|
|
139
|
-
type RekognitionStreamingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & WebSocketInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
140
|
+
export type RekognitionStreamingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & WebSocketInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
140
141
|
/**
|
|
141
142
|
* @public
|
|
142
143
|
*
|
|
@@ -147,7 +148,7 @@ export interface RekognitionStreamingClientConfig extends RekognitionStreamingCl
|
|
|
147
148
|
/**
|
|
148
149
|
* @public
|
|
149
150
|
*/
|
|
150
|
-
type RekognitionStreamingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & WebSocketResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
151
|
+
export type RekognitionStreamingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & WebSocketResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
151
152
|
/**
|
|
152
153
|
* @public
|
|
153
154
|
*
|
|
@@ -193,4 +194,3 @@ export declare class RekognitionStreamingClient extends __Client<__HttpHandlerOp
|
|
|
193
194
|
*/
|
|
194
195
|
destroy(): void;
|
|
195
196
|
}
|
|
196
|
-
export {};
|
|
@@ -3,6 +3,10 @@ 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
4
|
import { StartFaceLivenessSessionRequest, StartFaceLivenessSessionResponse } from "../models/models_0";
|
|
5
5
|
import { RekognitionStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionStreamingClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>A real-time video processing service based on Rekognition. This section documents the API
|
|
3
|
+
* operations for Rekognition Face Liveness.</p>
|
|
4
|
+
* <p>
|
|
5
|
+
* <b>Amazon Rekognition Face Liveness</b>
|
|
6
|
+
* </p>
|
|
7
|
+
* <ul>
|
|
8
|
+
* <li>
|
|
9
|
+
* <p>
|
|
10
|
+
* <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateFaceLivenessSession.html">CreateFaceLivenessSession</a>
|
|
11
|
+
* </p>
|
|
12
|
+
* </li>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>
|
|
15
|
+
* <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceLivenessSessionResults.html">GetFaceLivenessSessionResults</a>
|
|
16
|
+
* </p>
|
|
17
|
+
* </li>
|
|
18
|
+
* <li>
|
|
19
|
+
* <p>
|
|
20
|
+
* <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_rekognitionstreaming_StartFaceLivenessSession.html">StartFaceLivenessSession</a>
|
|
21
|
+
* </p>
|
|
22
|
+
* </li>
|
|
23
|
+
* </ul>
|
|
24
|
+
*
|
|
25
|
+
* @packageDocumentation
|
|
26
|
+
*/
|
|
2
27
|
export * from "./RekognitionStreamingClient";
|
|
28
|
+
export * from "./RekognitionStreaming";
|
|
3
29
|
export * from "./commands";
|
|
4
30
|
export * from "./models";
|
|
5
31
|
export { RekognitionStreamingServiceException } from "./models/RekognitionStreamingServiceException";
|
|
@@ -69,6 +69,7 @@ import {
|
|
|
69
69
|
ClientResolvedEndpointParameters,
|
|
70
70
|
EndpointParameters,
|
|
71
71
|
} from "./endpoint/EndpointParameters";
|
|
72
|
+
export { __Client };
|
|
72
73
|
export type ServiceInputTypes = StartFaceLivenessSessionCommandInput;
|
|
73
74
|
export type ServiceOutputTypes = StartFaceLivenessSessionCommandOutput;
|
|
74
75
|
export interface ClientDefaults
|
|
@@ -97,7 +98,7 @@ export interface ClientDefaults
|
|
|
97
98
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
98
99
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
99
100
|
}
|
|
100
|
-
type RekognitionStreamingClientConfigType = Partial<
|
|
101
|
+
export type RekognitionStreamingClientConfigType = Partial<
|
|
101
102
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
102
103
|
> &
|
|
103
104
|
ClientDefaults &
|
|
@@ -113,7 +114,7 @@ type RekognitionStreamingClientConfigType = Partial<
|
|
|
113
114
|
ClientInputEndpointParameters;
|
|
114
115
|
export interface RekognitionStreamingClientConfig
|
|
115
116
|
extends RekognitionStreamingClientConfigType {}
|
|
116
|
-
type RekognitionStreamingClientResolvedConfigType =
|
|
117
|
+
export type RekognitionStreamingClientResolvedConfigType =
|
|
117
118
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
118
119
|
Required<ClientDefaults> &
|
|
119
120
|
RegionResolvedConfig &
|
|
@@ -138,4 +139,3 @@ export declare class RekognitionStreamingClient extends __Client<
|
|
|
138
139
|
constructor(configuration: RekognitionStreamingClientConfig);
|
|
139
140
|
destroy(): void;
|
|
140
141
|
}
|
|
141
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceInputTypes,
|
|
16
16
|
ServiceOutputTypes,
|
|
17
17
|
} from "../RekognitionStreamingClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface StartFaceLivenessSessionCommandInput
|
|
19
20
|
extends StartFaceLivenessSessionRequest {}
|
|
20
21
|
export interface StartFaceLivenessSessionCommandOutput
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./RekognitionStreaming";
|
|
2
1
|
export * from "./RekognitionStreamingClient";
|
|
2
|
+
export * from "./RekognitionStreaming";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./models";
|
|
5
5
|
export { RekognitionStreamingServiceException } from "./models/RekognitionStreamingServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class RekognitionStreamingServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
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.341.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,42 +21,42 @@
|
|
|
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.
|
|
27
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
31
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
32
|
-
"@aws-sdk/hash-node": "3.
|
|
33
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
34
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
35
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
40
|
-
"@aws-sdk/middleware-retry": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
46
|
-
"@aws-sdk/node-config-provider": "3.
|
|
47
|
-
"@aws-sdk/node-http-handler": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/eventstream-handler-node": "3.341.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-browser": "3.341.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.341.0",
|
|
30
|
+
"@aws-sdk/eventstream-serde-node": "3.341.0",
|
|
31
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
32
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
33
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-eventstream": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
40
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
45
|
+
"@aws-sdk/middleware-websocket": "3.341.0",
|
|
46
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
47
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
49
|
+
"@aws-sdk/types": "3.341.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
51
51
|
"@aws-sdk/util-base64": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
54
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
55
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
56
|
-
"@aws-sdk/util-endpoints": "3.
|
|
57
|
-
"@aws-sdk/util-retry": "3.
|
|
58
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
59
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
55
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
56
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
57
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
58
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
59
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
60
60
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
61
61
|
"@smithy/protocol-http": "^1.0.1",
|
|
62
62
|
"@smithy/types": "^1.0.0",
|