@aws-sdk/client-lex-runtime-service 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LexRuntimeServiceServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +149 -1
- package/dist-cjs/protocols/Aws_restJson1.js +134 -349
- package/dist-es/index.js +1 -0
- package/dist-es/models/LexRuntimeServiceServiceException.js +12 -0
- package/dist-es/models/models_0.js +139 -2
- package/dist-es/protocols/Aws_restJson1.js +189 -381
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LexRuntimeServiceServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -43
- package/dist-types/ts3.4/LexRuntimeService.d.ts +30 -0
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PostContentCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/PostTextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +238 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Readable } from "stream";
|
|
4
|
+
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
5
|
+
|
|
6
|
+
export interface ActiveContextTimeToLive {
|
|
7
|
+
|
|
8
|
+
timeToLiveInSeconds?: number;
|
|
9
|
+
|
|
10
|
+
turnsToLive?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace ActiveContextTimeToLive {
|
|
13
|
+
|
|
14
|
+
const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ActiveContext {
|
|
18
|
+
|
|
19
|
+
name: string | undefined;
|
|
20
|
+
|
|
21
|
+
timeToLive: ActiveContextTimeToLive | undefined;
|
|
22
|
+
|
|
23
|
+
parameters: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
} | undefined;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace ActiveContext {
|
|
28
|
+
|
|
29
|
+
const filterSensitiveLog: (obj: ActiveContext) => any;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export declare class BadRequestException extends __BaseException {
|
|
33
|
+
readonly name: "BadRequestException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
|
|
36
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export declare class ConflictException extends __BaseException {
|
|
40
|
+
readonly name: "ConflictException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
44
|
+
}
|
|
45
|
+
export interface DeleteSessionRequest {
|
|
46
|
+
|
|
47
|
+
botName: string | undefined;
|
|
48
|
+
|
|
49
|
+
botAlias: string | undefined;
|
|
50
|
+
|
|
51
|
+
userId: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace DeleteSessionRequest {
|
|
54
|
+
|
|
55
|
+
const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
|
|
56
|
+
}
|
|
57
|
+
export interface DeleteSessionResponse {
|
|
58
|
+
|
|
59
|
+
botName?: string;
|
|
60
|
+
|
|
61
|
+
botAlias?: string;
|
|
62
|
+
|
|
63
|
+
userId?: string;
|
|
64
|
+
|
|
65
|
+
sessionId?: string;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace DeleteSessionResponse {
|
|
68
|
+
|
|
69
|
+
const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare class InternalFailureException extends __BaseException {
|
|
73
|
+
readonly name: "InternalFailureException";
|
|
74
|
+
readonly $fault: "server";
|
|
75
|
+
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export declare class LimitExceededException extends __BaseException {
|
|
80
|
+
readonly name: "LimitExceededException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
retryAfterSeconds?: string;
|
|
83
|
+
|
|
84
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export declare class NotFoundException extends __BaseException {
|
|
88
|
+
readonly name: "NotFoundException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
|
|
91
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
export interface GetSessionRequest {
|
|
94
|
+
|
|
95
|
+
botName: string | undefined;
|
|
96
|
+
|
|
97
|
+
botAlias: string | undefined;
|
|
98
|
+
|
|
99
|
+
userId: string | undefined;
|
|
100
|
+
|
|
101
|
+
checkpointLabelFilter?: string;
|
|
102
|
+
}
|
|
103
|
+
export declare namespace GetSessionRequest {
|
|
104
|
+
|
|
105
|
+
const filterSensitiveLog: (obj: GetSessionRequest) => any;
|
|
106
|
+
}
|
|
107
|
+
export declare enum FulfillmentState {
|
|
108
|
+
FAILED = "Failed",
|
|
109
|
+
FULFILLED = "Fulfilled",
|
|
110
|
+
READY_FOR_FULFILLMENT = "ReadyForFulfillment"
|
|
111
|
+
}
|
|
112
|
+
export declare enum MessageFormatType {
|
|
113
|
+
COMPOSITE = "Composite",
|
|
114
|
+
CUSTOM_PAYLOAD = "CustomPayload",
|
|
115
|
+
PLAIN_TEXT = "PlainText",
|
|
116
|
+
SSML = "SSML"
|
|
117
|
+
}
|
|
118
|
+
export declare enum DialogActionType {
|
|
119
|
+
CLOSE = "Close",
|
|
120
|
+
CONFIRM_INTENT = "ConfirmIntent",
|
|
121
|
+
DELEGATE = "Delegate",
|
|
122
|
+
ELICIT_INTENT = "ElicitIntent",
|
|
123
|
+
ELICIT_SLOT = "ElicitSlot"
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface DialogAction {
|
|
127
|
+
|
|
128
|
+
type: DialogActionType | string | undefined;
|
|
129
|
+
|
|
130
|
+
intentName?: string;
|
|
131
|
+
|
|
132
|
+
slots?: {
|
|
133
|
+
[key: string]: string;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
slotToElicit?: string;
|
|
137
|
+
|
|
138
|
+
fulfillmentState?: FulfillmentState | string;
|
|
139
|
+
|
|
140
|
+
message?: string;
|
|
141
|
+
|
|
142
|
+
messageFormat?: MessageFormatType | string;
|
|
143
|
+
}
|
|
144
|
+
export declare namespace DialogAction {
|
|
145
|
+
|
|
146
|
+
const filterSensitiveLog: (obj: DialogAction) => any;
|
|
147
|
+
}
|
|
148
|
+
export declare enum ConfirmationStatus {
|
|
149
|
+
CONFIRMED = "Confirmed",
|
|
150
|
+
DENIED = "Denied",
|
|
151
|
+
NONE = "None"
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface IntentSummary {
|
|
155
|
+
|
|
156
|
+
intentName?: string;
|
|
157
|
+
|
|
158
|
+
checkpointLabel?: string;
|
|
159
|
+
|
|
160
|
+
slots?: {
|
|
161
|
+
[key: string]: string;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
confirmationStatus?: ConfirmationStatus | string;
|
|
165
|
+
|
|
166
|
+
dialogActionType: DialogActionType | string | undefined;
|
|
167
|
+
|
|
168
|
+
fulfillmentState?: FulfillmentState | string;
|
|
169
|
+
|
|
170
|
+
slotToElicit?: string;
|
|
171
|
+
}
|
|
172
|
+
export declare namespace IntentSummary {
|
|
173
|
+
|
|
174
|
+
const filterSensitiveLog: (obj: IntentSummary) => any;
|
|
175
|
+
}
|
|
176
|
+
export interface GetSessionResponse {
|
|
177
|
+
|
|
178
|
+
recentIntentSummaryView?: IntentSummary[];
|
|
179
|
+
|
|
180
|
+
sessionAttributes?: {
|
|
181
|
+
[key: string]: string;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
sessionId?: string;
|
|
185
|
+
|
|
186
|
+
dialogAction?: DialogAction;
|
|
187
|
+
|
|
188
|
+
activeContexts?: ActiveContext[];
|
|
189
|
+
}
|
|
190
|
+
export declare namespace GetSessionResponse {
|
|
191
|
+
|
|
192
|
+
const filterSensitiveLog: (obj: GetSessionResponse) => any;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export declare class BadGatewayException extends __BaseException {
|
|
196
|
+
readonly name: "BadGatewayException";
|
|
197
|
+
readonly $fault: "server";
|
|
198
|
+
Message?: string;
|
|
199
|
+
|
|
200
|
+
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export declare class DependencyFailedException extends __BaseException {
|
|
204
|
+
readonly name: "DependencyFailedException";
|
|
205
|
+
readonly $fault: "client";
|
|
206
|
+
Message?: string;
|
|
207
|
+
|
|
208
|
+
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export declare class LoopDetectedException extends __BaseException {
|
|
212
|
+
readonly name: "LoopDetectedException";
|
|
213
|
+
readonly $fault: "server";
|
|
214
|
+
Message?: string;
|
|
215
|
+
|
|
216
|
+
constructor(opts: __ExceptionOptionType<LoopDetectedException, __BaseException>);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export declare class NotAcceptableException extends __BaseException {
|
|
220
|
+
readonly name: "NotAcceptableException";
|
|
221
|
+
readonly $fault: "client";
|
|
222
|
+
|
|
223
|
+
constructor(opts: __ExceptionOptionType<NotAcceptableException, __BaseException>);
|
|
224
|
+
}
|
|
225
|
+
export interface PostContentRequest {
|
|
226
|
+
|
|
227
|
+
botName: string | undefined;
|
|
228
|
+
|
|
229
|
+
botAlias: string | undefined;
|
|
230
|
+
|
|
231
|
+
userId: string | undefined;
|
|
232
|
+
|
|
233
|
+
sessionAttributes?: __LazyJsonString | string;
|
|
234
|
+
|
|
235
|
+
requestAttributes?: __LazyJsonString | string;
|
|
236
|
+
|
|
237
|
+
contentType: string | undefined;
|
|
238
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "../commands/DeleteSessionCommand";
|
|
4
|
+
import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
|
|
5
|
+
import { PostContentCommandInput, PostContentCommandOutput } from "../commands/PostContentCommand";
|
|
6
|
+
import { PostTextCommandInput, PostTextCommandOutput } from "../commands/PostTextCommand";
|
|
7
|
+
import { PutSessionCommandInput, PutSessionCommandOutput } from "../commands/PutSessionCommand";
|
|
8
|
+
export declare const serializeAws_restJson1DeleteSessionCommand: (input: DeleteSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
|
+
export declare const serializeAws_restJson1GetSessionCommand: (input: GetSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_restJson1PostContentCommand: (input: PostContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
export declare const serializeAws_restJson1PostTextCommand: (input: PostTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1PutSessionCommand: (input: PutSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const deserializeAws_restJson1DeleteSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSessionCommandOutput>;
|
|
14
|
+
export declare const deserializeAws_restJson1GetSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionCommandOutput>;
|
|
15
|
+
export declare const deserializeAws_restJson1PostContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PostContentCommandOutput>;
|
|
16
|
+
export declare const deserializeAws_restJson1PostTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PostTextCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_restJson1PutSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutSessionCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*",
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"test": "yarn test:unit",
|
|
14
14
|
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
15
15
|
},
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
41
|
+
"@aws-sdk/types": "3.53.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
53
53
|
"tslib": "^2.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/chai": "^4.2.11",
|
|
59
59
|
"@types/mocha": "^8.0.4",
|