@aws-sdk/client-lex-runtime-v2 3.34.0 → 3.37.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.
Files changed (138) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/LexRuntimeV2.js +1 -5
  3. package/{dist/cjs → dist-cjs}/LexRuntimeV2Client.js +10 -19
  4. package/dist-cjs/commands/DeleteSessionCommand.js +36 -0
  5. package/{dist/cjs → dist-cjs}/commands/GetSessionCommand.js +2 -35
  6. package/{dist/cjs → dist-cjs}/commands/PutSessionCommand.js +2 -29
  7. package/{dist/cjs → dist-cjs}/commands/RecognizeTextCommand.js +2 -31
  8. package/dist-cjs/commands/RecognizeUtteranceCommand.js +36 -0
  9. package/dist-cjs/commands/StartConversationCommand.js +38 -0
  10. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  11. package/{dist/cjs → dist-cjs}/index.js +0 -1
  12. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  13. package/{dist/cjs → dist-cjs}/models/models_0.js +2 -145
  14. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  18. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  19. package/{dist/es → dist-es}/LexRuntimeV2.js +1 -2
  20. package/{dist/es → dist-es}/LexRuntimeV2Client.js +1 -2
  21. package/{dist/es → dist-es}/commands/DeleteSessionCommand.js +2 -3
  22. package/{dist/es → dist-es}/commands/GetSessionCommand.js +2 -3
  23. package/{dist/es → dist-es}/commands/PutSessionCommand.js +2 -3
  24. package/{dist/es → dist-es}/commands/RecognizeTextCommand.js +2 -3
  25. package/{dist/es → dist-es}/commands/RecognizeUtteranceCommand.js +2 -3
  26. package/{dist/es → dist-es}/commands/StartConversationCommand.js +2 -3
  27. package/{dist/es → dist-es}/endpoints.js +1 -2
  28. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  29. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  30. package/{dist/es → dist-es}/models/models_0.js +2 -1
  31. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1 -2
  32. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  33. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  34. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  35. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  36. package/{dist/types/ts3.4 → dist-types}/LexRuntimeV2.d.ts +223 -139
  37. package/{dist/types → dist-types}/LexRuntimeV2Client.d.ts +7 -7
  38. package/{dist/types → dist-types}/commands/DeleteSessionCommand.d.ts +2 -2
  39. package/{dist/types → dist-types}/commands/GetSessionCommand.d.ts +2 -2
  40. package/{dist/types → dist-types}/commands/PutSessionCommand.d.ts +2 -2
  41. package/{dist/types → dist-types}/commands/RecognizeTextCommand.d.ts +28 -2
  42. package/{dist/types → dist-types}/commands/RecognizeUtteranceCommand.d.ts +28 -2
  43. package/{dist/types → dist-types}/commands/StartConversationCommand.d.ts +34 -2
  44. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  45. package/{index.ts → dist-types/index.d.ts} +0 -0
  46. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  47. package/{dist/types → dist-types}/models/models_0.d.ts +15 -9
  48. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  49. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  50. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  51. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  52. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  53. package/dist-types/ts3.4/LexRuntimeV2.d.ts +35 -0
  54. package/{dist/types → dist-types}/ts3.4/LexRuntimeV2Client.d.ts +33 -103
  55. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/PutSessionCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/RecognizeTextCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +24 -0
  60. package/dist-types/ts3.4/commands/StartConversationCommand.d.ts +17 -0
  61. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  62. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  63. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +348 -0
  65. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  66. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  67. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  68. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  69. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  70. package/package.json +50 -47
  71. package/LexRuntimeV2.ts +0 -299
  72. package/LexRuntimeV2Client.ts +0 -282
  73. package/commands/DeleteSessionCommand.ts +0 -107
  74. package/commands/GetSessionCommand.ts +0 -102
  75. package/commands/PutSessionCommand.ts +0 -96
  76. package/commands/RecognizeTextCommand.ts +0 -98
  77. package/commands/RecognizeUtteranceCommand.ts +0 -139
  78. package/commands/StartConversationCommand.ts +0 -130
  79. package/dist/cjs/LexRuntimeV2.js.map +0 -1
  80. package/dist/cjs/LexRuntimeV2Client.js.map +0 -1
  81. package/dist/cjs/commands/DeleteSessionCommand.js +0 -74
  82. package/dist/cjs/commands/DeleteSessionCommand.js.map +0 -1
  83. package/dist/cjs/commands/GetSessionCommand.js.map +0 -1
  84. package/dist/cjs/commands/PutSessionCommand.js.map +0 -1
  85. package/dist/cjs/commands/RecognizeTextCommand.js.map +0 -1
  86. package/dist/cjs/commands/RecognizeUtteranceCommand.js +0 -97
  87. package/dist/cjs/commands/RecognizeUtteranceCommand.js.map +0 -1
  88. package/dist/cjs/commands/StartConversationCommand.js +0 -90
  89. package/dist/cjs/commands/StartConversationCommand.js.map +0 -1
  90. package/dist/cjs/endpoints.js.map +0 -1
  91. package/dist/cjs/index.js.map +0 -1
  92. package/dist/cjs/models/index.js.map +0 -1
  93. package/dist/cjs/models/models_0.js.map +0 -1
  94. package/dist/cjs/package.json +0 -96
  95. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  96. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  97. package/dist/cjs/runtimeConfig.js.map +0 -1
  98. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  99. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  100. package/dist/es/LexRuntimeV2.js.map +0 -1
  101. package/dist/es/LexRuntimeV2Client.js.map +0 -1
  102. package/dist/es/commands/DeleteSessionCommand.js.map +0 -1
  103. package/dist/es/commands/GetSessionCommand.js.map +0 -1
  104. package/dist/es/commands/PutSessionCommand.js.map +0 -1
  105. package/dist/es/commands/RecognizeTextCommand.js.map +0 -1
  106. package/dist/es/commands/RecognizeUtteranceCommand.js.map +0 -1
  107. package/dist/es/commands/StartConversationCommand.js.map +0 -1
  108. package/dist/es/endpoints.js.map +0 -1
  109. package/dist/es/index.js +0 -10
  110. package/dist/es/index.js.map +0 -1
  111. package/dist/es/models/index.js +0 -2
  112. package/dist/es/models/index.js.map +0 -1
  113. package/dist/es/models/models_0.js.map +0 -1
  114. package/dist/es/package.json +0 -96
  115. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  116. package/dist/es/runtimeConfig.browser.js.map +0 -1
  117. package/dist/es/runtimeConfig.js.map +0 -1
  118. package/dist/es/runtimeConfig.native.js.map +0 -1
  119. package/dist/es/runtimeConfig.shared.js.map +0 -1
  120. package/dist/types/LexRuntimeV2.d.ts +0 -139
  121. package/dist/types/ts3.4/commands/DeleteSessionCommand.d.ts +0 -48
  122. package/dist/types/ts3.4/commands/GetSessionCommand.d.ts +0 -43
  123. package/dist/types/ts3.4/commands/PutSessionCommand.d.ts +0 -37
  124. package/dist/types/ts3.4/commands/RecognizeTextCommand.d.ts +0 -39
  125. package/dist/types/ts3.4/commands/RecognizeUtteranceCommand.d.ts +0 -82
  126. package/dist/types/ts3.4/commands/StartConversationCommand.d.ts +0 -62
  127. package/dist/types/ts3.4/models/models_0.d.ts +0 -2035
  128. package/endpoints.ts +0 -57
  129. package/jest.config.js +0 -4
  130. package/models/models_0.ts +0 -2458
  131. package/protocols/Aws_restJson1.ts +0 -2458
  132. package/runtimeConfig.browser.ts +0 -45
  133. package/runtimeConfig.native.ts +0 -20
  134. package/runtimeConfig.shared.ts +0 -16
  135. package/runtimeConfig.ts +0 -49
  136. package/tsconfig.es.json +0 -10
  137. package/tsconfig.json +0 -31
  138. package/tsconfig.types.json +0 -8
