@aws-sdk/client-lex-runtime-service 3.987.0 → 3.988.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/dist-cjs/index.js CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var LexRuntimeServiceServiceException = require('./models/LexRuntimeServiceServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,508 +113,6 @@ class LexRuntimeServiceClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class LexRuntimeServiceServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, LexRuntimeServiceServiceException.prototype);
117
- }
118
- }
119
-
120
- class BadRequestException extends LexRuntimeServiceServiceException {
121
- name = "BadRequestException";
122
- $fault = "client";
123
- constructor(opts) {
124
- super({
125
- name: "BadRequestException",
126
- $fault: "client",
127
- ...opts,
128
- });
129
- Object.setPrototypeOf(this, BadRequestException.prototype);
130
- }
131
- }
132
- class ConflictException extends LexRuntimeServiceServiceException {
133
- name = "ConflictException";
134
- $fault = "client";
135
- constructor(opts) {
136
- super({
137
- name: "ConflictException",
138
- $fault: "client",
139
- ...opts,
140
- });
141
- Object.setPrototypeOf(this, ConflictException.prototype);
142
- }
143
- }
144
- class InternalFailureException extends LexRuntimeServiceServiceException {
145
- name = "InternalFailureException";
146
- $fault = "server";
147
- constructor(opts) {
148
- super({
149
- name: "InternalFailureException",
150
- $fault: "server",
151
- ...opts,
152
- });
153
- Object.setPrototypeOf(this, InternalFailureException.prototype);
154
- }
155
- }
156
- class LimitExceededException extends LexRuntimeServiceServiceException {
157
- name = "LimitExceededException";
158
- $fault = "client";
159
- retryAfterSeconds;
160
- constructor(opts) {
161
- super({
162
- name: "LimitExceededException",
163
- $fault: "client",
164
- ...opts,
165
- });
166
- Object.setPrototypeOf(this, LimitExceededException.prototype);
167
- this.retryAfterSeconds = opts.retryAfterSeconds;
168
- }
169
- }
170
- class NotFoundException extends LexRuntimeServiceServiceException {
171
- name = "NotFoundException";
172
- $fault = "client";
173
- constructor(opts) {
174
- super({
175
- name: "NotFoundException",
176
- $fault: "client",
177
- ...opts,
178
- });
179
- Object.setPrototypeOf(this, NotFoundException.prototype);
180
- }
181
- }
182
- class BadGatewayException extends LexRuntimeServiceServiceException {
183
- name = "BadGatewayException";
184
- $fault = "server";
185
- Message;
186
- constructor(opts) {
187
- super({
188
- name: "BadGatewayException",
189
- $fault: "server",
190
- ...opts,
191
- });
192
- Object.setPrototypeOf(this, BadGatewayException.prototype);
193
- this.Message = opts.Message;
194
- }
195
- }
196
- class DependencyFailedException extends LexRuntimeServiceServiceException {
197
- name = "DependencyFailedException";
198
- $fault = "client";
199
- Message;
200
- constructor(opts) {
201
- super({
202
- name: "DependencyFailedException",
203
- $fault: "client",
204
- ...opts,
205
- });
206
- Object.setPrototypeOf(this, DependencyFailedException.prototype);
207
- this.Message = opts.Message;
208
- }
209
- }
210
- class LoopDetectedException extends LexRuntimeServiceServiceException {
211
- name = "LoopDetectedException";
212
- $fault = "server";
213
- Message;
214
- constructor(opts) {
215
- super({
216
- name: "LoopDetectedException",
217
- $fault: "server",
218
- ...opts,
219
- });
220
- Object.setPrototypeOf(this, LoopDetectedException.prototype);
221
- this.Message = opts.Message;
222
- }
223
- }
224
- class NotAcceptableException extends LexRuntimeServiceServiceException {
225
- name = "NotAcceptableException";
226
- $fault = "client";
227
- constructor(opts) {
228
- super({
229
- name: "NotAcceptableException",
230
- $fault: "client",
231
- ...opts,
232
- });
233
- Object.setPrototypeOf(this, NotAcceptableException.prototype);
234
- }
235
- }
236
- class RequestTimeoutException extends LexRuntimeServiceServiceException {
237
- name = "RequestTimeoutException";
238
- $fault = "client";
239
- constructor(opts) {
240
- super({
241
- name: "RequestTimeoutException",
242
- $fault: "client",
243
- ...opts,
244
- });
245
- Object.setPrototypeOf(this, RequestTimeoutException.prototype);
246
- }
247
- }
248
- class UnsupportedMediaTypeException extends LexRuntimeServiceServiceException {
249
- name = "UnsupportedMediaTypeException";
250
- $fault = "client";
251
- constructor(opts) {
252
- super({
253
- name: "UnsupportedMediaTypeException",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
258
- }
259
- }
260
-
261
- const _A = "Accept";
262
- const _AC = "ActiveContext";
263
- const _ACL = "ActiveContextsList";
264
- const _ACPM = "ActiveContextParametersMap";
265
- const _ACTTL = "ActiveContextTimeToLive";
266
- const _B = "Button";
267
- const _BGE = "BadGatewayException";
268
- const _BRE = "BadRequestException";
269
- const _BS = "BlobStream";
270
- const _CE = "ConflictException";
271
- const _CT = "Content-Type";
272
- const _DA = "DialogAction";
273
- const _DFE = "DependencyFailedException";
274
- const _DS = "DeleteSession";
275
- const _DSR = "DeleteSessionRequest";
276
- const _DSRe = "DeleteSessionResponse";
277
- const _GA = "GenericAttachment";
278
- const _GS = "GetSession";
279
- const _GSR = "GetSessionRequest";
280
- const _GSRe = "GetSessionResponse";
281
- const _IC = "IntentConfidence";
282
- const _IFE = "InternalFailureException";
283
- const _IL = "IntentList";
284
- const _IS = "IntentSummary";
285
- const _ISL = "IntentSummaryList";
286
- const _LDE = "LoopDetectedException";
287
- const _LEE = "LimitExceededException";
288
- const _M = "Message";
289
- const _NAE = "NotAcceptableException";
290
- const _NFE = "NotFoundException";
291
- const _PC = "PostContent";
292
- const _PCR = "PostContentRequest";
293
- const _PCRo = "PostContentResponse";
294
- const _PI = "PredictedIntent";
295
- const _PS = "PutSession";
296
- const _PSR = "PutSessionRequest";
297
- const _PSRu = "PutSessionResponse";
298
- const _PT = "PostText";
299
- const _PTR = "PostTextRequest";
300
- const _PTRo = "PostTextResponse";
301
- const _RA = "Retry-After";
302
- const _RC = "ResponseCard";
303
- const _RTE = "RequestTimeoutException";
304
- const _SJACS = "SynthesizedJsonActiveContextsString";
305
- const _SJAS = "SynthesizedJsonAttributesString";
306
- const _SJS = "SynthesizedJsonString";
307
- const _SM = "StringMap";
308
- const _SR = "SentimentResponse";
309
- const _SS = "SensitiveString";
310
- const _SSU = "SensitiveStringUnbounded";
311
- const _T = "Text";
312
- const _UMTE = "UnsupportedMediaTypeException";
313
- const _a = "application/json";
314
- const _aC = "activeContexts";
315
- const _aI = "alternativeIntents";
316
- const _aLU = "attachmentLinkUrl";
317
- const _aS = "audioStream";
318
- const _ac = "accept";
319
- const _b = "buttons";
320
- const _bA = "botAlias";
321
- const _bN = "botName";
322
- const _bV = "botVersion";
323
- const _c = "client";
324
- const _cL = "checkpointLabel";
325
- const _cLF = "checkpointLabelFilter";
326
- const _cS = "confirmationStatus";
327
- const _cT = "contentType";
328
- const _dA = "dialogAction";
329
- const _dAT = "dialogActionType";
330
- const _dS = "dialogState";
331
- const _e = "error";
332
- const _eIT = "encodedInputTranscript";
333
- const _eM = "encodedMessage";
334
- const _fS = "fulfillmentState";
335
- const _gA = "genericAttachments";
336
- const _gAL = "genericAttachmentList";
337
- const _h = "http";
338
- const _hE = "httpError";
339
- const _hH = "httpHeader";
340
- const _hQ = "httpQuery";
341
- const _iN = "intentName";
342
- const _iS = "inputStream";
343
- const _iT = "inputTranscript";
344
- const _iTn = "inputText";
345
- const _iU = "imageUrl";
346
- const _lOB = "listOfButtons";
347
- const _m = "message";
348
- const _mF = "messageFormat";
349
- const _mT = "mediaType";
350
- const _n = "name";
351
- const _nIC = "nluIntentConfidence";
352
- const _p = "parameters";
353
- const _rA = "requestAttributes";
354
- const _rAS = "retryAfterSeconds";
355
- const _rC = "responseCard";
356
- const _rISV = "recentIntentSummaryView";
357
- const _s = "streaming";
358
- const _sA = "sessionAttributes";
359
- const _sI = "sessionId";
360
- const _sL = "sentimentLabel";
361
- const _sR = "sentimentResponse";
362
- const _sS = "sentimentScore";
363
- const _sT = "subTitle";
364
- const _sTE = "slotToElicit";
365
- const _sc = "score";
366
- const _se = "sensitive";
367
- const _ser = "server";
368
- const _sl = "slots";
369
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.lexruntimeservice";
370
- const _t = "text";
371
- const _tTL = "timeToLive";
372
- const _tTLIS = "timeToLiveInSeconds";
373
- const _tTLu = "turnsToLive";
374
- const _ti = "title";
375
- const _ty = "type";
376
- const _uI = "userId";
377
- const _v = "value";
378
- const _ve = "version";
379
- const _xalac = "x-amz-lex-active-contexts";
380
- const _xalai = "x-amz-lex-alternative-intents";
381
- const _xalbv = "x-amz-lex-bot-version";
382
- const _xalds = "x-amz-lex-dialog-state";
383
- const _xaleit = "x-amz-lex-encoded-input-transcript";
384
- const _xalem = "x-amz-lex-encoded-message";
385
- const _xalin = "x-amz-lex-intent-name";
386
- const _xalit = "x-amz-lex-input-transcript";
387
- const _xalm = "x-amz-lex-message";
388
- const _xalmf = "x-amz-lex-message-format";
389
- const _xalnic = "x-amz-lex-nlu-intent-confidence";
390
- const _xalra = "x-amz-lex-request-attributes";
391
- const _xals = "x-amz-lex-slots";
392
- const _xals_ = "x-amz-lex-sentiment";
393
- const _xalsa = "x-amz-lex-session-attributes";
394
- const _xalsi = "x-amz-lex-session-id";
395
- const _xalste = "x-amz-lex-slot-to-elicit";
396
- const n0 = "com.amazonaws.lexruntimeservice";
397
- var BlobStream = [0, n0, _BS, { [_s]: 1 }, 42];
398
- var SensitiveString = [0, n0, _SS, 8, 0];
399
- var SensitiveStringUnbounded = [0, n0, _SSU, 8, 0];
400
- var SynthesizedJsonActiveContextsString = [0, n0, _SJACS, { [_mT]: _a, [_se]: 1 }, 0];
401
- var SynthesizedJsonAttributesString = [0, n0, _SJAS, { [_mT]: _a, [_se]: 1 }, 0];
402
- var SynthesizedJsonString = [0, n0, _SJS, { [_mT]: _a }, 0];
403
- var Text = [0, n0, _T, 8, 0];
404
- var ActiveContext$ = [3, n0, _AC,
405
- 0,
406
- [_n, _tTL, _p],
407
- [0, () => ActiveContextTimeToLive$, [() => ActiveContextParametersMap, 0]], 3
408
- ];
409
- var ActiveContextTimeToLive$ = [3, n0, _ACTTL,
410
- 0,
411
- [_tTLIS, _tTLu],
412
- [1, 1]
413
- ];
414
- var BadGatewayException$ = [-3, n0, _BGE,
415
- { [_e]: _ser, [_hE]: 502 },
416
- [_M],
417
- [0]
418
- ];
419
- schema.TypeRegistry.for(n0).registerError(BadGatewayException$, BadGatewayException);
420
- var BadRequestException$ = [-3, n0, _BRE,
421
- { [_e]: _c, [_hE]: 400 },
422
- [_m],
423
- [0]
424
- ];
425
- schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
426
- var Button$ = [3, n0, _B,
427
- 0,
428
- [_t, _v],
429
- [0, 0], 2
430
- ];
431
- var ConflictException$ = [-3, n0, _CE,
432
- { [_e]: _c, [_hE]: 409 },
433
- [_m],
434
- [0]
435
- ];
436
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
437
- var DeleteSessionRequest$ = [3, n0, _DSR,
438
- 0,
439
- [_bN, _bA, _uI],
440
- [[0, 1], [0, 1], [0, 1]], 3
441
- ];
442
- var DeleteSessionResponse$ = [3, n0, _DSRe,
443
- 0,
444
- [_bN, _bA, _uI, _sI],
445
- [0, 0, 0, 0]
446
- ];
447
- var DependencyFailedException$ = [-3, n0, _DFE,
448
- { [_e]: _c, [_hE]: 424 },
449
- [_M],
450
- [0]
451
- ];
452
- schema.TypeRegistry.for(n0).registerError(DependencyFailedException$, DependencyFailedException);
453
- var DialogAction$ = [3, n0, _DA,
454
- 0,
455
- [_ty, _iN, _sl, _sTE, _fS, _m, _mF],
456
- [0, 0, [() => StringMap, 0], 0, 0, [() => Text, 0], 0], 1
457
- ];
458
- var GenericAttachment$ = [3, n0, _GA,
459
- 0,
460
- [_ti, _sT, _aLU, _iU, _b],
461
- [0, 0, 0, 0, () => listOfButtons]
462
- ];
463
- var GetSessionRequest$ = [3, n0, _GSR,
464
- 0,
465
- [_bN, _bA, _uI, _cLF],
466
- [[0, 1], [0, 1], [0, 1], [0, { [_hQ]: _cLF }]], 3
467
- ];
468
- var GetSessionResponse$ = [3, n0, _GSRe,
469
- 0,
470
- [_rISV, _sA, _sI, _dA, _aC],
471
- [[() => IntentSummaryList, 0], [() => StringMap, 0], 0, [() => DialogAction$, 0], [() => ActiveContextsList, 0]]
472
- ];
473
- var IntentConfidence$ = [3, n0, _IC,
474
- 0,
475
- [_sc],
476
- [1]
477
- ];
478
- var IntentSummary$ = [3, n0, _IS,
479
- 0,
480
- [_dAT, _iN, _cL, _sl, _cS, _fS, _sTE],
481
- [0, 0, 0, [() => StringMap, 0], 0, 0, 0], 1
482
- ];
483
- var InternalFailureException$ = [-3, n0, _IFE,
484
- { [_e]: _ser, [_hE]: 500 },
485
- [_m],
486
- [0]
487
- ];
488
- schema.TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
489
- var LimitExceededException$ = [-3, n0, _LEE,
490
- { [_e]: _c, [_hE]: 429 },
491
- [_rAS, _m],
492
- [[0, { [_hH]: _RA }], 0]
493
- ];
494
- schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
495
- var LoopDetectedException$ = [-3, n0, _LDE,
496
- { [_e]: _ser, [_hE]: 508 },
497
- [_M],
498
- [0]
499
- ];
500
- schema.TypeRegistry.for(n0).registerError(LoopDetectedException$, LoopDetectedException);
501
- var NotAcceptableException$ = [-3, n0, _NAE,
502
- { [_e]: _c, [_hE]: 406 },
503
- [_m],
504
- [0]
505
- ];
506
- schema.TypeRegistry.for(n0).registerError(NotAcceptableException$, NotAcceptableException);
507
- var NotFoundException$ = [-3, n0, _NFE,
508
- { [_e]: _c, [_hE]: 404 },
509
- [_m],
510
- [0]
511
- ];
512
- schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
513
- var PostContentRequest$ = [3, n0, _PCR,
514
- 0,
515
- [_bN, _bA, _uI, _cT, _iS, _sA, _rA, _ac, _aC],
516
- [[0, 1], [0, 1], [0, 1], [0, { [_hH]: _CT }], [() => BlobStream, 16], [() => SynthesizedJsonAttributesString, { [_hH]: _xalsa }], [() => SynthesizedJsonAttributesString, { [_hH]: _xalra }], [0, { [_hH]: _A }], [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }]], 5
517
- ];
518
- var PostContentResponse$ = [3, n0, _PCRo,
519
- 0,
520
- [_cT, _iN, _nIC, _aI, _sl, _sA, _sR, _m, _eM, _mF, _dS, _sTE, _iT, _eIT, _aS, _bV, _sI, _aC],
521
- [[0, { [_hH]: _CT }], [0, { [_hH]: _xalin }], [() => SynthesizedJsonString, { [_hH]: _xalnic }], [() => SynthesizedJsonString, { [_hH]: _xalai }], [() => SynthesizedJsonString, { [_hH]: _xals }], [() => SynthesizedJsonString, { [_hH]: _xalsa }], [0, { [_hH]: _xals_ }], [() => Text, { [_hH]: _xalm }], [() => SensitiveString, { [_hH]: _xalem }], [0, { [_hH]: _xalmf }], [0, { [_hH]: _xalds }], [0, { [_hH]: _xalste }], [0, { [_hH]: _xalit }], [() => SensitiveStringUnbounded, { [_hH]: _xaleit }], [() => BlobStream, 16], [0, { [_hH]: _xalbv }], [0, { [_hH]: _xalsi }], [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }]]
522
- ];
523
- var PostTextRequest$ = [3, n0, _PTR,
524
- 0,
525
- [_bN, _bA, _uI, _iTn, _sA, _rA, _aC],
526
- [[0, 1], [0, 1], [0, 1], [() => Text, 0], [() => StringMap, 0], [() => StringMap, 0], [() => ActiveContextsList, 0]], 4
527
- ];
528
- var PostTextResponse$ = [3, n0, _PTRo,
529
- 0,
530
- [_iN, _nIC, _aI, _sl, _sA, _m, _sR, _mF, _dS, _sTE, _rC, _sI, _bV, _aC],
531
- [0, () => IntentConfidence$, [() => IntentList, 0], [() => StringMap, 0], [() => StringMap, 0], [() => Text, 0], () => SentimentResponse$, 0, 0, 0, () => ResponseCard$, 0, 0, [() => ActiveContextsList, 0]]
532
- ];
533
- var PredictedIntent$ = [3, n0, _PI,
534
- 0,
535
- [_iN, _nIC, _sl],
536
- [0, () => IntentConfidence$, [() => StringMap, 0]]
537
- ];
538
- var PutSessionRequest$ = [3, n0, _PSR,
539
- 0,
540
- [_bN, _bA, _uI, _sA, _dA, _rISV, _ac, _aC],
541
- [[0, 1], [0, 1], [0, 1], [() => StringMap, 0], [() => DialogAction$, 0], [() => IntentSummaryList, 0], [0, { [_hH]: _A }], [() => ActiveContextsList, 0]], 3
542
- ];
543
- var PutSessionResponse$ = [3, n0, _PSRu,
544
- 0,
545
- [_cT, _iN, _sl, _sA, _m, _eM, _mF, _dS, _sTE, _aS, _sI, _aC],
546
- [[0, { [_hH]: _CT }], [0, { [_hH]: _xalin }], [() => SynthesizedJsonString, { [_hH]: _xals }], [() => SynthesizedJsonString, { [_hH]: _xalsa }], [() => Text, { [_hH]: _xalm }], [() => SensitiveString, { [_hH]: _xalem }], [0, { [_hH]: _xalmf }], [0, { [_hH]: _xalds }], [0, { [_hH]: _xalste }], [() => BlobStream, 16], [0, { [_hH]: _xalsi }], [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }]]
547
- ];
548
- var RequestTimeoutException$ = [-3, n0, _RTE,
549
- { [_e]: _c, [_hE]: 408 },
550
- [_m],
551
- [0]
552
- ];
553
- schema.TypeRegistry.for(n0).registerError(RequestTimeoutException$, RequestTimeoutException);
554
- var ResponseCard$ = [3, n0, _RC,
555
- 0,
556
- [_ve, _cT, _gA],
557
- [0, 0, () => genericAttachmentList]
558
- ];
559
- var SentimentResponse$ = [3, n0, _SR,
560
- 0,
561
- [_sL, _sS],
562
- [0, 0]
563
- ];
564
- var UnsupportedMediaTypeException$ = [-3, n0, _UMTE,
565
- { [_e]: _c, [_hE]: 415 },
566
- [_m],
567
- [0]
568
- ];
569
- schema.TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException$, UnsupportedMediaTypeException);
570
- var LexRuntimeServiceServiceException$ = [-3, _sm, "LexRuntimeServiceServiceException", 0, [], []];
571
- schema.TypeRegistry.for(_sm).registerError(LexRuntimeServiceServiceException$, LexRuntimeServiceServiceException);
572
- var ActiveContextsList = [1, n0, _ACL,
573
- 8, [() => ActiveContext$,
574
- 0]
575
- ];
576
- var genericAttachmentList = [1, n0, _gAL,
577
- 0, () => GenericAttachment$
578
- ];
579
- var IntentList = [1, n0, _IL,
580
- 0, [() => PredictedIntent$,
581
- 0]
582
- ];
583
- var IntentSummaryList = [1, n0, _ISL,
584
- 0, [() => IntentSummary$,
585
- 0]
586
- ];
587
- var listOfButtons = [1, n0, _lOB,
588
- 0, () => Button$
589
- ];
590
- var ActiveContextParametersMap = [2, n0, _ACPM,
591
- 0, [0,
592
- 0],
593
- [() => Text,
594
- 0]
595
- ];
596
- var StringMap = [2, n0, _SM,
597
- 8, 0, 0
598
- ];
599
- var DeleteSession$ = [9, n0, _DS,
600
- { [_h]: ["DELETE", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] }, () => DeleteSessionRequest$, () => DeleteSessionResponse$
601
- ];
602
- var GetSession$ = [9, n0, _GS,
603
- { [_h]: ["GET", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] }, () => GetSessionRequest$, () => GetSessionResponse$
604
- ];
605
- var PostContent$ = [9, n0, _PC,
606
- { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/content", 200] }, () => PostContentRequest$, () => PostContentResponse$
607
- ];
608
- var PostText$ = [9, n0, _PT,
609
- { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/text", 200] }, () => PostTextRequest$, () => PostTextResponse$
610
- ];
611
- var PutSession$ = [9, n0, _PS,
612
- { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] }, () => PutSessionRequest$, () => PutSessionResponse$
613
- ];
614
-
615
116
  class DeleteSessionCommand extends smithyClient.Command
616
117
  .classBuilder()
617
118
  .ep(commonParams)
@@ -620,7 +121,7 @@ class DeleteSessionCommand extends smithyClient.Command
620
121
  })
