@aws-sdk/client-lex-runtime-service 3.169.0 → 3.171.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 +16 -0
- package/dist-types/ts3.4/LexRuntimeService.d.ts +89 -30
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +135 -78
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +35 -17
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/PostContentCommand.d.ts +39 -24
- package/dist-types/ts3.4/commands/PostTextCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +32 -17
- package/dist-types/ts3.4/commands/index.d.ts +5 -5
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +7 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +330 -198
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -17
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +67 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +67 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +68 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -11
- package/package.json +34 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./LexRuntimeService";
|
|
2
|
-
export * from "./LexRuntimeServiceClient";
|
|
3
|
-
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
|
-
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
1
|
+
export * from "./LexRuntimeService";
|
|
2
|
+
export * from "./LexRuntimeServiceClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export declare class LexRuntimeServiceServiceException extends __ServiceException {
|
|
6
|
+
constructor(options: __ServiceExceptionOptions);
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
1
|
+
export * from "./models_0";
|
|
@@ -1,198 +1,330 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export declare class
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
export declare
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
export
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
1
|
+
import {
|
|
2
|
+
ExceptionOptionType as __ExceptionOptionType,
|
|
3
|
+
LazyJsonString as __LazyJsonString,
|
|
4
|
+
} from "@aws-sdk/smithy-client";
|
|
5
|
+
import { Readable } from "stream";
|
|
6
|
+
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
7
|
+
export interface ActiveContextTimeToLive {
|
|
8
|
+
timeToLiveInSeconds?: number;
|
|
9
|
+
turnsToLive?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface ActiveContext {
|
|
12
|
+
name: string | undefined;
|
|
13
|
+
timeToLive: ActiveContextTimeToLive | undefined;
|
|
14
|
+
parameters: Record<string, string> | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare class BadRequestException extends __BaseException {
|
|
17
|
+
readonly name: "BadRequestException";
|
|
18
|
+
readonly $fault: "client";
|
|
19
|
+
constructor(
|
|
20
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
export declare class ConflictException extends __BaseException {
|
|
24
|
+
readonly name: "ConflictException";
|
|
25
|
+
readonly $fault: "client";
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
export interface DeleteSessionRequest {
|
|
29
|
+
botName: string | undefined;
|
|
30
|
+
botAlias: string | undefined;
|
|
31
|
+
userId: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface DeleteSessionResponse {
|
|
34
|
+
botName?: string;
|
|
35
|
+
botAlias?: string;
|
|
36
|
+
userId?: string;
|
|
37
|
+
sessionId?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare class InternalFailureException extends __BaseException {
|
|
40
|
+
readonly name: "InternalFailureException";
|
|
41
|
+
readonly $fault: "server";
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class LimitExceededException extends __BaseException {
|
|
47
|
+
readonly name: "LimitExceededException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
retryAfterSeconds?: string;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare class NotFoundException extends __BaseException {
|
|
55
|
+
readonly name: "NotFoundException";
|
|
56
|
+
readonly $fault: "client";
|
|
57
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
58
|
+
}
|
|
59
|
+
export interface GetSessionRequest {
|
|
60
|
+
botName: string | undefined;
|
|
61
|
+
botAlias: string | undefined;
|
|
62
|
+
userId: string | undefined;
|
|
63
|
+
checkpointLabelFilter?: string;
|
|
64
|
+
}
|
|
65
|
+
export declare enum FulfillmentState {
|
|
66
|
+
FAILED = "Failed",
|
|
67
|
+
FULFILLED = "Fulfilled",
|
|
68
|
+
READY_FOR_FULFILLMENT = "ReadyForFulfillment",
|
|
69
|
+
}
|
|
70
|
+
export declare enum MessageFormatType {
|
|
71
|
+
COMPOSITE = "Composite",
|
|
72
|
+
CUSTOM_PAYLOAD = "CustomPayload",
|
|
73
|
+
PLAIN_TEXT = "PlainText",
|
|
74
|
+
SSML = "SSML",
|
|
75
|
+
}
|
|
76
|
+
export declare enum DialogActionType {
|
|
77
|
+
CLOSE = "Close",
|
|
78
|
+
CONFIRM_INTENT = "ConfirmIntent",
|
|
79
|
+
DELEGATE = "Delegate",
|
|
80
|
+
ELICIT_INTENT = "ElicitIntent",
|
|
81
|
+
ELICIT_SLOT = "ElicitSlot",
|
|
82
|
+
}
|
|
83
|
+
export interface DialogAction {
|
|
84
|
+
type: DialogActionType | string | undefined;
|
|
85
|
+
intentName?: string;
|
|
86
|
+
slots?: Record<string, string>;
|
|
87
|
+
slotToElicit?: string;
|
|
88
|
+
fulfillmentState?: FulfillmentState | string;
|
|
89
|
+
message?: string;
|
|
90
|
+
messageFormat?: MessageFormatType | string;
|
|
91
|
+
}
|
|
92
|
+
export declare enum ConfirmationStatus {
|
|
93
|
+
CONFIRMED = "Confirmed",
|
|
94
|
+
DENIED = "Denied",
|
|
95
|
+
NONE = "None",
|
|
96
|
+
}
|
|
97
|
+
export interface IntentSummary {
|
|
98
|
+
intentName?: string;
|
|
99
|
+
checkpointLabel?: string;
|
|
100
|
+
slots?: Record<string, string>;
|
|
101
|
+
confirmationStatus?: ConfirmationStatus | string;
|
|
102
|
+
dialogActionType: DialogActionType | string | undefined;
|
|
103
|
+
fulfillmentState?: FulfillmentState | string;
|
|
104
|
+
slotToElicit?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface GetSessionResponse {
|
|
107
|
+
recentIntentSummaryView?: IntentSummary[];
|
|
108
|
+
sessionAttributes?: Record<string, string>;
|
|
109
|
+
sessionId?: string;
|
|
110
|
+
dialogAction?: DialogAction;
|
|
111
|
+
activeContexts?: ActiveContext[];
|
|
112
|
+
}
|
|
113
|
+
export declare class BadGatewayException extends __BaseException {
|
|
114
|
+
readonly name: "BadGatewayException";
|
|
115
|
+
readonly $fault: "server";
|
|
116
|
+
Message?: string;
|
|
117
|
+
constructor(
|
|
118
|
+
opts: __ExceptionOptionType<BadGatewayException, __BaseException>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
export declare class DependencyFailedException extends __BaseException {
|
|
122
|
+
readonly name: "DependencyFailedException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
Message?: string;
|
|
125
|
+
constructor(
|
|
126
|
+
opts: __ExceptionOptionType<DependencyFailedException, __BaseException>
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
export declare class LoopDetectedException extends __BaseException {
|
|
130
|
+
readonly name: "LoopDetectedException";
|
|
131
|
+
readonly $fault: "server";
|
|
132
|
+
Message?: string;
|
|
133
|
+
constructor(
|
|
134
|
+
opts: __ExceptionOptionType<LoopDetectedException, __BaseException>
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
export declare class NotAcceptableException extends __BaseException {
|
|
138
|
+
readonly name: "NotAcceptableException";
|
|
139
|
+
readonly $fault: "client";
|
|
140
|
+
constructor(
|
|
141
|
+
opts: __ExceptionOptionType<NotAcceptableException, __BaseException>
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
export interface PostContentRequest {
|
|
145
|
+
botName: string | undefined;
|
|
146
|
+
botAlias: string | undefined;
|
|
147
|
+
userId: string | undefined;
|
|
148
|
+
sessionAttributes?: __LazyJsonString | string;
|
|
149
|
+
requestAttributes?: __LazyJsonString | string;
|
|
150
|
+
contentType: string | undefined;
|
|
151
|
+
accept?: string;
|
|
152
|
+
inputStream: Readable | ReadableStream | Blob | undefined;
|
|
153
|
+
activeContexts?: __LazyJsonString | string;
|
|
154
|
+
}
|
|
155
|
+
export declare enum DialogState {
|
|
156
|
+
CONFIRM_INTENT = "ConfirmIntent",
|
|
157
|
+
ELICIT_INTENT = "ElicitIntent",
|
|
158
|
+
ELICIT_SLOT = "ElicitSlot",
|
|
159
|
+
FAILED = "Failed",
|
|
160
|
+
FULFILLED = "Fulfilled",
|
|
161
|
+
READY_FOR_FULFILLMENT = "ReadyForFulfillment",
|
|
162
|
+
}
|
|
163
|
+
export interface PostContentResponse {
|
|
164
|
+
contentType?: string;
|
|
165
|
+
intentName?: string;
|
|
166
|
+
nluIntentConfidence?: __LazyJsonString | string;
|
|
167
|
+
alternativeIntents?: __LazyJsonString | string;
|
|
168
|
+
slots?: __LazyJsonString | string;
|
|
169
|
+
sessionAttributes?: __LazyJsonString | string;
|
|
170
|
+
sentimentResponse?: string;
|
|
171
|
+
message?: string;
|
|
172
|
+
encodedMessage?: string;
|
|
173
|
+
messageFormat?: MessageFormatType | string;
|
|
174
|
+
dialogState?: DialogState | string;
|
|
175
|
+
slotToElicit?: string;
|
|
176
|
+
inputTranscript?: string;
|
|
177
|
+
encodedInputTranscript?: string;
|
|
178
|
+
audioStream?: Readable | ReadableStream | Blob;
|
|
179
|
+
botVersion?: string;
|
|
180
|
+
sessionId?: string;
|
|
181
|
+
activeContexts?: __LazyJsonString | string;
|
|
182
|
+
}
|
|
183
|
+
export declare class RequestTimeoutException extends __BaseException {
|
|
184
|
+
readonly name: "RequestTimeoutException";
|
|
185
|
+
readonly $fault: "client";
|
|
186
|
+
constructor(
|
|
187
|
+
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
export declare class UnsupportedMediaTypeException extends __BaseException {
|
|
191
|
+
readonly name: "UnsupportedMediaTypeException";
|
|
192
|
+
readonly $fault: "client";
|
|
193
|
+
constructor(
|
|
194
|
+
opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
export interface PostTextRequest {
|
|
198
|
+
botName: string | undefined;
|
|
199
|
+
botAlias: string | undefined;
|
|
200
|
+
userId: string | undefined;
|
|
201
|
+
sessionAttributes?: Record<string, string>;
|
|
202
|
+
requestAttributes?: Record<string, string>;
|
|
203
|
+
inputText: string | undefined;
|
|
204
|
+
activeContexts?: ActiveContext[];
|
|
205
|
+
}
|
|
206
|
+
export interface IntentConfidence {
|
|
207
|
+
score?: number;
|
|
208
|
+
}
|
|
209
|
+
export interface PredictedIntent {
|
|
210
|
+
intentName?: string;
|
|
211
|
+
nluIntentConfidence?: IntentConfidence;
|
|
212
|
+
slots?: Record<string, string>;
|
|
213
|
+
}
|
|
214
|
+
export declare enum ContentType {
|
|
215
|
+
GENERIC = "application/vnd.amazonaws.card.generic",
|
|
216
|
+
}
|
|
217
|
+
export interface Button {
|
|
218
|
+
text: string | undefined;
|
|
219
|
+
value: string | undefined;
|
|
220
|
+
}
|
|
221
|
+
export interface GenericAttachment {
|
|
222
|
+
title?: string;
|
|
223
|
+
subTitle?: string;
|
|
224
|
+
attachmentLinkUrl?: string;
|
|
225
|
+
imageUrl?: string;
|
|
226
|
+
buttons?: Button[];
|
|
227
|
+
}
|
|
228
|
+
export interface ResponseCard {
|
|
229
|
+
version?: string;
|
|
230
|
+
contentType?: ContentType | string;
|
|
231
|
+
genericAttachments?: GenericAttachment[];
|
|
232
|
+
}
|
|
233
|
+
export interface SentimentResponse {
|
|
234
|
+
sentimentLabel?: string;
|
|
235
|
+
sentimentScore?: string;
|
|
236
|
+
}
|
|
237
|
+
export interface PostTextResponse {
|
|
238
|
+
intentName?: string;
|
|
239
|
+
nluIntentConfidence?: IntentConfidence;
|
|
240
|
+
alternativeIntents?: PredictedIntent[];
|
|
241
|
+
slots?: Record<string, string>;
|
|
242
|
+
sessionAttributes?: Record<string, string>;
|
|
243
|
+
message?: string;
|
|
244
|
+
sentimentResponse?: SentimentResponse;
|
|
245
|
+
messageFormat?: MessageFormatType | string;
|
|
246
|
+
dialogState?: DialogState | string;
|
|
247
|
+
slotToElicit?: string;
|
|
248
|
+
responseCard?: ResponseCard;
|
|
249
|
+
sessionId?: string;
|
|
250
|
+
botVersion?: string;
|
|
251
|
+
activeContexts?: ActiveContext[];
|
|
252
|
+
}
|
|
253
|
+
export interface PutSessionRequest {
|
|
254
|
+
botName: string | undefined;
|
|
255
|
+
botAlias: string | undefined;
|
|
256
|
+
userId: string | undefined;
|
|
257
|
+
sessionAttributes?: Record<string, string>;
|
|
258
|
+
dialogAction?: DialogAction;
|
|
259
|
+
recentIntentSummaryView?: IntentSummary[];
|
|
260
|
+
accept?: string;
|
|
261
|
+
activeContexts?: ActiveContext[];
|
|
262
|
+
}
|
|
263
|
+
export interface PutSessionResponse {
|
|
264
|
+
contentType?: string;
|
|
265
|
+
intentName?: string;
|
|
266
|
+
slots?: __LazyJsonString | string;
|
|
267
|
+
sessionAttributes?: __LazyJsonString | string;
|
|
268
|
+
message?: string;
|
|
269
|
+
encodedMessage?: string;
|
|
270
|
+
messageFormat?: MessageFormatType | string;
|
|
271
|
+
dialogState?: DialogState | string;
|
|
272
|
+
slotToElicit?: string;
|
|
273
|
+
audioStream?: Readable | ReadableStream | Blob;
|
|
274
|
+
sessionId?: string;
|
|
275
|
+
activeContexts?: __LazyJsonString | string;
|
|
276
|
+
}
|
|
277
|
+
export declare const ActiveContextTimeToLiveFilterSensitiveLog: (
|
|
278
|
+
obj: ActiveContextTimeToLive
|
|
279
|
+
) => any;
|
|
280
|
+
export declare const ActiveContextFilterSensitiveLog: (
|
|
281
|
+
obj: ActiveContext
|
|
282
|
+
) => any;
|
|
283
|
+
export declare const DeleteSessionRequestFilterSensitiveLog: (
|
|
284
|
+
obj: DeleteSessionRequest
|
|
285
|
+
) => any;
|
|
286
|
+
export declare const DeleteSessionResponseFilterSensitiveLog: (
|
|
287
|
+
obj: DeleteSessionResponse
|
|
288
|
+
) => any;
|
|
289
|
+
export declare const GetSessionRequestFilterSensitiveLog: (
|
|
290
|
+
obj: GetSessionRequest
|
|
291
|
+
) => any;
|
|
292
|
+
export declare const DialogActionFilterSensitiveLog: (obj: DialogAction) => any;
|
|
293
|
+
export declare const IntentSummaryFilterSensitiveLog: (
|
|
294
|
+
obj: IntentSummary
|
|
295
|
+
) => any;
|
|
296
|
+
export declare const GetSessionResponseFilterSensitiveLog: (
|
|
297
|
+
obj: GetSessionResponse
|
|
298
|
+
) => any;
|
|
299
|
+
export declare const PostContentRequestFilterSensitiveLog: (
|
|
300
|
+
obj: PostContentRequest
|
|
301
|
+
) => any;
|
|
302
|
+
export declare const PostContentResponseFilterSensitiveLog: (
|
|
303
|
+
obj: PostContentResponse
|
|
304
|
+
) => any;
|
|
305
|
+
export declare const PostTextRequestFilterSensitiveLog: (
|
|
306
|
+
obj: PostTextRequest
|
|
307
|
+
) => any;
|
|
308
|
+
export declare const IntentConfidenceFilterSensitiveLog: (
|
|
309
|
+
obj: IntentConfidence
|
|
310
|
+
) => any;
|
|
311
|
+
export declare const PredictedIntentFilterSensitiveLog: (
|
|
312
|
+
obj: PredictedIntent
|
|
313
|
+
) => any;
|
|
314
|
+
export declare const ButtonFilterSensitiveLog: (obj: Button) => any;
|
|
315
|
+
export declare const GenericAttachmentFilterSensitiveLog: (
|
|
316
|
+
obj: GenericAttachment
|
|
317
|
+
) => any;
|
|
318
|
+
export declare const ResponseCardFilterSensitiveLog: (obj: ResponseCard) => any;
|
|
319
|
+
export declare const SentimentResponseFilterSensitiveLog: (
|
|
320
|
+
obj: SentimentResponse
|
|
321
|
+
) => any;
|
|
322
|
+
export declare const PostTextResponseFilterSensitiveLog: (
|
|
323
|
+
obj: PostTextResponse
|
|
324
|
+
) => any;
|
|
325
|
+
export declare const PutSessionRequestFilterSensitiveLog: (
|
|
326
|
+
obj: PutSessionRequest
|
|
327
|
+
) => any;
|
|
328
|
+
export declare const PutSessionResponseFilterSensitiveLog: (
|
|
329
|
+
obj: PutSessionResponse
|
|
330
|
+
) => any;
|
|
@@ -1,17 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@aws-sdk/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
DeleteSessionCommandInput,
|
|
8
|
+
DeleteSessionCommandOutput,
|
|
9
|
+
} from "../commands/DeleteSessionCommand";
|
|
10
|
+
import {
|
|
11
|
+
GetSessionCommandInput,
|
|
12
|
+
GetSessionCommandOutput,
|
|
13
|
+
} from "../commands/GetSessionCommand";
|
|
14
|
+
import {
|
|
15
|
+
PostContentCommandInput,
|
|
16
|
+
PostContentCommandOutput,
|
|
17
|
+
} from "../commands/PostContentCommand";
|
|
18
|
+
import {
|
|
19
|
+
PostTextCommandInput,
|
|
20
|
+
PostTextCommandOutput,
|
|
21
|
+
} from "../commands/PostTextCommand";
|
|
22
|
+
import {
|
|
23
|
+
PutSessionCommandInput,
|
|
24
|
+
PutSessionCommandOutput,
|
|
25
|
+
} from "../commands/PutSessionCommand";
|
|
26
|
+
export declare const serializeAws_restJson1DeleteSessionCommand: (
|
|
27
|
+
input: DeleteSessionCommandInput,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const serializeAws_restJson1GetSessionCommand: (
|
|
31
|
+
input: GetSessionCommandInput,
|
|
32
|
+
context: __SerdeContext
|
|
33
|
+
) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const serializeAws_restJson1PostContentCommand: (
|
|
35
|
+
input: PostContentCommandInput,
|
|
36
|
+
context: __SerdeContext
|
|
37
|
+
) => Promise<__HttpRequest>;
|
|
38
|
+
export declare const serializeAws_restJson1PostTextCommand: (
|
|
39
|
+
input: PostTextCommandInput,
|
|
40
|
+
context: __SerdeContext
|
|
41
|
+
) => Promise<__HttpRequest>;
|
|
42
|
+
export declare const serializeAws_restJson1PutSessionCommand: (
|
|
43
|
+
input: PutSessionCommandInput,
|
|
44
|
+
context: __SerdeContext
|
|
45
|
+
) => Promise<__HttpRequest>;
|
|
46
|
+
export declare const deserializeAws_restJson1DeleteSessionCommand: (
|
|
47
|
+
output: __HttpResponse,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<DeleteSessionCommandOutput>;
|
|
50
|
+
export declare const deserializeAws_restJson1GetSessionCommand: (
|
|
51
|
+
output: __HttpResponse,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<GetSessionCommandOutput>;
|
|
54
|
+
export declare const deserializeAws_restJson1PostContentCommand: (
|
|
55
|
+
output: __HttpResponse,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<PostContentCommandOutput>;
|
|
58
|
+
export declare const deserializeAws_restJson1PostTextCommand: (
|
|
59
|
+
output: __HttpResponse,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<PostTextCommandOutput>;
|
|
62
|
+
export declare const deserializeAws_restJson1PutSessionCommand: (
|
|
63
|
+
output: __HttpResponse,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<PutSessionCommandOutput>;
|