@aws-sdk/client-lex-runtime-v2 3.131.0 → 3.140.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/dist-cjs/commands/DeleteSessionCommand.js +2 -2
- package/dist-cjs/commands/GetSessionCommand.js +2 -2
- package/dist-cjs/commands/PutSessionCommand.js +2 -2
- package/dist-cjs/commands/RecognizeTextCommand.js +2 -2
- package/dist-cjs/commands/RecognizeUtteranceCommand.js +2 -2
- package/dist-cjs/commands/StartConversationCommand.js +2 -2
- package/dist-cjs/models/models_0.js +233 -315
- package/dist-cjs/protocols/Aws_restJson1.js +242 -409
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/DeleteSessionCommand.js +3 -3
- package/dist-es/commands/GetSessionCommand.js +3 -3
- package/dist-es/commands/PutSessionCommand.js +3 -3
- package/dist-es/commands/RecognizeTextCommand.js +3 -3
- package/dist-es/commands/RecognizeUtteranceCommand.js +3 -3
- package/dist-es/commands/StartConversationCommand.js +3 -3
- package/dist-es/models/models_0.js +93 -218
- package/dist-es/protocols/Aws_restJson1.js +257 -414
- package/dist-es/runtimeConfig.js +8 -1
- package/dist-types/models/models_0.d.ts +172 -254
- package/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.SlotFilterSensitiveLog = exports.TranscriptEventFilterSensitiveLog = exports.TextResponseEventFilterSensitiveLog = exports.PlaybackInterruptionEventFilterSensitiveLog = exports.HeartbeatEventFilterSensitiveLog = exports.TextInputEventFilterSensitiveLog = exports.PlaybackCompletionEventFilterSensitiveLog = exports.DTMFInputEventFilterSensitiveLog = exports.DisconnectionEventFilterSensitiveLog = exports.RecognizeUtteranceResponseFilterSensitiveLog = exports.RecognizeUtteranceRequestFilterSensitiveLog = exports.PutSessionResponseFilterSensitiveLog = exports.RuntimeHintsFilterSensitiveLog = exports.RuntimeHintDetailsFilterSensitiveLog = exports.RuntimeHintValueFilterSensitiveLog = exports.DialogActionFilterSensitiveLog = exports.MessageFilterSensitiveLog = exports.ImageResponseCardFilterSensitiveLog = exports.ButtonFilterSensitiveLog = exports.SentimentResponseFilterSensitiveLog = exports.SentimentScoreFilterSensitiveLog = exports.ConfidenceScoreFilterSensitiveLog = exports.ValueFilterSensitiveLog = exports.GetSessionRequestFilterSensitiveLog = exports.DeleteSessionResponseFilterSensitiveLog = exports.DeleteSessionRequestFilterSensitiveLog = exports.AudioResponseEventFilterSensitiveLog = exports.AudioInputEventFilterSensitiveLog = exports.ActiveContextFilterSensitiveLog = exports.ActiveContextTimeToLiveFilterSensitiveLog = exports.StartConversationResponseEventStream = exports.StartConversationRequestEventStream = exports.PlaybackInterruptionReason = exports.InputMode = exports.ConversationMode = exports.DependencyFailedException = exports.BadGatewayException = exports.DialogActionType = exports.StyleType = exports.MessageContentType = exports.SentimentType = exports.IntentState = exports.Shape = exports.ConfirmationState = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.StartConversationResponseFilterSensitiveLog = exports.StartConversationResponseEventStreamFilterSensitiveLog = exports.RecognizeTextResponseFilterSensitiveLog = exports.IntentResultEventFilterSensitiveLog = exports.GetSessionResponseFilterSensitiveLog = exports.StartConversationRequestFilterSensitiveLog = exports.StartConversationRequestEventStreamFilterSensitiveLog = exports.RecognizeTextRequestFilterSensitiveLog = exports.PutSessionRequestFilterSensitiveLog = exports.ConfigurationEventFilterSensitiveLog = exports.SessionStateFilterSensitiveLog = exports.InterpretationFilterSensitiveLog = exports.IntentFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const LexRuntimeV2ServiceException_1 = require("./LexRuntimeV2ServiceException");
|
|
7
7
|
class AccessDeniedException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
@@ -17,31 +17,6 @@ class AccessDeniedException extends LexRuntimeV2ServiceException_1.LexRuntimeV2S
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
-
var ActiveContextTimeToLive;
|
|
21
|
-
(function (ActiveContextTimeToLive) {
|
|
22
|
-
ActiveContextTimeToLive.filterSensitiveLog = (obj) => ({
|
|
23
|
-
...obj,
|
|
24
|
-
});
|
|
25
|
-
})(ActiveContextTimeToLive = exports.ActiveContextTimeToLive || (exports.ActiveContextTimeToLive = {}));
|
|
26
|
-
var ActiveContext;
|
|
27
|
-
(function (ActiveContext) {
|
|
28
|
-
ActiveContext.filterSensitiveLog = (obj) => ({
|
|
29
|
-
...obj,
|
|
30
|
-
...(obj.contextAttributes && { contextAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
31
|
-
});
|
|
32
|
-
})(ActiveContext = exports.ActiveContext || (exports.ActiveContext = {}));
|
|
33
|
-
var AudioInputEvent;
|
|
34
|
-
(function (AudioInputEvent) {
|
|
35
|
-
AudioInputEvent.filterSensitiveLog = (obj) => ({
|
|
36
|
-
...obj,
|
|
37
|
-
});
|
|
38
|
-
})(AudioInputEvent = exports.AudioInputEvent || (exports.AudioInputEvent = {}));
|
|
39
|
-
var AudioResponseEvent;
|
|
40
|
-
(function (AudioResponseEvent) {
|
|
41
|
-
AudioResponseEvent.filterSensitiveLog = (obj) => ({
|
|
42
|
-
...obj,
|
|
43
|
-
});
|
|
44
|
-
})(AudioResponseEvent = exports.AudioResponseEvent || (exports.AudioResponseEvent = {}));
|
|
45
20
|
class ConflictException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
46
21
|
constructor(opts) {
|
|
47
22
|
super({
|
|
@@ -55,18 +30,6 @@ class ConflictException extends LexRuntimeV2ServiceException_1.LexRuntimeV2Servi
|
|
|
55
30
|
}
|
|
56
31
|
}
|
|
57
32
|
exports.ConflictException = ConflictException;
|
|
58
|
-
var DeleteSessionRequest;
|
|
59
|
-
(function (DeleteSessionRequest) {
|
|
60
|
-
DeleteSessionRequest.filterSensitiveLog = (obj) => ({
|
|
61
|
-
...obj,
|
|
62
|
-
});
|
|
63
|
-
})(DeleteSessionRequest = exports.DeleteSessionRequest || (exports.DeleteSessionRequest = {}));
|
|
64
|
-
var DeleteSessionResponse;
|
|
65
|
-
(function (DeleteSessionResponse) {
|
|
66
|
-
DeleteSessionResponse.filterSensitiveLog = (obj) => ({
|
|
67
|
-
...obj,
|
|
68
|
-
});
|
|
69
|
-
})(DeleteSessionResponse = exports.DeleteSessionResponse || (exports.DeleteSessionResponse = {}));
|
|
70
33
|
class InternalServerException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
71
34
|
constructor(opts) {
|
|
72
35
|
super({
|
|
@@ -119,12 +82,6 @@ class ValidationException extends LexRuntimeV2ServiceException_1.LexRuntimeV2Ser
|
|
|
119
82
|
}
|
|
120
83
|
}
|
|
121
84
|
exports.ValidationException = ValidationException;
|
|
122
|
-
var GetSessionRequest;
|
|
123
|
-
(function (GetSessionRequest) {
|
|
124
|
-
GetSessionRequest.filterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
});
|
|
127
|
-
})(GetSessionRequest = exports.GetSessionRequest || (exports.GetSessionRequest = {}));
|
|
128
85
|
var ConfirmationState;
|
|
129
86
|
(function (ConfirmationState) {
|
|
130
87
|
ConfirmationState["CONFIRMED"] = "Confirmed";
|
|
@@ -136,12 +93,6 @@ var Shape;
|
|
|
136
93
|
Shape["LIST"] = "List";
|
|
137
94
|
Shape["SCALAR"] = "Scalar";
|
|
138
95
|
})(Shape = exports.Shape || (exports.Shape = {}));
|
|
139
|
-
var Value;
|
|
140
|
-
(function (Value) {
|
|
141
|
-
Value.filterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
})(Value = exports.Value || (exports.Value = {}));
|
|
145
96
|
var IntentState;
|
|
146
97
|
(function (IntentState) {
|
|
147
98
|
IntentState["FAILED"] = "Failed";
|
|
@@ -151,12 +102,6 @@ var IntentState;
|
|
|
151
102
|
IntentState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
|
|
152
103
|
IntentState["WAITING"] = "Waiting";
|
|
153
104
|
})(IntentState = exports.IntentState || (exports.IntentState = {}));
|
|
154
|
-
var ConfidenceScore;
|
|
155
|
-
(function (ConfidenceScore) {
|
|
156
|
-
ConfidenceScore.filterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
});
|
|
159
|
-
})(ConfidenceScore = exports.ConfidenceScore || (exports.ConfidenceScore = {}));
|
|
160
105
|
var SentimentType;
|
|
161
106
|
(function (SentimentType) {
|
|
162
107
|
SentimentType["MIXED"] = "MIXED";
|
|
@@ -164,18 +109,6 @@ var SentimentType;
|
|
|
164
109
|
SentimentType["NEUTRAL"] = "NEUTRAL";
|
|
165
110
|
SentimentType["POSITIVE"] = "POSITIVE";
|
|
166
111
|
})(SentimentType = exports.SentimentType || (exports.SentimentType = {}));
|
|
167
|
-
var SentimentScore;
|
|
168
|
-
(function (SentimentScore) {
|
|
169
|
-
SentimentScore.filterSensitiveLog = (obj) => ({
|
|
170
|
-
...obj,
|
|
171
|
-
});
|
|
172
|
-
})(SentimentScore = exports.SentimentScore || (exports.SentimentScore = {}));
|
|
173
|
-
var SentimentResponse;
|
|
174
|
-
(function (SentimentResponse) {
|
|
175
|
-
SentimentResponse.filterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
});
|
|
178
|
-
})(SentimentResponse = exports.SentimentResponse || (exports.SentimentResponse = {}));
|
|
179
112
|
var MessageContentType;
|
|
180
113
|
(function (MessageContentType) {
|
|
181
114
|
MessageContentType["CUSTOM_PAYLOAD"] = "CustomPayload";
|
|
@@ -183,25 +116,6 @@ var MessageContentType;
|
|
|
183
116
|
MessageContentType["PLAIN_TEXT"] = "PlainText";
|
|
184
117
|
MessageContentType["SSML"] = "SSML";
|
|
185
118
|
})(MessageContentType = exports.MessageContentType || (exports.MessageContentType = {}));
|
|
186
|
-
var Button;
|
|
187
|
-
(function (Button) {
|
|
188
|
-
Button.filterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
});
|
|
191
|
-
})(Button = exports.Button || (exports.Button = {}));
|
|
192
|
-
var ImageResponseCard;
|
|
193
|
-
(function (ImageResponseCard) {
|
|
194
|
-
ImageResponseCard.filterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
})(ImageResponseCard = exports.ImageResponseCard || (exports.ImageResponseCard = {}));
|
|
198
|
-
var Message;
|
|
199
|
-
(function (Message) {
|
|
200
|
-
Message.filterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
...(obj.content && { content: smithy_client_1.SENSITIVE_STRING }),
|
|
203
|
-
});
|
|
204
|
-
})(Message = exports.Message || (exports.Message = {}));
|
|
205
119
|
var StyleType;
|
|
206
120
|
(function (StyleType) {
|
|
207
121
|
StyleType["DEFAULT"] = "Default";
|
|
@@ -217,30 +131,6 @@ var DialogActionType;
|
|
|
217
131
|
DialogActionType["ELICIT_SLOT"] = "ElicitSlot";
|
|
218
132
|
DialogActionType["NONE"] = "None";
|
|
219
133
|
})(DialogActionType = exports.DialogActionType || (exports.DialogActionType = {}));
|
|
220
|
-
var DialogAction;
|
|
221
|
-
(function (DialogAction) {
|
|
222
|
-
DialogAction.filterSensitiveLog = (obj) => ({
|
|
223
|
-
...obj,
|
|
224
|
-
});
|
|
225
|
-
})(DialogAction = exports.DialogAction || (exports.DialogAction = {}));
|
|
226
|
-
var RuntimeHintValue;
|
|
227
|
-
(function (RuntimeHintValue) {
|
|
228
|
-
RuntimeHintValue.filterSensitiveLog = (obj) => ({
|
|
229
|
-
...obj,
|
|
230
|
-
});
|
|
231
|
-
})(RuntimeHintValue = exports.RuntimeHintValue || (exports.RuntimeHintValue = {}));
|
|
232
|
-
var RuntimeHintDetails;
|
|
233
|
-
(function (RuntimeHintDetails) {
|
|
234
|
-
RuntimeHintDetails.filterSensitiveLog = (obj) => ({
|
|
235
|
-
...obj,
|
|
236
|
-
});
|
|
237
|
-
})(RuntimeHintDetails = exports.RuntimeHintDetails || (exports.RuntimeHintDetails = {}));
|
|
238
|
-
var RuntimeHints;
|
|
239
|
-
(function (RuntimeHints) {
|
|
240
|
-
RuntimeHints.filterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
});
|
|
243
|
-
})(RuntimeHints = exports.RuntimeHints || (exports.RuntimeHints = {}));
|
|
244
134
|
class BadGatewayException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
245
135
|
constructor(opts) {
|
|
246
136
|
super({
|
|
@@ -267,63 +157,11 @@ class DependencyFailedException extends LexRuntimeV2ServiceException_1.LexRuntim
|
|
|
267
157
|
}
|
|
268
158
|
}
|
|
269
159
|
exports.DependencyFailedException = DependencyFailedException;
|
|
270
|
-
var PutSessionResponse;
|
|
271
|
-
(function (PutSessionResponse) {
|
|
272
|
-
PutSessionResponse.filterSensitiveLog = (obj) => ({
|
|
273
|
-
...obj,
|
|
274
|
-
});
|
|
275
|
-
})(PutSessionResponse = exports.PutSessionResponse || (exports.PutSessionResponse = {}));
|
|
276
|
-
var RecognizeUtteranceRequest;
|
|
277
|
-
(function (RecognizeUtteranceRequest) {
|
|
278
|
-
RecognizeUtteranceRequest.filterSensitiveLog = (obj) => ({
|
|
279
|
-
...obj,
|
|
280
|
-
...(obj.sessionState && { sessionState: smithy_client_1.SENSITIVE_STRING }),
|
|
281
|
-
...(obj.requestAttributes && { requestAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
282
|
-
});
|
|
283
|
-
})(RecognizeUtteranceRequest = exports.RecognizeUtteranceRequest || (exports.RecognizeUtteranceRequest = {}));
|
|
284
|
-
var RecognizeUtteranceResponse;
|
|
285
|
-
(function (RecognizeUtteranceResponse) {
|
|
286
|
-
RecognizeUtteranceResponse.filterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
});
|
|
289
|
-
})(RecognizeUtteranceResponse = exports.RecognizeUtteranceResponse || (exports.RecognizeUtteranceResponse = {}));
|
|
290
160
|
var ConversationMode;
|
|
291
161
|
(function (ConversationMode) {
|
|
292
162
|
ConversationMode["AUDIO"] = "AUDIO";
|
|
293
163
|
ConversationMode["TEXT"] = "TEXT";
|
|
294
164
|
})(ConversationMode = exports.ConversationMode || (exports.ConversationMode = {}));
|
|
295
|
-
var DisconnectionEvent;
|
|
296
|
-
(function (DisconnectionEvent) {
|
|
297
|
-
DisconnectionEvent.filterSensitiveLog = (obj) => ({
|
|
298
|
-
...obj,
|
|
299
|
-
});
|
|
300
|
-
})(DisconnectionEvent = exports.DisconnectionEvent || (exports.DisconnectionEvent = {}));
|
|
301
|
-
var DTMFInputEvent;
|
|
302
|
-
(function (DTMFInputEvent) {
|
|
303
|
-
DTMFInputEvent.filterSensitiveLog = (obj) => ({
|
|
304
|
-
...obj,
|
|
305
|
-
...(obj.inputCharacter && { inputCharacter: smithy_client_1.SENSITIVE_STRING }),
|
|
306
|
-
});
|
|
307
|
-
})(DTMFInputEvent = exports.DTMFInputEvent || (exports.DTMFInputEvent = {}));
|
|
308
|
-
var PlaybackCompletionEvent;
|
|
309
|
-
(function (PlaybackCompletionEvent) {
|
|
310
|
-
PlaybackCompletionEvent.filterSensitiveLog = (obj) => ({
|
|
311
|
-
...obj,
|
|
312
|
-
});
|
|
313
|
-
})(PlaybackCompletionEvent = exports.PlaybackCompletionEvent || (exports.PlaybackCompletionEvent = {}));
|
|
314
|
-
var TextInputEvent;
|
|
315
|
-
(function (TextInputEvent) {
|
|
316
|
-
TextInputEvent.filterSensitiveLog = (obj) => ({
|
|
317
|
-
...obj,
|
|
318
|
-
...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
|
|
319
|
-
});
|
|
320
|
-
})(TextInputEvent = exports.TextInputEvent || (exports.TextInputEvent = {}));
|
|
321
|
-
var HeartbeatEvent;
|
|
322
|
-
(function (HeartbeatEvent) {
|
|
323
|
-
HeartbeatEvent.filterSensitiveLog = (obj) => ({
|
|
324
|
-
...obj,
|
|
325
|
-
});
|
|
326
|
-
})(HeartbeatEvent = exports.HeartbeatEvent || (exports.HeartbeatEvent = {}));
|
|
327
165
|
var InputMode;
|
|
328
166
|
(function (InputMode) {
|
|
329
167
|
InputMode["DTMF"] = "DTMF";
|
|
@@ -336,75 +174,6 @@ var PlaybackInterruptionReason;
|
|
|
336
174
|
PlaybackInterruptionReason["TEXT_DETECTED"] = "TEXT_DETECTED";
|
|
337
175
|
PlaybackInterruptionReason["VOICE_START_DETECTED"] = "VOICE_START_DETECTED";
|
|
338
176
|
})(PlaybackInterruptionReason = exports.PlaybackInterruptionReason || (exports.PlaybackInterruptionReason = {}));
|
|
339
|
-
var PlaybackInterruptionEvent;
|
|
340
|
-
(function (PlaybackInterruptionEvent) {
|
|
341
|
-
PlaybackInterruptionEvent.filterSensitiveLog = (obj) => ({
|
|
342
|
-
...obj,
|
|
343
|
-
});
|
|
344
|
-
})(PlaybackInterruptionEvent = exports.PlaybackInterruptionEvent || (exports.PlaybackInterruptionEvent = {}));
|
|
345
|
-
var TextResponseEvent;
|
|
346
|
-
(function (TextResponseEvent) {
|
|
347
|
-
TextResponseEvent.filterSensitiveLog = (obj) => ({
|
|
348
|
-
...obj,
|
|
349
|
-
...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
|
|
350
|
-
});
|
|
351
|
-
})(TextResponseEvent = exports.TextResponseEvent || (exports.TextResponseEvent = {}));
|
|
352
|
-
var TranscriptEvent;
|
|
353
|
-
(function (TranscriptEvent) {
|
|
354
|
-
TranscriptEvent.filterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
})(TranscriptEvent = exports.TranscriptEvent || (exports.TranscriptEvent = {}));
|
|
358
|
-
var Slot;
|
|
359
|
-
(function (Slot) {
|
|
360
|
-
Slot.filterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
});
|
|
363
|
-
})(Slot = exports.Slot || (exports.Slot = {}));
|
|
364
|
-
var Intent;
|
|
365
|
-
(function (Intent) {
|
|
366
|
-
Intent.filterSensitiveLog = (obj) => ({
|
|
367
|
-
...obj,
|
|
368
|
-
});
|
|
369
|
-
})(Intent = exports.Intent || (exports.Intent = {}));
|
|
370
|
-
var Interpretation;
|
|
371
|
-
(function (Interpretation) {
|
|
372
|
-
Interpretation.filterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
});
|
|
375
|
-
})(Interpretation = exports.Interpretation || (exports.Interpretation = {}));
|
|
376
|
-
var SessionState;
|
|
377
|
-
(function (SessionState) {
|
|
378
|
-
SessionState.filterSensitiveLog = (obj) => ({
|
|
379
|
-
...obj,
|
|
380
|
-
...(obj.activeContexts && {
|
|
381
|
-
activeContexts: obj.activeContexts.map((item) => ActiveContext.filterSensitiveLog(item)),
|
|
382
|
-
}),
|
|
383
|
-
});
|
|
384
|
-
})(SessionState = exports.SessionState || (exports.SessionState = {}));
|
|
385
|
-
var ConfigurationEvent;
|
|
386
|
-
(function (ConfigurationEvent) {
|
|
387
|
-
ConfigurationEvent.filterSensitiveLog = (obj) => ({
|
|
388
|
-
...obj,
|
|
389
|
-
...(obj.welcomeMessages && {
|
|
390
|
-
welcomeMessages: obj.welcomeMessages.map((item) => Message.filterSensitiveLog(item)),
|
|
391
|
-
}),
|
|
392
|
-
});
|
|
393
|
-
})(ConfigurationEvent = exports.ConfigurationEvent || (exports.ConfigurationEvent = {}));
|
|
394
|
-
var PutSessionRequest;
|
|
395
|
-
(function (PutSessionRequest) {
|
|
396
|
-
PutSessionRequest.filterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
|
|
399
|
-
});
|
|
400
|
-
})(PutSessionRequest = exports.PutSessionRequest || (exports.PutSessionRequest = {}));
|
|
401
|
-
var RecognizeTextRequest;
|
|
402
|
-
(function (RecognizeTextRequest) {
|
|
403
|
-
RecognizeTextRequest.filterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
|
|
406
|
-
});
|
|
407
|
-
})(RecognizeTextRequest = exports.RecognizeTextRequest || (exports.RecognizeTextRequest = {}));
|
|
408
177
|
var StartConversationRequestEventStream;
|
|
409
178
|
(function (StartConversationRequestEventStream) {
|
|
410
179
|
StartConversationRequestEventStream.visit = (value, visitor) => {
|
|
@@ -422,50 +191,7 @@ var StartConversationRequestEventStream;
|
|
|
422
191
|
return visitor.DisconnectionEvent(value.DisconnectionEvent);
|
|
423
192
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
424
193
|
};
|
|
425
|
-
StartConversationRequestEventStream.filterSensitiveLog = (obj) => {
|
|
426
|
-
if (obj.ConfigurationEvent !== undefined)
|
|
427
|
-
return { ConfigurationEvent: ConfigurationEvent.filterSensitiveLog(obj.ConfigurationEvent) };
|
|
428
|
-
if (obj.AudioInputEvent !== undefined)
|
|
429
|
-
return { AudioInputEvent: AudioInputEvent.filterSensitiveLog(obj.AudioInputEvent) };
|
|
430
|
-
if (obj.DTMFInputEvent !== undefined)
|
|
431
|
-
return { DTMFInputEvent: DTMFInputEvent.filterSensitiveLog(obj.DTMFInputEvent) };
|
|
432
|
-
if (obj.TextInputEvent !== undefined)
|
|
433
|
-
return { TextInputEvent: TextInputEvent.filterSensitiveLog(obj.TextInputEvent) };
|
|
434
|
-
if (obj.PlaybackCompletionEvent !== undefined)
|
|
435
|
-
return { PlaybackCompletionEvent: PlaybackCompletionEvent.filterSensitiveLog(obj.PlaybackCompletionEvent) };
|
|
436
|
-
if (obj.DisconnectionEvent !== undefined)
|
|
437
|
-
return { DisconnectionEvent: DisconnectionEvent.filterSensitiveLog(obj.DisconnectionEvent) };
|
|
438
|
-
if (obj.$unknown !== undefined)
|
|
439
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
440
|
-
};
|
|
441
194
|
})(StartConversationRequestEventStream = exports.StartConversationRequestEventStream || (exports.StartConversationRequestEventStream = {}));
|
|
442
|
-
var StartConversationRequest;
|
|
443
|
-
(function (StartConversationRequest) {
|
|
444
|
-
StartConversationRequest.filterSensitiveLog = (obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
...(obj.requestEventStream && { requestEventStream: "STREAMING_CONTENT" }),
|
|
447
|
-
});
|
|
448
|
-
})(StartConversationRequest = exports.StartConversationRequest || (exports.StartConversationRequest = {}));
|
|
449
|
-
var GetSessionResponse;
|
|
450
|
-
(function (GetSessionResponse) {
|
|
451
|
-
GetSessionResponse.filterSensitiveLog = (obj) => ({
|
|
452
|
-
...obj,
|
|
453
|
-
...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
|
|
454
|
-
});
|
|
455
|
-
})(GetSessionResponse = exports.GetSessionResponse || (exports.GetSessionResponse = {}));
|
|
456
|
-
var IntentResultEvent;
|
|
457
|
-
(function (IntentResultEvent) {
|
|
458
|
-
IntentResultEvent.filterSensitiveLog = (obj) => ({
|
|
459
|
-
...obj,
|
|
460
|
-
});
|
|
461
|
-
})(IntentResultEvent = exports.IntentResultEvent || (exports.IntentResultEvent = {}));
|
|
462
|
-
var RecognizeTextResponse;
|
|
463
|
-
(function (RecognizeTextResponse) {
|
|
464
|
-
RecognizeTextResponse.filterSensitiveLog = (obj) => ({
|
|
465
|
-
...obj,
|
|
466
|
-
...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
|
|
467
|
-
});
|
|
468
|
-
})(RecognizeTextResponse = exports.RecognizeTextResponse || (exports.RecognizeTextResponse = {}));
|
|
469
195
|
var StartConversationResponseEventStream;
|
|
470
196
|
(function (StartConversationResponseEventStream) {
|
|
471
197
|
StartConversationResponseEventStream.visit = (value, visitor) => {
|
|
@@ -499,43 +225,235 @@ var StartConversationResponseEventStream;
|
|
|
499
225
|
return visitor.BadGatewayException(value.BadGatewayException);
|
|
500
226
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
501
227
|
};
|
|
502
|
-
StartConversationResponseEventStream.filterSensitiveLog = (obj) => {
|
|
503
|
-
if (obj.PlaybackInterruptionEvent !== undefined)
|
|
504
|
-
return { PlaybackInterruptionEvent: PlaybackInterruptionEvent.filterSensitiveLog(obj.PlaybackInterruptionEvent) };
|
|
505
|
-
if (obj.TranscriptEvent !== undefined)
|
|
506
|
-
return { TranscriptEvent: TranscriptEvent.filterSensitiveLog(obj.TranscriptEvent) };
|
|
507
|
-
if (obj.IntentResultEvent !== undefined)
|
|
508
|
-
return { IntentResultEvent: IntentResultEvent.filterSensitiveLog(obj.IntentResultEvent) };
|
|
509
|
-
if (obj.TextResponseEvent !== undefined)
|
|
510
|
-
return { TextResponseEvent: TextResponseEvent.filterSensitiveLog(obj.TextResponseEvent) };
|
|
511
|
-
if (obj.AudioResponseEvent !== undefined)
|
|
512
|
-
return { AudioResponseEvent: AudioResponseEvent.filterSensitiveLog(obj.AudioResponseEvent) };
|
|
513
|
-
if (obj.HeartbeatEvent !== undefined)
|
|
514
|
-
return { HeartbeatEvent: HeartbeatEvent.filterSensitiveLog(obj.HeartbeatEvent) };
|
|
515
|
-
if (obj.AccessDeniedException !== undefined)
|
|
516
|
-
return { AccessDeniedException: obj.AccessDeniedException };
|
|
517
|
-
if (obj.ResourceNotFoundException !== undefined)
|
|
518
|
-
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
519
|
-
if (obj.ValidationException !== undefined)
|
|
520
|
-
return { ValidationException: obj.ValidationException };
|
|
521
|
-
if (obj.ThrottlingException !== undefined)
|
|
522
|
-
return { ThrottlingException: obj.ThrottlingException };
|
|
523
|
-
if (obj.InternalServerException !== undefined)
|
|
524
|
-
return { InternalServerException: obj.InternalServerException };
|
|
525
|
-
if (obj.ConflictException !== undefined)
|
|
526
|
-
return { ConflictException: obj.ConflictException };
|
|
527
|
-
if (obj.DependencyFailedException !== undefined)
|
|
528
|
-
return { DependencyFailedException: obj.DependencyFailedException };
|
|
529
|
-
if (obj.BadGatewayException !== undefined)
|
|
530
|
-
return { BadGatewayException: obj.BadGatewayException };
|
|
531
|
-
if (obj.$unknown !== undefined)
|
|
532
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
533
|
-
};
|
|
534
228
|
})(StartConversationResponseEventStream = exports.StartConversationResponseEventStream || (exports.StartConversationResponseEventStream = {}));
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
229
|
+
const ActiveContextTimeToLiveFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
});
|
|
232
|
+
exports.ActiveContextTimeToLiveFilterSensitiveLog = ActiveContextTimeToLiveFilterSensitiveLog;
|
|
233
|
+
const ActiveContextFilterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
...(obj.contextAttributes && { contextAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
236
|
+
});
|
|
237
|
+
exports.ActiveContextFilterSensitiveLog = ActiveContextFilterSensitiveLog;
|
|
238
|
+
const AudioInputEventFilterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
});
|
|
241
|
+
exports.AudioInputEventFilterSensitiveLog = AudioInputEventFilterSensitiveLog;
|
|
242
|
+
const AudioResponseEventFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
});
|
|
245
|
+
exports.AudioResponseEventFilterSensitiveLog = AudioResponseEventFilterSensitiveLog;
|
|
246
|
+
const DeleteSessionRequestFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
});
|
|
249
|
+
exports.DeleteSessionRequestFilterSensitiveLog = DeleteSessionRequestFilterSensitiveLog;
|
|
250
|
+
const DeleteSessionResponseFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
});
|
|
253
|
+
exports.DeleteSessionResponseFilterSensitiveLog = DeleteSessionResponseFilterSensitiveLog;
|
|
254
|
+
const GetSessionRequestFilterSensitiveLog = (obj) => ({
|
|
255
|
+
...obj,
|
|
256
|
+
});
|
|
257
|
+
exports.GetSessionRequestFilterSensitiveLog = GetSessionRequestFilterSensitiveLog;
|
|
258
|
+
const ValueFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
});
|
|
261
|
+
exports.ValueFilterSensitiveLog = ValueFilterSensitiveLog;
|
|
262
|
+
const ConfidenceScoreFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
});
|
|
265
|
+
exports.ConfidenceScoreFilterSensitiveLog = ConfidenceScoreFilterSensitiveLog;
|
|
266
|
+
const SentimentScoreFilterSensitiveLog = (obj) => ({
|
|
267
|
+
...obj,
|
|
268
|
+
});
|
|
269
|
+
exports.SentimentScoreFilterSensitiveLog = SentimentScoreFilterSensitiveLog;
|
|
270
|
+
const SentimentResponseFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
});
|
|
273
|
+
exports.SentimentResponseFilterSensitiveLog = SentimentResponseFilterSensitiveLog;
|
|
274
|
+
const ButtonFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
});
|
|
277
|
+
exports.ButtonFilterSensitiveLog = ButtonFilterSensitiveLog;
|
|
278
|
+
const ImageResponseCardFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
});
|
|
281
|
+
exports.ImageResponseCardFilterSensitiveLog = ImageResponseCardFilterSensitiveLog;
|
|
282
|
+
const MessageFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
...(obj.content && { content: smithy_client_1.SENSITIVE_STRING }),
|
|
285
|
+
});
|
|
286
|
+
exports.MessageFilterSensitiveLog = MessageFilterSensitiveLog;
|
|
287
|
+
const DialogActionFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
exports.DialogActionFilterSensitiveLog = DialogActionFilterSensitiveLog;
|
|
291
|
+
const RuntimeHintValueFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
exports.RuntimeHintValueFilterSensitiveLog = RuntimeHintValueFilterSensitiveLog;
|
|
295
|
+
const RuntimeHintDetailsFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
exports.RuntimeHintDetailsFilterSensitiveLog = RuntimeHintDetailsFilterSensitiveLog;
|
|
299
|
+
const RuntimeHintsFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
exports.RuntimeHintsFilterSensitiveLog = RuntimeHintsFilterSensitiveLog;
|
|
303
|
+
const PutSessionResponseFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
});
|
|
306
|
+
exports.PutSessionResponseFilterSensitiveLog = PutSessionResponseFilterSensitiveLog;
|
|
307
|
+
const RecognizeUtteranceRequestFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
...(obj.sessionState && { sessionState: smithy_client_1.SENSITIVE_STRING }),
|
|
310
|
+
...(obj.requestAttributes && { requestAttributes: smithy_client_1.SENSITIVE_STRING }),
|
|
311
|
+
});
|
|
312
|
+
exports.RecognizeUtteranceRequestFilterSensitiveLog = RecognizeUtteranceRequestFilterSensitiveLog;
|
|
313
|
+
const RecognizeUtteranceResponseFilterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
});
|
|
316
|
+
exports.RecognizeUtteranceResponseFilterSensitiveLog = RecognizeUtteranceResponseFilterSensitiveLog;
|
|
317
|
+
const DisconnectionEventFilterSensitiveLog = (obj) => ({
|
|
318
|
+
...obj,
|
|
319
|
+
});
|
|
320
|
+
exports.DisconnectionEventFilterSensitiveLog = DisconnectionEventFilterSensitiveLog;
|
|
321
|
+
const DTMFInputEventFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
...(obj.inputCharacter && { inputCharacter: smithy_client_1.SENSITIVE_STRING }),
|
|
324
|
+
});
|
|
325
|
+
exports.DTMFInputEventFilterSensitiveLog = DTMFInputEventFilterSensitiveLog;
|
|
326
|
+
const PlaybackCompletionEventFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
});
|
|
329
|
+
exports.PlaybackCompletionEventFilterSensitiveLog = PlaybackCompletionEventFilterSensitiveLog;
|
|
330
|
+
const TextInputEventFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
|
|
333
|
+
});
|
|
334
|
+
exports.TextInputEventFilterSensitiveLog = TextInputEventFilterSensitiveLog;
|
|
335
|
+
const HeartbeatEventFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
});
|
|
338
|
+
exports.HeartbeatEventFilterSensitiveLog = HeartbeatEventFilterSensitiveLog;
|
|
339
|
+
const PlaybackInterruptionEventFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
});
|
|
342
|
+
exports.PlaybackInterruptionEventFilterSensitiveLog = PlaybackInterruptionEventFilterSensitiveLog;
|
|
343
|
+
const TextResponseEventFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
...(obj.messages && { messages: obj.messages.map((item) => (0, exports.MessageFilterSensitiveLog)(item)) }),
|
|
346
|
+
});
|
|
347
|
+
exports.TextResponseEventFilterSensitiveLog = TextResponseEventFilterSensitiveLog;
|
|
348
|
+
const TranscriptEventFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
});
|
|
351
|
+
exports.TranscriptEventFilterSensitiveLog = TranscriptEventFilterSensitiveLog;
|
|
352
|
+
const SlotFilterSensitiveLog = (obj) => ({
|
|
353
|
+
...obj,
|
|
354
|
+
});
|
|
355
|
+
exports.SlotFilterSensitiveLog = SlotFilterSensitiveLog;
|
|
356
|
+
const IntentFilterSensitiveLog = (obj) => ({
|
|
357
|
+
...obj,
|
|
358
|
+
});
|
|
359
|
+
exports.IntentFilterSensitiveLog = IntentFilterSensitiveLog;
|
|
360
|
+
const InterpretationFilterSensitiveLog = (obj) => ({
|
|
361
|
+
...obj,
|
|
362
|
+
});
|
|
363
|
+
exports.InterpretationFilterSensitiveLog = InterpretationFilterSensitiveLog;
|
|
364
|
+
const SessionStateFilterSensitiveLog = (obj) => ({
|
|
365
|
+
...obj,
|
|
366
|
+
...(obj.activeContexts && {
|
|
367
|
+
activeContexts: obj.activeContexts.map((item) => (0, exports.ActiveContextFilterSensitiveLog)(item)),
|
|
368
|
+
}),
|
|
369
|
+
});
|
|
370
|
+
exports.SessionStateFilterSensitiveLog = SessionStateFilterSensitiveLog;
|
|
371
|
+
const ConfigurationEventFilterSensitiveLog = (obj) => ({
|
|
372
|
+
...obj,
|
|
373
|
+
...(obj.welcomeMessages && { welcomeMessages: obj.welcomeMessages.map((item) => (0, exports.MessageFilterSensitiveLog)(item)) }),
|
|
374
|
+
});
|
|
375
|
+
exports.ConfigurationEventFilterSensitiveLog = ConfigurationEventFilterSensitiveLog;
|
|
376
|
+
const PutSessionRequestFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
...(obj.messages && { messages: obj.messages.map((item) => (0, exports.MessageFilterSensitiveLog)(item)) }),
|
|
379
|
+
});
|
|
380
|
+
exports.PutSessionRequestFilterSensitiveLog = PutSessionRequestFilterSensitiveLog;
|
|
381
|
+
const RecognizeTextRequestFilterSensitiveLog = (obj) => ({
|
|
382
|
+
...obj,
|
|
383
|
+
...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
|
|
384
|
+
});
|
|
385
|
+
exports.RecognizeTextRequestFilterSensitiveLog = RecognizeTextRequestFilterSensitiveLog;
|
|
386
|
+
const StartConversationRequestEventStreamFilterSensitiveLog = (obj) => {
|
|
387
|
+
if (obj.ConfigurationEvent !== undefined)
|
|
388
|
+
return { ConfigurationEvent: (0, exports.ConfigurationEventFilterSensitiveLog)(obj.ConfigurationEvent) };
|
|
389
|
+
if (obj.AudioInputEvent !== undefined)
|
|
390
|
+
return { AudioInputEvent: (0, exports.AudioInputEventFilterSensitiveLog)(obj.AudioInputEvent) };
|
|
391
|
+
if (obj.DTMFInputEvent !== undefined)
|
|
392
|
+
return { DTMFInputEvent: (0, exports.DTMFInputEventFilterSensitiveLog)(obj.DTMFInputEvent) };
|
|
393
|
+
if (obj.TextInputEvent !== undefined)
|
|
394
|
+
return { TextInputEvent: (0, exports.TextInputEventFilterSensitiveLog)(obj.TextInputEvent) };
|
|
395
|
+
if (obj.PlaybackCompletionEvent !== undefined)
|
|
396
|
+
return { PlaybackCompletionEvent: (0, exports.PlaybackCompletionEventFilterSensitiveLog)(obj.PlaybackCompletionEvent) };
|
|
397
|
+
if (obj.DisconnectionEvent !== undefined)
|
|
398
|
+
return { DisconnectionEvent: (0, exports.DisconnectionEventFilterSensitiveLog)(obj.DisconnectionEvent) };
|
|
399
|
+
if (obj.$unknown !== undefined)
|
|
400
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
401
|
+
};
|
|
402
|
+
exports.StartConversationRequestEventStreamFilterSensitiveLog = StartConversationRequestEventStreamFilterSensitiveLog;
|
|
403
|
+
const StartConversationRequestFilterSensitiveLog = (obj) => ({
|
|
404
|
+
...obj,
|
|
405
|
+
...(obj.requestEventStream && { requestEventStream: "STREAMING_CONTENT" }),
|
|
406
|
+
});
|
|
407
|
+
exports.StartConversationRequestFilterSensitiveLog = StartConversationRequestFilterSensitiveLog;
|
|
408
|
+
const GetSessionResponseFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
...(obj.messages && { messages: obj.messages.map((item) => (0, exports.MessageFilterSensitiveLog)(item)) }),
|
|
411
|
+
});
|
|
412
|
+
exports.GetSessionResponseFilterSensitiveLog = GetSessionResponseFilterSensitiveLog;
|
|
413
|
+
const IntentResultEventFilterSensitiveLog = (obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
});
|
|
416
|
+
exports.IntentResultEventFilterSensitiveLog = IntentResultEventFilterSensitiveLog;
|
|
417
|
+
const RecognizeTextResponseFilterSensitiveLog = (obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
...(obj.messages && { messages: obj.messages.map((item) => (0, exports.MessageFilterSensitiveLog)(item)) }),
|
|
420
|
+
});
|
|
421
|
+
exports.RecognizeTextResponseFilterSensitiveLog = RecognizeTextResponseFilterSensitiveLog;
|
|
422
|
+
const StartConversationResponseEventStreamFilterSensitiveLog = (obj) => {
|
|
423
|
+
if (obj.PlaybackInterruptionEvent !== undefined)
|
|
424
|
+
return { PlaybackInterruptionEvent: (0, exports.PlaybackInterruptionEventFilterSensitiveLog)(obj.PlaybackInterruptionEvent) };
|
|
425
|
+
if (obj.TranscriptEvent !== undefined)
|
|
426
|
+
return { TranscriptEvent: (0, exports.TranscriptEventFilterSensitiveLog)(obj.TranscriptEvent) };
|
|
427
|
+
if (obj.IntentResultEvent !== undefined)
|
|
428
|
+
return { IntentResultEvent: (0, exports.IntentResultEventFilterSensitiveLog)(obj.IntentResultEvent) };
|
|
429
|
+
if (obj.TextResponseEvent !== undefined)
|
|
430
|
+
return { TextResponseEvent: (0, exports.TextResponseEventFilterSensitiveLog)(obj.TextResponseEvent) };
|
|
431
|
+
if (obj.AudioResponseEvent !== undefined)
|
|
432
|
+
return { AudioResponseEvent: (0, exports.AudioResponseEventFilterSensitiveLog)(obj.AudioResponseEvent) };
|
|
433
|
+
if (obj.HeartbeatEvent !== undefined)
|
|
434
|
+
return { HeartbeatEvent: (0, exports.HeartbeatEventFilterSensitiveLog)(obj.HeartbeatEvent) };
|
|
435
|
+
if (obj.AccessDeniedException !== undefined)
|
|
436
|
+
return { AccessDeniedException: obj.AccessDeniedException };
|
|
437
|
+
if (obj.ResourceNotFoundException !== undefined)
|
|
438
|
+
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
439
|
+
if (obj.ValidationException !== undefined)
|
|
440
|
+
return { ValidationException: obj.ValidationException };
|
|
441
|
+
if (obj.ThrottlingException !== undefined)
|
|
442
|
+
return { ThrottlingException: obj.ThrottlingException };
|
|
443
|
+
if (obj.InternalServerException !== undefined)
|
|
444
|
+
return { InternalServerException: obj.InternalServerException };
|
|
445
|
+
if (obj.ConflictException !== undefined)
|
|
446
|
+
return { ConflictException: obj.ConflictException };
|
|
447
|
+
if (obj.DependencyFailedException !== undefined)
|
|
448
|
+
return { DependencyFailedException: obj.DependencyFailedException };
|
|
449
|
+
if (obj.BadGatewayException !== undefined)
|
|
450
|
+
return { BadGatewayException: obj.BadGatewayException };
|
|
451
|
+
if (obj.$unknown !== undefined)
|
|
452
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
453
|
+
};
|
|
454
|
+
exports.StartConversationResponseEventStreamFilterSensitiveLog = StartConversationResponseEventStreamFilterSensitiveLog;
|
|
455
|
+
const StartConversationResponseFilterSensitiveLog = (obj) => ({
|
|
456
|
+
...obj,
|
|
457
|
+
...(obj.responseEventStream && { responseEventStream: "STREAMING_CONTENT" }),
|
|
458
|
+
});
|
|
459
|
+
exports.StartConversationResponseFilterSensitiveLog = StartConversationResponseFilterSensitiveLog;
|