@@ -5,27 +5,18 @@ exports.StartConversationResponse = exports.StartConversationResponseEventStream
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  var AccessDeniedException;
7
7
  (function (AccessDeniedException) {
8
- /**
9
- * @internal
10
- */
11
8
  AccessDeniedException.filterSensitiveLog = (obj) => ({
12
9
  ...obj,
13
10
  });
14
11
  })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
15
12
  var ActiveContextTimeToLive;
16
13
  (function (ActiveContextTimeToLive) {
17
- /**
18
- * @internal
19
- */
20
14
  ActiveContextTimeToLive.filterSensitiveLog = (obj) => ({
21
15
  ...obj,
22
16
  });
23
17
  })(ActiveContextTimeToLive = exports.ActiveContextTimeToLive || (exports.ActiveContextTimeToLive = {}));
24
18
  var ActiveContext;
25
19
  (function (ActiveContext) {
26
- /**
27
- * @internal
28
- */
29
20
  ActiveContext.filterSensitiveLog = (obj) => ({
30
21
  ...obj,
31
22
  ...(obj.contextAttributes && { contextAttributes: smithy_client_1.SENSITIVE_STRING }),
@@ -33,90 +24,60 @@ var ActiveContext;
33
24
  })(ActiveContext = exports.ActiveContext || (exports.ActiveContext = {}));
34
25
  var AudioInputEvent;
35
26
  (function (AudioInputEvent) {
36
- /**
37
- * @internal
38
- */
39
27
  AudioInputEvent.filterSensitiveLog = (obj) => ({
40
28
  ...obj,
41
29
  });
42
30
  })(AudioInputEvent = exports.AudioInputEvent || (exports.AudioInputEvent = {}));
43
31
  var AudioResponseEvent;
44
32
  (function (AudioResponseEvent) {
45
- /**
46
- * @internal
47
- */
48
33
  AudioResponseEvent.filterSensitiveLog = (obj) => ({
49
34
  ...obj,
50
35
  });
51
36
  })(AudioResponseEvent = exports.AudioResponseEvent || (exports.AudioResponseEvent = {}));
52
37
  var ConflictException;
53
38
  (function (ConflictException) {
54
- /**
55
- * @internal
56
- */
57
39
  ConflictException.filterSensitiveLog = (obj) => ({
58
40
  ...obj,
59
41
  });
60
42
  })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
61
43
  var DeleteSessionRequest;
62
44
  (function (DeleteSessionRequest) {
63
- /**
64
- * @internal
65
- */
66
45
  DeleteSessionRequest.filterSensitiveLog = (obj) => ({
67
46
  ...obj,
68
47
  });
69
48
  })(DeleteSessionRequest = exports.DeleteSessionRequest || (exports.DeleteSessionRequest = {}));
70
49
  var DeleteSessionResponse;
71
50
  (function (DeleteSessionResponse) {
72
- /**
73
- * @internal
74
- */
75
51
  DeleteSessionResponse.filterSensitiveLog = (obj) => ({
76
52
  ...obj,
77
53
  });
78
54
  })(DeleteSessionResponse = exports.DeleteSessionResponse || (exports.DeleteSessionResponse = {}));
79
55
  var InternalServerException;
80
56
  (function (InternalServerException) {
81
- /**
82
- * @internal
83
- */
84
57
  InternalServerException.filterSensitiveLog = (obj) => ({
85
58
  ...obj,
86
59
  });
87
60
  })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
88
61
  var ResourceNotFoundException;
89
62
  (function (ResourceNotFoundException) {
90
- /**
91
- * @internal
92
- */
93
63
  ResourceNotFoundException.filterSensitiveLog = (obj) => ({
94
64
  ...obj,
95
65
  });
96
66
  })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
97
67
  var ThrottlingException;
98
68
  (function (ThrottlingException) {
99
- /**
100
- * @internal
101
- */
102
69
  ThrottlingException.filterSensitiveLog = (obj) => ({
103
70
  ...obj,
104
71
  });
105
72
  })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
106
73
  var ValidationException;
107
74
  (function (ValidationException) {
108
- /**
109
- * @internal
110
- */
111
75
  ValidationException.filterSensitiveLog = (obj) => ({
112
76
  ...obj,
113
77
  });
114
78
  })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
115
79
  var GetSessionRequest;
116
80
  (function (GetSessionRequest) {
117
- /**
118
- * @internal
119
- */
120
81
  GetSessionRequest.filterSensitiveLog = (obj) => ({
121
82
  ...obj,
122
83
  });
@@ -134,9 +95,6 @@ var Shape;
134
95
  })(Shape = exports.Shape || (exports.Shape = {}));
135
96
  var Value;
136
97
  (function (Value) {
137
- /**
138
- * @internal
139
- */
140
98
  Value.filterSensitiveLog = (obj) => ({
141
99
  ...obj,
142
100
  });
@@ -145,15 +103,13 @@ var IntentState;
145
103
  (function (IntentState) {
146
104
  IntentState["FAILED"] = "Failed";
147
105
  IntentState["FULFILLED"] = "Fulfilled";
106
+ IntentState["FULFILLMENT_IN_PROGRESS"] = "FulfillmentInProgress";
148
107
  IntentState["IN_PROGRESS"] = "InProgress";
149
108
  IntentState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
150
109
  IntentState["WAITING"] = "Waiting";
151
110
  })(IntentState = exports.IntentState || (exports.IntentState = {}));
152
111
  var ConfidenceScore;
153
112
  (function (ConfidenceScore) {
154
- /**
155
- * @internal
156
- */
157
113
  ConfidenceScore.filterSensitiveLog = (obj) => ({
158
114
  ...obj,
159
115
  });
@@ -167,18 +123,12 @@ var SentimentType;
167
123
  })(SentimentType = exports.SentimentType || (exports.SentimentType = {}));
168
124
  var SentimentScore;
169
125
  (function (SentimentScore) {
170
- /**
171
- * @internal
172
- */
173
126
  SentimentScore.filterSensitiveLog = (obj) => ({
174
127
  ...obj,
175
128
  });
176
129
  })(SentimentScore = exports.SentimentScore || (exports.SentimentScore = {}));
177
130
  var SentimentResponse;
178
131
  (function (SentimentResponse) {
179
- /**
180
- * @internal
181
- */
182
132
  SentimentResponse.filterSensitiveLog = (obj) => ({
183
133
  ...obj,
184
134
  });
@@ -192,27 +142,18 @@ var MessageContentType;
192
142
  })(MessageContentType = exports.MessageContentType || (exports.MessageContentType = {}));
193
143
  var Button;
194
144
  (function (Button) {
195
- /**
196
- * @internal
197
- */
198
145
  Button.filterSensitiveLog = (obj) => ({
199
146
  ...obj,
200
147
  });
201
148
  })(Button = exports.Button || (exports.Button = {}));
202
149
  var ImageResponseCard;
203
150
  (function (ImageResponseCard) {
204
- /**
205
- * @internal
206
- */
207
151
  ImageResponseCard.filterSensitiveLog = (obj) => ({
208
152
  ...obj,
209
153
  });
210
154
  })(ImageResponseCard = exports.ImageResponseCard || (exports.ImageResponseCard = {}));
211
155
  var Message;
212
156
  (function (Message) {
213
- /**
214
- * @internal
215
- */
216
157
  Message.filterSensitiveLog = (obj) => ({
217
158
  ...obj,
218
159
  ...(obj.content && { content: smithy_client_1.SENSITIVE_STRING }),
@@ -225,48 +166,34 @@ var DialogActionType;
225
166
  DialogActionType["DELEGATE"] = "Delegate";
226
167
  DialogActionType["ELICIT_INTENT"] = "ElicitIntent";
227
168
  DialogActionType["ELICIT_SLOT"] = "ElicitSlot";
169
+ DialogActionType["NONE"] = "None";
228
170
  })(DialogActionType = exports.DialogActionType || (exports.DialogActionType = {}));
229
171
  var DialogAction;
230
172
  (function (DialogAction) {
231
- /**
232
- * @internal
233
- */
234
173
  DialogAction.filterSensitiveLog = (obj) => ({
235
174
  ...obj,
236
175
  });
237
176
  })(DialogAction = exports.DialogAction || (exports.DialogAction = {}));
238
177
  var BadGatewayException;
239
178
  (function (BadGatewayException) {
240
- /**
241
- * @internal
242
- */
243
179
  BadGatewayException.filterSensitiveLog = (obj) => ({
244
180
  ...obj,
245
181
  });
246
182
  })(BadGatewayException = exports.BadGatewayException || (exports.BadGatewayException = {}));
247
183
  var DependencyFailedException;
248
184
  (function (DependencyFailedException) {
249
- /**
250
- * @internal
251
- */
252
185
  DependencyFailedException.filterSensitiveLog = (obj) => ({
253
186
  ...obj,
254
187
  });
255
188
  })(DependencyFailedException = exports.DependencyFailedException || (exports.DependencyFailedException = {}));
256
189
  var PutSessionResponse;
257
190
  (function (PutSessionResponse) {
258
- /**
259
- * @internal
260
- */
261
191
  PutSessionResponse.filterSensitiveLog = (obj) => ({
262
192
  ...obj,
263
193
  });
264
194
  })(PutSessionResponse = exports.PutSessionResponse || (exports.PutSessionResponse = {}));
265
195
  var RecognizeUtteranceRequest;
266
196
  (function (RecognizeUtteranceRequest) {
267
- /**
268
- * @internal
269
- */
270
197
  RecognizeUtteranceRequest.filterSensitiveLog = (obj) => ({
271
198
  ...obj,
272
199
  ...(obj.sessionState && { sessionState: smithy_client_1.SENSITIVE_STRING }),
@@ -275,9 +202,6 @@ var RecognizeUtteranceRequest;
275
202
  })(RecognizeUtteranceRequest = exports.RecognizeUtteranceRequest || (exports.RecognizeUtteranceRequest = {}));
276
203
  var RecognizeUtteranceResponse;
277
204
  (function (RecognizeUtteranceResponse) {
278
- /**
279
- * @internal
280
- */
281
205
  RecognizeUtteranceResponse.filterSensitiveLog = (obj) => ({
282
206
  ...obj,
283
207
  });
@@ -289,18 +213,12 @@ var ConversationMode;
289
213
  })(ConversationMode = exports.ConversationMode || (exports.ConversationMode = {}));
290
214
  var DisconnectionEvent;
291
215
  (function (DisconnectionEvent) {
292
- /**
293
- * @internal
294
- */
295
216
  DisconnectionEvent.filterSensitiveLog = (obj) => ({
296
217
  ...obj,
297
218
  });
298
219
  })(DisconnectionEvent = exports.DisconnectionEvent || (exports.DisconnectionEvent = {}));
299
220
  var DTMFInputEvent;
300
221
  (function (DTMFInputEvent) {
301
- /**
302
- * @internal
303
- */
304
222
  DTMFInputEvent.filterSensitiveLog = (obj) => ({
305
223
  ...obj,
306
224
  ...(obj.inputCharacter && { inputCharacter: smithy_client_1.SENSITIVE_STRING }),
@@ -308,18 +226,12 @@ var DTMFInputEvent;
308
226
  })(DTMFInputEvent = exports.DTMFInputEvent || (exports.DTMFInputEvent = {}));
309
227
  var PlaybackCompletionEvent;
310
228
  (function (PlaybackCompletionEvent) {
311
- /**
312
- * @internal
313
- */
314
229
  PlaybackCompletionEvent.filterSensitiveLog = (obj) => ({
315
230
  ...obj,
316
231
  });
317
232
  })(PlaybackCompletionEvent = exports.PlaybackCompletionEvent || (exports.PlaybackCompletionEvent = {}));
318
233
  var TextInputEvent;
319
234
  (function (TextInputEvent) {
320
- /**
321
- * @internal
322
- */
323
235
  TextInputEvent.filterSensitiveLog = (obj) => ({
324
236
  ...obj,
325
237
  ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
@@ -327,9 +239,6 @@ var TextInputEvent;
327
239
  })(TextInputEvent = exports.TextInputEvent || (exports.TextInputEvent = {}));
328
240
  var HeartbeatEvent;
329
241
  (function (HeartbeatEvent) {
330
- /**
331
- * @internal
332
- */
333
242
  HeartbeatEvent.filterSensitiveLog = (obj) => ({
334
243
  ...obj,
335
244
  });
@@ -348,18 +257,12 @@ var PlaybackInterruptionReason;
348
257
  })(PlaybackInterruptionReason = exports.PlaybackInterruptionReason || (exports.PlaybackInterruptionReason = {}));
349
258
  var PlaybackInterruptionEvent;
350
259
  (function (PlaybackInterruptionEvent) {
351
- /**
352
- * @internal
353
- */
354
260
  PlaybackInterruptionEvent.filterSensitiveLog = (obj) => ({
355
261
  ...obj,
356
262
  });
357
263
  })(PlaybackInterruptionEvent = exports.PlaybackInterruptionEvent || (exports.PlaybackInterruptionEvent = {}));
358
264
  var TextResponseEvent;
359
265
  (function (TextResponseEvent) {
360
- /**
361
- * @internal
362
- */
363
266
  TextResponseEvent.filterSensitiveLog = (obj) => ({
364
267
  ...obj,
365
268
  ...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
@@ -367,45 +270,30 @@ var TextResponseEvent;
367
270
  })(TextResponseEvent = exports.TextResponseEvent || (exports.TextResponseEvent = {}));
368
271
  var TranscriptEvent;
369
272
  (function (TranscriptEvent) {
370
- /**
371
- * @internal
372
- */
373
273
  TranscriptEvent.filterSensitiveLog = (obj) => ({
374
274
  ...obj,
375
275
  });
376
276
  })(TranscriptEvent = exports.TranscriptEvent || (exports.TranscriptEvent = {}));
377
277
  var Slot;
378
278
  (function (Slot) {
379
- /**
380
- * @internal
381
- */
382
279
  Slot.filterSensitiveLog = (obj) => ({
383
280
  ...obj,
384
281
  });
385
282
  })(Slot = exports.Slot || (exports.Slot = {}));
386
283
  var Intent;
387
284
  (function (Intent) {
388
- /**
389
- * @internal
390
- */
391
285
  Intent.filterSensitiveLog = (obj) => ({
392
286
  ...obj,
393
287
  });
394
288
  })(Intent = exports.Intent || (exports.Intent = {}));
395
289
  var Interpretation;
396
290
  (function (Interpretation) {
397
- /**
398
- * @internal
399
- */
400
291
  Interpretation.filterSensitiveLog = (obj) => ({
401
292
  ...obj,
402
293
  });
403
294
  })(Interpretation = exports.Interpretation || (exports.Interpretation = {}));
404
295
  var SessionState;
405
296
  (function (SessionState) {
406
- /**
407
- * @internal
408
- */
409
297
  SessionState.filterSensitiveLog = (obj) => ({
410
298
  ...obj,
411
299
  ...(obj.activeContexts && {
@@ -415,9 +303,6 @@ var SessionState;
415
303
  })(SessionState = exports.SessionState || (exports.SessionState = {}));
416
304
  var ConfigurationEvent;
417
305
  (function (ConfigurationEvent) {
418
- /**
419
- * @internal
420
- */
421
306
  ConfigurationEvent.filterSensitiveLog = (obj) => ({
422
307
  ...obj,
423
308
  ...(obj.welcomeMessages && {
@@ -427,9 +312,6 @@ var ConfigurationEvent;
427
312
  })(ConfigurationEvent = exports.ConfigurationEvent || (exports.ConfigurationEvent = {}));
428
313
  var PutSessionRequest;
429
314
  (function (PutSessionRequest) {
430
- /**
431
- * @internal
432
- */
433
315
  PutSessionRequest.filterSensitiveLog = (obj) => ({
434
316
  ...obj,
435
317
  ...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
@@ -437,9 +319,6 @@ var PutSessionRequest;
437
319
  })(PutSessionRequest = exports.PutSessionRequest || (exports.PutSessionRequest = {}));
438
320
  var RecognizeTextRequest;
439
321
  (function (RecognizeTextRequest) {
440
- /**
441
- * @internal
442
- */
443
322
  RecognizeTextRequest.filterSensitiveLog = (obj) => ({
444
323
  ...obj,
445
324
  ...(obj.text && { text: smithy_client_1.SENSITIVE_STRING }),
@@ -462,9 +341,6 @@ var StartConversationRequestEventStream;
462
341
  return visitor.DisconnectionEvent(value.DisconnectionEvent);
463
342
  return visitor._(value.$unknown[0], value.$unknown[1]);
464
343
  };
465
- /**
466
- * @internal
467
- */
468
344
  StartConversationRequestEventStream.filterSensitiveLog = (obj) => {
469
345
  if (obj.ConfigurationEvent !== undefined)
470
346
  return { ConfigurationEvent: ConfigurationEvent.filterSensitiveLog(obj.ConfigurationEvent) };
@@ -484,9 +360,6 @@ var StartConversationRequestEventStream;
484
360
  })(StartConversationRequestEventStream = exports.StartConversationRequestEventStream || (exports.StartConversationRequestEventStream = {}));
485
361
  var StartConversationRequest;
486
362
  (function (StartConversationRequest) {
487
- /**
488
- * @internal
489
- */
490
363
  StartConversationRequest.filterSensitiveLog = (obj) => ({
491
364
  ...obj,
492
365
  ...(obj.requestEventStream && { requestEventStream: "STREAMING_CONTENT" }),
@@ -494,9 +367,6 @@ var StartConversationRequest;
494
367
  })(StartConversationRequest = exports.StartConversationRequest || (exports.StartConversationRequest = {}));
495
368
  var GetSessionResponse;
496
369
  (function (GetSessionResponse) {
497
- /**
498
- * @internal
499
- */
500
370
  GetSessionResponse.filterSensitiveLog = (obj) => ({
501
371
  ...obj,
502
372
  ...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
@@ -504,18 +374,12 @@ var GetSessionResponse;
504
374
  })(GetSessionResponse = exports.GetSessionResponse || (exports.GetSessionResponse = {}));
505
375
  var IntentResultEvent;
506
376
  (function (IntentResultEvent) {
507
- /**
508
- * @internal
509
- */
510
377
  IntentResultEvent.filterSensitiveLog = (obj) => ({
511
378
  ...obj,
512
379
  });
513
380
  })(IntentResultEvent = exports.IntentResultEvent || (exports.IntentResultEvent = {}));
514
381
  var RecognizeTextResponse;
515
382
  (function (RecognizeTextResponse) {
516
- /**
517
- * @internal
518
- */
519
383
  RecognizeTextResponse.filterSensitiveLog = (obj) => ({
520
384
  ...obj,
521
385
  ...(obj.messages && { messages: obj.messages.map((item) => Message.filterSensitiveLog(item)) }),
@@ -554,9 +418,6 @@ var StartConversationResponseEventStream;
554
418
  return visitor.BadGatewayException(value.BadGatewayException);
555
419
  return visitor._(value.$unknown[0], value.$unknown[1]);
556
420
  };
557
- /**
558
- * @internal
559
- */
560
421
  StartConversationResponseEventStream.filterSensitiveLog = (obj) => {
561
422
  if (obj.PlaybackInterruptionEvent !== undefined)
562
423
  return { PlaybackInterruptionEvent: PlaybackInterruptionEvent.filterSensitiveLog(obj.PlaybackInterruptionEvent) };
@@ -592,12 +453,8 @@ var StartConversationResponseEventStream;
592
453
  })(StartConversationResponseEventStream = exports.StartConversationResponseEventStream || (exports.StartConversationResponseEventStream = {}));
593
454
  var StartConversationResponse;
594
455
  (function (StartConversationResponse) {
595
- /**
596
- * @internal
597
- */
598
456
  StartConversationResponse.filterSensitiveLog = (obj) => ({
599
457
  ...obj,
600
458
  ...(obj.responseEventStream && { responseEventStream: "STREAMING_CONTENT" }),
601
459
  });
602
460
  })(StartConversationResponse = exports.StartConversationResponse || (exports.StartConversationResponse = {}));
603
- //# sourceMappingURL=models_0.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deserializeAws_restJson1StartConversationCommand = exports.deserializeAws_restJson1RecognizeUtteranceCommand = exports.deserializeAws_restJson1RecognizeTextCommand = exports.deserializeAws_restJson1PutSessionCommand = exports.deserializeAws_restJson1GetSessionCommand = exports.deserializeAws_restJson1DeleteSessionCommand = exports.serializeAws_restJson1StartConversationCommand = exports.serializeAws_restJson1RecognizeUtteranceCommand = exports.serializeAws_restJson1RecognizeTextCommand = exports.serializeAws_restJson1PutSessionCommand = exports.serializeAws_restJson1GetSessionCommand = exports.serializeAws_restJson1DeleteSessionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
7
  const serializeAws_restJson1DeleteSessionCommand = async (input, context) => {
8
8
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
9
  const headers = {};
@@ -2059,14 +2059,12 @@ const deserializeMetadata = (output) => {
2059
2059
  cfId: output.headers["x-amz-cf-id"],
2060
2060
  });
2061
2061
  };
2062
- // Collect low-level response body stream to Uint8Array.
2063
2062
  const collectBody = (streamBody = new Uint8Array(), context) => {
2064
2063
  if (streamBody instanceof Uint8Array) {
2065
2064
  return Promise.resolve(streamBody);
2066
2065
  }
2067
2066
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
2068
2067
  };
2069
- // Encode Uint8Array data into string with utf-8.
2070
2068
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2071
2069
  const isSerializableHeaderValue = (value) => value !== undefined &&
2072
2070
  value !== null &&
@@ -2079,9 +2077,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
2079
2077
  }
2080
2078
  return {};
2081
2079
  });
2082
- /**
2083
- * Load an error code for the aws.rest-json-1.1 protocol.
2084
- */
2085
2080
  const loadRestJsonErrorCode = (output, data) => {
2086
2081
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2087
2082
  const sanitizeErrorCode = (rawValue) => {
@@ -2106,4 +2101,3 @@ const loadRestJsonErrorCode = (output, data) => {
2106
2101
  }
2107
2102
  return "";
2108
2103
  };
2109
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const eventstream_serde_browser_1 = require("@aws-sdk/eventstream-serde-browser");
8
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
@@ -13,9 +13,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
16
  const getRuntimeConfig = (config) => {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -41,4 +38,3 @@ const getRuntimeConfig = (config) => {
41
38
  };
42
39
  };
43
40
  exports.getRuntimeConfig = getRuntimeConfig;
44
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -18,9 +18,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
18
18
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
19
19
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
20
  const smithy_client_1 = require("@aws-sdk/smithy-client");
21
- /**
22
- * @internal
23
- */
24
21
  const getRuntimeConfig = (config) => {
25
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
26
23
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -47,4 +44,3 @@ const getRuntimeConfig = (config) => {
47
44
  };
48
45
  };
49
46
  exports.getRuntimeConfig = getRuntimeConfig;
50
- //# sourceMappingURL=runtimeConfig.js.map
@@ -4,9 +4,6 @@ exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
6
6
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
7
- /**
8
- * @internal
9
- */
10
7
  const getRuntimeConfig = (config) => {
11
8
  var _a, _b;
12
9
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -19,4 +16,3 @@ const getRuntimeConfig = (config) => {
19
16
  };
20
17
  };
21
18
  exports.getRuntimeConfig = getRuntimeConfig;
22
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,11 +1,11 @@
1
1
  import { __extends } from "tslib";
2
- import { LexRuntimeV2Client } from "./LexRuntimeV2Client";
3
2
  import { DeleteSessionCommand, } from "./commands/DeleteSessionCommand";
4
3
  import { GetSessionCommand } from "./commands/GetSessionCommand";
5
4
  import { PutSessionCommand } from "./commands/PutSessionCommand";
6
5
  import { RecognizeTextCommand, } from "./commands/RecognizeTextCommand";
7
6
  import { RecognizeUtteranceCommand, } from "./commands/RecognizeUtteranceCommand";
8
7
  import { StartConversationCommand, } from "./commands/StartConversationCommand";
8
+ import { LexRuntimeV2Client } from "./LexRuntimeV2Client";
9
9
  var LexRuntimeV2 = (function (_super) {
10
10
  __extends(LexRuntimeV2, _super);
11
11
  function LexRuntimeV2() {
@@ -98,4 +98,3 @@ var LexRuntimeV2 = (function (_super) {
98
98
  return LexRuntimeV2;
99
99
  }(LexRuntimeV2Client));
100
100
  export { LexRuntimeV2 };
101
- //# sourceMappingURL=LexRuntimeV2.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { resolveEventStreamSerdeConfig, } from "@aws-sdk/eventstream-serde-config-resolver";
5
4
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
@@ -10,6 +9,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
10
9
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
11
10
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
12
11
  import { Client as __Client, } from "@aws-sdk/smithy-client";
12
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
13
  var LexRuntimeV2Client = (function (_super) {
14
14
  __extends(LexRuntimeV2Client, _super);
15
15
  function LexRuntimeV2Client(configuration) {
@@ -39,4 +39,3 @@ var LexRuntimeV2Client = (function (_super) {
39
39
  return LexRuntimeV2Client;
40
40
  }(__Client));
41
41
  export { LexRuntimeV2Client };
42
- //# sourceMappingURL=LexRuntimeV2Client.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteSessionCommand = (function (_super) {
7
7
  __extends(DeleteSessionCommand, _super);
8
8
  function DeleteSessionCommand(input) {
@@ -37,4 +37,3 @@ var DeleteSessionCommand = (function (_super) {
37
37
  return DeleteSessionCommand;
38
38
  }($Command));
39
39
  export { DeleteSessionCommand };
40
- //# sourceMappingURL=DeleteSessionCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetSessionCommand = (function (_super) {
7
7
  __extends(GetSessionCommand, _super);
8
8
  function GetSessionCommand(input) {
@@ -37,4 +37,3 @@ var GetSessionCommand = (function (_super) {
37
37
  return GetSessionCommand;
38
38
  }($Command));
39
39
  export { GetSessionCommand };
40
- //# sourceMappingURL=GetSessionCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
3
- import { deserializeAws_restJson1PutSessionCommand, serializeAws_restJson1PutSessionCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1PutSessionCommand, serializeAws_restJson1PutSessionCommand, } from "../protocols/Aws_restJson1";
6
6
  var PutSessionCommand = (function (_super) {
7
7
  __extends(PutSessionCommand, _super);
8
8
  function PutSessionCommand(input) {
@@ -37,4 +37,3 @@ var PutSessionCommand = (function (_super) {
37
37
  return PutSessionCommand;
38
38
  }($Command));
39
39
  export { PutSessionCommand };
40
- //# sourceMappingURL=PutSessionCommand.js.map