621
122
  .s("AWSDeepSenseRunTimeService", "DeleteSession", {})
622
123
  .n("LexRuntimeServiceClient", "DeleteSessionCommand")
623
- .sc(DeleteSession$)
124
+ .sc(schemas_0.DeleteSession$)
624
125
  .build() {
625
126
  }
626
127
 
@@ -632,7 +133,7 @@ class GetSessionCommand extends smithyClient.Command
632
133
  })
633
134
  .s("AWSDeepSenseRunTimeService", "GetSession", {})
634
135
  .n("LexRuntimeServiceClient", "GetSessionCommand")
635
- .sc(GetSession$)
136
+ .sc(schemas_0.GetSession$)
636
137
  .build() {
637
138
  }
638
139
 
@@ -644,7 +145,7 @@ class PostContentCommand extends smithyClient.Command
644
145
  })
645
146
  .s("AWSDeepSenseRunTimeService", "PostContent", {})
646
147
  .n("LexRuntimeServiceClient", "PostContentCommand")
647
- .sc(PostContent$)
148
+ .sc(schemas_0.PostContent$)
648
149
  .build() {
649
150
  }
650
151
 
@@ -656,7 +157,7 @@ class PostTextCommand extends smithyClient.Command
656
157
  })
657
158
  .s("AWSDeepSenseRunTimeService", "PostText", {})
