@aws-sdk/client-rekognitionstreaming 3.1086.0 → 3.1088.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 CHANGED
@@ -73,7 +73,7 @@ const commonParams = {
73
73
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
74
74
  };
75
75
 
76
- var version = "3.1085.0";
76
+ var version = "3.1087.0";
77
77
  var packageInfo = {
78
78
  version: version};
79
79
 
@@ -7,16 +7,16 @@ import { RekognitionStreamingClient } from "./RekognitionStreamingClient";
7
7
  export interface RekognitionStreaming {
8
8
  startFaceLivenessSession(
9
9
  args: StartFaceLivenessSessionCommandInput,
10
- options?: __HttpHandlerOptions
10
+ options?: __HttpHandlerOptions,
11
11
  ): Promise<StartFaceLivenessSessionCommandOutput>;
12
12
  startFaceLivenessSession(
13
13
  args: StartFaceLivenessSessionCommandInput,
14
- cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void
14
+ cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void,
15
15
  ): void;
16
16
  startFaceLivenessSession(
17
17
  args: StartFaceLivenessSessionCommandInput,
18
18
  options: __HttpHandlerOptions,
19
- cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void
19
+ cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void,
20
20
  ): void;
21
21
  }
22
22
  export declare class RekognitionStreaming
@@ -4,14 +4,8 @@ import {
4
4
  UserAgentInputConfig,
5
5
  UserAgentResolvedConfig,
6
6
  } from "@aws-sdk/core/client";
7
- import {
8
- EventStreamInputConfig,
9
- EventStreamResolvedConfig,
10
- } from "@aws-sdk/middleware-eventstream";
11
- import {
12
- WebSocketInputConfig,
13
- WebSocketResolvedConfig,
14
- } from "@aws-sdk/middleware-websocket";
7
+ import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
8
+ import { WebSocketInputConfig, WebSocketResolvedConfig } from "@aws-sdk/middleware-websocket";
15
9
  import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
16
10
  import {
17
11
  DefaultsMode as __DefaultsMode,
@@ -20,10 +14,7 @@ import {
20
14
  Client as __Client,
21
15
  } from "@smithy/core/client";
22
16
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
23
- import {
24
- EndpointInputConfig,
25
- EndpointResolvedConfig,
26
- } from "@smithy/core/endpoints";
17
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
27
18
  import {
28
19
  EventStreamSerdeInputConfig,
29
20
  EventStreamSerdeResolvedConfig,
@@ -63,8 +54,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
63
54
  export { __Client };
64
55
  export type ServiceInputTypes = StartFaceLivenessSessionCommandInput;
65
56
  export type ServiceOutputTypes = StartFaceLivenessSessionCommandOutput;
66
- export interface ClientDefaults
67
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
57
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
68
58
  requestHandler?: __HttpHandlerUserInput;
69
59
  sha256?: __ChecksumConstructor | __HashConstructor;
70
60
  urlParser?: __UrlParser;
@@ -105,8 +95,7 @@ export type RekognitionStreamingClientConfigType = Partial<
105
95
  EventStreamInputConfig &
106
96
  WebSocketInputConfig &
107
97
  ClientInputEndpointParameters;
108
- export interface RekognitionStreamingClientConfig
109
- extends RekognitionStreamingClientConfigType {}
98
+ export interface RekognitionStreamingClientConfig extends RekognitionStreamingClientConfigType {}
110
99
  export type RekognitionStreamingClientResolvedConfigType =
111
100
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
112
101
  Required<ClientDefaults> &
@@ -121,8 +110,7 @@ export type RekognitionStreamingClientResolvedConfigType =
121
110
  EventStreamResolvedConfig &
122
111
  WebSocketResolvedConfig &
123
112
  ClientResolvedEndpointParameters;
124
- export interface RekognitionStreamingClientResolvedConfig
125
- extends RekognitionStreamingClientResolvedConfigType {}
113
+ export interface RekognitionStreamingClientResolvedConfig extends RekognitionStreamingClientResolvedConfigType {}
126
114
  export declare class RekognitionStreamingClient extends __Client<
127
115
  __HttpHandlerOptions,
128
116
  ServiceInputTypes,
@@ -130,10 +118,6 @@ export declare class RekognitionStreamingClient extends __Client<
130
118
  RekognitionStreamingClientResolvedConfig
131
119
  > {
132
120
  readonly config: RekognitionStreamingClientResolvedConfig;
133
- constructor(
134
- ...[
135
- configuration,
136
- ]: __CheckOptionalClientConfig<RekognitionStreamingClientConfig>
137
- );
121
+ constructor(...[configuration]: __CheckOptionalClientConfig<RekognitionStreamingClientConfig>);
138
122
  destroy(): void;
139
123
  }
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
10
  setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: RekognitionStreamingHttpAuthSchemeProvider
11
+ httpAuthSchemeProvider: RekognitionStreamingHttpAuthSchemeProvider,
12
12
  ): void;
13
13
  httpAuthSchemeProvider(): RekognitionStreamingHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
14
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
15
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
16
  }
