@aws-sdk/client-lex-runtime-v2 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/LexRuntimeV2.d.ts +21 -29
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +9 -28
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -14
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +9 -15
- package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -10
- package/dist-types/ts3.4/models/errors.d.ts +7 -21
- package/dist-types/ts3.4/models/models_0.d.ts +2 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +41 -41
package/dist-cjs/index.js
CHANGED
|
@@ -3,14 +3,8 @@ import {
|
|
|
3
3
|
DeleteSessionCommandInput,
|
|
4
4
|
DeleteSessionCommandOutput,
|
|
5
5
|
} from "./commands/DeleteSessionCommand";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
GetSessionCommandOutput,
|
|
9
|
-
} from "./commands/GetSessionCommand";
|
|
10
|
-
import {
|
|
11
|
-
PutSessionCommandInput,
|
|
12
|
-
PutSessionCommandOutput,
|
|
13
|
-
} from "./commands/PutSessionCommand";
|
|
6
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
7
|
+
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
14
8
|
import {
|
|
15
9
|
RecognizeTextCommandInput,
|
|
16
10
|
RecognizeTextCommandOutput,
|
|
@@ -27,83 +21,81 @@ import { LexRuntimeV2Client } from "./LexRuntimeV2Client";
|
|
|
27
21
|
export interface LexRuntimeV2 {
|
|
28
22
|
deleteSession(
|
|
29
23
|
args: DeleteSessionCommandInput,
|
|
30
|
-
options?: __HttpHandlerOptions
|
|
24
|
+
options?: __HttpHandlerOptions,
|
|
31
25
|
): Promise<DeleteSessionCommandOutput>;
|
|
32
26
|
deleteSession(
|
|
33
27
|
args: DeleteSessionCommandInput,
|
|
34
|
-
cb: (err: any, data?: DeleteSessionCommandOutput) => void
|
|
28
|
+
cb: (err: any, data?: DeleteSessionCommandOutput) => void,
|
|
35
29
|
): void;
|
|
36
30
|
deleteSession(
|
|
37
31
|
args: DeleteSessionCommandInput,
|
|
38
32
|
options: __HttpHandlerOptions,
|
|
39
|
-
cb: (err: any, data?: DeleteSessionCommandOutput) => void
|
|
33
|
+
cb: (err: any, data?: DeleteSessionCommandOutput) => void,
|
|
40
34
|
): void;
|
|
41
35
|
getSession(
|
|
42
36
|
args: GetSessionCommandInput,
|
|
43
|
-
options?: __HttpHandlerOptions
|
|
37
|
+
options?: __HttpHandlerOptions,
|
|
44
38
|
): Promise<GetSessionCommandOutput>;
|
|
45
39
|
getSession(
|
|
46
40
|
args: GetSessionCommandInput,
|
|
47
|
-
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
41
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void,
|
|
48
42
|
): void;
|
|
49
43
|
getSession(
|
|
50
44
|
args: GetSessionCommandInput,
|
|
51
45
|
options: __HttpHandlerOptions,
|
|
52
|
-
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
46
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void,
|
|
53
47
|
): void;
|
|
54
48
|
putSession(
|
|
55
49
|
args: PutSessionCommandInput,
|
|
56
|
-
options?: __HttpHandlerOptions
|
|
50
|
+
options?: __HttpHandlerOptions,
|
|
57
51
|
): Promise<PutSessionCommandOutput>;
|
|
58
52
|
putSession(
|
|
59
53
|
args: PutSessionCommandInput,
|
|
60
|
-
cb: (err: any, data?: PutSessionCommandOutput) => void
|
|
54
|
+
cb: (err: any, data?: PutSessionCommandOutput) => void,
|
|
61
55
|
): void;
|
|
62
56
|
putSession(
|
|
63
57
|
args: PutSessionCommandInput,
|
|
64
58
|
options: __HttpHandlerOptions,
|
|
65
|
-
cb: (err: any, data?: PutSessionCommandOutput) => void
|
|
59
|
+
cb: (err: any, data?: PutSessionCommandOutput) => void,
|
|
66
60
|
): void;
|
|
67
61
|
recognizeText(
|
|
68
62
|
args: RecognizeTextCommandInput,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
63
|
+
options?: __HttpHandlerOptions,
|
|
70
64
|
): Promise<RecognizeTextCommandOutput>;
|
|
71
65
|
recognizeText(
|
|
72
66
|
args: RecognizeTextCommandInput,
|
|
73
|
-
cb: (err: any, data?: RecognizeTextCommandOutput) => void
|
|
67
|
+
cb: (err: any, data?: RecognizeTextCommandOutput) => void,
|
|
74
68
|
): void;
|
|
75
69
|
recognizeText(
|
|
76
70
|
args: RecognizeTextCommandInput,
|
|
77
71
|
options: __HttpHandlerOptions,
|
|
78
|
-
cb: (err: any, data?: RecognizeTextCommandOutput) => void
|
|
72
|
+
cb: (err: any, data?: RecognizeTextCommandOutput) => void,
|
|
79
73
|
): void;
|
|
80
74
|
recognizeUtterance(
|
|
81
75
|
args: RecognizeUtteranceCommandInput,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
76
|
+
options?: __HttpHandlerOptions,
|
|
83
77
|
): Promise<RecognizeUtteranceCommandOutput>;
|
|
84
78
|
recognizeUtterance(
|
|
85
79
|
args: RecognizeUtteranceCommandInput,
|
|
86
|
-
cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void
|
|
80
|
+
cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void,
|
|
87
81
|
): void;
|
|
88
82
|
recognizeUtterance(
|
|
89
83
|
args: RecognizeUtteranceCommandInput,
|
|
90
84
|
options: __HttpHandlerOptions,
|
|
91
|
-
cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void
|
|
85
|
+
cb: (err: any, data?: RecognizeUtteranceCommandOutput) => void,
|
|
92
86
|
): void;
|
|
93
87
|
startConversation(
|
|
94
88
|
args: StartConversationCommandInput,
|
|
95
|
-
options?: __HttpHandlerOptions
|
|
89
|
+
options?: __HttpHandlerOptions,
|
|
96
90
|
): Promise<StartConversationCommandOutput>;
|
|
97
91
|
startConversation(
|
|
98
92
|
args: StartConversationCommandInput,
|
|
99
|
-
cb: (err: any, data?: StartConversationCommandOutput) => void
|
|
93
|
+
cb: (err: any, data?: StartConversationCommandOutput) => void,
|
|
100
94
|
): void;
|
|
101
95
|
startConversation(
|
|
102
96
|
args: StartConversationCommandInput,
|
|
103
97
|
options: __HttpHandlerOptions,
|
|
104
|
-
cb: (err: any, data?: StartConversationCommandOutput) => void
|
|
98
|
+
cb: (err: any, data?: StartConversationCommandOutput) => void,
|
|
105
99
|
): void;
|
|
106
100
|
}
|
|
107
|
-
export declare class LexRuntimeV2
|
|
108
|
-
extends LexRuntimeV2Client
|
|
109
|
-
implements LexRuntimeV2 {}
|
|
101
|
+
export declare class LexRuntimeV2 extends LexRuntimeV2Client implements LexRuntimeV2 {}
|
|
@@ -4,10 +4,7 @@ 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";
|
|
7
|
+
import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
|
|
11
8
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
12
9
|
import {
|
|
13
10
|
DefaultsMode as __DefaultsMode,
|
|
@@ -16,10 +13,7 @@ import {
|
|
|
16
13
|
Client as __Client,
|
|
17
14
|
} from "@smithy/core/client";
|
|
18
15
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
19
|
-
import {
|
|
20
|
-
EndpointInputConfig,
|
|
21
|
-
EndpointResolvedConfig,
|
|
22
|
-
} from "@smithy/core/endpoints";
|
|
16
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
23
17
|
import {
|
|
24
18
|
EventStreamSerdeInputConfig,
|
|
25
19
|
EventStreamSerdeResolvedConfig,
|
|
@@ -51,14 +45,8 @@ import {
|
|
|
51
45
|
DeleteSessionCommandInput,
|
|
52
46
|
DeleteSessionCommandOutput,
|
|
53
47
|
} from "./commands/DeleteSessionCommand";
|
|
54
|
-
import {
|
|
55
|
-
|
|
56
|
-
GetSessionCommandOutput,
|
|
57
|
-
} from "./commands/GetSessionCommand";
|
|
58
|
-
import {
|
|
59
|
-
PutSessionCommandInput,
|
|
60
|
-
PutSessionCommandOutput,
|
|
61
|
-
} from "./commands/PutSessionCommand";
|
|
48
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
49
|
+
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
62
50
|
import {
|
|
63
51
|
RecognizeTextCommandInput,
|
|
64
52
|
RecognizeTextCommandOutput,
|
|
@@ -92,8 +80,7 @@ export type ServiceOutputTypes =
|
|
|
92
80
|
| RecognizeTextCommandOutput
|
|
93
81
|
| RecognizeUtteranceCommandOutput
|
|
94
82
|
| StartConversationCommandOutput;
|
|
95
|
-
export interface ClientDefaults
|
|
96
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
83
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
97
84
|
requestHandler?: __HttpHandlerUserInput;
|
|
98
85
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
99
86
|
urlParser?: __UrlParser;
|
|
@@ -121,9 +108,7 @@ export interface ClientDefaults
|
|
|
121
108
|
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
122
109
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
123
110
|
}
|
|
124
|
-
export type LexRuntimeV2ClientConfigType = Partial<
|
|
125
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
126
|
-
> &
|
|
111
|
+
export type LexRuntimeV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
127
112
|
ClientDefaults &
|
|
128
113
|
UserAgentInputConfig &
|
|
129
114
|
RetryInputConfig &
|
|
@@ -134,8 +119,7 @@ export type LexRuntimeV2ClientConfigType = Partial<
|
|
|
134
119
|
HttpAuthSchemeInputConfig &
|
|
135
120
|
EventStreamInputConfig &
|
|
136
121
|
ClientInputEndpointParameters;
|
|
137
|
-
export interface LexRuntimeV2ClientConfig
|
|
138
|
-
extends LexRuntimeV2ClientConfigType {}
|
|
122
|
+
export interface LexRuntimeV2ClientConfig extends LexRuntimeV2ClientConfigType {}
|
|
139
123
|
export type LexRuntimeV2ClientResolvedConfigType =
|
|
140
124
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
141
125
|
Required<ClientDefaults> &
|
|
@@ -149,8 +133,7 @@ export type LexRuntimeV2ClientResolvedConfigType =
|
|
|
149
133
|
HttpAuthSchemeResolvedConfig &
|
|
150
134
|
EventStreamResolvedConfig &
|
|
151
135
|
ClientResolvedEndpointParameters;
|
|
152
|
-
export interface LexRuntimeV2ClientResolvedConfig
|
|
153
|
-
extends LexRuntimeV2ClientResolvedConfigType {}
|
|
136
|
+
export interface LexRuntimeV2ClientResolvedConfig extends LexRuntimeV2ClientResolvedConfigType {}
|
|
154
137
|
export declare class LexRuntimeV2Client extends __Client<
|
|
155
138
|
__HttpHandlerOptions,
|
|
156
139
|
ServiceInputTypes,
|
|
@@ -158,8 +141,6 @@ export declare class LexRuntimeV2Client extends __Client<
|
|
|
158
141
|
LexRuntimeV2ClientResolvedConfig
|
|
159
142
|
> {
|
|
160
143
|
readonly config: LexRuntimeV2ClientResolvedConfig;
|
|
161
|
-
constructor(
|
|
162
|
-
...[configuration]: __CheckOptionalClientConfig<LexRuntimeV2ClientConfig>
|
|
163
|
-
);
|
|
144
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<LexRuntimeV2ClientConfig>);
|
|
164
145
|
destroy(): void;
|
|
165
146
|
}
|
|
@@ -7,17 +7,10 @@ import { LexRuntimeV2HttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): LexRuntimeV2HttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { LexRuntimeV2ClientResolvedConfig } from "../LexRuntimeV2Client";
|
|
15
|
-
export interface LexRuntimeV2HttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface LexRuntimeV2HttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface LexRuntimeV2HttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface LexRuntimeV2HttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
LexRuntimeV2ClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
LexRuntimeV2HttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultLexRuntimeV2HttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: LexRuntimeV2ClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<LexRuntimeV2HttpAuthSchemeParameters>;
|
|
31
|
-
export interface LexRuntimeV2HttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<LexRuntimeV2HttpAuthSchemeParameters> {}
|
|
29
|
+
export interface LexRuntimeV2HttpAuthSchemeProvider extends HttpAuthSchemeProvider<LexRuntimeV2HttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultLexRuntimeV2HttpAuthSchemeProvider: LexRuntimeV2HttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: LexRuntimeV2HttpAuthSchemeProvider;
|
|
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: LexRuntimeV2HttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./LexRuntimeV2Client";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
LexRuntimeV2ClientResolvedConfig,
|
|
@@ -38,15 +37,10 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
47
41
|
export declare const _mw1: (
|
|
48
42
|
Command: any,
|
|
49
43
|
cs: any,
|
|
50
44
|
config: any,
|
|
51
|
-
o: any
|
|
45
|
+
o: any,
|
|
52
46
|
) => import("@smithy/types").Pluggable<any, any>[];
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DeleteSessionRequest,
|
|
4
|
-
DeleteSessionResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
|
|
8
|
-
export interface DeleteSessionCommandOutput
|
|
9
|
-
extends DeleteSessionResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {}
|
|
11
6
|
declare const DeleteSessionCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: DeleteSessionCommandInput
|
|
8
|
+
input: DeleteSessionCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
DeleteSessionCommandInput,
|
|
16
11
|
DeleteSessionCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const DeleteSessionCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: DeleteSessionCommandInput
|
|
17
|
+
input: DeleteSessionCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
DeleteSessionCommandInput,
|
|
25
20
|
DeleteSessionCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetSessionCommandInput extends GetSessionRequest {}
|
|
5
|
-
export interface GetSessionCommandOutput
|
|
6
|
-
extends GetSessionResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {}
|
|
8
6
|
declare const GetSessionCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: GetSessionCommandInput
|
|
8
|
+
input: GetSessionCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
GetSessionCommandInput,
|
|
13
11
|
GetSessionCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const GetSessionCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: GetSessionCommandInput
|
|
17
|
+
input: GetSessionCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
GetSessionCommandInput,
|
|
22
20
|
GetSessionCommandOutput,
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MetadataBearer as __MetadataBearer,
|
|
3
|
-
StreamingBlobPayloadOutputTypes,
|
|
4
|
-
} from "@smithy/types";
|
|
1
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
5
2
|
import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface PutSessionCommandInput extends PutSessionRequest {}
|
|
8
5
|
export interface PutSessionCommandOutput
|
|
9
|
-
extends
|
|
10
|
-
|
|
11
|
-
Exclude<keyof PutSessionResponse, "audioStream">
|
|
12
|
-
>,
|
|
6
|
+
extends
|
|
7
|
+
Pick<PutSessionResponse, Exclude<keyof PutSessionResponse, "audioStream">>,
|
|
13
8
|
__MetadataBearer {
|
|
14
9
|
audioStream?: StreamingBlobPayloadOutputTypes;
|
|
15
10
|
}
|
|
16
11
|
declare const PutSessionCommand_base: {
|
|
17
12
|
new (
|
|
18
|
-
input: PutSessionCommandInput
|
|
13
|
+
input: PutSessionCommandInput,
|
|
19
14
|
): import("@smithy/core/client").CommandImpl<
|
|
20
15
|
PutSessionCommandInput,
|
|
21
16
|
PutSessionCommandOutput,
|
|
@@ -24,7 +19,7 @@ declare const PutSessionCommand_base: {
|
|
|
24
19
|
import("..").ServiceOutputTypes
|
|
25
20
|
>;
|
|
26
21
|
new (
|
|
27
|
-
input: PutSessionCommandInput
|
|
22
|
+
input: PutSessionCommandInput,
|
|
28
23
|
): import("@smithy/core/client").CommandImpl<
|
|
29
24
|
PutSessionCommandInput,
|
|
30
25
|
PutSessionCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
RecognizeTextRequest,
|
|
4
|
-
RecognizeTextResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { RecognizeTextRequest, RecognizeTextResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface RecognizeTextCommandInput extends RecognizeTextRequest {}
|
|
8
|
-
export interface RecognizeTextCommandOutput
|
|
9
|
-
extends RecognizeTextResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __MetadataBearer {}
|
|
11
6
|
declare const RecognizeTextCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: RecognizeTextCommandInput
|
|
8
|
+
input: RecognizeTextCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
RecognizeTextCommandInput,
|
|
16
11
|
RecognizeTextCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const RecognizeTextCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: RecognizeTextCommandInput
|
|
17
|
+
input: RecognizeTextCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
RecognizeTextCommandInput,
|
|
25
20
|
RecognizeTextCommandOutput,
|
|
@@ -3,29 +3,23 @@ import {
|
|
|
3
3
|
StreamingBlobPayloadInputTypes,
|
|
4
4
|
StreamingBlobPayloadOutputTypes,
|
|
5
5
|
} from "@smithy/types";
|
|
6
|
-
import {
|
|
7
|
-
RecognizeUtteranceRequest,
|
|
8
|
-
RecognizeUtteranceResponse,
|
|
9
|
-
} from "../models/models_0";
|
|
6
|
+
import { RecognizeUtteranceRequest, RecognizeUtteranceResponse } from "../models/models_0";
|
|
10
7
|
export { __MetadataBearer };
|
|
11
|
-
export interface RecognizeUtteranceCommandInput
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
> {
|
|
8
|
+
export interface RecognizeUtteranceCommandInput extends Pick<
|
|
9
|
+
RecognizeUtteranceRequest,
|
|
10
|
+
Exclude<keyof RecognizeUtteranceRequest, "inputStream">
|
|
11
|
+
> {
|
|
16
12
|
inputStream?: StreamingBlobPayloadInputTypes;
|
|
17
13
|
}
|
|
18
14
|
export interface RecognizeUtteranceCommandOutput
|
|
19
|
-
extends
|
|
20
|
-
|
|
21
|
-
Exclude<keyof RecognizeUtteranceResponse, "audioStream">
|
|
22
|
-
>,
|
|
15
|
+
extends
|
|
16
|
+
Pick<RecognizeUtteranceResponse, Exclude<keyof RecognizeUtteranceResponse, "audioStream">>,
|
|
23
17
|
__MetadataBearer {
|
|
24
18
|
audioStream?: StreamingBlobPayloadOutputTypes;
|
|
25
19
|
}
|
|
26
20
|
declare const RecognizeUtteranceCommand_base: {
|
|
27
21
|
new (
|
|
28
|
-
input: RecognizeUtteranceCommandInput
|
|
22
|
+
input: RecognizeUtteranceCommandInput,
|
|
29
23
|
): import("@smithy/core/client").CommandImpl<
|
|
30
24
|
RecognizeUtteranceCommandInput,
|
|
31
25
|
RecognizeUtteranceCommandOutput,
|
|
@@ -34,7 +28,7 @@ declare const RecognizeUtteranceCommand_base: {
|
|
|
34
28
|
import("..").ServiceOutputTypes
|
|
35
29
|
>;
|
|
36
30
|
new (
|
|
37
|
-
input: RecognizeUtteranceCommandInput
|
|
31
|
+
input: RecognizeUtteranceCommandInput,
|
|
38
32
|
): import("@smithy/core/client").CommandImpl<
|
|
39
33
|
RecognizeUtteranceCommandInput,
|
|
40
34
|
RecognizeUtteranceCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
StartConversationRequest,
|
|
4
|
-
StartConversationResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { StartConversationRequest, StartConversationResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartConversationCommandInput
|
|
8
|
-
extends StartConversationRequest {}
|
|
4
|
+
export interface StartConversationCommandInput extends StartConversationRequest {}
|
|
9
5
|
export interface StartConversationCommandOutput
|
|
10
|
-
extends StartConversationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends StartConversationResponse, __MetadataBearer {}
|
|
12
7
|
declare const StartConversationCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: StartConversationCommandInput
|
|
9
|
+
input: StartConversationCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
StartConversationCommandInput,
|
|
17
12
|
StartConversationCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const StartConversationCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: StartConversationCommandInput
|
|
18
|
+
input: StartConversationCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
StartConversationCommandInput,
|
|
26
21
|
StartConversationCommandOutput,
|
|
@@ -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: {
|
|
@@ -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 LexRuntimeV2ExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -3,8 +3,7 @@ export declare const ConfirmationState: {
|
|
|
3
3
|
readonly DENIED: "Denied";
|
|
4
4
|
readonly NONE: "None";
|
|
5
5
|
};
|
|
6
|
-
export type ConfirmationState =
|
|
7
|
-
(typeof ConfirmationState)[keyof typeof ConfirmationState];
|
|
6
|
+
export type ConfirmationState = (typeof ConfirmationState)[keyof typeof ConfirmationState];
|
|
8
7
|
export declare const Shape: {
|
|
9
8
|
readonly COMPOSITE: "Composite";
|
|
10
9
|
readonly LIST: "List";
|
|
@@ -24,8 +23,7 @@ export declare const InterpretationSource: {
|
|
|
24
23
|
readonly BEDROCK: "Bedrock";
|
|
25
24
|
readonly LEX: "Lex";
|
|
26
25
|
};
|
|
27
|
-
export type InterpretationSource =
|
|
28
|
-
(typeof InterpretationSource)[keyof typeof InterpretationSource];
|
|
26
|
+
export type InterpretationSource = (typeof InterpretationSource)[keyof typeof InterpretationSource];
|
|
29
27
|
export declare const SentimentType: {
|
|
30
28
|
readonly MIXED: "MIXED";
|
|
31
29
|
readonly NEGATIVE: "NEGATIVE";
|
|
@@ -39,8 +37,7 @@ export declare const MessageContentType: {
|
|
|
39
37
|
readonly PLAIN_TEXT: "PlainText";
|
|
40
38
|
readonly SSML: "SSML";
|
|
41
39
|
};
|
|
42
|
-
export type MessageContentType =
|
|
43
|
-
(typeof MessageContentType)[keyof typeof MessageContentType];
|
|
40
|
+
export type MessageContentType = (typeof MessageContentType)[keyof typeof MessageContentType];
|
|
44
41
|
export declare const StyleType: {
|
|
45
42
|
readonly DEFAULT: "Default";
|
|
46
43
|
readonly SPELL_BY_LETTER: "SpellByLetter";
|
|
@@ -55,14 +52,12 @@ export declare const DialogActionType: {
|
|
|
55
52
|
readonly ELICIT_SLOT: "ElicitSlot";
|
|
56
53
|
readonly NONE: "None";
|
|
57
54
|
};
|
|
58
|
-
export type DialogActionType =
|
|
59
|
-
(typeof DialogActionType)[keyof typeof DialogActionType];
|
|
55
|
+
export type DialogActionType = (typeof DialogActionType)[keyof typeof DialogActionType];
|
|
60
56
|
export declare const ConversationMode: {
|
|
61
57
|
readonly AUDIO: "AUDIO";
|
|
62
58
|
readonly TEXT: "TEXT";
|
|
63
59
|
};
|
|
64
|
-
export type ConversationMode =
|
|
65
|
-
(typeof ConversationMode)[keyof typeof ConversationMode];
|
|
60
|
+
export type ConversationMode = (typeof ConversationMode)[keyof typeof ConversationMode];
|
|
66
61
|
export declare const InputMode: {
|
|
67
62
|
readonly DTMF: "DTMF";
|
|
68
63
|
readonly SPEECH: "Speech";
|
|
@@ -3,9 +3,7 @@ import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2S
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class ConflictException extends __BaseException {
|
|
11
9
|
readonly name: "ConflictException";
|
|
@@ -15,42 +13,30 @@ export declare class ConflictException extends __BaseException {
|
|
|
15
13
|
export declare class InternalServerException extends __BaseException {
|
|
16
14
|
readonly name: "InternalServerException";
|
|
17
15
|
readonly $fault: "server";
|
|
18
|
-
constructor(
|
|
19
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
20
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
21
17
|
}
|
|
22
18
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
19
|
readonly name: "ResourceNotFoundException";
|
|
24
20
|
readonly $fault: "client";
|
|
25
|
-
constructor(
|
|
26
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
27
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
28
22
|
}
|
|
29
23
|
export declare class ThrottlingException extends __BaseException {
|
|
30
24
|
readonly name: "ThrottlingException";
|
|
31
25
|
readonly $fault: "client";
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
34
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
35
27
|
}
|
|
36
28
|
export declare class ValidationException extends __BaseException {
|
|
37
29
|
readonly name: "ValidationException";
|
|
38
30
|
readonly $fault: "client";
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
41
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
42
32
|
}
|
|
43
33
|
export declare class BadGatewayException extends __BaseException {
|
|
44
34
|
readonly name: "BadGatewayException";
|
|
45
35
|
readonly $fault: "server";
|
|
46
|
-
constructor(
|
|
47
|
-
opts: __ExceptionOptionType<BadGatewayException, __BaseException>
|
|
48
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
49
37
|
}
|
|
50
38
|
export declare class DependencyFailedException extends __BaseException {
|
|
51
39
|
readonly name: "DependencyFailedException";
|
|
52
40
|
readonly $fault: "client";
|
|
53
|
-
constructor(
|
|
54
|
-
opts: __ExceptionOptionType<DependencyFailedException, __BaseException>
|
|
55
|
-
);
|
|
41
|
+
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
56
42
|
}
|
|
@@ -324,9 +324,7 @@ export interface StartConversationRequest {
|
|
|
324
324
|
localeId: string | undefined;
|
|
325
325
|
sessionId: string | undefined;
|
|
326
326
|
conversationMode?: ConversationMode | undefined;
|
|
327
|
-
requestEventStream:
|
|
328
|
-
| AsyncIterable<StartConversationRequestEventStream>
|
|
329
|
-
| undefined;
|
|
327
|
+
requestEventStream: AsyncIterable<StartConversationRequestEventStream> | undefined;
|
|
330
328
|
}
|
|
331
329
|
export interface GetSessionResponse {
|
|
332
330
|
sessionId?: string | undefined;
|
|
@@ -642,7 +640,5 @@ export declare namespace StartConversationResponseEventStream {
|
|
|
642
640
|
}
|
|
643
641
|
}
|
|
644
642
|
export interface StartConversationResponse {
|
|
645
|
-
responseEventStream?:
|
|
646
|
-
| AsyncIterable<StartConversationResponseEventStream>
|
|
647
|
-
| undefined;
|
|
643
|
+
responseEventStream?: AsyncIterable<StartConversationResponseEventStream> | undefined;
|
|
648
644
|
}
|
|
@@ -8,26 +8,18 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
18
16
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
19
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
19
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
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>);
|
|
@@ -56,13 +48,8 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
userAgentAppId?:
|
|
60
|
-
|
|
61
|
-
| undefined
|
|
62
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
63
|
-
retryStrategy?:
|
|
64
|
-
| import("@smithy/types").RetryStrategy
|
|
65
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
51
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
52
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
66
53
|
endpoint?:
|
|
67
54
|
| ((
|
|
68
55
|
| string
|
|
@@ -84,7 +71,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
84
71
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
85
72
|
context?: {
|
|
86
73
|
logger?: import("@smithy/types").Logger;
|
|
87
|
-
}
|
|
74
|
+
},
|
|
88
75
|
) => import("@smithy/types").EndpointV2;
|
|
89
76
|
tls?: boolean;
|
|
90
77
|
serviceConfiguredEndpoint?: never;
|
|
@@ -97,13 +84,13 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
97
84
|
signer?:
|
|
98
85
|
| import("@smithy/types").RequestSigner
|
|
99
86
|
| ((
|
|
100
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
87
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
101
88
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
102
89
|
signingEscapePath?: boolean;
|
|
103
90
|
systemClockOffset?: number;
|
|
104
91
|
signingRegion?: string;
|
|
105
92
|
signerConstructor?: new (
|
|
106
93
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
107
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
108
95
|
) => import("@smithy/types").RequestSigner;
|
|
109
96
|
};
|
|
@@ -10,25 +10,19 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
19
19
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
20
20
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
21
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
22
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
24
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
25
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
26
|
) => Promise<Uint8Array>;
|
|
33
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -56,9 +50,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
56
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
51
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
52
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
62
54
|
endpoint?:
|
|
63
55
|
| ((
|
|
64
56
|
| string
|
|
@@ -80,7 +72,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
80
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
81
73
|
context?: {
|
|
82
74
|
logger?: import("@smithy/types").Logger;
|
|
83
|
-
}
|
|
75
|
+
},
|
|
84
76
|
) => import("@smithy/types").EndpointV2;
|
|
85
77
|
tls?: boolean;
|
|
86
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -92,13 +84,13 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
92
84
|
signer?:
|
|
93
85
|
| import("@smithy/types").RequestSigner
|
|
94
86
|
| ((
|
|
95
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
87
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
96
88
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
89
|
signingEscapePath?: boolean;
|
|
98
90
|
systemClockOffset?: number;
|
|
99
91
|
signingRegion?: string;
|
|
100
92
|
signerConstructor?: new (
|
|
101
93
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
103
95
|
) => import("@smithy/types").RequestSigner;
|
|
104
96
|
};
|
|
@@ -22,11 +22,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
22
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
23
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
24
24
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
25
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
26
|
) => Promise<Uint8Array>;
|
|
31
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
28
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -41,13 +37,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
41
37
|
region: string | import("@smithy/types").Provider<any>;
|
|
42
38
|
profile?: string;
|
|
43
39
|
defaultUserAgentProvider: (
|
|
44
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
40
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
45
41
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
46
42
|
credentialDefaultProvider:
|
|
47
43
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
48
|
-
| ((
|
|
49
|
-
_: unknown
|
|
50
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
44
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
51
45
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
52
46
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
@@ -55,18 +49,11 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
55
49
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
56
50
|
defaultsMode:
|
|
57
51
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
52
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
53
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
62
54
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
63
|
-
userAgentAppId?:
|
|
64
|
-
|
|
65
|
-
| undefined
|
|
66
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
67
|
-
retryStrategy?:
|
|
68
|
-
| import("@smithy/types").RetryStrategy
|
|
69
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
55
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
56
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
70
57
|
endpoint?:
|
|
71
58
|
| ((
|
|
72
59
|
| string
|
|
@@ -88,7 +75,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
88
75
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
89
76
|
context?: {
|
|
90
77
|
logger?: import("@smithy/types").Logger;
|
|
91
|
-
}
|
|
78
|
+
},
|
|
92
79
|
) => import("@smithy/types").EndpointV2;
|
|
93
80
|
tls?: boolean;
|
|
94
81
|
serviceConfiguredEndpoint?: never;
|
|
@@ -101,13 +88,13 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
101
88
|
signer?:
|
|
102
89
|
| import("@smithy/types").RequestSigner
|
|
103
90
|
| ((
|
|
104
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
91
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
105
92
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
106
93
|
signingEscapePath?: boolean;
|
|
107
94
|
systemClockOffset?: number;
|
|
108
95
|
signingRegion?: string;
|
|
109
96
|
signerConstructor?: new (
|
|
110
97
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
111
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
98
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
112
99
|
) => import("@smithy/types").RequestSigner;
|
|
113
100
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeV2ClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexRuntimeV2HttpAuthSchemeProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-v2",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lex-runtime-v2",
|
|
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-lex-runtime-v2"
|
|
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",
|
|
@@ -18,24 +49,20 @@
|
|
|
18
49
|
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
19
50
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
20
51
|
},
|
|
21
|
-
"main": "./dist-cjs/index.js",
|
|
22
|
-
"types": "./dist-types/index.d.ts",
|
|
23
|
-
"module": "./dist-es/index.js",
|
|
24
|
-
"sideEffects": false,
|
|
25
52
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/core": "^3.975.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
30
|
-
"@aws-sdk/types": "^3.974.
|
|
31
|
-
"@smithy/core": "^3.29.
|
|
32
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
33
|
-
"@smithy/node-http-handler": "^4.9.
|
|
53
|
+
"@aws-sdk/core": "^3.975.3",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
55
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.29",
|
|
56
|
+
"@aws-sdk/middleware-eventstream": "^3.972.24",
|
|
57
|
+
"@aws-sdk/types": "^3.974.2",
|
|
58
|
+
"@smithy/core": "^3.29.4",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
60
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
34
61
|
"@smithy/types": "^4.16.1",
|
|
35
62
|
"tslib": "^2.6.2"
|
|
36
63
|
},
|
|
37
64
|
"devDependencies": {
|
|
38
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
65
|
+
"@smithy/snapshot-testing": "^2.2.9",
|
|
39
66
|
"@tsconfig/node20": "20.1.8",
|
|
40
67
|
"@types/node": "^20.14.8",
|
|
41
68
|
"concurrently": "7.0.0",
|
|
@@ -46,32 +73,5 @@
|
|
|
46
73
|
},
|
|
47
74
|
"engines": {
|
|
48
75
|
"node": ">=20.0.0"
|
|
49
|
-
},
|
|
50
|
-
"typesVersions": {
|
|
51
|
-
"<4.5": {
|
|
52
|
-
"dist-types/*": [
|
|
53
|
-
"dist-types/ts3.4/*"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"files": [
|
|
58
|
-
"dist-*/**"
|
|
59
|
-
],
|
|
60
|
-
"author": {
|
|
61
|
-
"name": "AWS SDK for JavaScript Team",
|
|
62
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
63
|
-
},
|
|
64
|
-
"license": "Apache-2.0",
|
|
65
|
-
"browser": {
|
|
66
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
67
|
-
},
|
|
68
|
-
"react-native": {
|
|
69
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
70
|
-
},
|
|
71
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lex-runtime-v2",
|
|
72
|
-
"repository": {
|
|
73
|
-
"type": "git",
|
|
74
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
75
|
-
"directory": "clients/client-lex-runtime-v2"
|
|
76
76
|
}
|
|
77
77
|
}
|