658
159
  .n("LexRuntimeServiceClient", "PostTextCommand")
659
- .sc(PostText$)
160
+ .sc(schemas_0.PostText$)
660
161
  .build() {
661
162
  }
662
163
 
@@ -668,7 +169,7 @@ class PutSessionCommand extends smithyClient.Command
668
169
  })
669
170
  .s("AWSDeepSenseRunTimeService", "PutSession", {})
670
171
  .n("LexRuntimeServiceClient", "PutSessionCommand")
671
- .sc(PutSession$)
172
+ .sc(schemas_0.PutSession$)
672
173
  .build() {
673
174
  }
674
175
 
@@ -726,65 +227,32 @@ Object.defineProperty(exports, "__Client", {
726
227
  enumerable: true,
727
228
  get: function () { return smithyClient.Client; }
728
229
  });
729
- exports.ActiveContext$ = ActiveContext$;
730
- exports.ActiveContextTimeToLive$ = ActiveContextTimeToLive$;
731
- exports.BadGatewayException = BadGatewayException;
732
- exports.BadGatewayException$ = BadGatewayException$;
733
- exports.BadRequestException = BadRequestException;
734
- exports.BadRequestException$ = BadRequestException$;
735
- exports.Button$ = Button$;
230
+ Object.defineProperty(exports, "LexRuntimeServiceServiceException", {
231
+ enumerable: true,
232
+ get: function () { return LexRuntimeServiceServiceException.LexRuntimeServiceServiceException; }
233
+ });
736
234
  exports.ConfirmationStatus = ConfirmationStatus;