22
17
  export type HttpAuthRuntimeConfig = Partial<{
23
18
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
20
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
21
  }>;
27
22
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
23
+ runtimeConfig: HttpAuthRuntimeConfig,
29
24
  ) => HttpAuthExtensionConfiguration;
30
25
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
26
+ config: HttpAuthExtensionConfiguration,
32
27
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { RekognitionStreamingClientResolvedConfig } from "../RekognitionStreamingClient";
15
- export interface RekognitionStreamingHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface RekognitionStreamingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface RekognitionStreamingHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- RekognitionStreamingClientResolvedConfig,
22
- HandlerExecutionContext,
23
- RekognitionStreamingHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface RekognitionStreamingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ RekognitionStreamingClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ RekognitionStreamingHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultRekognitionStreamingHttpAuthSchemeParametersProvider: (
27
25
  config: RekognitionStreamingClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<RekognitionStreamingHttpAuthSchemeParameters>;
31
- export interface RekognitionStreamingHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<RekognitionStreamingHttpAuthSchemeParameters> {}
29
+ export interface RekognitionStreamingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<RekognitionStreamingHttpAuthSchemeParameters> {}
33
30
  export declare const defaultRekognitionStreamingHttpAuthSchemeProvider: RekognitionStreamingHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: RekognitionStreamingHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: RekognitionStreamingHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -2,20 +2,22 @@ import { EndpointParameterInstructions } from "@smithy/types";
2
2
  import { RekognitionStreamingClientResolvedConfig } from "./RekognitionStreamingClient";
3
3
  export declare const command: <
4
4
  I extends import("./commands").StartFaceLivenessSessionCommandInput,
5
- O extends import("./commands").StartFaceLivenessSessionCommandOutput
5
+ O extends import("./commands").StartFaceLivenessSessionCommandOutput,
6
6
  >(
7
7
  added: EndpointParameterInstructions,
8
8
  plugins: (
9
9
  CommandCtor: any,
10
10
  clientStack: any,
11
11
  config: any,
12
- options: any
12
+ options: any,
13
13
  ) => import("@smithy/types").Pluggable<any, any>[],
14
14
  op: string,
15
15
  $: import("@smithy/types").StaticOperationSchema,
16
- smithyContext?: Record<string, unknown>
16
+ smithyContext?: Record<string, unknown>,
17
17
  ) => {
18
- new (input: I): import("@smithy/core/client").CommandImpl<
18
+ new (
19
+ input: I,
20
+ ): import("@smithy/core/client").CommandImpl<
19
21
  I,
20
22
  O,
21
23
  RekognitionStreamingClientResolvedConfig,
@@ -38,5 +40,5 @@ export declare const _mw0: (
38
40
  Command: any,
39
41
  cs: any,
40
42
  config: any,
41
- o: any
43
+ o: any,
42
44
  ) => import("@smithy/types").Pluggable<any, any>[];
@@ -4,14 +4,12 @@ import {
4
4
  StartFaceLivenessSessionResponse,
5
5
  } from "../models/models_0";
6
6
  export { __MetadataBearer };
7
- export interface StartFaceLivenessSessionCommandInput
8
- extends StartFaceLivenessSessionRequest {}
7
+ export interface StartFaceLivenessSessionCommandInput extends StartFaceLivenessSessionRequest {}
9
8
  export interface StartFaceLivenessSessionCommandOutput
10
- extends StartFaceLivenessSessionResponse,
11
- __MetadataBearer {}
9
+ extends StartFaceLivenessSessionResponse, __MetadataBearer {}
12
10
  declare const StartFaceLivenessSessionCommand_base: {
13
11
  new (
14
- input: StartFaceLivenessSessionCommandInput
12
+ input: StartFaceLivenessSessionCommandInput,
15
13
  ): import("@smithy/core/client").CommandImpl<
16
14
  StartFaceLivenessSessionCommandInput,
17
15
  StartFaceLivenessSessionCommandOutput,
@@ -20,7 +18,7 @@ declare const StartFaceLivenessSessionCommand_base: {
20
18
  StartFaceLivenessSessionCommandOutput
21
19
  >;
22
20
  new (
23
- input: StartFaceLivenessSessionCommandInput
21
+ input: StartFaceLivenessSessionCommandInput,
24
22
  ): import("@smithy/core/client").CommandImpl<
25
23
  StartFaceLivenessSessionCommandInput,
26
24
  StartFaceLivenessSessionCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface RekognitionStreamingExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -6,5 +6,4 @@ export type ChallengeType = (typeof ChallengeType)[keyof typeof ChallengeType];
6
6
  export declare const LightChallengeType: {
7
7
  readonly SEQUENTIAL: "SEQUENTIAL";
8
8
  };
9
- export type LightChallengeType =
10
- (typeof LightChallengeType)[keyof typeof LightChallengeType];
9
+ export type LightChallengeType = (typeof LightChallengeType)[keyof typeof LightChallengeType];
@@ -5,61 +5,47 @@ export declare class AccessDeniedException extends __BaseException {
5
5
  readonly $fault: "client";
6
6
  Message?: string | undefined;
7
7
  Code?: string | undefined;
8
- constructor(
9
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
9
  }
12
10
  export declare class InternalServerException extends __BaseException {
13
11
  readonly name: "InternalServerException";
14
12
  readonly $fault: "server";
15
13
  Message?: string | undefined;
16
14
  Code?: string | undefined;
17
- constructor(
18
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
19
- );
15
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
20
16
  }
21
17
  export declare class ServiceQuotaExceededException extends __BaseException {
22
18
  readonly name: "ServiceQuotaExceededException";
23
19
  readonly $fault: "client";
24
20
  Message?: string | undefined;
25
21
  Code?: string | undefined;
26
- constructor(
27
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
28
- );
22
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
29
23
  }
30
24
  export declare class ServiceUnavailableException extends __BaseException {
31
25
  readonly name: "ServiceUnavailableException";
32
26
  readonly $fault: "server";
33
27
  Message?: string | undefined;
34
28
  Code?: string | undefined;
35
- constructor(
36
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
37
- );
29
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
38
30
  }
39
31
  export declare class ThrottlingException extends __BaseException {
40
32
  readonly name: "ThrottlingException";
41
33
  readonly $fault: "client";
42
34
  Message?: string | undefined;
43
35
  Code?: string | undefined;
44
- constructor(
45
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
46
- );
36
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
47
37
  }
48
38
  export declare class ValidationException extends __BaseException {
49
39
  readonly name: "ValidationException";
50
40
  readonly $fault: "client";
51
41
  Message?: string | undefined;
52
42
  Code?: string | undefined;
53
- constructor(
54
- opts: __ExceptionOptionType<ValidationException, __BaseException>
55
- );
43
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
56
44
  }
57
45
  export declare class SessionNotFoundException extends __BaseException {
58
46
  readonly name: "SessionNotFoundException";
59
47
  readonly $fault: "client";
60
48
  Message?: string | undefined;
61
49
  Code?: string | undefined;
62
- constructor(
63
- opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>
64
- );
50
+ constructor(opts: __ExceptionOptionType<SessionNotFoundException, __BaseException>);
65
51
  }
@@ -83,9 +83,7 @@ export declare namespace ClientChallenge {
83
83
  $unknown: [string, any];
84
84
  }
85
85
  interface Visitor<T> {
86
- FaceMovementAndLightChallenge: (
87
- value: FaceMovementAndLightClientChallenge
88
- ) => T;
86
+ FaceMovementAndLightChallenge: (value: FaceMovementAndLightClientChallenge) => T;
89
87
  FaceMovementChallenge: (value: FaceMovementClientChallenge) => T;
90
88
  _: (name: string, value: any) => T;
91
89
  }
@@ -168,9 +166,7 @@ export declare namespace ServerChallenge {
168
166
  $unknown: [string, any];
169
167
  }
170
168
  interface Visitor<T> {
171
- FaceMovementAndLightChallenge: (
172
- value: FaceMovementAndLightServerChallenge
173
- ) => T;
169
+ FaceMovementAndLightChallenge: (value: FaceMovementAndLightServerChallenge) => T;
174
170
  FaceMovementChallenge: (value: FaceMovementServerChallenge) => T;
175
171
  _: (name: string, value: any) => T;
176
172
  }
@@ -1,8 +1,6 @@
1
1
  import { WebSocketFetchHandler as WebSocketRequestHandler } from "@aws-sdk/middleware-websocket";
2
2
  import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
3
- export declare const getRuntimeConfig: (
4
- config: RekognitionStreamingClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,11 +8,9 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
20
16
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
@@ -23,11 +19,7 @@ export declare const getRuntimeConfig: (
23
19
  requestHandler: WebSocketRequestHandler;
24
20
  retryMode: string | import("@smithy/types").Provider<string>;
25
21
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
22
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
23
  ) => Promise<Uint8Array>;
32
24
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
25
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +47,8 @@ export declare const getRuntimeConfig: (
55
47
  logger: import("@smithy/types").Logger;
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
50
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
52
  endpoint?:
66
53
  | ((
67
54
  | string
@@ -83,7 +70,7 @@ export declare const getRuntimeConfig: (
83
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
71
  context?: {
85
72
  logger?: import("@smithy/types").Logger;
86
- }
73
+ },
87
74
  ) => import("@smithy/types").EndpointV2;
88
75
  tls?: boolean;
89
76
  serviceConfiguredEndpoint?: never;
@@ -96,13 +83,13 @@ export declare const getRuntimeConfig: (
96
83
  signer?:
97
84
  | import("@smithy/types").RequestSigner
98
85
  | ((
99
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
100
87
  ) => Promise<import("@smithy/types").RequestSigner>);
101
88
  signingEscapePath?: boolean;
102
89
  systemClockOffset?: number;
103
90
  signingRegion?: string;
104
91
  signerConstructor?: new (
105
92
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
94
  ) => import("@smithy/types").RequestSigner;
108
95
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
3
- export declare const getRuntimeConfig: (
4
- config: RekognitionStreamingClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,25 +10,19 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
21
19
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
22
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
23
21
  region: string | import("@smithy/types").Provider<string>;
24
- requestHandler:
25
- | RequestHandler
26
- | import("@smithy/core/protocols").HttpHandler<any>;
22
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
27
23
  retryMode: string | import("@smithy/types").Provider<string>;
28
24
  streamCollector: (
29
- stream:
30
- | import("stream").Readable
31
- | import("stream/web").ReadableStream
32
- | ReadableStream
33
- | Blob
25
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
34
26
  ) => Promise<Uint8Array>;
35
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -57,9 +49,7 @@ export declare const getRuntimeConfig: (
57
49
  logger: import("@smithy/types").Logger;
58
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
52
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
53
  endpoint?:
64
54
  | ((
65
55
  | string
@@ -81,7 +71,7 @@ export declare const getRuntimeConfig: (
81
71
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
72
  context?: {
83
73
  logger?: import("@smithy/types").Logger;
84
- }
74
+ },
85
75
  ) => import("@smithy/types").EndpointV2;
86
76
  tls?: boolean;
87
77
  serviceConfiguredEndpoint?: never;
@@ -93,13 +83,13 @@ export declare const getRuntimeConfig: (
93
83
  signer?:
94
84
  | import("@smithy/types").RequestSigner
95
85
  | ((
96
- authScheme?: import("@smithy/types").AuthScheme
86
+ authScheme?: import("@smithy/types").AuthScheme,
97
87
  ) => Promise<import("@smithy/types").RequestSigner>);
98
88
  signingEscapePath?: boolean;
99
89
  systemClockOffset?: number;
100
90
  signingRegion?: string;
101
91
  signerConstructor?: new (
102
92
  options: import("@smithy/signature-v4").SignatureV4Init &
103
- import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
104
94
  ) => import("@smithy/types").RequestSigner;
105
95
  };
@@ -1,7 +1,5 @@
1
1
  import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
2
- export declare const getRuntimeConfig: (
3
- config: RekognitionStreamingClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
5
3
  runtime: string;
6
4
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
7
5
  requestHandler:
@@ -36,11 +34,7 @@ export declare const getRuntimeConfig: (
36
34
  urlParser: import("@smithy/types").UrlParser;
37
35
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
38
36
  streamCollector: (
39
- stream:
40
- | import("stream").Readable
41
- | import("stream/web").ReadableStream
42
- | ReadableStream
43
- | Blob
37
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
44
38
  ) => Promise<Uint8Array>;
45
39
  base64Decoder: import("@smithy/types").Decoder;
46
40
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -55,13 +49,11 @@ export declare const getRuntimeConfig: (
55
49
  region: string | import("@smithy/types").Provider<any>;
56
50
  profile?: string;
57
51
  defaultUserAgentProvider: (
58
- config?: import("@aws-sdk/core/client").PreviouslyResolved
52
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
59
53
  ) => Promise<import("@smithy/types").UserAgent>;
60
54
  credentialDefaultProvider:
61
55
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
62
- | ((
63
- _: unknown
64
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
56
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
65
57
  maxAttempts: number | import("@smithy/types").Provider<number>;
66
58
  retryMode: string | import("@smithy/types").Provider<string>;
67
59
  logger: import("@smithy/types").Logger;
@@ -69,17 +61,10 @@ export declare const getRuntimeConfig: (
69
61
  eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
70
62
  defaultsMode:
71
63
  | import("@smithy/core/client").DefaultsMode
72
- | import("@smithy/types").Provider<
73
- import("@smithy/core/client").DefaultsMode
74
- >;
64
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
75
65
  customUserAgent?: string | import("@smithy/types").UserAgent;
76
- userAgentAppId?:
77
- | string
78
- | undefined
79
- | import("@smithy/types").Provider<string | undefined>;
80
- retryStrategy?:
81
- | import("@smithy/types").RetryStrategy
82
- | import("@smithy/types").RetryStrategyV2;
66
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
67
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
83
68
  endpoint?:
84
69
  | ((
85
70
  | string
@@ -101,7 +86,7 @@ export declare const getRuntimeConfig: (
101
86
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
102
87
  context?: {
103
88
  logger?: import("@smithy/types").Logger;
104
- }
89
+ },
105
90
  ) => import("@smithy/types").EndpointV2;
106
91
  tls?: boolean;
107
92
  serviceConfiguredEndpoint?: never;
@@ -114,13 +99,13 @@ export declare const getRuntimeConfig: (
114
99
  signer?:
115
100
  | import("@smithy/types").RequestSigner
116
101
  | ((
117
- authScheme?: import("@smithy/types").AuthScheme
102
+ authScheme?: import("@smithy/types").AuthScheme,
118
103
  ) => Promise<import("@smithy/types").RequestSigner>);
119
104
  signingEscapePath?: boolean;
120
105
  systemClockOffset?: number;
121
106
  signingRegion?: string;
122
107
  signerConstructor?: new (
123
108
  options: import("@smithy/signature-v4").SignatureV4Init &
124
- import("@smithy/signature-v4").SignatureV4CryptoInit
109
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
125
110
  ) => import("@smithy/types").RequestSigner;
126
111
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
2
  import { RekognitionStreamingClientConfig } from "./RekognitionStreamingClient";
3
- export declare const getRuntimeConfig: (
4
- config: RekognitionStreamingClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").RekognitionStreamingHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { RekognitionStreamingExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: RekognitionStreamingExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: RekognitionStreamingExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognitionstreaming",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
4
- "version": "3.1086.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rekognitionstreaming",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-rekognitionstreaming"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,21 +45,17 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.1",
23
- "@aws-sdk/credential-provider-node": "^3.972.67",
24
- "@aws-sdk/eventstream-handler-node": "^3.972.26",
25
- "@aws-sdk/middleware-eventstream": "^3.972.22",
26
- "@aws-sdk/middleware-websocket": "^3.972.39",
27
- "@aws-sdk/types": "^3.974.0",
28
- "@smithy/core": "^3.29.2",
29
- "@smithy/fetch-http-handler": "^5.6.4",
30
- "@smithy/node-http-handler": "^4.9.4",
31
- "@smithy/types": "^4.16.0",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.69",
51
+ "@aws-sdk/eventstream-handler-node": "^3.972.28",
52
+ "@aws-sdk/middleware-eventstream": "^3.972.24",
53
+ "@aws-sdk/middleware-websocket": "^3.972.41",
54
+ "@aws-sdk/types": "^3.974.2",
55
+ "@smithy/core": "^3.29.4",
56
+ "@smithy/fetch-http-handler": "^5.6.6",
57
+ "@smithy/node-http-handler": "^4.9.6",
58
+ "@smithy/types": "^4.16.1",
32
59
  "tslib": "^2.6.2"
33
60
  },
34
61
  "devDependencies": {
@@ -41,32 +68,5 @@
41
68
  },
42
69
  "engines": {
43
70
  "node": ">=20.0.0"
44
- },
45
- "typesVersions": {
46
- "<4.5": {
47
- "dist-types/*": [
48
- "dist-types/ts3.4/*"
49
- ]
50
- }
51
- },
52
- "files": [
53
- "dist-*/**"
54
- ],
55
- "author": {
56
- "name": "AWS SDK for JavaScript Team",
57
- "url": "https://aws.amazon.com/sdk-for-javascript/"
58
- },
59
- "license": "Apache-2.0",
60
- "browser": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
62
- },
63
- "react-native": {
64
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
65
- },
66
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rekognitionstreaming",
67
- "repository": {
68
- "type": "git",
69
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
70
- "directory": "clients/client-rekognitionstreaming"
71
71
  }
72
72
  }