@aws-sdk/client-lex-runtime-service 3.1087.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 +1 -1
- package/dist-types/ts3.4/LexRuntimeService.d.ts +19 -34
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +9 -31
- 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 +7 -13
- 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/PostContentCommand.d.ts +8 -11
- package/dist-types/ts3.4/commands/PostTextCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/PutSessionCommand.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 +4 -8
- package/dist-types/ts3.4/models/errors.d.ts +9 -27
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -3,88 +3,73 @@ import {
|
|
|
3
3
|
DeleteSessionCommandInput,
|
|
4
4
|
DeleteSessionCommandOutput,
|
|
5
5
|
} from "./commands/DeleteSessionCommand";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./commands/
|
|
10
|
-
import {
|
|
11
|
-
PostContentCommandInput,
|
|
12
|
-
PostContentCommandOutput,
|
|
13
|
-
} from "./commands/PostContentCommand";
|
|
14
|
-
import {
|
|
15
|
-
PostTextCommandInput,
|
|
16
|
-
PostTextCommandOutput,
|
|
17
|
-
} from "./commands/PostTextCommand";
|
|
18
|
-
import {
|
|
19
|
-
PutSessionCommandInput,
|
|
20
|
-
PutSessionCommandOutput,
|
|
21
|
-
} from "./commands/PutSessionCommand";
|
|
6
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
7
|
+
import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
8
|
+
import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
9
|
+
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
22
10
|
import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient";
|
|
23
11
|
export interface LexRuntimeService {
|
|
24
12
|
deleteSession(
|
|
25
13
|
args: DeleteSessionCommandInput,
|
|
26
|
-
options?: __HttpHandlerOptions
|
|
14
|
+
options?: __HttpHandlerOptions,
|
|
27
15
|
): Promise<DeleteSessionCommandOutput>;
|
|
28
16
|
deleteSession(
|
|
29
17
|
args: DeleteSessionCommandInput,
|
|
30
|
-
cb: (err: any, data?: DeleteSessionCommandOutput) => void
|
|
18
|
+
cb: (err: any, data?: DeleteSessionCommandOutput) => void,
|
|
31
19
|
): void;
|
|
32
20
|
deleteSession(
|
|
33
21
|
args: DeleteSessionCommandInput,
|
|
34
22
|
options: __HttpHandlerOptions,
|
|
35
|
-
cb: (err: any, data?: DeleteSessionCommandOutput) => void
|
|
23
|
+
cb: (err: any, data?: DeleteSessionCommandOutput) => void,
|
|
36
24
|
): void;
|
|
37
25
|
getSession(
|
|
38
26
|
args: GetSessionCommandInput,
|
|
39
|
-
options?: __HttpHandlerOptions
|
|
27
|
+
options?: __HttpHandlerOptions,
|
|
40
28
|
): Promise<GetSessionCommandOutput>;
|
|
41
29
|
getSession(
|
|
42
30
|
args: GetSessionCommandInput,
|
|
43
|
-
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
31
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void,
|
|
44
32
|
): void;
|
|
45
33
|
getSession(
|
|
46
34
|
args: GetSessionCommandInput,
|
|
47
35
|
options: __HttpHandlerOptions,
|
|
48
|
-
cb: (err: any, data?: GetSessionCommandOutput) => void
|
|
36
|
+
cb: (err: any, data?: GetSessionCommandOutput) => void,
|
|
49
37
|
): void;
|
|
50
38
|
postContent(
|
|
51
39
|
args: PostContentCommandInput,
|
|
52
|
-
options?: __HttpHandlerOptions
|
|
40
|
+
options?: __HttpHandlerOptions,
|
|
53
41
|
): Promise<PostContentCommandOutput>;
|
|
54
42
|
postContent(
|
|
55
43
|
args: PostContentCommandInput,
|
|
56
|
-
cb: (err: any, data?: PostContentCommandOutput) => void
|
|
44
|
+
cb: (err: any, data?: PostContentCommandOutput) => void,
|
|
57
45
|
): void;
|
|
58
46
|
postContent(
|
|
59
47
|
args: PostContentCommandInput,
|
|
60
48
|
options: __HttpHandlerOptions,
|
|
61
|
-
cb: (err: any, data?: PostContentCommandOutput) => void
|
|
49
|
+
cb: (err: any, data?: PostContentCommandOutput) => void,
|
|
62
50
|
): void;
|
|
63
51
|
postText(
|
|
64
52
|
args: PostTextCommandInput,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
53
|
+
options?: __HttpHandlerOptions,
|
|
66
54
|
): Promise<PostTextCommandOutput>;
|
|
67
|
-
postText(
|
|
68
|
-
args: PostTextCommandInput,
|
|
69
|
-
cb: (err: any, data?: PostTextCommandOutput) => void
|
|
70
|
-
): void;
|
|
55
|
+
postText(args: PostTextCommandInput, cb: (err: any, data?: PostTextCommandOutput) => void): void;
|
|
71
56
|
postText(
|
|
72
57
|
args: PostTextCommandInput,
|
|
73
58
|
options: __HttpHandlerOptions,
|
|
74
|
-
cb: (err: any, data?: PostTextCommandOutput) => void
|
|
59
|
+
cb: (err: any, data?: PostTextCommandOutput) => void,
|
|
75
60
|
): void;
|
|
76
61
|
putSession(
|
|
77
62
|
args: PutSessionCommandInput,
|
|
78
|
-
options?: __HttpHandlerOptions
|
|
63
|
+
options?: __HttpHandlerOptions,
|
|
79
64
|
): Promise<PutSessionCommandOutput>;
|
|
80
65
|
putSession(
|
|
81
66
|
args: PutSessionCommandInput,
|
|
82
|
-
cb: (err: any, data?: PutSessionCommandOutput) => void
|
|
67
|
+
cb: (err: any, data?: PutSessionCommandOutput) => void,
|
|
83
68
|
): void;
|
|
84
69
|
putSession(
|
|
85
70
|
args: PutSessionCommandInput,
|
|
86
71
|
options: __HttpHandlerOptions,
|
|
87
|
-
cb: (err: any, data?: PutSessionCommandOutput) => void
|
|
72
|
+
cb: (err: any, data?: PutSessionCommandOutput) => void,
|
|
88
73
|
): void;
|
|
89
74
|
}
|
|
90
75
|
export declare class LexRuntimeService
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -41,22 +38,10 @@ import {
|
|
|
41
38
|
DeleteSessionCommandInput,
|
|
42
39
|
DeleteSessionCommandOutput,
|
|
43
40
|
} from "./commands/DeleteSessionCommand";
|
|
44
|
-
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./commands/
|
|
48
|
-
import {
|
|
49
|
-
PostContentCommandInput,
|
|
50
|
-
PostContentCommandOutput,
|
|
51
|
-
} from "./commands/PostContentCommand";
|
|
52
|
-
import {
|
|
53
|
-
PostTextCommandInput,
|
|
54
|
-
PostTextCommandOutput,
|
|
55
|
-
} from "./commands/PostTextCommand";
|
|
56
|
-
import {
|
|
57
|
-
PutSessionCommandInput,
|
|
58
|
-
PutSessionCommandOutput,
|
|
59
|
-
} from "./commands/PutSessionCommand";
|
|
41
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
42
|
+
import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
43
|
+
import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
|
|
44
|
+
import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
|
|
60
45
|
import {
|
|
61
46
|
ClientInputEndpointParameters,
|
|
62
47
|
ClientResolvedEndpointParameters,
|
|
@@ -76,8 +61,7 @@ export type ServiceOutputTypes =
|
|
|
76
61
|
| PostContentCommandOutput
|
|
77
62
|
| PostTextCommandOutput
|
|
78
63
|
| PutSessionCommandOutput;
|
|
79
|
-
export interface ClientDefaults
|
|
80
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
64
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
81
65
|
requestHandler?: __HttpHandlerUserInput;
|
|
82
66
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
83
67
|
urlParser?: __UrlParser;
|
|
@@ -114,8 +98,7 @@ export type LexRuntimeServiceClientConfigType = Partial<
|
|
|
114
98
|
EndpointInputConfig<EndpointParameters> &
|
|
115
99
|
HttpAuthSchemeInputConfig &
|
|
116
100
|
ClientInputEndpointParameters;
|
|
117
|
-
export interface LexRuntimeServiceClientConfig
|
|
118
|
-
extends LexRuntimeServiceClientConfigType {}
|
|
101
|
+
export interface LexRuntimeServiceClientConfig extends LexRuntimeServiceClientConfigType {}
|
|
119
102
|
export type LexRuntimeServiceClientResolvedConfigType =
|
|
120
103
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
121
104
|
Required<ClientDefaults> &
|
|
@@ -127,8 +110,7 @@ export type LexRuntimeServiceClientResolvedConfigType =
|
|
|
127
110
|
EndpointResolvedConfig<EndpointParameters> &
|
|
128
111
|
HttpAuthSchemeResolvedConfig &
|
|
129
112
|
ClientResolvedEndpointParameters;
|
|
130
|
-
export interface LexRuntimeServiceClientResolvedConfig
|
|
131
|
-
extends LexRuntimeServiceClientResolvedConfigType {}
|
|
113
|
+
export interface LexRuntimeServiceClientResolvedConfig extends LexRuntimeServiceClientResolvedConfigType {}
|
|
132
114
|
export declare class LexRuntimeServiceClient extends __Client<
|
|
133
115
|
__HttpHandlerOptions,
|
|
134
116
|
ServiceInputTypes,
|
|
@@ -136,10 +118,6 @@ export declare class LexRuntimeServiceClient extends __Client<
|
|
|
136
118
|
LexRuntimeServiceClientResolvedConfig
|
|
137
119
|
> {
|
|
138
120
|
readonly config: LexRuntimeServiceClientResolvedConfig;
|
|
139
|
-
constructor(
|
|
140
|
-
...[
|
|
141
|
-
configuration,
|
|
142
|
-
]: __CheckOptionalClientConfig<LexRuntimeServiceClientConfig>
|
|
143
|
-
);
|
|
121
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<LexRuntimeServiceClientConfig>);
|
|
144
122
|
destroy(): void;
|
|
145
123
|
}
|
|
@@ -7,17 +7,10 @@ import { LexRuntimeServiceHttpAuthSchemeProvider } from "./httpAuthSchemeProvide
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: LexRuntimeServiceHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: LexRuntimeServiceHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): LexRuntimeServiceHttpAuthSchemeProvider;
|
|
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 { LexRuntimeServiceClientResolvedConfig } from "../LexRuntimeServiceClient";
|
|
15
|
-
export interface LexRuntimeServiceHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface LexRuntimeServiceHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface LexRuntimeServiceHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface LexRuntimeServiceHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
LexRuntimeServiceClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
LexRuntimeServiceHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultLexRuntimeServiceHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: LexRuntimeServiceClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<LexRuntimeServiceHttpAuthSchemeParameters>;
|
|
31
|
-
export interface LexRuntimeServiceHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<LexRuntimeServiceHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface LexRuntimeServiceHttpAuthSchemeProvider extends HttpAuthSchemeProvider<LexRuntimeServiceHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultLexRuntimeServiceHttpAuthSchemeProvider: LexRuntimeServiceHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: LexRuntimeServiceHttpAuthSchemeProvider;
|
|
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: LexRuntimeServiceHttpAuthSchemeProvider;
|
|
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 "./LexRuntimeServiceClient";
|
|
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
|
LexRuntimeServiceClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ 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[];
|
|
@@ -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,
|
|
@@ -5,24 +5,21 @@ import {
|
|
|
5
5
|
} from "@smithy/types";
|
|
6
6
|
import { PostContentRequest, PostContentResponse } from "../models/models_0";
|
|
7
7
|
export { __MetadataBearer };
|
|
8
|
-
export interface PostContentCommandInput
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
> {
|
|
8
|
+
export interface PostContentCommandInput extends Pick<
|
|
9
|
+
PostContentRequest,
|
|
10
|
+
Exclude<keyof PostContentRequest, "inputStream">
|
|
11
|
+
> {
|
|
13
12
|
inputStream: StreamingBlobPayloadInputTypes;
|
|
14
13
|
}
|
|
15
14
|
export interface PostContentCommandOutput
|
|
16
|
-
extends
|
|
17
|
-
|
|
18
|
-
Exclude<keyof PostContentResponse, "audioStream">
|
|
19
|
-
>,
|
|
15
|
+
extends
|
|
16
|
+
Pick<PostContentResponse, Exclude<keyof PostContentResponse, "audioStream">>,
|
|
20
17
|
__MetadataBearer {
|
|
21
18
|
audioStream?: StreamingBlobPayloadOutputTypes;
|
|
22
19
|
}
|
|
23
20
|
declare const PostContentCommand_base: {
|
|
24
21
|
new (
|
|
25
|
-
input: PostContentCommandInput
|
|
22
|
+
input: PostContentCommandInput,
|
|
26
23
|
): import("@smithy/core/client").CommandImpl<
|
|
27
24
|
PostContentCommandInput,
|
|
28
25
|
PostContentCommandOutput,
|
|
@@ -31,7 +28,7 @@ declare const PostContentCommand_base: {
|
|
|
31
28
|
import("..").ServiceOutputTypes
|
|
32
29
|
>;
|
|
33
30
|
new (
|
|
34
|
-
input: PostContentCommandInput
|
|
31
|
+
input: PostContentCommandInput,
|
|
35
32
|
): import("@smithy/core/client").CommandImpl<
|
|
36
33
|
PostContentCommandInput,
|
|
37
34
|
PostContentCommandOutput,
|
|
@@ -2,18 +2,20 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { PostTextRequest, PostTextResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface PostTextCommandInput extends PostTextRequest {}
|
|
5
|
-
export interface PostTextCommandOutput
|
|
6
|
-
extends PostTextResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface PostTextCommandOutput extends PostTextResponse, __MetadataBearer {}
|
|
8
6
|
declare const PostTextCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: PostTextCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
PostTextCommandInput,
|
|
11
11
|
PostTextCommandOutput,
|
|
12
12
|
import("..").LexRuntimeServiceClientResolvedConfig,
|
|
13
13
|
import("..").ServiceInputTypes,
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: PostTextCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
17
19
|
PostTextCommandInput,
|
|
18
20
|
PostTextCommandOutput,
|
|
19
21
|
import("..").LexRuntimeServiceClientResolvedConfig,
|
|
@@ -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,
|
|
@@ -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 LexRuntimeServiceExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -3,16 +3,14 @@ export declare const FulfillmentState: {
|
|
|
3
3
|
readonly FULFILLED: "Fulfilled";
|
|
4
4
|
readonly READY_FOR_FULFILLMENT: "ReadyForFulfillment";
|
|
5
5
|
};
|
|
6
|
-
export type FulfillmentState =
|
|
7
|
-
(typeof FulfillmentState)[keyof typeof FulfillmentState];
|
|
6
|
+
export type FulfillmentState = (typeof FulfillmentState)[keyof typeof FulfillmentState];
|
|
8
7
|
export declare const MessageFormatType: {
|
|
9
8
|
readonly COMPOSITE: "Composite";
|
|
10
9
|
readonly CUSTOM_PAYLOAD: "CustomPayload";
|
|
11
10
|
readonly PLAIN_TEXT: "PlainText";
|
|
12
11
|
readonly SSML: "SSML";
|
|
13
12
|
};
|
|
14
|
-
export type MessageFormatType =
|
|
15
|
-
(typeof MessageFormatType)[keyof typeof MessageFormatType];
|
|
13
|
+
export type MessageFormatType = (typeof MessageFormatType)[keyof typeof MessageFormatType];
|
|
16
14
|
export declare const DialogActionType: {
|
|
17
15
|
readonly CLOSE: "Close";
|
|
18
16
|
readonly CONFIRM_INTENT: "ConfirmIntent";
|
|
@@ -20,15 +18,13 @@ export declare const DialogActionType: {
|
|
|
20
18
|
readonly ELICIT_INTENT: "ElicitIntent";
|
|
21
19
|
readonly ELICIT_SLOT: "ElicitSlot";
|
|
22
20
|
};
|
|
23
|
-
export type DialogActionType =
|
|
24
|
-
(typeof DialogActionType)[keyof typeof DialogActionType];
|
|
21
|
+
export type DialogActionType = (typeof DialogActionType)[keyof typeof DialogActionType];
|
|
25
22
|
export declare const ConfirmationStatus: {
|
|
26
23
|
readonly CONFIRMED: "Confirmed";
|
|
27
24
|
readonly DENIED: "Denied";
|
|
28
25
|
readonly NONE: "None";
|
|
29
26
|
};
|
|
30
|
-
export type ConfirmationStatus =
|
|
31
|
-
(typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
|
|
27
|
+
export type ConfirmationStatus = (typeof ConfirmationStatus)[keyof typeof ConfirmationStatus];
|
|
32
28
|
export declare const DialogState: {
|
|
33
29
|
readonly CONFIRM_INTENT: "ConfirmIntent";
|
|
34
30
|
readonly ELICIT_INTENT: "ElicitIntent";
|
|
@@ -3,9 +3,7 @@ import { LexRuntimeServiceServiceException as __BaseException } from "./LexRunti
|
|
|
3
3
|
export declare class BadRequestException extends __BaseException {
|
|
4
4
|
readonly name: "BadRequestException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class ConflictException extends __BaseException {
|
|
11
9
|
readonly name: "ConflictException";
|
|
@@ -15,17 +13,13 @@ export declare class ConflictException extends __BaseException {
|
|
|
15
13
|
export declare class InternalFailureException extends __BaseException {
|
|
16
14
|
readonly name: "InternalFailureException";
|
|
17
15
|
readonly $fault: "server";
|
|
18
|
-
constructor(
|
|
19
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
20
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
21
17
|
}
|
|
22
18
|
export declare class LimitExceededException extends __BaseException {
|
|
23
19
|
readonly name: "LimitExceededException";
|
|
24
20
|
readonly $fault: "client";
|
|
25
21
|
retryAfterSeconds?: string | undefined;
|
|
26
|
-
constructor(
|
|
27
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
28
|
-
);
|
|
22
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
29
23
|
}
|
|
30
24
|
export declare class NotFoundException extends __BaseException {
|
|
31
25
|
readonly name: "NotFoundException";
|
|
@@ -36,44 +30,32 @@ export declare class BadGatewayException extends __BaseException {
|
|
|
36
30
|
readonly name: "BadGatewayException";
|
|
37
31
|
readonly $fault: "server";
|
|
38
32
|
Message?: string | undefined;
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<BadGatewayException, __BaseException>
|
|
41
|
-
);
|
|
33
|
+
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
42
34
|
}
|
|
43
35
|
export declare class DependencyFailedException extends __BaseException {
|
|
44
36
|
readonly name: "DependencyFailedException";
|
|
45
37
|
readonly $fault: "client";
|
|
46
38
|
Message?: string | undefined;
|
|
47
|
-
constructor(
|
|
48
|
-
opts: __ExceptionOptionType<DependencyFailedException, __BaseException>
|
|
49
|
-
);
|
|
39
|
+
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
50
40
|
}
|
|
51
41
|
export declare class LoopDetectedException extends __BaseException {
|
|
52
42
|
readonly name: "LoopDetectedException";
|
|
53
43
|
readonly $fault: "server";
|
|
54
44
|
Message?: string | undefined;
|
|
55
|
-
constructor(
|
|
56
|
-
opts: __ExceptionOptionType<LoopDetectedException, __BaseException>
|
|
57
|
-
);
|
|
45
|
+
constructor(opts: __ExceptionOptionType<LoopDetectedException, __BaseException>);
|
|
58
46
|
}
|
|
59
47
|
export declare class NotAcceptableException extends __BaseException {
|
|
60
48
|
readonly name: "NotAcceptableException";
|
|
61
49
|
readonly $fault: "client";
|
|
62
|
-
constructor(
|
|
63
|
-
opts: __ExceptionOptionType<NotAcceptableException, __BaseException>
|
|
64
|
-
);
|
|
50
|
+
constructor(opts: __ExceptionOptionType<NotAcceptableException, __BaseException>);
|
|
65
51
|
}
|
|
66
52
|
export declare class RequestTimeoutException extends __BaseException {
|
|
67
53
|
readonly name: "RequestTimeoutException";
|
|
68
54
|
readonly $fault: "client";
|
|
69
|
-
constructor(
|
|
70
|
-
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
71
|
-
);
|
|
55
|
+
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
72
56
|
}
|
|
73
57
|
export declare class UnsupportedMediaTypeException extends __BaseException {
|
|
74
58
|
readonly name: "UnsupportedMediaTypeException";
|
|
75
59
|
readonly $fault: "client";
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>
|
|
78
|
-
);
|
|
60
|
+
constructor(opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>);
|
|
79
61
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: LexRuntimeServiceClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ 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
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -56,13 +46,8 @@ export declare const getRuntimeConfig: (
|
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
48
|
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;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
66
51
|
endpoint?:
|
|
67
52
|
| ((
|
|
68
53
|
| string
|
|
@@ -84,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
84
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
85
70
|
context?: {
|
|
86
71
|
logger?: import("@smithy/types").Logger;
|
|
87
|
-
}
|
|
72
|
+
},
|
|
88
73
|
) => import("@smithy/types").EndpointV2;
|
|
89
74
|
tls?: boolean;
|
|
90
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -97,13 +82,13 @@ export declare const getRuntimeConfig: (
|
|
|
97
82
|
signer?:
|
|
98
83
|
| import("@smithy/types").RequestSigner
|
|
99
84
|
| ((
|
|
100
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
101
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
102
87
|
signingEscapePath?: boolean;
|
|
103
88
|
systemClockOffset?: number;
|
|
104
89
|
signingRegion?: string;
|
|
105
90
|
signerConstructor?: new (
|
|
106
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
107
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
108
93
|
) => import("@smithy/types").RequestSigner;
|
|
109
94
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: LexRuntimeServiceClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ 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
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -56,9 +48,7 @@ export declare const getRuntimeConfig: (
|
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
58
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
59
|
-
retryStrategy?:
|
|
60
|
-
| import("@smithy/types").RetryStrategy
|
|
61
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
51
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
62
52
|
endpoint?:
|
|
63
53
|
| ((
|
|
64
54
|
| string
|
|
@@ -80,7 +70,7 @@ export declare const getRuntimeConfig: (
|
|
|
80
70
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
81
71
|
context?: {
|
|
82
72
|
logger?: import("@smithy/types").Logger;
|
|
83
|
-
}
|
|
73
|
+
},
|
|
84
74
|
) => import("@smithy/types").EndpointV2;
|
|
85
75
|
tls?: boolean;
|
|
86
76
|
serviceConfiguredEndpoint?: never;
|
|
@@ -92,13 +82,13 @@ export declare const getRuntimeConfig: (
|
|
|
92
82
|
signer?:
|
|
93
83
|
| import("@smithy/types").RequestSigner
|
|
94
84
|
| ((
|
|
95
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
96
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
97
87
|
signingEscapePath?: boolean;
|
|
98
88
|
systemClockOffset?: number;
|
|
99
89
|
signingRegion?: string;
|
|
100
90
|
signerConstructor?: new (
|
|
101
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
103
93
|
) => import("@smithy/types").RequestSigner;
|
|
104
94
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: LexRuntimeServiceClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,31 +36,22 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
62
52
|
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;
|
|
53
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
70
55
|
endpoint?:
|
|
71
56
|
| ((
|
|
72
57
|
| string
|
|
@@ -88,7 +73,7 @@ export declare const getRuntimeConfig: (
|
|
|
88
73
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
89
74
|
context?: {
|
|
90
75
|
logger?: import("@smithy/types").Logger;
|
|
91
|
-
}
|
|
76
|
+
},
|
|
92
77
|
) => import("@smithy/types").EndpointV2;
|
|
93
78
|
tls?: boolean;
|
|
94
79
|
serviceConfiguredEndpoint?: never;
|
|
@@ -101,13 +86,13 @@ export declare const getRuntimeConfig: (
|
|
|
101
86
|
signer?:
|
|
102
87
|
| import("@smithy/types").RequestSigner
|
|
103
88
|
| ((
|
|
104
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
89
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
105
90
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
106
91
|
signingEscapePath?: boolean;
|
|
107
92
|
systemClockOffset?: number;
|
|
108
93
|
signingRegion?: string;
|
|
109
94
|
signerConstructor?: new (
|
|
110
95
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
111
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
96
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
112
97
|
) => import("@smithy/types").RequestSigner;
|
|
113
98
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: LexRuntimeServiceClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
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").LexRuntimeServiceHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { LexRuntimeServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: LexRuntimeServiceExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: LexRuntimeServiceExtensionConfiguration): 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;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var LexRuntimeServiceServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var BadGatewayException$: StaticErrorSchema;
|
|
9
5
|
export declare var BadRequestException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-service",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Lex Runtime Service 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-service",
|
|
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-service"
|
|
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",
|
|
@@ -16,17 +47,13 @@
|
|
|
16
47
|
"test:watch": "yarn g:vitest watch",
|
|
17
48
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
18
49
|
},
|
|
19
|
-
"main": "./dist-cjs/index.js",
|
|
20
|
-
"types": "./dist-types/index.d.ts",
|
|
21
|
-
"module": "./dist-es/index.js",
|
|
22
|
-
"sideEffects": false,
|
|
23
50
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/core": "^3.975.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.974.
|
|
27
|
-
"@smithy/core": "^3.29.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
29
|
-
"@smithy/node-http-handler": "^4.9.
|
|
51
|
+
"@aws-sdk/core": "^3.975.3",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
53
|
+
"@aws-sdk/types": "^3.974.2",
|
|
54
|
+
"@smithy/core": "^3.29.4",
|
|
55
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
56
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
30
57
|
"@smithy/types": "^4.16.1",
|
|
31
58
|
"tslib": "^2.6.2"
|
|
32
59
|
},
|
|
@@ -40,32 +67,5 @@
|
|
|
40
67
|
},
|
|
41
68
|
"engines": {
|
|
42
69
|
"node": ">=20.0.0"
|
|
43
|
-
},
|
|
44
|
-
"typesVersions": {
|
|
45
|
-
"<4.5": {
|
|
46
|
-
"dist-types/*": [
|
|
47
|
-
"dist-types/ts3.4/*"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"files": [
|
|
52
|
-
"dist-*/**"
|
|
53
|
-
],
|
|
54
|
-
"author": {
|
|
55
|
-
"name": "AWS SDK for JavaScript Team",
|
|
56
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
57
|
-
},
|
|
58
|
-
"license": "Apache-2.0",
|
|
59
|
-
"browser": {
|
|
60
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
61
|
-
},
|
|
62
|
-
"react-native": {
|
|
63
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
64
|
-
},
|
|
65
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lex-runtime-service",
|
|
66
|
-
"repository": {
|
|
67
|
-
"type": "git",
|
|
68
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
69
|
-
"directory": "clients/client-lex-runtime-service"
|
|
70
70
|
}
|
|
71
71
|
}
|