@aws-sdk/client-lex-runtime-service 3.952.0 → 3.953.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
@@ -110,14 +110,14 @@ class LexRuntimeServiceClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let LexRuntimeServiceServiceException$1 = class LexRuntimeServiceServiceException extends smithyClient.ServiceException {
113
+ class LexRuntimeServiceServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, LexRuntimeServiceServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let BadRequestException$1 = class BadRequestException extends LexRuntimeServiceServiceException$1 {
120
+ class BadRequestException extends LexRuntimeServiceServiceException {
121
121
  name = "BadRequestException";
122
122
  $fault = "client";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let BadRequestException$1 = class BadRequestException extends LexRuntimeServiceS
128
128
  });
129
129
  Object.setPrototypeOf(this, BadRequestException.prototype);
130
130
  }
131
- };
132
- let ConflictException$1 = class ConflictException extends LexRuntimeServiceServiceException$1 {
131
+ }
132
+ class ConflictException extends LexRuntimeServiceServiceException {
133
133
  name = "ConflictException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let ConflictException$1 = class ConflictException extends LexRuntimeServiceServi
140
140
  });
141
141
  Object.setPrototypeOf(this, ConflictException.prototype);
142
142
  }
143
- };
144
- let InternalFailureException$1 = class InternalFailureException extends LexRuntimeServiceServiceException$1 {
143
+ }
144
+ class InternalFailureException extends LexRuntimeServiceServiceException {
145
145
  name = "InternalFailureException";
146
146
  $fault = "server";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ let InternalFailureException$1 = class InternalFailureException extends LexRunti
152
152
  });
153
153
  Object.setPrototypeOf(this, InternalFailureException.prototype);
154
154
  }
155
- };
156
- let LimitExceededException$1 = class LimitExceededException extends LexRuntimeServiceServiceException$1 {
155
+ }
156
+ class LimitExceededException extends LexRuntimeServiceServiceException {
157
157
  name = "LimitExceededException";
158
158
  $fault = "client";
159
159
  retryAfterSeconds;
@@ -166,8 +166,8 @@ let LimitExceededException$1 = class LimitExceededException extends LexRuntimeSe
166
166
  Object.setPrototypeOf(this, LimitExceededException.prototype);
167
167
  this.retryAfterSeconds = opts.retryAfterSeconds;
168
168
  }
169
- };
170
- let NotFoundException$1 = class NotFoundException extends LexRuntimeServiceServiceException$1 {
169
+ }
170
+ class NotFoundException extends LexRuntimeServiceServiceException {
171
171
  name = "NotFoundException";
172
172
  $fault = "client";
173
173
  constructor(opts) {
@@ -178,8 +178,8 @@ let NotFoundException$1 = class NotFoundException extends LexRuntimeServiceServi
178
178
  });
179
179
  Object.setPrototypeOf(this, NotFoundException.prototype);
180
180
  }
181
- };
182
- let BadGatewayException$1 = class BadGatewayException extends LexRuntimeServiceServiceException$1 {
181
+ }
182
+ class BadGatewayException extends LexRuntimeServiceServiceException {
183
183
  name = "BadGatewayException";
184
184
  $fault = "server";
185
185
  Message;
@@ -192,8 +192,8 @@ let BadGatewayException$1 = class BadGatewayException extends LexRuntimeServiceS
192
192
  Object.setPrototypeOf(this, BadGatewayException.prototype);
193
193
  this.Message = opts.Message;
194
194
  }
195
- };
196
- let DependencyFailedException$1 = class DependencyFailedException extends LexRuntimeServiceServiceException$1 {
195
+ }
196
+ class DependencyFailedException extends LexRuntimeServiceServiceException {
197
197
  name = "DependencyFailedException";
198
198
  $fault = "client";
199
199
  Message;
@@ -206,8 +206,8 @@ let DependencyFailedException$1 = class DependencyFailedException extends LexRun
206
206
  Object.setPrototypeOf(this, DependencyFailedException.prototype);
207
207
  this.Message = opts.Message;
208
208
  }
209
- };
210
- let LoopDetectedException$1 = class LoopDetectedException extends LexRuntimeServiceServiceException$1 {
209
+ }
210
+ class LoopDetectedException extends LexRuntimeServiceServiceException {
211
211
  name = "LoopDetectedException";
212
212
  $fault = "server";
213
213
  Message;
@@ -220,8 +220,8 @@ let LoopDetectedException$1 = class LoopDetectedException extends LexRuntimeServ
220
220
  Object.setPrototypeOf(this, LoopDetectedException.prototype);
221
221
  this.Message = opts.Message;
222
222
  }
