@aws-sdk/client-lex-runtime-service 3.130.0 → 3.141.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 +30 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DeleteSessionCommand.js +2 -2
- package/dist-cjs/commands/GetSessionCommand.js +2 -2
- package/dist-cjs/commands/PostContentCommand.js +2 -2
- package/dist-cjs/commands/PostTextCommand.js +2 -2
- package/dist-cjs/commands/PutSessionCommand.js +2 -2
- package/dist-cjs/models/models_0.js +119 -159
- package/dist-es/commands/DeleteSessionCommand.js +3 -3
- package/dist-es/commands/GetSessionCommand.js +3 -3
- package/dist-es/commands/PostContentCommand.js +3 -3
- package/dist-es/commands/PostTextCommand.js +3 -3
- package/dist-es/commands/PutSessionCommand.js +3 -3
- package/dist-es/models/models_0.js +26 -86
- package/dist-types/models/models_0.d.ts +80 -120
- package/dist-types/ts3.4/models/models_0.d.ts +0 -32
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
7
37
|
|
|
8
38
|
|
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ try {
|
|
|
176
176
|
const data = await client.send(command);
|
|
177
177
|
// process data.
|
|
178
178
|
} catch (error) {
|
|
179
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
179
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
180
180
|
console.log({ requestId, cfId, extendedRequestId });
|
|
181
181
|
/**
|
|
182
182
|
* The keys within exceptions are also parsed.
|
|
@@ -20,8 +20,8 @@ class DeleteSessionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class GetSessionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class PostContentCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PostContentRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PostContentResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class PostTextCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PostTextRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PostTextResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class PutSessionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PutSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PutSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutSessionResponseFilterSensitiveLog = exports.PutSessionRequestFilterSensitiveLog = exports.PostTextResponseFilterSensitiveLog = exports.SentimentResponseFilterSensitiveLog = exports.ResponseCardFilterSensitiveLog = exports.GenericAttachmentFilterSensitiveLog = exports.ButtonFilterSensitiveLog = exports.PredictedIntentFilterSensitiveLog = exports.IntentConfidenceFilterSensitiveLog = exports.PostTextRequestFilterSensitiveLog = exports.PostContentResponseFilterSensitiveLog = exports.PostContentRequestFilterSensitiveLog = exports.GetSessionResponseFilterSensitiveLog = exports.IntentSummaryFilterSensitiveLog = exports.DialogActionFilterSensitiveLog = exports.GetSessionRequestFilterSensitiveLog = exports.DeleteSessionResponseFilterSensitiveLog = exports.DeleteSessionRequestFilterSensitiveLog = exports.ActiveContextFilterSensitiveLog = exports.ActiveContextTimeToLiveFilterSensitiveLog = exports.ContentType = exports.UnsupportedMediaTypeException = exports.RequestTimeoutException = exports.DialogState = exports.NotAcceptableException = exports.LoopDetectedException = exports.DependencyFailedException = exports.BadGatewayException = exports.ConfirmationStatus = exports.DialogActionType = exports.MessageFormatType = exports.FulfillmentState = exports.NotFoundException = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.BadRequestException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const LexRuntimeServiceServiceException_1 = require("./LexRuntimeServiceServiceException");
|
|
6
|
-
var ActiveContextTimeToLive;
|
|
7
|
-
(function (ActiveContextTimeToLive) {
|
|
8
|
-
ActiveContextTimeToLive.filterSensitiveLog = (obj) => ({
|
|
9
|
-
...obj,
|
|
10
|
-
});
|
|
11
|
-
})(ActiveContextTimeToLive = exports.ActiveContextTimeToLive || (exports.ActiveContextTimeToLive = {}));
|
|
12
|
-
var ActiveContext;
|
|
13
|
-
(function (ActiveContext) {
|
|
14
|
-
ActiveContext.filterSensitiveLog = (obj) => ({
|
|
15
|
-
...obj,
|
|
16
|
-
...(obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING }),
|
|
17
|
-
});
|
|
18
|
-
})(ActiveContext = exports.ActiveContext || (exports.ActiveContext = {}));
|
|
19
6
|
class BadRequestException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
|
|
20
7
|
constructor(opts) {
|
|
21
8
|
super({
|
|
@@ -42,18 +29,6 @@ class ConflictException extends LexRuntimeServiceServiceException_1.LexRuntimeSe
|
|
|
42
29
|
}
|
|
43
30
|
}
|
|
44
31
|
exports.ConflictException = ConflictException;
|
|
45
|
-
var DeleteSessionRequest;
|
|
46
|
-
(function (DeleteSessionRequest) {
|
|
47
|
-
DeleteSessionRequest.filterSensitiveLog = (obj) => ({
|
|
48
|
-
...obj,
|
|
49
|
-
});
|
|
50
|
-
})(DeleteSessionRequest = exports.DeleteSessionRequest || (exports.DeleteSessionRequest = {}));
|
|
51
|
-
var DeleteSessionResponse;
|
|
52
|
-
(function (DeleteSessionResponse) {
|
|
53
|
-
DeleteSessionResponse.filterSensitiveLog = (obj) => ({
|
|
54
|
-
...obj,
|
|
55
|
-
});
|
|
56
|
-
})(DeleteSessionResponse = exports.DeleteSessionResponse || (exports.DeleteSessionResponse = {}));
|
|
57
32
|
class InternalFailureException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
|
|
58
33
|
constructor(opts) {
|
|
59
34
|
super({
|
|
@@ -94,12 +69,6 @@ class NotFoundException extends LexRuntimeServiceServiceException_1.LexRuntimeSe
|
|
|
94
69
|
}
|
|
95
70
|
}
|
|
96
71
|
exports.NotFoundException = NotFoundException;
|
|
97
|
-
var GetSessionRequest;
|
|
98
|
-
(function (GetSessionRequest) {
|
|
99
|
-
GetSessionRequest.filterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
})(GetSessionRequest = exports.GetSessionRequest || (exports.GetSessionRequest = {}));
|
|
103
72
|
var FulfillmentState;
|
|
104
73
|
(function (FulfillmentState) {
|
|
105
74
|
FulfillmentState["FAILED"] = "Failed";
|
|
@@ -121,39 +90,12 @@ var DialogActionType;
|
|
|
121
90
|
DialogActionType["ELICIT_INTENT"] = "ElicitIntent";
|
|
122
91
|
DialogActionType["ELICIT_SLOT"] = "ElicitSlot";
|
|
123
92
|
})(DialogActionType = exports.DialogActionType || (exports.DialogActionType = {}));
|
|
124
|
-
var DialogAction;
|
|
125
|
-
(function (DialogAction) {
|
|
126
|
-
DialogAction.filterSensitiveLog = (obj) => ({
|
|
127
|
-
...obj,
|
|
128
|
-
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
129
|
-
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
130
|
-
});
|
|
131
|
-
})(DialogAction = exports.DialogAction || (exports.DialogAction = {}));
|
|
132
93
|
var ConfirmationStatus;
|
|
133
94
|
(function (ConfirmationStatus) {
|
|
134
95
|
ConfirmationStatus["CONFIRMED"] = "Confirmed";
|
|
135
96
|
ConfirmationStatus["DENIED"] = "Denied";
|
|
136
97
|
ConfirmationStatus["NONE"] = "None";
|
|
137
98
|
})(ConfirmationStatus = exports.ConfirmationStatus || (exports.ConfirmationStatus = {}));
|
|
138
|
-
var IntentSummary;
|
|
139
|
-
(function (IntentSummary) {
|
|
140
|
-
IntentSummary.filterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
143
|
-
});
|
|
144
|
-
})(IntentSummary = exports.IntentSummary || (exports.IntentSummary = {}));
|
|
145
|
-
var GetSessionResponse;
|
|
146
|
-
(function (GetSessionResponse) {
|
|
147
|
-
GetSessionResponse.filterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
...(obj.recentIntentSummaryView && {
|
|
150
|
-
recentIntentSummaryView: obj.recentIntentSummaryView.map((item) => IntentSummary.filterSensitiveLog(item)),
|
|
151
|
-
}),
|
|
152
|
-
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
153
|
-
...(obj.dialogAction && { dialogAction: DialogAction.filterSensitiveLog(obj.dialogAction) }),
|
|
154
|
-
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
155
|
-
});
|
|
156
|
-
})(GetSessionResponse = exports.GetSessionResponse || (exports.GetSessionResponse = {}));
|
|
157
99
|
class BadGatewayException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
|
|
158
100
|
constructor(opts) {
|
|
159
101
|
super({
|
|
@@ -209,15 +151,6 @@ class NotAcceptableException extends LexRuntimeServiceServiceException_1.LexRunt
|
|
|
209
151
|
}
|
|
210
152
|
}
|
|
211
153
|
exports.NotAcceptableException = NotAcceptableException;
|
|
212
|
-
var PostContentRequest;
|
|
213
|
-
(function (PostContentRequest) {
|
|
214
|
-
PostContentRequest.filterSensitiveLog = (obj) => ({
|
|
215
|
-
...obj,
|
|
216
|
-
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
217
|
-
...(obj.requestAttributes && { requestAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
218
|
-
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
219
|
-
});
|
|
220
|
-
})(PostContentRequest = exports.PostContentRequest || (exports.PostContentRequest = {}));
|
|
221
154
|
var DialogState;
|
|
222
155
|
(function (DialogState) {
|
|
223
156
|
DialogState["CONFIRM_INTENT"] = "ConfirmIntent";
|
|
@@ -227,16 +160,6 @@ var DialogState;
|
|
|
227
160
|
DialogState["FULFILLED"] = "Fulfilled";
|
|
228
161
|
DialogState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
|
|
229
162
|
})(DialogState = exports.DialogState || (exports.DialogState = {}));
|
|
230
|
-
var PostContentResponse;
|
|
231
|
-
(function (PostContentResponse) {
|
|
232
|
-
PostContentResponse.filterSensitiveLog = (obj) => ({
|
|
233
|
-
...obj,
|
|
234
|
-
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
235
|
-
...(obj.encodedMessage && { encodedMessage: smithy_client_1.SENSITIVE_STRING }),
|
|
236
|
-
...(obj.encodedInputTranscript && { encodedInputTranscript: smithy_client_1.SENSITIVE_STRING }),
|
|
237
|
-
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
238
|
-
});
|
|
239
|
-
})(PostContentResponse = exports.PostContentResponse || (exports.PostContentResponse = {}));
|
|
240
163
|
class RequestTimeoutException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
|
|
241
164
|
constructor(opts) {
|
|
242
165
|
super({
|
|
@@ -263,88 +186,125 @@ class UnsupportedMediaTypeException extends LexRuntimeServiceServiceException_1.
|
|
|
263
186
|
}
|
|
264
187
|
}
|
|
265
188
|
exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
|
|
266
|
-
var PostTextRequest;
|
|
267
|
-
(function (PostTextRequest) {
|
|
268
|
-
PostTextRequest.filterSensitiveLog = (obj) => ({
|
|
269
|
-
...obj,
|
|
270
|
-
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
271
|
-
...(obj.requestAttributes && { requestAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
272
|
-
...(obj.inputText && { inputText: smithy_client_1.SENSITIVE_STRING }),
|
|
273
|
-
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
274
|
-
});
|
|
275
|
-
})(PostTextRequest = exports.PostTextRequest || (exports.PostTextRequest = {}));
|
|
276
|
-
var IntentConfidence;
|
|
277
|
-
(function (IntentConfidence) {
|
|
278
|
-
IntentConfidence.filterSensitiveLog = (obj) => ({
|
|
279
|
-
...obj,
|
|
280
|
-
});
|
|
281
|
-
})(IntentConfidence = exports.IntentConfidence || (exports.IntentConfidence = {}));
|
|
282
|
-
var PredictedIntent;
|
|
283
|
-
(function (PredictedIntent) {
|
|
284
|
-
PredictedIntent.filterSensitiveLog = (obj) => ({
|
|
285
|
-
...obj,
|
|
286
|
-
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
287
|
-
});
|
|
288
|
-
})(PredictedIntent = exports.PredictedIntent || (exports.PredictedIntent = {}));
|
|
289
189
|
var ContentType;
|
|
290
190
|
(function (ContentType) {
|
|
291
191
|
ContentType["GENERIC"] = "application/vnd.amazonaws.card.generic";
|
|
292
192
|
})(ContentType = exports.ContentType || (exports.ContentType = {}));
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
})
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
})
|
|
330
|
-
|
|
331
|
-
(
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
193
|
+
const ActiveContextTimeToLiveFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
});
|
|
196
|
+
exports.ActiveContextTimeToLiveFilterSensitiveLog = ActiveContextTimeToLiveFilterSensitiveLog;
|
|
197
|
+
const ActiveContextFilterSensitiveLog = (obj) => ({
|
|
198
|
+
...obj,
|
|
199
|
+
...(obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING }),
|
|
200
|
+
});
|
|
201
|
+
exports.ActiveContextFilterSensitiveLog = ActiveContextFilterSensitiveLog;
|
|
202
|
+
const DeleteSessionRequestFilterSensitiveLog = (obj) => ({
|
|
203
|
+
...obj,
|
|
204
|
+
});
|
|
205
|
+
exports.DeleteSessionRequestFilterSensitiveLog = DeleteSessionRequestFilterSensitiveLog;
|
|
206
|
+
const DeleteSessionResponseFilterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
});
|
|
209
|
+
exports.DeleteSessionResponseFilterSensitiveLog = DeleteSessionResponseFilterSensitiveLog;
|
|
210
|
+
const GetSessionRequestFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
exports.GetSessionRequestFilterSensitiveLog = GetSessionRequestFilterSensitiveLog;
|
|
214
|
+
const DialogActionFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
217
|
+
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
218
|
+
});
|
|
219
|
+
exports.DialogActionFilterSensitiveLog = DialogActionFilterSensitiveLog;
|
|
220
|
+
const IntentSummaryFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
223
|
+
});
|
|
224
|
+
exports.IntentSummaryFilterSensitiveLog = IntentSummaryFilterSensitiveLog;
|
|
225
|
+
const GetSessionResponseFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
...(obj.recentIntentSummaryView && {
|
|
228
|
+
recentIntentSummaryView: obj.recentIntentSummaryView.map((item) => (0, exports.IntentSummaryFilterSensitiveLog)(item)),
|
|
229
|
+
}),
|
|
230
|
+
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
231
|
+
...(obj.dialogAction && { dialogAction: (0, exports.DialogActionFilterSensitiveLog)(obj.dialogAction) }),
|
|
232
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
233
|
+
});
|
|
234
|
+
exports.GetSessionResponseFilterSensitiveLog = GetSessionResponseFilterSensitiveLog;
|
|
235
|
+
const PostContentRequestFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
238
|
+
...(obj.requestAttributes && { requestAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
239
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
240
|
+
});
|
|
241
|
+
exports.PostContentRequestFilterSensitiveLog = PostContentRequestFilterSensitiveLog;
|
|
242
|
+
const PostContentResponseFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
245
|
+
...(obj.encodedMessage && { encodedMessage: smithy_client_1.SENSITIVE_STRING }),
|
|
246
|
+
...(obj.encodedInputTranscript && { encodedInputTranscript: smithy_client_1.SENSITIVE_STRING }),
|
|
247
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
248
|
+
});
|
|
249
|
+
exports.PostContentResponseFilterSensitiveLog = PostContentResponseFilterSensitiveLog;
|
|
250
|
+
const PostTextRequestFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
253
|
+
...(obj.requestAttributes && { requestAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
254
|
+
...(obj.inputText && { inputText: smithy_client_1.SENSITIVE_STRING }),
|
|
255
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
256
|
+
});
|
|
257
|
+
exports.PostTextRequestFilterSensitiveLog = PostTextRequestFilterSensitiveLog;
|
|
258
|
+
const IntentConfidenceFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
});
|
|
261
|
+
exports.IntentConfidenceFilterSensitiveLog = IntentConfidenceFilterSensitiveLog;
|
|
262
|
+
const PredictedIntentFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
265
|
+
});
|
|
266
|
+
exports.PredictedIntentFilterSensitiveLog = PredictedIntentFilterSensitiveLog;
|
|
267
|
+
const ButtonFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
exports.ButtonFilterSensitiveLog = ButtonFilterSensitiveLog;
|
|
271
|
+
const GenericAttachmentFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
exports.GenericAttachmentFilterSensitiveLog = GenericAttachmentFilterSensitiveLog;
|
|
275
|
+
const ResponseCardFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
exports.ResponseCardFilterSensitiveLog = ResponseCardFilterSensitiveLog;
|
|
279
|
+
const SentimentResponseFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
exports.SentimentResponseFilterSensitiveLog = SentimentResponseFilterSensitiveLog;
|
|
283
|
+
const PostTextResponseFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
...(obj.alternativeIntents && {
|
|
286
|
+
alternativeIntents: obj.alternativeIntents.map((item) => (0, exports.PredictedIntentFilterSensitiveLog)(item)),
|
|
287
|
+
}),
|
|
288
|
+
...(obj.slots && { slots: smithy_client_1.SENSITIVE_STRING }),
|
|
289
|
+
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
290
|
+
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
291
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
292
|
+
});
|
|
293
|
+
exports.PostTextResponseFilterSensitiveLog = PostTextResponseFilterSensitiveLog;
|
|
294
|
+
const PutSessionRequestFilterSensitiveLog = (obj) => ({
|
|
295
|
+
...obj,
|
|
296
|
+
...(obj.sessionAttributes && { sessionAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
297
|
+
...(obj.dialogAction && { dialogAction: (0, exports.DialogActionFilterSensitiveLog)(obj.dialogAction) }),
|
|
298
|
+
...(obj.recentIntentSummaryView && {
|
|
299
|
+
recentIntentSummaryView: obj.recentIntentSummaryView.map((item) => (0, exports.IntentSummaryFilterSensitiveLog)(item)),
|
|
300
|
+
}),
|
|
301
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
302
|
+
});
|
|
303
|
+
exports.PutSessionRequestFilterSensitiveLog = PutSessionRequestFilterSensitiveLog;
|
|
304
|
+
const PutSessionResponseFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
307
|
+
...(obj.encodedMessage && { encodedMessage: smithy_client_1.SENSITIVE_STRING }),
|
|
308
|
+
...(obj.activeContexts && { activeContexts: smithy_client_1.SENSITIVE_STRING }),
|
|
309
|
+
});
|
|
310
|
+
exports.PutSessionResponseFilterSensitiveLog = PutSessionResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteSessionRequestFilterSensitiveLog, DeleteSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteSessionCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetSessionRequestFilterSensitiveLog, GetSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var GetSessionCommand = (function (_super) {
|
|
7
7
|
__extends(GetSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { PostContentRequestFilterSensitiveLog, PostContentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PostContentCommand, serializeAws_restJson1PostContentCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var PostContentCommand = (function (_super) {
|
|
7
7
|
__extends(PostContentCommand, _super);
|
|
@@ -20,8 +20,8 @@ var PostContentCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: PostContentRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PostContentResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { PostTextRequestFilterSensitiveLog, PostTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PostTextCommand, serializeAws_restJson1PostTextCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var PostTextCommand = (function (_super) {
|
|
7
7
|
__extends(PostTextCommand, _super);
|
|
@@ -20,8 +20,8 @@ var PostTextCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: PostTextRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PostTextResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PutSessionCommand, serializeAws_restJson1PutSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var PutSessionCommand = (function (_super) {
|
|
7
7
|
__extends(PutSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var PutSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: PutSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
4
|
-
export var ActiveContextTimeToLive;
|
|
5
|
-
(function (ActiveContextTimeToLive) {
|
|
6
|
-
ActiveContextTimeToLive.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
7
|
-
})(ActiveContextTimeToLive || (ActiveContextTimeToLive = {}));
|
|
8
|
-
export var ActiveContext;
|
|
9
|
-
(function (ActiveContext) {
|
|
10
|
-
ActiveContext.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.parameters && { parameters: SENSITIVE_STRING }))); };
|
|
11
|
-
})(ActiveContext || (ActiveContext = {}));
|
|
12
4
|
var BadRequestException = (function (_super) {
|
|
13
5
|
__extends(BadRequestException, _super);
|
|
14
6
|
function BadRequestException(opts) {
|
|
@@ -33,14 +25,6 @@ var ConflictException = (function (_super) {
|
|
|
33
25
|
return ConflictException;
|
|
34
26
|
}(__BaseException));
|
|
35
27
|
export { ConflictException };
|
|
36
|
-
export var DeleteSessionRequest;
|
|
37
|
-
(function (DeleteSessionRequest) {
|
|
38
|
-
DeleteSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(DeleteSessionRequest || (DeleteSessionRequest = {}));
|
|
40
|
-
export var DeleteSessionResponse;
|
|
41
|
-
(function (DeleteSessionResponse) {
|
|
42
|
-
DeleteSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
-
})(DeleteSessionResponse || (DeleteSessionResponse = {}));
|
|
44
28
|
var InternalFailureException = (function (_super) {
|
|
45
29
|
__extends(InternalFailureException, _super);
|
|
46
30
|
function InternalFailureException(opts) {
|
|
@@ -78,10 +62,6 @@ var NotFoundException = (function (_super) {
|
|
|
78
62
|
return NotFoundException;
|
|
79
63
|
}(__BaseException));
|
|
80
64
|
export { NotFoundException };
|
|
81
|
-
export var GetSessionRequest;
|
|
82
|
-
(function (GetSessionRequest) {
|
|
83
|
-
GetSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
-
})(GetSessionRequest || (GetSessionRequest = {}));
|
|
85
65
|
export var FulfillmentState;
|
|
86
66
|
(function (FulfillmentState) {
|
|
87
67
|
FulfillmentState["FAILED"] = "Failed";
|
|
@@ -103,26 +83,12 @@ export var DialogActionType;
|
|
|
103
83
|
DialogActionType["ELICIT_INTENT"] = "ElicitIntent";
|
|
104
84
|
DialogActionType["ELICIT_SLOT"] = "ElicitSlot";
|
|
105
85
|
})(DialogActionType || (DialogActionType = {}));
|
|
106
|
-
export var DialogAction;
|
|
107
|
-
(function (DialogAction) {
|
|
108
|
-
DialogAction.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING })), (obj.message && { message: SENSITIVE_STRING }))); };
|
|
109
|
-
})(DialogAction || (DialogAction = {}));
|
|
110
86
|
export var ConfirmationStatus;
|
|
111
87
|
(function (ConfirmationStatus) {
|
|
112
88
|
ConfirmationStatus["CONFIRMED"] = "Confirmed";
|
|
113
89
|
ConfirmationStatus["DENIED"] = "Denied";
|
|
114
90
|
ConfirmationStatus["NONE"] = "None";
|
|
115
91
|
})(ConfirmationStatus || (ConfirmationStatus = {}));
|
|
116
|
-
export var IntentSummary;
|
|
117
|
-
(function (IntentSummary) {
|
|
118
|
-
IntentSummary.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING }))); };
|
|
119
|
-
})(IntentSummary || (IntentSummary = {}));
|
|
120
|
-
export var GetSessionResponse;
|
|
121
|
-
(function (GetSessionResponse) {
|
|
122
|
-
GetSessionResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.recentIntentSummaryView && {
|
|
123
|
-
recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummary.filterSensitiveLog(item); }),
|
|
124
|
-
})), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogAction.filterSensitiveLog(obj.dialogAction) })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
125
|
-
})(GetSessionResponse || (GetSessionResponse = {}));
|
|
126
92
|
var BadGatewayException = (function (_super) {
|
|
127
93
|
__extends(BadGatewayException, _super);
|
|
128
94
|
function BadGatewayException(opts) {
|
|
@@ -174,10 +140,6 @@ var NotAcceptableException = (function (_super) {
|
|
|
174
140
|
return NotAcceptableException;
|
|
175
141
|
}(__BaseException));
|
|
176
142
|
export { NotAcceptableException };
|
|
177
|
-
export var PostContentRequest;
|
|
178
|
-
(function (PostContentRequest) {
|
|
179
|
-
PostContentRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
180
|
-
})(PostContentRequest || (PostContentRequest = {}));
|
|
181
143
|
export var DialogState;
|
|
182
144
|
(function (DialogState) {
|
|
183
145
|
DialogState["CONFIRM_INTENT"] = "ConfirmIntent";
|
|
@@ -187,10 +149,6 @@ export var DialogState;
|
|
|
187
149
|
DialogState["FULFILLED"] = "Fulfilled";
|
|
188
150
|
DialogState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
|
|
189
151
|
})(DialogState || (DialogState = {}));
|
|
190
|
-
export var PostContentResponse;
|
|
191
|
-
(function (PostContentResponse) {
|
|
192
|
-
PostContentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.encodedInputTranscript && { encodedInputTranscript: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
193
|
-
})(PostContentResponse || (PostContentResponse = {}));
|
|
194
152
|
var RequestTimeoutException = (function (_super) {
|
|
195
153
|
__extends(RequestTimeoutException, _super);
|
|
196
154
|
function RequestTimeoutException(opts) {
|
|
@@ -215,51 +173,33 @@ var UnsupportedMediaTypeException = (function (_super) {
|
|
|
215
173
|
return UnsupportedMediaTypeException;
|
|
216
174
|
}(__BaseException));
|
|
217
175
|
export { UnsupportedMediaTypeException };
|
|
218
|
-
export var PostTextRequest;
|
|
219
|
-
(function (PostTextRequest) {
|
|
220
|
-
PostTextRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.inputText && { inputText: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
221
|
-
})(PostTextRequest || (PostTextRequest = {}));
|
|
222
|
-
export var IntentConfidence;
|
|
223
|
-
(function (IntentConfidence) {
|
|
224
|
-
IntentConfidence.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
-
})(IntentConfidence || (IntentConfidence = {}));
|
|
226
|
-
export var PredictedIntent;
|
|
227
|
-
(function (PredictedIntent) {
|
|
228
|
-
PredictedIntent.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING }))); };
|
|
229
|
-
})(PredictedIntent || (PredictedIntent = {}));
|
|
230
176
|
export var ContentType;
|
|
231
177
|
(function (ContentType) {
|
|
232
178
|
ContentType["GENERIC"] = "application/vnd.amazonaws.card.generic";
|
|
233
179
|
})(ContentType || (ContentType = {}));
|
|
234
|
-
export var
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
export var
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
(
|
|
244
|
-
|
|
245
|
-
})(
|
|
246
|
-
export var
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
export var
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
})(
|
|
256
|
-
export var
|
|
257
|
-
(function (
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
})), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
261
|
-
})(PutSessionRequest || (PutSessionRequest = {}));
|
|
262
|
-
export var PutSessionResponse;
|
|
263
|
-
(function (PutSessionResponse) {
|
|
264
|
-
PutSessionResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
265
|
-
})(PutSessionResponse || (PutSessionResponse = {}));
|
|
180
|
+
export var ActiveContextTimeToLiveFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var ActiveContextFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.parameters && { parameters: SENSITIVE_STRING }))); };
|
|
182
|
+
export var DeleteSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var DeleteSessionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var GetSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var DialogActionFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING })), (obj.message && { message: SENSITIVE_STRING }))); };
|
|
186
|
+
export var IntentSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING }))); };
|
|
187
|
+
export var GetSessionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.recentIntentSummaryView && {
|
|
188
|
+
recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummaryFilterSensitiveLog(item); }),
|
|
189
|
+
})), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogActionFilterSensitiveLog(obj.dialogAction) })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
190
|
+
export var PostContentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
191
|
+
export var PostContentResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.encodedInputTranscript && { encodedInputTranscript: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
192
|
+
export var PostTextRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.inputText && { inputText: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
193
|
+
export var IntentConfidenceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var PredictedIntentFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING }))); };
|
|
195
|
+
export var ButtonFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var GenericAttachmentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var ResponseCardFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var SentimentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var PostTextResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.alternativeIntents && {
|
|
200
|
+
alternativeIntents: obj.alternativeIntents.map(function (item) { return PredictedIntentFilterSensitiveLog(item); }),
|
|
201
|
+
})), (obj.slots && { slots: SENSITIVE_STRING })), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.message && { message: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
202
|
+
export var PutSessionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogActionFilterSensitiveLog(obj.dialogAction) })), (obj.recentIntentSummaryView && {
|
|
203
|
+
recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummaryFilterSensitiveLog(item); }),
|
|
204
|
+
})), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
205
|
+
export var PutSessionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
@@ -21,12 +21,6 @@ export interface ActiveContextTimeToLive {
|
|
|
21
21
|
*/
|
|
22
22
|
turnsToLive?: number;
|
|
23
23
|
}
|
|
24
|
-
export declare namespace ActiveContextTimeToLive {
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
|
|
29
|
-
}
|
|
30
24
|
/**
|
|
31
25
|
* <p>A context is a variable that contains information about the current
|
|
32
26
|
* state of the conversation between a user and Amazon Lex. Context can be set
|
|
@@ -50,12 +44,6 @@ export interface ActiveContext {
|
|
|
50
44
|
*/
|
|
51
45
|
parameters: Record<string, string> | undefined;
|
|
52
46
|
}
|
|
53
|
-
export declare namespace ActiveContext {
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
const filterSensitiveLog: (obj: ActiveContext) => any;
|
|
58
|
-
}
|
|
59
47
|
/**
|
|
60
48
|
* <p> Request validation failed, there is no usable message in the context,
|
|
61
49
|
* or the bot build failed, is still in progress, or contains unbuilt
|
|
@@ -95,12 +83,6 @@ export interface DeleteSessionRequest {
|
|
|
95
83
|
*/
|
|
96
84
|
userId: string | undefined;
|
|
97
85
|
}
|
|
98
|
-
export declare namespace DeleteSessionRequest {
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
|
|
103
|
-
}
|
|
104
86
|
export interface DeleteSessionResponse {
|
|
105
87
|
/**
|
|
106
88
|
* <p>The name of the bot associated with the session data.</p>
|
|
@@ -119,12 +101,6 @@ export interface DeleteSessionResponse {
|
|
|
119
101
|
*/
|
|
120
102
|
sessionId?: string;
|
|
121
103
|
}
|
|
122
|
-
export declare namespace DeleteSessionResponse {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
|
-
const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
|
|
127
|
-
}
|
|
128
104
|
/**
|
|
129
105
|
* <p>Internal service error. Retry the call.</p>
|
|
130
106
|
*/
|
|
@@ -183,12 +159,6 @@ export interface GetSessionRequest {
|
|
|
183
159
|
*/
|
|
184
160
|
checkpointLabelFilter?: string;
|
|
185
161
|
}
|
|
186
|
-
export declare namespace GetSessionRequest {
|
|
187
|
-
/**
|
|
188
|
-
* @internal
|
|
189
|
-
*/
|
|
190
|
-
const filterSensitiveLog: (obj: GetSessionRequest) => any;
|
|
191
|
-
}
|
|
192
162
|
export declare enum FulfillmentState {
|
|
193
163
|
FAILED = "Failed",
|
|
194
164
|
FULFILLED = "Fulfilled",
|
|
@@ -315,12 +285,6 @@ export interface DialogAction {
|
|
|
315
285
|
*/
|
|
316
286
|
messageFormat?: MessageFormatType | string;
|
|
317
287
|
}
|
|
318
|
-
export declare namespace DialogAction {
|
|
319
|
-
/**
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
const filterSensitiveLog: (obj: DialogAction) => any;
|
|
323
|
-
}
|
|
324
288
|
export declare enum ConfirmationStatus {
|
|
325
289
|
CONFIRMED = "Confirmed",
|
|
326
290
|
DENIED = "Denied",
|
|
@@ -432,12 +396,6 @@ export interface IntentSummary {
|
|
|
432
396
|
*/
|
|
433
397
|
slotToElicit?: string;
|
|
434
398
|
}
|
|
435
|
-
export declare namespace IntentSummary {
|
|
436
|
-
/**
|
|
437
|
-
* @internal
|
|
438
|
-
*/
|
|
439
|
-
const filterSensitiveLog: (obj: IntentSummary) => any;
|
|
440
|
-
}
|
|
441
399
|
export interface GetSessionResponse {
|
|
442
400
|
/**
|
|
443
401
|
* <p>An array of information about the intents used in the session. The
|
|
@@ -472,12 +430,6 @@ export interface GetSessionResponse {
|
|
|
472
430
|
*/
|
|
473
431
|
activeContexts?: ActiveContext[];
|
|
474
432
|
}
|
|
475
|
-
export declare namespace GetSessionResponse {
|
|
476
|
-
/**
|
|
477
|
-
* @internal
|
|
478
|
-
*/
|
|
479
|
-
const filterSensitiveLog: (obj: GetSessionResponse) => any;
|
|
480
|
-
}
|
|
481
433
|
/**
|
|
482
434
|
* <p>Either the Amazon Lex bot is still building, or one of the dependent
|
|
483
435
|
* services (Amazon Polly, AWS Lambda) failed with an internal service
|
|
@@ -711,12 +663,6 @@ export interface PostContentRequest {
|
|
|
711
663
|
*/
|
|
712
664
|
activeContexts?: __LazyJsonString | string;
|
|
713
665
|
}
|
|
714
|
-
export declare namespace PostContentRequest {
|
|
715
|
-
/**
|
|
716
|
-
* @internal
|
|
717
|
-
*/
|
|
718
|
-
const filterSensitiveLog: (obj: PostContentRequest) => any;
|
|
719
|
-
}
|
|
720
666
|
export declare enum DialogState {
|
|
721
667
|
CONFIRM_INTENT = "ConfirmIntent",
|
|
722
668
|
ELICIT_INTENT = "ElicitIntent",
|
|
@@ -972,12 +918,6 @@ export interface PostContentResponse {
|
|
|
972
918
|
*/
|
|
973
919
|
activeContexts?: __LazyJsonString | string;
|
|
974
920
|
}
|
|
975
|
-
export declare namespace PostContentResponse {
|
|
976
|
-
/**
|
|
977
|
-
* @internal
|
|
978
|
-
*/
|
|
979
|
-
const filterSensitiveLog: (obj: PostContentResponse) => any;
|
|
980
|
-
}
|
|
981
921
|
/**
|
|
982
922
|
* <p>The input speech is too long.</p>
|
|
983
923
|
*/
|
|
@@ -1071,12 +1011,6 @@ export interface PostTextRequest {
|
|
|
1071
1011
|
*/
|
|
1072
1012
|
activeContexts?: ActiveContext[];
|
|
1073
1013
|
}
|
|
1074
|
-
export declare namespace PostTextRequest {
|
|
1075
|
-
/**
|
|
1076
|
-
* @internal
|
|
1077
|
-
*/
|
|
1078
|
-
const filterSensitiveLog: (obj: PostTextRequest) => any;
|
|
1079
|
-
}
|
|
1080
1014
|
/**
|
|
1081
1015
|
* <p>Provides a score that indicates the confidence that Amazon Lex has that an
|
|
1082
1016
|
* intent is the one that satisfies the user's intent.</p>
|
|
@@ -1089,12 +1023,6 @@ export interface IntentConfidence {
|
|
|
1089
1023
|
*/
|
|
1090
1024
|
score?: number;
|
|
1091
1025
|
}
|
|
1092
|
-
export declare namespace IntentConfidence {
|
|
1093
|
-
/**
|
|
1094
|
-
* @internal
|
|
1095
|
-
*/
|
|
1096
|
-
const filterSensitiveLog: (obj: IntentConfidence) => any;
|
|
1097
|
-
}
|
|
1098
1026
|
/**
|
|
1099
1027
|
* <p>An intent that Amazon Lex suggests satisfies the user's intent. Includes
|
|
1100
1028
|
* the name of the intent, the confidence that Amazon Lex has that the user's
|
|
@@ -1116,12 +1044,6 @@ export interface PredictedIntent {
|
|
|
1116
1044
|
*/
|
|
1117
1045
|
slots?: Record<string, string>;
|
|
1118
1046
|
}
|
|
1119
|
-
export declare namespace PredictedIntent {
|
|
1120
|
-
/**
|
|
1121
|
-
* @internal
|
|
1122
|
-
*/
|
|
1123
|
-
const filterSensitiveLog: (obj: PredictedIntent) => any;
|
|
1124
|
-
}
|
|
1125
1047
|
export declare enum ContentType {
|
|
1126
1048
|
GENERIC = "application/vnd.amazonaws.card.generic"
|
|
1127
1049
|
}
|
|
@@ -1141,12 +1063,6 @@ export interface Button {
|
|
|
1141
1063
|
*/
|
|
1142
1064
|
value: string | undefined;
|
|
1143
1065
|
}
|
|
1144
|
-
export declare namespace Button {
|
|
1145
|
-
/**
|
|
1146
|
-
* @internal
|
|
1147
|
-
*/
|
|
1148
|
-
const filterSensitiveLog: (obj: Button) => any;
|
|
1149
|
-
}
|
|
1150
1066
|
/**
|
|
1151
1067
|
* <p>Represents an option rendered to the user when a prompt is shown. It
|
|
1152
1068
|
* could be an image, a button, a link, or text. </p>
|
|
@@ -1173,12 +1089,6 @@ export interface GenericAttachment {
|
|
|
1173
1089
|
*/
|
|
1174
1090
|
buttons?: Button[];
|
|
1175
1091
|
}
|
|
1176
|
-
export declare namespace GenericAttachment {
|
|
1177
|
-
/**
|
|
1178
|
-
* @internal
|
|
1179
|
-
*/
|
|
1180
|
-
const filterSensitiveLog: (obj: GenericAttachment) => any;
|
|
1181
|
-
}
|
|
1182
1092
|
/**
|
|
1183
1093
|
* <p>If you configure a response card when creating your bots, Amazon Lex
|
|
1184
1094
|
* substitutes the session attributes and slot values that are available, and
|
|
@@ -1200,12 +1110,6 @@ export interface ResponseCard {
|
|
|
1200
1110
|
*/
|
|
1201
1111
|
genericAttachments?: GenericAttachment[];
|
|
1202
1112
|
}
|
|
1203
|
-
export declare namespace ResponseCard {
|
|
1204
|
-
/**
|
|
1205
|
-
* @internal
|
|
1206
|
-
*/
|
|
1207
|
-
const filterSensitiveLog: (obj: ResponseCard) => any;
|
|
1208
|
-
}
|
|
1209
1113
|
/**
|
|
1210
1114
|
* <p>The sentiment expressed in an utterance.</p>
|
|
1211
1115
|
* <p>When the bot is configured to send utterances to Amazon Comprehend for
|
|
@@ -1223,12 +1127,6 @@ export interface SentimentResponse {
|
|
|
1223
1127
|
*/
|
|
1224
1128
|
sentimentScore?: string;
|
|
1225
1129
|
}
|
|
1226
|
-
export declare namespace SentimentResponse {
|
|
1227
|
-
/**
|
|
1228
|
-
* @internal
|
|
1229
|
-
*/
|
|
1230
|
-
const filterSensitiveLog: (obj: SentimentResponse) => any;
|
|
1231
|
-
}
|
|
1232
1130
|
export interface PostTextResponse {
|
|
1233
1131
|
/**
|
|
1234
1132
|
* <p>The current user intent that Amazon Lex is aware of.</p>
|
|
@@ -1414,12 +1312,6 @@ export interface PostTextResponse {
|
|
|
1414
1312
|
*/
|
|
1415
1313
|
activeContexts?: ActiveContext[];
|
|
1416
1314
|
}
|
|
1417
|
-
export declare namespace PostTextResponse {
|
|
1418
|
-
/**
|
|
1419
|
-
* @internal
|
|
1420
|
-
*/
|
|
1421
|
-
const filterSensitiveLog: (obj: PostTextResponse) => any;
|
|
1422
|
-
}
|
|
1423
1315
|
export interface PutSessionRequest {
|
|
1424
1316
|
/**
|
|
1425
1317
|
* <p>The name of the bot that contains the session data.</p>
|
|
@@ -1537,12 +1429,6 @@ export interface PutSessionRequest {
|
|
|
1537
1429
|
*/
|
|
1538
1430
|
activeContexts?: ActiveContext[];
|
|
1539
1431
|
}
|
|
1540
|
-
export declare namespace PutSessionRequest {
|
|
1541
|
-
/**
|
|
1542
|
-
* @internal
|
|
1543
|
-
*/
|
|
1544
|
-
const filterSensitiveLog: (obj: PutSessionRequest) => any;
|
|
1545
|
-
}
|
|
1546
1432
|
export interface PutSessionResponse {
|
|
1547
1433
|
/**
|
|
1548
1434
|
* <p>Content type as specified in the <code>Accept</code> HTTP header in
|
|
@@ -1674,9 +1560,83 @@ export interface PutSessionResponse {
|
|
|
1674
1560
|
*/
|
|
1675
1561
|
activeContexts?: __LazyJsonString | string;
|
|
1676
1562
|
}
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1563
|
+
/**
|
|
1564
|
+
* @internal
|
|
1565
|
+
*/
|
|
1566
|
+
export declare const ActiveContextTimeToLiveFilterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
|
|
1567
|
+
/**
|
|
1568
|
+
* @internal
|
|
1569
|
+
*/
|
|
1570
|
+
export declare const ActiveContextFilterSensitiveLog: (obj: ActiveContext) => any;
|
|
1571
|
+
/**
|
|
1572
|
+
* @internal
|
|
1573
|
+
*/
|
|
1574
|
+
export declare const DeleteSessionRequestFilterSensitiveLog: (obj: DeleteSessionRequest) => any;
|
|
1575
|
+
/**
|
|
1576
|
+
* @internal
|
|
1577
|
+
*/
|
|
1578
|
+
export declare const DeleteSessionResponseFilterSensitiveLog: (obj: DeleteSessionResponse) => any;
|
|
1579
|
+
/**
|
|
1580
|
+
* @internal
|
|
1581
|
+
*/
|
|
1582
|
+
export declare const GetSessionRequestFilterSensitiveLog: (obj: GetSessionRequest) => any;
|
|
1583
|
+
/**
|
|
1584
|
+
* @internal
|
|
1585
|
+
*/
|
|
1586
|
+
export declare const DialogActionFilterSensitiveLog: (obj: DialogAction) => any;
|
|
1587
|
+
/**
|
|
1588
|
+
* @internal
|
|
1589
|
+
*/
|
|
1590
|
+
export declare const IntentSummaryFilterSensitiveLog: (obj: IntentSummary) => any;
|
|
1591
|
+
/**
|
|
1592
|
+
* @internal
|
|
1593
|
+
*/
|
|
1594
|
+
export declare const GetSessionResponseFilterSensitiveLog: (obj: GetSessionResponse) => any;
|
|
1595
|
+
/**
|
|
1596
|
+
* @internal
|
|
1597
|
+
*/
|
|
1598
|
+
export declare const PostContentRequestFilterSensitiveLog: (obj: PostContentRequest) => any;
|
|
1599
|
+
/**
|
|
1600
|
+
* @internal
|
|
1601
|
+
*/
|
|
1602
|
+
export declare const PostContentResponseFilterSensitiveLog: (obj: PostContentResponse) => any;
|
|
1603
|
+
/**
|
|
1604
|
+
* @internal
|
|
1605
|
+
*/
|
|
1606
|
+
export declare const PostTextRequestFilterSensitiveLog: (obj: PostTextRequest) => any;
|
|
1607
|
+
/**
|
|
1608
|
+
* @internal
|
|
1609
|
+
*/
|
|
1610
|
+
export declare const IntentConfidenceFilterSensitiveLog: (obj: IntentConfidence) => any;
|
|
1611
|
+
/**
|
|
1612
|
+
* @internal
|
|
1613
|
+
*/
|
|
1614
|
+
export declare const PredictedIntentFilterSensitiveLog: (obj: PredictedIntent) => any;
|
|
1615
|
+
/**
|
|
1616
|
+
* @internal
|
|
1617
|
+
*/
|
|
1618
|
+
export declare const ButtonFilterSensitiveLog: (obj: Button) => any;
|
|
1619
|
+
/**
|
|
1620
|
+
* @internal
|
|
1621
|
+
*/
|
|
1622
|
+
export declare const GenericAttachmentFilterSensitiveLog: (obj: GenericAttachment) => any;
|
|
1623
|
+
/**
|
|
1624
|
+
* @internal
|
|
1625
|
+
*/
|
|
1626
|
+
export declare const ResponseCardFilterSensitiveLog: (obj: ResponseCard) => any;
|
|
1627
|
+
/**
|
|
1628
|
+
* @internal
|
|
1629
|
+
*/
|
|
1630
|
+
export declare const SentimentResponseFilterSensitiveLog: (obj: SentimentResponse) => any;
|
|
1631
|
+
/**
|
|
1632
|
+
* @internal
|
|
1633
|
+
*/
|
|
1634
|
+
export declare const PostTextResponseFilterSensitiveLog: (obj: PostTextResponse) => any;
|
|
1635
|
+
/**
|
|
1636
|
+
* @internal
|
|
1637
|
+
*/
|
|
1638
|
+
export declare const PutSessionRequestFilterSensitiveLog: (obj: PutSessionRequest) => any;
|
|
1639
|
+
/**
|
|
1640
|
+
* @internal
|
|
1641
|
+
*/
|
|
1642
|
+
export declare const PutSessionResponseFilterSensitiveLog: (obj: PutSessionResponse) => any;
|
|
@@ -9,10 +9,6 @@ export interface ActiveContextTimeToLive {
|
|
|
9
9
|
|
|
10
10
|
turnsToLive?: number;
|
|
11
11
|
}
|
|
12
|
-
export declare namespace ActiveContextTimeToLive {
|
|
13
|
-
|
|
14
|
-
const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
|
|
15
|
-
}
|
|
16
12
|
|
|
17
13
|
export interface ActiveContext {
|
|
18
14
|
|
|
@@ -22,10 +18,6 @@ export interface ActiveContext {
|
|
|
22
18
|
|
|
23
19
|
parameters: Record<string, string> | undefined;
|
|
24
20
|
}
|
|
25
|
-
export declare namespace ActiveContext {
|
|
26
|
-
|
|
27
|
-
const filterSensitiveLog: (obj: ActiveContext) => any;
|
|
28
|
-
}
|
|
29
21
|
|
|
30
22
|
export declare class BadRequestException extends __BaseException {
|
|
31
23
|
readonly name: "BadRequestException";
|
|
@@ -48,10 +40,6 @@ export interface DeleteSessionRequest {
|
|
|
48
40
|
|
|
49
41
|
userId: string | undefined;
|
|
50
42
|
}
|
|
51
|
-
export declare namespace DeleteSessionRequest {
|
|
52
|
-
|
|
53
|
-
const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
|
|
54
|
-
}
|
|
55
43
|
export interface DeleteSessionResponse {
|
|
56
44
|
|
|
57
45
|
botName?: string;
|
|
@@ -62,10 +50,6 @@ export interface DeleteSessionResponse {
|
|
|
62
50
|
|
|
63
51
|
sessionId?: string;
|
|
64
52
|
}
|
|
65
|
-
export declare namespace DeleteSessionResponse {
|
|
66
|
-
|
|
67
|
-
const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
|
|
68
|
-
}
|
|
69
53
|
|
|
70
54
|
export declare class InternalFailureException extends __BaseException {
|
|
71
55
|
readonly name: "InternalFailureException";
|
|
@@ -98,10 +82,6 @@ export interface GetSessionRequest {
|
|
|
98
82
|
|
|
99
83
|
checkpointLabelFilter?: string;
|
|
100
84
|
}
|
|
101
|
-
export declare namespace GetSessionRequest {
|
|
102
|
-
|
|
103
|
-
const filterSensitiveLog: (obj: GetSessionRequest) => any;
|
|
104
|
-
}
|
|
105
85
|
export declare enum FulfillmentState {
|
|
106
86
|
FAILED = "Failed",
|
|
107
87
|
FULFILLED = "Fulfilled",
|
|
@@ -137,10 +117,6 @@ export interface DialogAction {
|
|
|
137
117
|
|
|
138
118
|
messageFormat?: MessageFormatType | string;
|
|
139
119
|
}
|
|
140
|
-
export declare namespace DialogAction {
|
|
141
|
-
|
|
142
|
-
const filterSensitiveLog: (obj: DialogAction) => any;
|
|
143
|
-
}
|
|
144
120
|
export declare enum ConfirmationStatus {
|
|
145
121
|
CONFIRMED = "Confirmed",
|
|
146
122
|
DENIED = "Denied",
|
|
@@ -163,10 +139,6 @@ export interface IntentSummary {
|
|
|
163
139
|
|
|
164
140
|
slotToElicit?: string;
|
|
165
141
|
}
|
|
166
|
-
export declare namespace IntentSummary {
|
|
167
|
-
|
|
168
|
-
const filterSensitiveLog: (obj: IntentSummary) => any;
|
|
169
|
-
}
|
|
170
142
|
export interface GetSessionResponse {
|
|
171
143
|
|
|
172
144
|
recentIntentSummaryView?: IntentSummary[];
|
|
@@ -179,10 +151,6 @@ export interface GetSessionResponse {
|
|
|
179
151
|
|
|
180
152
|
activeContexts?: ActiveContext[];
|
|
181
153
|
}
|
|
182
|
-
export declare namespace GetSessionResponse {
|
|
183
|
-
|
|
184
|
-
const filterSensitiveLog: (obj: GetSessionResponse) => any;
|
|
185
|
-
}
|
|
186
154
|
|
|
187
155
|
export declare class BadGatewayException extends __BaseException {
|
|
188
156
|
readonly name: "BadGatewayException";
|
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.141.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.141.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.141.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.127.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.137.0",
|
|
42
42
|
"@aws-sdk/types": "3.127.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.127.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
45
45
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.137.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.137.0",
|
|
50
50
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
52
52
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|