@aws-sdk/client-rekognitionstreaming 3.305.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/LICENSE +201 -0
- package/README.md +222 -0
- package/dist-cjs/RekognitionStreaming.js +37 -0
- package/dist-cjs/RekognitionStreamingClient.js +46 -0
- package/dist-cjs/commands/StartFaceLivenessSessionCommand.js +50 -0
- package/dist-cjs/commands/StartStreamingLivenessSessionCommand.js +50 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/RekognitionStreamingServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +188 -0
- package/dist-cjs/protocols/Aws_restJson1.js +573 -0
- package/dist-cjs/runtimeConfig.browser.js +44 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +18 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/RekognitionStreaming.js +33 -0
- package/dist-es/RekognitionStreamingClient.js +42 -0
- package/dist-es/commands/StartFaceLivenessSessionCommand.js +46 -0
- package/dist-es/commands/StartStreamingLivenessSessionCommand.js +46 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/RekognitionStreamingServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +173 -0
- package/dist-es/protocols/Aws_restJson1.js +566 -0
- package/dist-es/runtimeConfig.browser.js +39 -0
- package/dist-es/runtimeConfig.js +47 -0
- package/dist-es/runtimeConfig.native.js +14 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/RekognitionStreaming.d.ts +21 -0
- package/dist-types/RekognitionStreamingClient.d.ts +174 -0
- package/dist-types/commands/StartFaceLivenessSessionCommand.d.ts +39 -0
- package/dist-types/commands/StartStreamingLivenessSessionCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/RekognitionStreamingServiceException.d.ts +12 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +415 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +8 -0
- package/dist-types/runtimeConfig.browser.d.ts +44 -0
- package/dist-types/runtimeConfig.d.ts +44 -0
- package/dist-types/runtimeConfig.native.d.ts +43 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/RekognitionStreaming.d.ts +38 -0
- package/dist-types/ts3.4/RekognitionStreamingClient.d.ts +147 -0
- package/dist-types/ts3.4/commands/StartFaceLivenessSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartStreamingLivenessSessionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/RekognitionStreamingServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +316 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
- package/package.json +104 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
5
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
|
+
export const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2022-05-30",
|
|
8
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
9
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
10
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
13
|
+
serviceId: config?.serviceId ?? "RekognitionStreaming",
|
|
14
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
17
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "./commands/StartFaceLivenessSessionCommand";
|
|
3
|
+
import { StartStreamingLivenessSessionCommandInput, StartStreamingLivenessSessionCommandOutput } from "./commands/StartStreamingLivenessSessionCommand";
|
|
4
|
+
import { RekognitionStreamingClient } from "./RekognitionStreamingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class RekognitionStreaming extends RekognitionStreamingClient {
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartFaceLivenessSessionCommandOutput>;
|
|
13
|
+
startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void): void;
|
|
14
|
+
startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void): void;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
startStreamingLivenessSession(args: StartStreamingLivenessSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartStreamingLivenessSessionCommandOutput>;
|
|
19
|
+
startStreamingLivenessSession(args: StartStreamingLivenessSessionCommandInput, cb: (err: any, data?: StartStreamingLivenessSessionCommandOutput) => void): void;
|
|
20
|
+
startStreamingLivenessSession(args: StartStreamingLivenessSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartStreamingLivenessSessionCommandOutput) => void): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@aws-sdk/eventstream-serde-config-resolver";
|
|
3
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
4
|
+
import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
|
|
5
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
6
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
8
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import { WebSocketInputConfig, WebSocketResolvedConfig } from "@aws-sdk/middleware-websocket";
|
|
10
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
11
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
12
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
13
|
+
import { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "./commands/StartFaceLivenessSessionCommand";
|
|
14
|
+
import { StartStreamingLivenessSessionCommandInput, StartStreamingLivenessSessionCommandOutput } from "./commands/StartStreamingLivenessSessionCommand";
|
|
15
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type ServiceInputTypes = StartFaceLivenessSessionCommandInput | StartStreamingLivenessSessionCommandInput;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type ServiceOutputTypes = StartFaceLivenessSessionCommandOutput | StartStreamingLivenessSessionCommandOutput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
28
|
+
/**
|
|
29
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
30
|
+
*/
|
|
31
|
+
requestHandler?: __HttpHandler;
|
|
32
|
+
/**
|
|
33
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
34
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
38
|
+
/**
|
|
39
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
urlParser?: __UrlParser;
|
|
43
|
+
/**
|
|
44
|
+
* A function that can calculate the length of a request body.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
48
|
+
/**
|
|
49
|
+
* A function that converts a stream into an array of bytes.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
streamCollector?: __StreamCollector;
|
|
53
|
+
/**
|
|
54
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
base64Decoder?: __Decoder;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
base64Encoder?: __Encoder;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
utf8Decoder?: __Decoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
utf8Encoder?: __Encoder;
|
|
73
|
+
/**
|
|
74
|
+
* The runtime environment.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
runtime?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
80
|
+
* trait of an operation.
|
|
81
|
+
*/
|
|
82
|
+
disableHostPrefix?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Unique service identifier.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
serviceId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
90
|
+
*/
|
|
91
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* Enables FIPS compatible endpoints.
|
|
94
|
+
*/
|
|
95
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
96
|
+
/**
|
|
97
|
+
* The AWS region to which this client will send requests
|
|
98
|
+
*/
|
|
99
|
+
region?: string | __Provider<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Default credentials provider; Not available in browser runtime.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
105
|
+
/**
|
|
106
|
+
* The function that provides necessary utilities for handling request event stream.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
110
|
+
/**
|
|
111
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
115
|
+
/**
|
|
116
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
117
|
+
*/
|
|
118
|
+
maxAttempts?: number | __Provider<number>;
|
|
119
|
+
/**
|
|
120
|
+
* Specifies which retry algorithm to use.
|
|
121
|
+
*/
|
|
122
|
+
retryMode?: string | __Provider<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Optional logger for logging debug/info/warn/error.
|
|
125
|
+
*/
|
|
126
|
+
logger?: __Logger;
|
|
127
|
+
/**
|
|
128
|
+
* The function that provides necessary utilities for generating and parsing event stream
|
|
129
|
+
*/
|
|
130
|
+
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
131
|
+
/**
|
|
132
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
133
|
+
*/
|
|
134
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
type RekognitionStreamingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & EventStreamInputConfig & WebSocketInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*
|
|
143
|
+
* The configuration interface of RekognitionStreamingClient class constructor that set the region, credentials and other options.
|
|
144
|
+
*/
|
|
145
|
+
export interface RekognitionStreamingClientConfig extends RekognitionStreamingClientConfigType {
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
type RekognitionStreamingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & EventStreamResolvedConfig & WebSocketResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*
|
|
154
|
+
* The resolved configuration interface of RekognitionStreamingClient class. This is resolved and normalized from the {@link RekognitionStreamingClientConfig | constructor configuration interface}.
|
|
155
|
+
*/
|
|
156
|
+
export interface RekognitionStreamingClientResolvedConfig extends RekognitionStreamingClientResolvedConfigType {
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export declare class RekognitionStreamingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RekognitionStreamingClientResolvedConfig> {
|
|
162
|
+
/**
|
|
163
|
+
* The resolved configuration of RekognitionStreamingClient class. This is resolved and normalized from the {@link RekognitionStreamingClientConfig | constructor configuration interface}.
|
|
164
|
+
*/
|
|
165
|
+
readonly config: RekognitionStreamingClientResolvedConfig;
|
|
166
|
+
constructor(configuration: RekognitionStreamingClientConfig);
|
|
167
|
+
/**
|
|
168
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
169
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
170
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
171
|
+
*/
|
|
172
|
+
destroy(): void;
|
|
173
|
+
}
|
|
174
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { StartFaceLivenessSessionRequest, StartFaceLivenessSessionResponse } from "../models/models_0";
|
|
5
|
+
import { RekognitionStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionStreamingClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link StartFaceLivenessSessionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface StartFaceLivenessSessionCommandInput extends StartFaceLivenessSessionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link StartFaceLivenessSessionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface StartFaceLivenessSessionCommandOutput extends StartFaceLivenessSessionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
export declare class StartFaceLivenessSessionCommand extends $Command<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, RekognitionStreamingClientResolvedConfig> {
|
|
21
|
+
readonly input: StartFaceLivenessSessionCommandInput;
|
|
22
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
constructor(input: StartFaceLivenessSessionCommandInput);
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionStreamingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
private serialize;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { StartStreamingLivenessSessionRequest, StartStreamingLivenessSessionResponse } from "../models/models_0";
|
|
5
|
+
import { RekognitionStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RekognitionStreamingClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link StartStreamingLivenessSessionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface StartStreamingLivenessSessionCommandInput extends StartStreamingLivenessSessionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link StartStreamingLivenessSessionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface StartStreamingLivenessSessionCommandOutput extends StartStreamingLivenessSessionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
export declare class StartStreamingLivenessSessionCommand extends $Command<StartStreamingLivenessSessionCommandInput, StartStreamingLivenessSessionCommandOutput, RekognitionStreamingClientResolvedConfig> {
|
|
21
|
+
readonly input: StartStreamingLivenessSessionCommandInput;
|
|
22
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
constructor(input: StartStreamingLivenessSessionCommandInput);
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RekognitionStreamingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartStreamingLivenessSessionCommandInput, StartStreamingLivenessSessionCommandOutput>;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
private serialize;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
|
+
}
|
|
8
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region?: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
5
|
+
* Base exception class for all service exceptions from RekognitionStreaming service.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RekognitionStreamingServiceException extends __ServiceException {
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
constructor(options: __ServiceExceptionOptions);
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|