223
- };
224
- let NotAcceptableException$1 = class NotAcceptableException extends LexRuntimeServiceServiceException$1 {
223
+ }
224
+ class NotAcceptableException extends LexRuntimeServiceServiceException {
225
225
  name = "NotAcceptableException";
226
226
  $fault = "client";
227
227
  constructor(opts) {
@@ -232,8 +232,8 @@ let NotAcceptableException$1 = class NotAcceptableException extends LexRuntimeSe
232
232
  });
233
233
  Object.setPrototypeOf(this, NotAcceptableException.prototype);
234
234
  }
235
- };
236
- let RequestTimeoutException$1 = class RequestTimeoutException extends LexRuntimeServiceServiceException$1 {
235
+ }
236
+ class RequestTimeoutException extends LexRuntimeServiceServiceException {
237
237
  name = "RequestTimeoutException";
238
238
  $fault = "client";
239
239
  constructor(opts) {
@@ -244,8 +244,8 @@ let RequestTimeoutException$1 = class RequestTimeoutException extends LexRuntime
244
244
  });
245
245
  Object.setPrototypeOf(this, RequestTimeoutException.prototype);
246
246
  }
247
- };
248
- let UnsupportedMediaTypeException$1 = class UnsupportedMediaTypeException extends LexRuntimeServiceServiceException$1 {
247
+ }
248
+ class UnsupportedMediaTypeException extends LexRuntimeServiceServiceException {
249
249
  name = "UnsupportedMediaTypeException";
250
250
  $fault = "client";
251
251
  constructor(opts) {
@@ -256,7 +256,7 @@ let UnsupportedMediaTypeException$1 = class UnsupportedMediaTypeException extend
256
256
  });
257
257
  Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
258
258
  }
259
- };
259
+ }
260
260
 
261
261
  const _A = "Accept";
262
262
  const _AC = "ActiveContext";