737
- exports.ConflictException = ConflictException;
738
- exports.ConflictException$ = ConflictException$;
739
235
  exports.ContentType = ContentType;
740
- exports.DeleteSession$ = DeleteSession$;
741
236
  exports.DeleteSessionCommand = DeleteSessionCommand;
742
- exports.DeleteSessionRequest$ = DeleteSessionRequest$;
743
- exports.DeleteSessionResponse$ = DeleteSessionResponse$;
744
- exports.DependencyFailedException = DependencyFailedException;
745
- exports.DependencyFailedException$ = DependencyFailedException$;
746
- exports.DialogAction$ = DialogAction$;
747
237
  exports.DialogActionType = DialogActionType;
748
238
  exports.DialogState = DialogState;
749
239
  exports.FulfillmentState = FulfillmentState;
750
- exports.GenericAttachment$ = GenericAttachment$;
751
- exports.GetSession$ = GetSession$;
752
240
  exports.GetSessionCommand = GetSessionCommand;
753
- exports.GetSessionRequest$ = GetSessionRequest$;
754
- exports.GetSessionResponse$ = GetSessionResponse$;
755
- exports.IntentConfidence$ = IntentConfidence$;
756
- exports.IntentSummary$ = IntentSummary$;
757
- exports.InternalFailureException = InternalFailureException;
758
- exports.InternalFailureException$ = InternalFailureException$;
759
241
  exports.LexRuntimeService = LexRuntimeService;
