@aws-sdk/client-lex-runtime-v2 3.620.1 → 3.622.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/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +94 -42
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/LexRuntimeV2Client.js +20 -13
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/LexRuntimeV2Client.d.ts +15 -14
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +6 -4
- package/dist-types/runtimeConfig.d.ts +5 -3
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -3
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +18 -20
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -9
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +11 -11
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +13 -13
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
|
|
2
2
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
-
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
5
|
-
import {
|
|
4
|
+
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
6
5
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
7
6
|
import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
|
|
8
7
|
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
9
8
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
10
9
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
11
10
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
12
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
12
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
14
14
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
15
15
|
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
@@ -104,20 +104,16 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
104
104
|
*/
|
|
105
105
|
region?: string | __Provider<string>;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
111
|
-
/**
|
|
112
|
-
* The function that provides necessary utilities for handling request event stream.
|
|
107
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
113
108
|
* @internal
|
|
114
109
|
*/
|
|
115
|
-
|
|
110
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
116
111
|
/**
|
|
117
|
-
*
|
|
112
|
+
* Default credentials provider; Not available in browser runtime.
|
|
113
|
+
* @deprecated
|
|
118
114
|
* @internal
|
|
119
115
|
*/
|
|
120
|
-
|
|
116
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
121
117
|
/**
|
|
122
118
|
* Value for how many times a request will be made at most in case of retry.
|
|
123
119
|
*/
|
|
@@ -144,6 +140,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
144
140
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
145
141
|
*/
|
|
146
142
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
143
|
+
/**
|
|
144
|
+
* The function that provides necessary utilities for handling request event stream.
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
147
148
|
/**
|
|
148
149
|
* The internal function that inject utilities to runtime-specific stream to help users consume the data
|
|
149
150
|
* @internal
|
|
@@ -153,7 +154,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
153
154
|
/**
|
|
154
155
|
* @public
|
|
155
156
|
*/
|
|
156
|
-
export type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
157
|
+
export type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & EventStreamInputConfig & ClientInputEndpointParameters;
|
|
157
158
|
/**
|
|
158
159
|
* @public
|
|
159
160
|
*
|
|
@@ -164,7 +165,7 @@ export interface LexRuntimeV2ClientConfig extends LexRuntimeV2ClientConfigType {
|
|
|
164
165
|
/**
|
|
165
166
|
* @public
|
|
166
167
|
*/
|
|
167
|
-
export type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
168
|
+
export type LexRuntimeV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & EventStreamResolvedConfig & ClientResolvedEndpointParameters;
|
|
168
169
|
/**
|
|
169
170
|
* @public
|
|
170
171
|
*
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { LexRuntimeV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): LexRuntimeV2HttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { LexRuntimeV2ClientResolvedConfig } from "../LexRuntimeV2Client";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface LexRuntimeV2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface LexRuntimeV2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<LexRuntimeV2ClientResolvedConfig, HandlerExecutionContext, LexRuntimeV2HttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultLexRuntimeV2HttpAuthSchemeParametersProvider: (config: LexRuntimeV2ClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<LexRuntimeV2HttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface LexRuntimeV2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<LexRuntimeV2HttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultLexRuntimeV2HttpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: LexRuntimeV2HttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
/**
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
|
-
export interface LexRuntimeV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
export interface LexRuntimeV2ExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
8
9
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
@@ -30,17 +30,19 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
32
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
33
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
35
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
37
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
38
|
}) => import("@smithy/types").EndpointV2;
|
|
37
39
|
tls?: boolean | undefined;
|
|
38
|
-
|
|
40
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
42
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
39
43
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
40
44
|
signingEscapePath?: boolean | undefined;
|
|
41
45
|
systemClockOffset?: number | undefined;
|
|
42
46
|
signingRegion?: string | undefined;
|
|
43
47
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
44
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
46
48
|
};
|
|
@@ -30,17 +30,19 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
32
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
33
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
33
35
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
37
|
logger?: import("@smithy/types").Logger | undefined;
|
|
36
38
|
}) => import("@smithy/types").EndpointV2;
|
|
37
39
|
tls?: boolean | undefined;
|
|
38
|
-
|
|
40
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
41
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
42
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
39
43
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
40
44
|
signingEscapePath?: boolean | undefined;
|
|
41
45
|
systemClockOffset?: number | undefined;
|
|
42
46
|
signingRegion?: string | undefined;
|
|
43
47
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
44
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
46
48
|
};
|
|
@@ -20,8 +20,8 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
23
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
24
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
25
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
@@ -29,17 +29,19 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
29
29
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
30
30
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
31
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
34
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
33
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
37
|
}) => import("@smithy/types").EndpointV2;
|
|
36
38
|
tls?: boolean | undefined;
|
|
37
|
-
|
|
39
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
40
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
41
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
38
42
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
39
43
|
signingEscapePath?: boolean | undefined;
|
|
40
44
|
systemClockOffset?: number | undefined;
|
|
41
45
|
signingRegion?: string | undefined;
|
|
42
46
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
43
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
44
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
45
47
|
};
|
|
@@ -8,12 +8,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
8
8
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
11
|
logger?: import("@smithy/types").Logger | undefined;
|
|
15
12
|
}) => import("@smithy/types").EndpointV2;
|
|
16
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
17
16
|
logger: import("@smithy/types").Logger;
|
|
18
17
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
19
18
|
serviceId: string;
|
|
@@ -6,18 +6,11 @@ import {
|
|
|
6
6
|
HostHeaderInputConfig,
|
|
7
7
|
HostHeaderResolvedConfig,
|
|
8
8
|
} from "@aws-sdk/middleware-host-header";
|
|
9
|
-
import {
|
|
10
|
-
AwsAuthInputConfig,
|
|
11
|
-
AwsAuthResolvedConfig,
|
|
12
|
-
} from "@aws-sdk/middleware-signing";
|
|
13
9
|
import {
|
|
14
10
|
UserAgentInputConfig,
|
|
15
11
|
UserAgentResolvedConfig,
|
|
16
12
|
} from "@aws-sdk/middleware-user-agent";
|
|
17
|
-
import {
|
|
18
|
-
Credentials as __Credentials,
|
|
19
|
-
EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider,
|
|
20
|
-
} from "@aws-sdk/types";
|
|
13
|
+
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
21
14
|
import {
|
|
22
15
|
RegionInputConfig,
|
|
23
16
|
RegionResolvedConfig,
|
|
@@ -42,6 +35,7 @@ import {
|
|
|
42
35
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
43
36
|
} from "@smithy/smithy-client";
|
|
44
37
|
import {
|
|
38
|
+
AwsCredentialIdentityProvider,
|
|
45
39
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
46
40
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
47
41
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -58,6 +52,10 @@ import {
|
|
|
58
52
|
UrlParser as __UrlParser,
|
|
59
53
|
UserAgent as __UserAgent,
|
|
60
54
|
} from "@smithy/types";
|
|
55
|
+
import {
|
|
56
|
+
HttpAuthSchemeInputConfig,
|
|
57
|
+
HttpAuthSchemeResolvedConfig,
|
|
58
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
61
59
|
import {
|
|
62
60
|
DeleteSessionCommandInput,
|
|
63
61
|
DeleteSessionCommandOutput,
|
|
@@ -120,29 +118,29 @@ export interface ClientDefaults
|
|
|
120
118
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
121
119
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
122
120
|
region?: string | __Provider<string>;
|
|
123
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
124
|
-
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
125
121
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
122
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
126
123
|
maxAttempts?: number | __Provider<number>;
|
|
127
124
|
retryMode?: string | __Provider<string>;
|
|
128
125
|
logger?: __Logger;
|
|
129
126
|
extensions?: RuntimeExtension[];
|
|
130
127
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
131
128
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
129
|
+
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
132
130
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
133
131
|
}
|
|
134
132
|
export type LexRuntimeV2ClientConfigType = Partial<
|
|
135
133
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
136
134
|
> &
|
|
137
135
|
ClientDefaults &
|
|
138
|
-
RegionInputConfig &
|
|
139
|
-
EndpointInputConfig<EndpointParameters> &
|
|
140
|
-
HostHeaderInputConfig &
|
|
141
|
-
AwsAuthInputConfig &
|
|
142
|
-
EventStreamInputConfig &
|
|
143
136
|
UserAgentInputConfig &
|
|
144
137
|
RetryInputConfig &
|
|
138
|
+
RegionInputConfig &
|
|
139
|
+
HostHeaderInputConfig &
|
|
140
|
+
EndpointInputConfig<EndpointParameters> &
|
|
145
141
|
EventStreamSerdeInputConfig &
|
|
142
|
+
HttpAuthSchemeInputConfig &
|
|
143
|
+
EventStreamInputConfig &
|
|
146
144
|
ClientInputEndpointParameters;
|
|
147
145
|
export interface LexRuntimeV2ClientConfig
|
|
148
146
|
extends LexRuntimeV2ClientConfigType {}
|
|
@@ -150,14 +148,14 @@ export type LexRuntimeV2ClientResolvedConfigType =
|
|
|
150
148
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
151
149
|
Required<ClientDefaults> &
|
|
152
150
|
RuntimeExtensionsConfig &
|
|
153
|
-
RegionResolvedConfig &
|
|
154
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
155
|
-
HostHeaderResolvedConfig &
|
|
156
|
-
AwsAuthResolvedConfig &
|
|
157
|
-
EventStreamResolvedConfig &
|
|
158
151
|
UserAgentResolvedConfig &
|
|
159
152
|
RetryResolvedConfig &
|
|
153
|
+
RegionResolvedConfig &
|
|
154
|
+
HostHeaderResolvedConfig &
|
|
155
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
160
156
|
EventStreamSerdeResolvedConfig &
|
|
157
|
+
HttpAuthSchemeResolvedConfig &
|
|
158
|
+
EventStreamResolvedConfig &
|
|
161
159
|
ClientResolvedEndpointParameters;
|
|
162
160
|
export interface LexRuntimeV2ClientResolvedConfig
|
|
163
161
|
extends LexRuntimeV2ClientResolvedConfigType {}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { LexRuntimeV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): LexRuntimeV2HttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { LexRuntimeV2ClientResolvedConfig } from "../LexRuntimeV2Client";
|
|
14
|
+
export interface LexRuntimeV2HttpAuthSchemeParameters
|
|
15
|
+
extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface LexRuntimeV2HttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
LexRuntimeV2ClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
LexRuntimeV2HttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultLexRuntimeV2HttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: LexRuntimeV2ClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<LexRuntimeV2HttpAuthSchemeParameters>;
|
|
30
|
+
export interface LexRuntimeV2HttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<LexRuntimeV2HttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultLexRuntimeV2HttpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
|
+
httpAuthSchemeProvider?: LexRuntimeV2HttpAuthSchemeProvider;
|
|
36
|
+
}
|
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
|
+
readonly httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
41
|
+
}
|
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
4
5
|
export interface LexRuntimeV2ExtensionConfiguration
|
|
5
6
|
extends HttpHandlerExtensionConfiguration,
|
|
6
7
|
DefaultExtensionConfiguration,
|
|
7
|
-
AwsRegionExtensionConfiguration
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider: (
|
|
10
10
|
input: any
|
|
11
|
-
) => import("@smithy/types").
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
13
|
import("@smithy/types").UserAgent
|
|
14
14
|
>;
|
|
@@ -35,6 +35,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
35
35
|
logger: import("@smithy/types").Logger;
|
|
36
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
37
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
retryStrategy?:
|
|
40
|
+
| import("@smithy/types").RetryStrategy
|
|
41
|
+
| import("@smithy/types").RetryStrategyV2
|
|
42
|
+
| undefined;
|
|
38
43
|
endpoint?:
|
|
39
44
|
| ((
|
|
40
45
|
| string
|
|
@@ -59,11 +64,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
59
64
|
}
|
|
60
65
|
) => import("@smithy/types").EndpointV2;
|
|
61
66
|
tls?: boolean | undefined;
|
|
67
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
68
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
62
69
|
credentials?:
|
|
63
70
|
| import("@smithy/types").AwsCredentialIdentity
|
|
64
|
-
| import("@smithy/types").
|
|
65
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
66
|
-
>
|
|
71
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
67
72
|
| undefined;
|
|
68
73
|
signer?:
|
|
69
74
|
| import("@smithy/types").RequestSigner
|
|
@@ -80,9 +85,4 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
80
85
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
81
86
|
) => import("@smithy/types").RequestSigner)
|
|
82
87
|
| undefined;
|
|
83
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
84
|
-
retryStrategy?:
|
|
85
|
-
| import("@smithy/types").RetryStrategy
|
|
86
|
-
| import("@smithy/types").RetryStrategyV2
|
|
87
|
-
| undefined;
|
|
88
88
|
};
|
|
@@ -39,6 +39,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
41
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
42
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
43
|
+
retryStrategy?:
|
|
44
|
+
| import("@smithy/types").RetryStrategy
|
|
45
|
+
| import("@smithy/types").RetryStrategyV2
|
|
46
|
+
| undefined;
|
|
42
47
|
endpoint?:
|
|
43
48
|
| ((
|
|
44
49
|
| string
|
|
@@ -63,11 +68,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
63
68
|
}
|
|
64
69
|
) => import("@smithy/types").EndpointV2;
|
|
65
70
|
tls?: boolean | undefined;
|
|
71
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
72
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
66
73
|
credentials?:
|
|
67
74
|
| import("@smithy/types").AwsCredentialIdentity
|
|
68
|
-
| import("@smithy/types").
|
|
69
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
70
|
-
>
|
|
75
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
71
76
|
| undefined;
|
|
72
77
|
signer?:
|
|
73
78
|
| import("@smithy/types").RequestSigner
|
|
@@ -84,9 +89,4 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
84
89
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
85
90
|
) => import("@smithy/types").RequestSigner)
|
|
86
91
|
| undefined;
|
|
87
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
88
|
-
retryStrategy?:
|
|
89
|
-
| import("@smithy/types").RetryStrategy
|
|
90
|
-
| import("@smithy/types").RetryStrategyV2
|
|
91
|
-
| undefined;
|
|
92
92
|
};
|
|
@@ -22,12 +22,12 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
credentialDefaultProvider: (
|
|
26
|
-
input: any
|
|
27
|
-
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
28
25
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
29
26
|
import("@smithy/types").UserAgent
|
|
30
27
|
>;
|
|
28
|
+
credentialDefaultProvider: (
|
|
29
|
+
input: any
|
|
30
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -39,6 +39,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
39
39
|
import("@smithy/smithy-client").DefaultsMode
|
|
40
40
|
>;
|
|
41
41
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
42
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
43
|
+
retryStrategy?:
|
|
44
|
+
| import("@smithy/types").RetryStrategy
|
|
45
|
+
| import("@smithy/types").RetryStrategyV2
|
|
46
|
+
| undefined;
|
|
42
47
|
endpoint?:
|
|
43
48
|
| string
|
|
44
49
|
| import("@smithy/types").Endpoint
|
|
@@ -53,11 +58,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
53
58
|
}
|
|
54
59
|
) => import("@smithy/types").EndpointV2;
|
|
55
60
|
tls?: boolean | undefined;
|
|
61
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
62
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
56
63
|
credentials?:
|
|
57
64
|
| import("@smithy/types").AwsCredentialIdentity
|
|
58
|
-
| import("@smithy/types").
|
|
59
|
-
import("@smithy/types").AwsCredentialIdentity
|
|
60
|
-
>
|
|
65
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
61
66
|
| undefined;
|
|
62
67
|
signer?:
|
|
63
68
|
| import("@smithy/types").RequestSigner
|
|
@@ -74,9 +79,4 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
74
79
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
75
80
|
) => import("@smithy/types").RequestSigner)
|
|
76
81
|
| undefined;
|
|
77
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
78
|
-
retryStrategy?:
|
|
79
|
-
| import("@smithy/types").RetryStrategy
|
|
80
|
-
| import("@smithy/types").RetryStrategyV2
|
|
81
|
-
| undefined;
|
|
82
82
|
};
|
|
@@ -11,6 +11,8 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
11
11
|
}
|
|
12
12
|
) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
14
16
|
logger: import("@smithy/types").Logger;
|
|
15
17
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
16
18
|
serviceId: string;
|