@aws-sdk/client-rekognitionstreaming 3.1076.0 → 3.1078.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/index.js +17 -26
- package/dist-es/commandBuilder.js +13 -0
- package/dist-es/commands/StartFaceLivenessSessionCommand.js +2 -27
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/StartFaceLivenessSessionCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartFaceLivenessSessionCommand.d.ts +3 -8
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +11 -13
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,9 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsu
|
|
|
2
2
|
const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
|
|
3
3
|
const { resolveWebSocketConfig, getWebSocketPlugin } = require("@aws-sdk/middleware-websocket");
|
|
4
4
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
5
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
6
|
-
|
|
5
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
6
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
7
|
+
exports.$Command = $Command;
|
|
7
8
|
exports.__Client = Client;
|
|
8
9
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
9
10
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -14,9 +15,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
|
14
15
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
15
16
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
16
17
|
const { eventStreamPayloadHandlerProvider } = require("@aws-sdk/eventstream-handler-node");
|
|
17
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
18
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
18
19
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
19
20
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
21
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
20
22
|
|
|
21
23
|
const defaultRekognitionStreamingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
22
24
|
return {
|
|
@@ -71,7 +73,7 @@ const commonParams = {
|
|
|
71
73
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
72
74
|
};
|
|
73
75
|
|
|
74
|
-
var version = "3.
|
|
76
|
+
var version = "3.1077.0";
|
|
75
77
|
var packageInfo = {
|
|
76
78
|
version: version};
|
|
77
79
|
|
|
@@ -545,6 +547,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
545
547
|
serviceTarget: "RekognitionStreamingService",
|
|
546
548
|
},
|
|
547
549
|
serviceId: config?.serviceId ?? "RekognitionStreaming",
|
|
550
|
+
sha256: config?.sha256 ?? Sha256,
|
|
548
551
|
urlParser: config?.urlParser ?? parseUrl,
|
|
549
552
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
550
553
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -580,7 +583,6 @@ const getRuntimeConfig = (config) => {
|
|
|
580
583
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
581
584
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
582
585
|
}, config),
|
|
583
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
584
586
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
585
587
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
586
588
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -671,27 +673,16 @@ class RekognitionStreamingClient extends Client {
|
|
|
671
673
|
}
|
|
672
674
|
}
|
|
673
675
|
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
];
|
|
685
|
-
})
|
|
686
|
-
.s("RekognitionStreamingService", "StartFaceLivenessSession", {
|
|
687
|
-
eventStream: {
|
|
688
|
-
input: true,
|
|
689
|
-
output: true,
|
|
690
|
-
},
|
|
691
|
-
})
|
|
692
|
-
.n("RekognitionStreamingClient", "StartFaceLivenessSessionCommand")
|
|
693
|
-
.sc(StartFaceLivenessSession$)
|
|
694
|
-
.build() {
|
|
676
|
+
const command = makeBuilder(commonParams, "RekognitionStreamingService", "RekognitionStreamingClient", getEndpointPlugin);
|
|
677
|
+
const _ep0 = {};
|
|
678
|
+
const _mw0 = (Command, cs, config, o) => [
|
|
679
|
+
getEventStreamPlugin(config),
|
|
680
|
+
getWebSocketPlugin(config, {
|
|
681
|
+
headerPrefix: "x-amz-rekognition-streaming-liveness-",
|
|
682
|
+
}),
|
|
683
|
+
];
|
|
684
|
+
|
|
685
|
+
class StartFaceLivenessSessionCommand extends command(_ep0, _mw0, "StartFaceLivenessSession", StartFaceLivenessSession$) {
|
|
695
686
|
}
|
|
696
687
|
|
|
697
688
|
const commands = {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
|
|
2
|
+
import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
3
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
6
|
+
export const command = makeBuilder(commonParams, "RekognitionStreamingService", "RekognitionStreamingClient", getEndpointPlugin);
|
|
7
|
+
export const _ep0 = {};
|
|
8
|
+
export const _mw0 = (Command, cs, config, o) => [
|
|
9
|
+
getEventStreamPlugin(config),
|
|
10
|
+
getWebSocketPlugin(config, {
|
|
11
|
+
headerPrefix: "x-amz-rekognition-streaming-liveness-",
|
|
12
|
+
}),
|
|
13
|
+
];
|
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
3
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
6
2
|
import { StartFaceLivenessSession$ } from "../schemas/schemas_0";
|
|
7
|
-
export
|
|
8
|
-
export class StartFaceLivenessSessionCommand extends $Command
|
|
9
|
-
.classBuilder()
|
|
10
|
-
.ep(commonParams)
|
|
11
|
-
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
getEventStreamPlugin(config),
|
|
15
|
-
getWebSocketPlugin(config, {
|
|
16
|
-
headerPrefix: 'x-amz-rekognition-streaming-liveness-',
|
|
17
|
-
}),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("RekognitionStreamingService", "StartFaceLivenessSession", {
|
|
21
|
-
eventStream: {
|
|
22
|
-
input: true,
|
|
23
|
-
output: true,
|
|
24
|
-
},
|
|
25
|
-
})
|
|
26
|
-
.n("RekognitionStreamingClient", "StartFaceLivenessSessionCommand")
|
|
27
|
-
.sc(StartFaceLivenessSession$)
|
|
28
|
-
.build() {
|
|
3
|
+
export class StartFaceLivenessSessionCommand extends command(_ep0, _mw0, "StartFaceLivenessSession", StartFaceLivenessSession$) {
|
|
29
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./RekognitionStreamingClient";
|
|
2
2
|
export * from "./RekognitionStreaming";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/enums";
|
|
6
7
|
export * from "./models/errors";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { eventStreamPayloadHandlerProvider, WebSocketFetchHandler as WebSocketRequestHandler, } from "@aws-sdk/middleware-websocket";
|
|
5
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
@@ -28,7 +27,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
27
|
requestHandler: WebSocketRequestHandler.create(config?.requestHandler
|
|
29
28
|
?? defaultConfigProvider, HttpRequestHandler.create(defaultConfigProvider)),
|
|
30
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
31
|
-
sha256: config?.sha256 ?? Sha256,
|
|
32
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
33
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
34
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,7 +7,7 @@ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smi
|
|
|
7
7
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
8
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
9
9
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
10
|
-
import { calculateBodyLength
|
|
10
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
11
11
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
13
|
export const getRuntimeConfig = (config) => {
|
|
@@ -39,7 +39,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
39
39
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
41
41
|
}, config),
|
|
42
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
43
42
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
44
43
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
45
44
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { invalidFunction } from "@smithy/core/client";
|
|
3
2
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
3
|
export const getRuntimeConfig = (config) => {
|
|
@@ -10,6 +9,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
10
9
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
11
10
|
handle: invalidFunction("event stream request is not supported in ReactNative."),
|
|
12
11
|
})),
|
|
13
|
-
sha256: config?.sha256 ?? Sha256,
|
|
14
12
|
};
|
|
15
13
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "RekognitionStreamingService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "RekognitionStreaming",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { RekognitionStreamingClientResolvedConfig } from "./RekognitionStreamingClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends import("./commands").StartFaceLivenessSessionCommandInput, O extends import("./commands").StartFaceLivenessSessionCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, RekognitionStreamingClientResolvedConfig, import("./commands").StartFaceLivenessSessionCommandInput, import("./commands").StartFaceLivenessSessionCommandOutput>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, RekognitionStreamingClientResolvedConfig, import("./commands").StartFaceLivenessSessionCommandInput, import("./commands").StartFaceLivenessSessionCommandOutput>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => import("@smithy/types").Pluggable<any, any>[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { StartFaceLivenessSessionRequest, StartFaceLivenessSessionResponse } from "../models/models_0";
|
|
4
|
-
import type { RekognitionStreamingClientResolvedConfig } from "../RekognitionStreamingClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface StartFaceLivenessSessionCommandInput extends StartFaceLivenessS
|
|
|
22
19
|
export interface StartFaceLivenessSessionCommandOutput extends StartFaceLivenessSessionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const StartFaceLivenessSessionCommand_base: {
|
|
25
|
-
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, RekognitionStreamingClientResolvedConfig, StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
26
|
-
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, RekognitionStreamingClientResolvedConfig, StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, import("..").RekognitionStreamingClientResolvedConfig, StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
23
|
+
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, import("..").RekognitionStreamingClientResolvedConfig, StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Starts a Face Liveness video stream and liveness detection process for a given
|
package/dist-types/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
30
30
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
31
31
|
export type { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
32
32
|
export * from "./commands";
|
|
33
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
33
34
|
export * from "./schemas/schemas_0";
|
|
34
35
|
export * from "./models/enums";
|
|
35
36
|
export * from "./models/errors";
|
|
@@ -15,7 +15,6 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
15
15
|
region: string | import("@smithy/types").Provider<any>;
|
|
16
16
|
requestHandler: WebSocketRequestHandler;
|
|
17
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
19
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
20
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
20
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
26
25
|
[setting: string]: unknown;
|
|
27
26
|
};
|
|
28
27
|
apiVersion: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -16,7 +16,6 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
16
16
|
region: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
18
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
20
19
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
21
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -28,6 +27,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
28
27
|
[setting: string]: unknown;
|
|
29
28
|
};
|
|
30
29
|
apiVersion: string;
|
|
30
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
31
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
33
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -5,7 +5,6 @@ import type { RekognitionStreamingClientConfig } from "./RekognitionStreamingCli
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
8
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
9
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/core/transport").HttpRequest, import("@smithy/core/transport").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
10
9
|
updateHttpClientConfig(key: never, value: never): void;
|
|
11
10
|
httpHandlerConfigs(): {};
|
|
@@ -17,6 +16,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
17
16
|
[setting: string]: unknown;
|
|
18
17
|
};
|
|
19
18
|
apiVersion: string;
|
|
19
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
20
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
21
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
22
22
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import { RekognitionStreamingClientResolvedConfig } from "./RekognitionStreamingClient";
|
|
3
|
+
export declare const command: <
|
|
4
|
+
I extends import("./commands").StartFaceLivenessSessionCommandInput,
|
|
5
|
+
O extends import("./commands").StartFaceLivenessSessionCommandOutput
|
|
6
|
+
>(
|
|
7
|
+
added: EndpointParameterInstructions,
|
|
8
|
+
plugins: (
|
|
9
|
+
CommandCtor: any,
|
|
10
|
+
clientStack: any,
|
|
11
|
+
config: any,
|
|
12
|
+
options: any
|
|
13
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
14
|
+
op: string,
|
|
15
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
16
|
+
smithyContext?: Record<string, unknown>
|
|
17
|
+
) => {
|
|
18
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
I,
|
|
20
|
+
O,
|
|
21
|
+
RekognitionStreamingClientResolvedConfig,
|
|
22
|
+
import("./commands").StartFaceLivenessSessionCommandInput,
|
|
23
|
+
import("./commands").StartFaceLivenessSessionCommandOutput
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
I,
|
|
29
|
+
O,
|
|
30
|
+
RekognitionStreamingClientResolvedConfig,
|
|
31
|
+
import("./commands").StartFaceLivenessSessionCommandInput,
|
|
32
|
+
import("./commands").StartFaceLivenessSessionCommandOutput
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
37
|
+
export declare const _mw0: (
|
|
38
|
+
Command: any,
|
|
39
|
+
cs: any,
|
|
40
|
+
config: any,
|
|
41
|
+
o: any
|
|
42
|
+
) => import("@smithy/types").Pluggable<any, any>[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
StartFaceLivenessSessionRequest,
|
|
5
4
|
StartFaceLivenessSessionResponse,
|
|
6
5
|
} from "../models/models_0";
|
|
7
|
-
import { RekognitionStreamingClientResolvedConfig } from "../RekognitionStreamingClient";
|
|
8
6
|
export { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
export interface StartFaceLivenessSessionCommandInput
|
|
11
8
|
extends StartFaceLivenessSessionRequest {}
|
|
12
9
|
export interface StartFaceLivenessSessionCommandOutput
|
|
@@ -18,7 +15,7 @@ declare const StartFaceLivenessSessionCommand_base: {
|
|
|
18
15
|
): import("@smithy/core/client").CommandImpl<
|
|
19
16
|
StartFaceLivenessSessionCommandInput,
|
|
20
17
|
StartFaceLivenessSessionCommandOutput,
|
|
21
|
-
RekognitionStreamingClientResolvedConfig,
|
|
18
|
+
import("..").RekognitionStreamingClientResolvedConfig,
|
|
22
19
|
StartFaceLivenessSessionCommandInput,
|
|
23
20
|
StartFaceLivenessSessionCommandOutput
|
|
24
21
|
>;
|
|
@@ -27,13 +24,11 @@ declare const StartFaceLivenessSessionCommand_base: {
|
|
|
27
24
|
): import("@smithy/core/client").CommandImpl<
|
|
28
25
|
StartFaceLivenessSessionCommandInput,
|
|
29
26
|
StartFaceLivenessSessionCommandOutput,
|
|
30
|
-
RekognitionStreamingClientResolvedConfig,
|
|
27
|
+
import("..").RekognitionStreamingClientResolvedConfig,
|
|
31
28
|
StartFaceLivenessSessionCommandInput,
|
|
32
29
|
StartFaceLivenessSessionCommandOutput
|
|
33
30
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
37
32
|
};
|
|
38
33
|
export declare class StartFaceLivenessSessionCommand extends StartFaceLivenessSessionCommand_base {
|
|
39
34
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./models/enums";
|
|
9
10
|
export * from "./models/errors";
|
|
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
requestHandler: WebSocketRequestHandler;
|
|
24
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
26
25
|
streamCollector: (
|
|
27
26
|
stream:
|
|
28
27
|
| import("stream").Readable
|
|
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
|
|
|
44
43
|
[setting: string]: unknown;
|
|
45
44
|
};
|
|
46
45
|
apiVersion: string;
|
|
46
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
47
47
|
urlParser: import("@smithy/types").UrlParser;
|
|
48
48
|
base64Decoder: import("@smithy/types").Decoder;
|
|
49
49
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -25,7 +25,6 @@ export declare const getRuntimeConfig: (
|
|
|
25
25
|
| RequestHandler
|
|
26
26
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
29
28
|
streamCollector: (
|
|
30
29
|
stream:
|
|
31
30
|
| import("stream").Readable
|
|
@@ -46,6 +45,7 @@ export declare const getRuntimeConfig: (
|
|
|
46
45
|
[setting: string]: unknown;
|
|
47
46
|
};
|
|
48
47
|
apiVersion: string;
|
|
48
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
49
49
|
urlParser: import("@smithy/types").UrlParser;
|
|
50
50
|
base64Decoder: import("@smithy/types").Decoder;
|
|
51
51
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ export declare const getRuntimeConfig: (
|
|
|
4
4
|
) => {
|
|
5
5
|
runtime: string;
|
|
6
6
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler:
|
|
9
8
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
10
9
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -33,6 +32,7 @@ export declare const getRuntimeConfig: (
|
|
|
33
32
|
[setting: string]: unknown;
|
|
34
33
|
};
|
|
35
34
|
apiVersion: string;
|
|
35
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
36
36
|
urlParser: import("@smithy/types").UrlParser;
|
|
37
37
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
38
38
|
streamCollector: (
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
|
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
};
|
|
28
28
|
serviceId: string;
|
|
29
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
30
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
31
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
32
|
utf8Encoder: (input: Uint8Array | string) => string;
|
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.1078.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,18 +19,16 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-
|
|
23
|
-
"@aws-
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@aws-sdk/
|
|
26
|
-
"@aws-sdk/
|
|
27
|
-
"@aws-sdk/
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@smithy/
|
|
31
|
-
"@smithy/
|
|
32
|
-
"@smithy/node-http-handler": "^4.9.0",
|
|
33
|
-
"@smithy/types": "^4.15.0",
|
|
22
|
+
"@aws-sdk/core": "^3.974.26",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.61",
|
|
24
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.25",
|
|
25
|
+
"@aws-sdk/middleware-eventstream": "^3.972.21",
|
|
26
|
+
"@aws-sdk/middleware-websocket": "^3.972.34",
|
|
27
|
+
"@aws-sdk/types": "^3.973.15",
|
|
28
|
+
"@smithy/core": "^3.29.0",
|
|
29
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
30
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
31
|
+
"@smithy/types": "^4.15.1",
|
|
34
32
|
"tslib": "^2.6.2"
|
|
35
33
|
},
|
|
36
34
|
"devDependencies": {
|