760
242
  exports.LexRuntimeServiceClient = LexRuntimeServiceClient;
761
- exports.LexRuntimeServiceServiceException = LexRuntimeServiceServiceException;
762
- exports.LexRuntimeServiceServiceException$ = LexRuntimeServiceServiceException$;
763
- exports.LimitExceededException = LimitExceededException;
764
- exports.LimitExceededException$ = LimitExceededException$;
765
- exports.LoopDetectedException = LoopDetectedException;
766
- exports.LoopDetectedException$ = LoopDetectedException$;
767
243
  exports.MessageFormatType = MessageFormatType;
768
- exports.NotAcceptableException = NotAcceptableException;
769
- exports.NotAcceptableException$ = NotAcceptableException$;
770
- exports.NotFoundException = NotFoundException;
771
- exports.NotFoundException$ = NotFoundException$;
772
- exports.PostContent$ = PostContent$;
773
244
  exports.PostContentCommand = PostContentCommand;
774
- exports.PostContentRequest$ = PostContentRequest$;
775
- exports.PostContentResponse$ = PostContentResponse$;
776
- exports.PostText$ = PostText$;
777
245
  exports.PostTextCommand = PostTextCommand;
778
- exports.PostTextRequest$ = PostTextRequest$;
779
- exports.PostTextResponse$ = PostTextResponse$;
780
- exports.PredictedIntent$ = PredictedIntent$;
781
- exports.PutSession$ = PutSession$;
782
246
  exports.PutSessionCommand = PutSessionCommand;
783
- exports.PutSessionRequest$ = PutSessionRequest$;
784
- exports.PutSessionResponse$ = PutSessionResponse$;
785
- exports.RequestTimeoutException = RequestTimeoutException;
786
- exports.RequestTimeoutException$ = RequestTimeoutException$;
787
- exports.ResponseCard$ = ResponseCard$;
788
- exports.SentimentResponse$ = SentimentResponse$;
789
- exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
790
- exports.UnsupportedMediaTypeException$ = UnsupportedMediaTypeException$;
247
+ Object.keys(schemas_0).forEach(function (k) {
248
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
249
+ enumerable: true,
250
+ get: function () { return schemas_0[k]; }
251
+ });
252
+ });
253
+ Object.keys(errors).forEach(function (k) {
254
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
255
+ enumerable: true,
256
+ get: function () { return errors[k]; }
257
+ });
258
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LexRuntimeServiceServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class LexRuntimeServiceServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, LexRuntimeServiceServiceException.prototype);
10
+ }
11
+ }
12
+ exports.LexRuntimeServiceServiceException = LexRuntimeServiceServiceException;