@aws-sdk/client-lex-runtime-service 3.131.0 → 3.142.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 +33 -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-cjs/protocols/Aws_restJson1.js +177 -416
- 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-es/protocols/Aws_restJson1.js +216 -411
- 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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **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))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
|
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;
|