@@ -401,23 +401,23 @@ var SynthesizedJsonActiveContextsString = [0, n0, _SJACS, { [_mT]: _a, [_se]: 1
401
401
  var SynthesizedJsonAttributesString = [0, n0, _SJAS, { [_mT]: _a, [_se]: 1 }, 0];
402
402
  var SynthesizedJsonString = [0, n0, _SJS, { [_mT]: _a }, 0];
403
403
  var Text = [0, n0, _T, 8, 0];
404
- var ActiveContext = [
404
+ var ActiveContext$ = [
405
405
  3,
406
406
  n0,
407
407
  _AC,
408
408
  0,
409
409
  [_n, _tTL, _p],
410
- [0, () => ActiveContextTimeToLive, [() => ActiveContextParametersMap, 0]],
410
+ [0, () => ActiveContextTimeToLive$, [() => ActiveContextParametersMap, 0]],
411
411
  ];
412
- var ActiveContextTimeToLive = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
413
- var BadGatewayException = [-3, n0, _BGE, { [_e]: _ser, [_hE]: 502 }, [_M], [0]];
414
- schema.TypeRegistry.for(n0).registerError(BadGatewayException, BadGatewayException$1);
415
- var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
416
- schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
417
- var Button = [3, n0, _B, 0, [_t, _v], [0, 0]];
418
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
419
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
420
- var DeleteSessionRequest = [
412
+ var ActiveContextTimeToLive$ = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
413
+ var BadGatewayException$ = [-3, n0, _BGE, { [_e]: _ser, [_hE]: 502 }, [_M], [0]];
414
+ schema.TypeRegistry.for(n0).registerError(BadGatewayException$, BadGatewayException);
415
+ var BadRequestException$ = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
416
+ schema.TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
417
+ var Button$ = [3, n0, _B, 0, [_t, _v], [0, 0]];
418
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
419
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
420
+ var DeleteSessionRequest$ = [
421
421
  3,
422
422
  n0,
423
423
  _DSR,
@@ -429,10 +429,10 @@ var DeleteSessionRequest = [
429
429
  [0, 1],
430
430
  ],
431
431
  ];
432
- var DeleteSessionResponse = [3, n0, _DSRe, 0, [_bN, _bA, _uI, _sI], [0, 0, 0, 0]];
433
- var DependencyFailedException = [-3, n0, _DFE, { [_e]: _c, [_hE]: 424 }, [_M], [0]];
434
- schema.TypeRegistry.for(n0).registerError(DependencyFailedException, DependencyFailedException$1);
435
- var DialogAction = [
432
+ var DeleteSessionResponse$ = [3, n0, _DSRe, 0, [_bN, _bA, _uI, _sI], [0, 0, 0, 0]];
433
+ var DependencyFailedException$ = [-3, n0, _DFE, { [_e]: _c, [_hE]: 424 }, [_M], [0]];
434
+ schema.TypeRegistry.for(n0).registerError(DependencyFailedException$, DependencyFailedException);
435
+ var DialogAction$ = [
436
436
  3,
437
437
  n0,
438
438
  _DA,
@@ -440,7 +440,7 @@ var DialogAction = [
440
440
  [_ty, _iN, _sl, _sTE, _fS, _m, _mF],
441
441
  [0, 0, [() => StringMap, 0], 0, 0, [() => Text, 0], 0],
442
442
  ];
443
- var GenericAttachment = [
443
+ var GenericAttachment$ = [
444
444
  3,
445
445
  n0,
446
446
  _GA,
@@ -448,7 +448,7 @@ var GenericAttachment = [
448
448
  [_ti, _sT, _aLU, _iU, _b],
449
449
  [0, 0, 0, 0, () => listOfButtons],
450
450
  ];
451
- var GetSessionRequest = [
451
+ var GetSessionRequest$ = [
452
452
  3,
453
453
  n0,
454
454
  _GSR,
@@ -461,16 +461,16 @@ var GetSessionRequest = [
461
461
  [0, { [_hQ]: _cLF }],
462
462
  ],
463
463
  ];
464
- var GetSessionResponse = [
464
+ var GetSessionResponse$ = [
465
465
  3,
466
466
  n0,
467
467
  _GSRe,
468
468
  0,
469
469
  [_rISV, _sA, _sI, _dA, _aC],
470
- [[() => IntentSummaryList, 0], [() => StringMap, 0], 0, [() => DialogAction, 0], [() => ActiveContextsList, 0]],
470
+ [[() => IntentSummaryList, 0], [() => StringMap, 0], 0, [() => DialogAction$, 0], [() => ActiveContextsList, 0]],
471
471
  ];
472
- var IntentConfidence = [3, n0, _IC, 0, [_sc], [1]];
473
- var IntentSummary = [
472
+ var IntentConfidence$ = [3, n0, _IC, 0, [_sc], [1]];
473
+ var IntentSummary$ = [
474
474
  3,
475
475
  n0,
476
476
  _IS,
@@ -478,9 +478,9 @@ var IntentSummary = [
478
478
  [_iN, _cL, _sl, _cS, _dAT, _fS, _sTE],
479
479
  [0, 0, [() => StringMap, 0], 0, 0, 0, 0],
480
480
  ];
481
- var InternalFailureException = [-3, n0, _IFE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
482
- schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
483
- var LimitExceededException = [
481
+ var InternalFailureException$ = [-3, n0, _IFE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
482
+ schema.TypeRegistry.for(n0).registerError(InternalFailureException$, InternalFailureException);
483
+ var LimitExceededException$ = [
484
484
  -3,
485
485
  n0,
486
486
  _LEE,
@@ -488,14 +488,14 @@ var LimitExceededException = [
488
488
  [_rAS, _m],
489
489
  [[0, { [_hH]: _RA }], 0],
490
490
  ];
491
- schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
492
- var LoopDetectedException = [-3, n0, _LDE, { [_e]: _ser, [_hE]: 508 }, [_M], [0]];
493
- schema.TypeRegistry.for(n0).registerError(LoopDetectedException, LoopDetectedException$1);
494
- var NotAcceptableException = [-3, n0, _NAE, { [_e]: _c, [_hE]: 406 }, [_m], [0]];
495
- schema.TypeRegistry.for(n0).registerError(NotAcceptableException, NotAcceptableException$1);
496
- var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
497
- schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
498
- var PostContentRequest = [
491
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
492
+ var LoopDetectedException$ = [-3, n0, _LDE, { [_e]: _ser, [_hE]: 508 }, [_M], [0]];
493
+ schema.TypeRegistry.for(n0).registerError(LoopDetectedException$, LoopDetectedException);
494
+ var NotAcceptableException$ = [-3, n0, _NAE, { [_e]: _c, [_hE]: 406 }, [_m], [0]];
495
+ schema.TypeRegistry.for(n0).registerError(NotAcceptableException$, NotAcceptableException);
496
+ var NotFoundException$ = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
497
+ schema.TypeRegistry.for(n0).registerError(NotFoundException$, NotFoundException);
498
+ var PostContentRequest$ = [
499
499
  3,
500
500
  n0,
501
501
  _PCR,
@@ -513,7 +513,7 @@ var PostContentRequest = [
513
513
  [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
514
514
  ],
515
515
  ];
516
- var PostContentResponse = [
516
+ var PostContentResponse$ = [
517
517
  3,
518
518
  n0,
519
519
  _PCRo,
@@ -540,7 +540,7 @@ var PostContentResponse = [
540
540
  [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
541
541
  ],
542
542
  ];
543
- var PostTextRequest = [
543
+ var PostTextRequest$ = [
544
544
  3,
545
545
  n0,
546
546
  _PTR,
@@ -556,7 +556,7 @@ var PostTextRequest = [
556
556
  [() => ActiveContextsList, 0],
557
557
  ],
558
558
  ];
559
- var PostTextResponse = [
559
+ var PostTextResponse$ = [
560
560
  3,
561
561
  n0,
562
562
  _PTRo,
@@ -564,30 +564,30 @@ var PostTextResponse = [
564
564
  [_iN, _nIC, _aI, _sl, _sA, _m, _sR, _mF, _dS, _sTE, _rC, _sI, _bV, _aC],
565
565
  [
566
566
  0,
567
- () => IntentConfidence,
567
+ () => IntentConfidence$,
568
568
  [() => IntentList, 0],
569
569
  [() => StringMap, 0],
570
570
  [() => StringMap, 0],
571
571
  [() => Text, 0],
572
- () => SentimentResponse,
572
+ () => SentimentResponse$,
573
573
  0,
574
574
  0,
575
575
  0,
576
- () => ResponseCard,
576
+ () => ResponseCard$,
577
577
  0,
578
578
  0,
579
579
  [() => ActiveContextsList, 0],
580
580
  ],
581
581
  ];
582
- var PredictedIntent = [
582
+ var PredictedIntent$ = [
583
583
  3,
584
584
  n0,
585
585
  _PI,
586
586
  0,
587
587
  [_iN, _nIC, _sl],
588
- [0, () => IntentConfidence, [() => StringMap, 0]],
588
+ [0, () => IntentConfidence$, [() => StringMap, 0]],
589
589
  ];
590
- var PutSessionRequest = [
590
+ var PutSessionRequest$ = [
591
591
  3,
592
592
  n0,
593
593
  _PSR,
@@ -598,13 +598,13 @@ var PutSessionRequest = [
598
598
  [0, 1],
599
599
  [0, 1],
600
600
  [() => StringMap, 0],
601
- [() => DialogAction, 0],
601
+ [() => DialogAction$, 0],
602
602
  [() => IntentSummaryList, 0],
603
603
  [0, { [_hH]: _A }],
604
604
  [() => ActiveContextsList, 0],
605
605
  ],
606
606
  ];
607
- var PutSessionResponse = [
607
+ var PutSessionResponse$ = [
608
608
  3,
609
609
  n0,
610
610
  _PSRu,
@@ -625,13 +625,13 @@ var PutSessionResponse = [
625
625
  [() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
626
626
  ],
627
627
  ];
628
- var RequestTimeoutException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
629
- schema.TypeRegistry.for(n0).registerError(RequestTimeoutException, RequestTimeoutException$1);
630
- var ResponseCard = [3, n0, _RC, 0, [_ve, _cT, _gA], [0, 0, () => genericAttachmentList]];
631
- var SentimentResponse = [3, n0, _SR, 0, [_sL, _sS], [0, 0]];
632
- var UnsupportedMediaTypeException = [-3, n0, _UMTE, { [_e]: _c, [_hE]: 415 }, [_m], [0]];
633
- schema.TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException, UnsupportedMediaTypeException$1);
634
- var LexRuntimeServiceServiceException = [
628
+ var RequestTimeoutException$ = [-3, n0, _RTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
629
+ schema.TypeRegistry.for(n0).registerError(RequestTimeoutException$, RequestTimeoutException);
630
+ var ResponseCard$ = [3, n0, _RC, 0, [_ve, _cT, _gA], [0, 0, () => genericAttachmentList]];
631
+ var SentimentResponse$ = [3, n0, _SR, 0, [_sL, _sS], [0, 0]];
632
+ var UnsupportedMediaTypeException$ = [-3, n0, _UMTE, { [_e]: _c, [_hE]: 415 }, [_m], [0]];
633
+ schema.TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException$, UnsupportedMediaTypeException);
634
+ var LexRuntimeServiceServiceException$ = [
635
635
  -3,
636
636
  _sm,
637
637
  "LexRuntimeServiceServiceException",
@@ -639,53 +639,53 @@ var LexRuntimeServiceServiceException = [
639
639
  [],
640
640
  [],
641
641
  ];
642
- schema.TypeRegistry.for(_sm).registerError(LexRuntimeServiceServiceException, LexRuntimeServiceServiceException$1);
643
- var ActiveContextsList = [1, n0, _ACL, 8, [() => ActiveContext, 0]];
644
- var genericAttachmentList = [1, n0, _gAL, 0, () => GenericAttachment];
645
- var IntentList = [1, n0, _IL, 0, [() => PredictedIntent, 0]];
646
- var IntentSummaryList = [1, n0, _ISL, 0, [() => IntentSummary, 0]];
647
- var listOfButtons = [1, n0, _lOB, 0, () => Button];
642
+ schema.TypeRegistry.for(_sm).registerError(LexRuntimeServiceServiceException$, LexRuntimeServiceServiceException);
643
+ var ActiveContextsList = [1, n0, _ACL, 8, [() => ActiveContext$, 0]];
644
+ var genericAttachmentList = [1, n0, _gAL, 0, () => GenericAttachment$];
645
+ var IntentList = [1, n0, _IL, 0, [() => PredictedIntent$, 0]];
646
+ var IntentSummaryList = [1, n0, _ISL, 0, [() => IntentSummary$, 0]];
647
+ var listOfButtons = [1, n0, _lOB, 0, () => Button$];
648
648
  var ActiveContextParametersMap = [2, n0, _ACPM, 0, [0, 0], [() => Text, 0]];
649
649
  var StringMap = [2, n0, _SM, 8, 0, 0];
650
- var DeleteSession = [
650
+ var DeleteSession$ = [
651
651
  9,
652
652
  n0,
653
653
  _DS,
654
654
  { [_h]: ["DELETE", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
655
- () => DeleteSessionRequest,
656
- () => DeleteSessionResponse,
655
+ () => DeleteSessionRequest$,
656
+ () => DeleteSessionResponse$,
657
657
  ];
658
- var GetSession = [
658
+ var GetSession$ = [
659
659
  9,
660
660
  n0,
661
661
  _GS,
662
662
  { [_h]: ["GET", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
663
- () => GetSessionRequest,
664
- () => GetSessionResponse,
663
+ () => GetSessionRequest$,
664
+ () => GetSessionResponse$,
665
665
  ];
666
- var PostContent = [
666
+ var PostContent$ = [
667
667
  9,
668
668
  n0,
669
669
  _PC,
670
670
  { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/content", 200] },
671
- () => PostContentRequest,
672
- () => PostContentResponse,
671
+ () => PostContentRequest$,
672
+ () => PostContentResponse$,
673
673
  ];
674
- var PostText = [
674
+ var PostText$ = [
675
675
  9,
676
676
  n0,
677
677
  _PT,
678
678
  { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/text", 200] },
679
- () => PostTextRequest,
680
- () => PostTextResponse,
679
+ () => PostTextRequest$,
680
+ () => PostTextResponse$,
681
681
  ];
682
- var PutSession = [
682
+ var PutSession$ = [
683
683
  9,
684
684
  n0,
685
685
  _PS,
686
686
  { [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
687
- () => PutSessionRequest,
688
- () => PutSessionResponse,
687
+ () => PutSessionRequest$,
688
+ () => PutSessionResponse$,
689
689
  ];
690
690
 
691
691
  class DeleteSessionCommand extends smithyClient.Command
@@ -696,7 +696,7 @@ class DeleteSessionCommand extends smithyClient.Command
696
696
  })
697
697
  .s("AWSDeepSenseRunTimeService", "DeleteSession", {})
698
698
  .n("LexRuntimeServiceClient", "DeleteSessionCommand")
699
- .sc(DeleteSession)
699
+ .sc(DeleteSession$)
700
700
  .build() {
701
701
  }
702
702
 
@@ -708,7 +708,7 @@ class GetSessionCommand extends smithyClient.Command
708
708
  })
709
709
  .s("AWSDeepSenseRunTimeService", "GetSession", {})
710
710
  .n("LexRuntimeServiceClient", "GetSessionCommand")
711
- .sc(GetSession)
711
+ .sc(GetSession$)
712
712
  .build() {
713
713
  }
714
714
 
@@ -720,7 +720,7 @@ class PostContentCommand extends smithyClient.Command
720
720
  })
721
721
  .s("AWSDeepSenseRunTimeService", "PostContent", {})
722
722
  .n("LexRuntimeServiceClient", "PostContentCommand")
723
- .sc(PostContent)
723
+ .sc(PostContent$)
724
724
  .build() {
725
725
  }
726
726
 
@@ -732,7 +732,7 @@ class PostTextCommand extends smithyClient.Command
732
732
  })
733
733
  .s("AWSDeepSenseRunTimeService", "PostText", {})
734
734
  .n("LexRuntimeServiceClient", "PostTextCommand")
735
- .sc(PostText)
735
+ .sc(PostText$)
736
736
  .build() {
737
737
  }
738
738
 
@@ -744,7 +744,7 @@ class PutSessionCommand extends smithyClient.Command
744
744
  })
745
745
  .s("AWSDeepSenseRunTimeService", "PutSession", {})
746
746
  .n("LexRuntimeServiceClient", "PutSessionCommand")
747
- .sc(PutSession)
747
+ .sc(PutSession$)
748
748
  .build() {
749
749
  }
750
750
 
@@ -802,28 +802,65 @@ Object.defineProperty(exports, "__Client", {
802
802
  enumerable: true,
803
803
  get: function () { return smithyClient.Client; }
804
804
  });
805
- exports.BadGatewayException = BadGatewayException$1;
806
- exports.BadRequestException = BadRequestException$1;
805
+ exports.ActiveContext$ = ActiveContext$;
806
+ exports.ActiveContextTimeToLive$ = ActiveContextTimeToLive$;
807
+ exports.BadGatewayException = BadGatewayException;
808
+ exports.BadGatewayException$ = BadGatewayException$;
809
+ exports.BadRequestException = BadRequestException;
810
+ exports.BadRequestException$ = BadRequestException$;
811
+ exports.Button$ = Button$;
807
812
  exports.ConfirmationStatus = ConfirmationStatus;
808
- exports.ConflictException = ConflictException$1;
813
+ exports.ConflictException = ConflictException;
814
+ exports.ConflictException$ = ConflictException$;
809
815
  exports.ContentType = ContentType;
816
+ exports.DeleteSession$ = DeleteSession$;
810
817
  exports.DeleteSessionCommand = DeleteSessionCommand;
811
- exports.DependencyFailedException = DependencyFailedException$1;
818
+ exports.DeleteSessionRequest$ = DeleteSessionRequest$;
819
+ exports.DeleteSessionResponse$ = DeleteSessionResponse$;
820
+ exports.DependencyFailedException = DependencyFailedException;
821
+ exports.DependencyFailedException$ = DependencyFailedException$;
822
+ exports.DialogAction$ = DialogAction$;
812
823
  exports.DialogActionType = DialogActionType;
813
824
  exports.DialogState = DialogState;
814
825
  exports.FulfillmentState = FulfillmentState;
826
+ exports.GenericAttachment$ = GenericAttachment$;
827
+ exports.GetSession$ = GetSession$;
815
828
  exports.GetSessionCommand = GetSessionCommand;
816
- exports.InternalFailureException = InternalFailureException$1;
829
+ exports.GetSessionRequest$ = GetSessionRequest$;
830
+ exports.GetSessionResponse$ = GetSessionResponse$;
831
+ exports.IntentConfidence$ = IntentConfidence$;
832
+ exports.IntentSummary$ = IntentSummary$;
833
+ exports.InternalFailureException = InternalFailureException;
834
+ exports.InternalFailureException$ = InternalFailureException$;
817
835
  exports.LexRuntimeService = LexRuntimeService;
818
836
  exports.LexRuntimeServiceClient = LexRuntimeServiceClient;
819
- exports.LexRuntimeServiceServiceException = LexRuntimeServiceServiceException$1;
820
- exports.LimitExceededException = LimitExceededException$1;
821
- exports.LoopDetectedException = LoopDetectedException$1;
837
+ exports.LexRuntimeServiceServiceException = LexRuntimeServiceServiceException;
838
+ exports.LexRuntimeServiceServiceException$ = LexRuntimeServiceServiceException$;
839
+ exports.LimitExceededException = LimitExceededException;
840
+ exports.LimitExceededException$ = LimitExceededException$;
841
+ exports.LoopDetectedException = LoopDetectedException;
842
+ exports.LoopDetectedException$ = LoopDetectedException$;
822
843
  exports.MessageFormatType = MessageFormatType;
823
- exports.NotAcceptableException = NotAcceptableException$1;
824
- exports.NotFoundException = NotFoundException$1;
844
+ exports.NotAcceptableException = NotAcceptableException;
845
+ exports.NotAcceptableException$ = NotAcceptableException$;
846
+ exports.NotFoundException = NotFoundException;
847
+ exports.NotFoundException$ = NotFoundException$;
848
+ exports.PostContent$ = PostContent$;
825
849
  exports.PostContentCommand = PostContentCommand;
850
+ exports.PostContentRequest$ = PostContentRequest$;
851
+ exports.PostContentResponse$ = PostContentResponse$;
852
+ exports.PostText$ = PostText$;
826
853
  exports.PostTextCommand = PostTextCommand;
854
+ exports.PostTextRequest$ = PostTextRequest$;
855
+ exports.PostTextResponse$ = PostTextResponse$;
856
+ exports.PredictedIntent$ = PredictedIntent$;
857
+ exports.PutSession$ = PutSession$;
827
858
  exports.PutSessionCommand = PutSessionCommand;
828
- exports.RequestTimeoutException = RequestTimeoutException$1;
829
- exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException$1;
859
+ exports.PutSessionRequest$ = PutSessionRequest$;
860
+ exports.PutSessionResponse$ = PutSessionResponse$;
861
+ exports.RequestTimeoutException = RequestTimeoutException;
862
+ exports.RequestTimeoutException$ = RequestTimeoutException$;
863
+ exports.ResponseCard$ = ResponseCard$;
864
+ exports.SentimentResponse$ = SentimentResponse$;
865
+ exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
866
+ exports.UnsupportedMediaTypeException$ = UnsupportedMediaTypeException$;
@@ -27,7 +27,12 @@ const getRuntimeConfig = (config) => {
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
30
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.lexruntimeservice" }),
30
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
+ protocolSettings: config?.protocolSettings ?? {
32
+ defaultNamespace: "com.amazonaws.lexruntimeservice",
33
+ version: "2016-11-28",
34
+ serviceTarget: "AWSDeepSenseRunTimeService",
35
+ },
31
36
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
32
37
  serviceId: config?.serviceId ?? "Lex Runtime Service",
33
38
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteSession } from "../schemas/schemas_0";
4
+ import { DeleteSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteSessionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteSessionCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepSenseRunTimeService", "DeleteSession", {})
13
13
  .n("LexRuntimeServiceClient", "DeleteSessionCommand")
14
- .sc(DeleteSession)
14
+ .sc(DeleteSession$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSession } from "../schemas/schemas_0";
4
+ import { GetSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSessionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSessionCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepSenseRunTimeService", "GetSession", {})
13
13
  .n("LexRuntimeServiceClient", "GetSessionCommand")
14
- .sc(GetSession)
14
+ .sc(GetSession$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PostContent } from "../schemas/schemas_0";
4
+ import { PostContent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PostContentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PostContentCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepSenseRunTimeService", "PostContent", {})
13
13
  .n("LexRuntimeServiceClient", "PostContentCommand")
14
- .sc(PostContent)
14
+ .sc(PostContent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PostText } from "../schemas/schemas_0";
4
+ import { PostText$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PostTextCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PostTextCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepSenseRunTimeService", "PostText", {})
13
13
  .n("LexRuntimeServiceClient", "PostTextCommand")
14
- .sc(PostText)
14
+ .sc(PostText$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSession } from "../schemas/schemas_0";
4
+ import { PutSession$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSessionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSessionCommand extends $Command
11
11
  })
12
12
  .s("AWSDeepSenseRunTimeService", "PutSession", {})
13
13
  .n("LexRuntimeServiceClient", "PutSessionCommand")
14
- .sc(PutSession)
14
+ .sc(PutSession$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./LexRuntimeServiceClient";
2
2
  export * from "./LexRuntimeService";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";