@aws-sdk/client-lex-runtime-service 3.943.0 → 3.946.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 +56 -386
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/LexRuntimeServiceClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +56 -386
- package/dist-types/LexRuntimeService.d.ts +1 -1
- package/dist-types/LexRuntimeServiceClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/DeleteSessionCommand.d.ts +3 -3
- package/dist-types/commands/GetSessionCommand.d.ts +3 -3
- package/dist-types/commands/PostContentCommand.d.ts +2 -2
- package/dist-types/commands/PostTextCommand.d.ts +3 -3
- package/dist-types/commands/PutSessionCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/LexRuntimeServiceServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +1 -1
- package/package.json +12 -11
package/dist-cjs/index.js
CHANGED
|
@@ -394,46 +394,12 @@ const _xalsa = "x-amz-lex-session-attributes";
|
|
|
394
394
|
const _xalsi = "x-amz-lex-session-id";
|
|
395
395
|
const _xalste = "x-amz-lex-slot-to-elicit";
|
|
396
396
|
const n0 = "com.amazonaws.lexruntimeservice";
|
|
397
|
-
var BlobStream = [
|
|
398
|
-
0,
|
|
399
|
-
n0,
|
|
400
|
-
_BS,
|
|
401
|
-
{
|
|
402
|
-
[_s]: 1,
|
|
403
|
-
},
|
|
404
|
-
42,
|
|
405
|
-
];
|
|
397
|
+
var BlobStream = [0, n0, _BS, { [_s]: 1 }, 42];
|
|
406
398
|
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
407
399
|
var SensitiveStringUnbounded = [0, n0, _SSU, 8, 0];
|
|
408
|
-
var SynthesizedJsonActiveContextsString = [
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
_SJACS,
|
|
412
|
-
{
|
|
413
|
-
[_mT]: _a,
|
|
414
|
-
[_se]: 1,
|
|
415
|
-
},
|
|
416
|
-
0,
|
|
417
|
-
];
|
|
418
|
-
var SynthesizedJsonAttributesString = [
|
|
419
|
-
0,
|
|
420
|
-
n0,
|
|
421
|
-
_SJAS,
|
|
422
|
-
{
|
|
423
|
-
[_mT]: _a,
|
|
424
|
-
[_se]: 1,
|
|
425
|
-
},
|
|
426
|
-
0,
|
|
427
|
-
];
|
|
428
|
-
var SynthesizedJsonString = [
|
|
429
|
-
0,
|
|
430
|
-
n0,
|
|
431
|
-
_SJS,
|
|
432
|
-
{
|
|
433
|
-
[_mT]: _a,
|
|
434
|
-
},
|
|
435
|
-
0,
|
|
436
|
-
];
|
|
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];
|
|
437
403
|
var Text = [0, n0, _T, 8, 0];
|
|
438
404
|
var ActiveContext = [
|
|
439
405
|
3,
|
|
@@ -444,42 +410,12 @@ var ActiveContext = [
|
|
|
444
410
|
[0, () => ActiveContextTimeToLive, [() => ActiveContextParametersMap, 0]],
|
|
445
411
|
];
|
|
446
412
|
var ActiveContextTimeToLive = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
|
|
447
|
-
var BadGatewayException = [
|
|
448
|
-
-3,
|
|
449
|
-
n0,
|
|
450
|
-
_BGE,
|
|
451
|
-
{
|
|
452
|
-
[_e]: _ser,
|
|
453
|
-
[_hE]: 502,
|
|
454
|
-
},
|
|
455
|
-
[_M],
|
|
456
|
-
[0],
|
|
457
|
-
];
|
|
413
|
+
var BadGatewayException = [-3, n0, _BGE, { [_e]: _ser, [_hE]: 502 }, [_M], [0]];
|
|
458
414
|
schema.TypeRegistry.for(n0).registerError(BadGatewayException, BadGatewayException$1);
|
|
459
|
-
var BadRequestException = [
|
|
460
|
-
-3,
|
|
461
|
-
n0,
|
|
462
|
-
_BRE,
|
|
463
|
-
{
|
|
464
|
-
[_e]: _c,
|
|
465
|
-
[_hE]: 400,
|
|
466
|
-
},
|
|
467
|
-
[_m],
|
|
468
|
-
[0],
|
|
469
|
-
];
|
|
415
|
+
var BadRequestException = [-3, n0, _BRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
470
416
|
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
471
417
|
var Button = [3, n0, _B, 0, [_t, _v], [0, 0]];
|
|
472
|
-
var ConflictException = [
|
|
473
|
-
-3,
|
|
474
|
-
n0,
|
|
475
|
-
_CE,
|
|
476
|
-
{
|
|
477
|
-
[_e]: _c,
|
|
478
|
-
[_hE]: 409,
|
|
479
|
-
},
|
|
480
|
-
[_m],
|
|
481
|
-
[0],
|
|
482
|
-
];
|
|
418
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
483
419
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
484
420
|
var DeleteSessionRequest = [
|
|
485
421
|
3,
|
|
@@ -494,17 +430,7 @@ var DeleteSessionRequest = [
|
|
|
494
430
|
],
|
|
495
431
|
];
|
|
496
432
|
var DeleteSessionResponse = [3, n0, _DSRe, 0, [_bN, _bA, _uI, _sI], [0, 0, 0, 0]];
|
|
497
|
-
var DependencyFailedException = [
|
|
498
|
-
-3,
|
|
499
|
-
n0,
|
|
500
|
-
_DFE,
|
|
501
|
-
{
|
|
502
|
-
[_e]: _c,
|
|
503
|
-
[_hE]: 424,
|
|
504
|
-
},
|
|
505
|
-
[_M],
|
|
506
|
-
[0],
|
|
507
|
-
];
|
|
433
|
+
var DependencyFailedException = [-3, n0, _DFE, { [_e]: _c, [_hE]: 424 }, [_M], [0]];
|
|
508
434
|
schema.TypeRegistry.for(n0).registerError(DependencyFailedException, DependencyFailedException$1);
|
|
509
435
|
var DialogAction = [
|
|
510
436
|
3,
|
|
@@ -532,12 +458,7 @@ var GetSessionRequest = [
|
|
|
532
458
|
[0, 1],
|
|
533
459
|
[0, 1],
|
|
534
460
|
[0, 1],
|
|
535
|
-
[
|
|
536
|
-
0,
|
|
537
|
-
{
|
|
538
|
-
[_hQ]: _cLF,
|
|
539
|
-
},
|
|
540
|
-
],
|
|
461
|
+
[0, { [_hQ]: _cLF }],
|
|
541
462
|
],
|
|
542
463
|
];
|
|
543
464
|
var GetSessionResponse = [
|
|
@@ -557,73 +478,22 @@ var IntentSummary = [
|
|
|
557
478
|
[_iN, _cL, _sl, _cS, _dAT, _fS, _sTE],
|
|
558
479
|
[0, 0, [() => StringMap, 0], 0, 0, 0, 0],
|
|
559
480
|
];
|
|
560
|
-
var InternalFailureException = [
|
|
561
|
-
-3,
|
|
562
|
-
n0,
|
|
563
|
-
_IFE,
|
|
564
|
-
{
|
|
565
|
-
[_e]: _ser,
|
|
566
|
-
[_hE]: 500,
|
|
567
|
-
},
|
|
568
|
-
[_m],
|
|
569
|
-
[0],
|
|
570
|
-
];
|
|
481
|
+
var InternalFailureException = [-3, n0, _IFE, { [_e]: _ser, [_hE]: 500 }, [_m], [0]];
|
|
571
482
|
schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
|
|
572
483
|
var LimitExceededException = [
|
|
573
484
|
-3,
|
|
574
485
|
n0,
|
|
575
486
|
_LEE,
|
|
576
|
-
{
|
|
577
|
-
[_e]: _c,
|
|
578
|
-
[_hE]: 429,
|
|
579
|
-
},
|
|
487
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
580
488
|
[_rAS, _m],
|
|
581
|
-
[
|
|
582
|
-
[
|
|
583
|
-
0,
|
|
584
|
-
{
|
|
585
|
-
[_hH]: _RA,
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
0,
|
|
589
|
-
],
|
|
489
|
+
[[0, { [_hH]: _RA }], 0],
|
|
590
490
|
];
|
|
591
491
|
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
592
|
-
var LoopDetectedException = [
|
|
593
|
-
-3,
|
|
594
|
-
n0,
|
|
595
|
-
_LDE,
|
|
596
|
-
{
|
|
597
|
-
[_e]: _ser,
|
|
598
|
-
[_hE]: 508,
|
|
599
|
-
},
|
|
600
|
-
[_M],
|
|
601
|
-
[0],
|
|
602
|
-
];
|
|
492
|
+
var LoopDetectedException = [-3, n0, _LDE, { [_e]: _ser, [_hE]: 508 }, [_M], [0]];
|
|
603
493
|
schema.TypeRegistry.for(n0).registerError(LoopDetectedException, LoopDetectedException$1);
|
|
604
|
-
var NotAcceptableException = [
|
|
605
|
-
-3,
|
|
606
|
-
n0,
|
|
607
|
-
_NAE,
|
|
608
|
-
{
|
|
609
|
-
[_e]: _c,
|
|
610
|
-
[_hE]: 406,
|
|
611
|
-
},
|
|
612
|
-
[_m],
|
|
613
|
-
[0],
|
|
614
|
-
];
|
|
494
|
+
var NotAcceptableException = [-3, n0, _NAE, { [_e]: _c, [_hE]: 406 }, [_m], [0]];
|
|
615
495
|
schema.TypeRegistry.for(n0).registerError(NotAcceptableException, NotAcceptableException$1);
|
|
616
|
-
var NotFoundException = [
|
|
617
|
-
-3,
|
|
618
|
-
n0,
|
|
619
|
-
_NFE,
|
|
620
|
-
{
|
|
621
|
-
[_e]: _c,
|
|
622
|
-
[_hE]: 404,
|
|
623
|
-
},
|
|
624
|
-
[_m],
|
|
625
|
-
[0],
|
|
626
|
-
];
|
|
496
|
+
var NotFoundException = [-3, n0, _NFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
627
497
|
schema.TypeRegistry.for(n0).registerError(NotFoundException, NotFoundException$1);
|
|
628
498
|
var PostContentRequest = [
|
|
629
499
|
3,
|
|
@@ -635,37 +505,12 @@ var PostContentRequest = [
|
|
|
635
505
|
[0, 1],
|
|
636
506
|
[0, 1],
|
|
637
507
|
[0, 1],
|
|
638
|
-
[
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
},
|
|
643
|
-
],
|
|
644
|
-
[
|
|
645
|
-
() => SynthesizedJsonAttributesString,
|
|
646
|
-
{
|
|
647
|
-
[_hH]: _xalra,
|
|
648
|
-
},
|
|
649
|
-
],
|
|
650
|
-
[
|
|
651
|
-
0,
|
|
652
|
-
{
|
|
653
|
-
[_hH]: _CT,
|
|
654
|
-
},
|
|
655
|
-
],
|
|
656
|
-
[
|
|
657
|
-
0,
|
|
658
|
-
{
|
|
659
|
-
[_hH]: _A,
|
|
660
|
-
},
|
|
661
|
-
],
|
|
508
|
+
[() => SynthesizedJsonAttributesString, { [_hH]: _xalsa }],
|
|
509
|
+
[() => SynthesizedJsonAttributesString, { [_hH]: _xalra }],
|
|
510
|
+
[0, { [_hH]: _CT }],
|
|
511
|
+
[0, { [_hH]: _A }],
|
|
662
512
|
[() => BlobStream, 16],
|
|
663
|
-
[
|
|
664
|
-
() => SynthesizedJsonActiveContextsString,
|
|
665
|
-
{
|
|
666
|
-
[_hH]: _xalac,
|
|
667
|
-
},
|
|
668
|
-
],
|
|
513
|
+
[() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
|
|
669
514
|
],
|
|
670
515
|
];
|
|
671
516
|
var PostContentResponse = [
|
|
@@ -675,109 +520,24 @@ var PostContentResponse = [
|
|
|
675
520
|
0,
|
|
676
521
|
[_cT, _iN, _nIC, _aI, _sl, _sA, _sR, _m, _eM, _mF, _dS, _sTE, _iT, _eIT, _aS, _bV, _sI, _aC],
|
|
677
522
|
[
|
|
678
|
-
[
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
],
|
|
684
|
-
[
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
],
|
|
690
|
-
[
|
|
691
|
-
|
|
692
|
-
{
|
|
693
|
-
[_hH]: _xalnic,
|
|
694
|
-
},
|
|
695
|
-
],
|
|
696
|
-
[
|
|
697
|
-
() => SynthesizedJsonString,
|
|
698
|
-
{
|
|
699
|
-
[_hH]: _xalai,
|
|
700
|
-
},
|
|
701
|
-
],
|
|
702
|
-
[
|
|
703
|
-
() => SynthesizedJsonString,
|
|
704
|
-
{
|
|
705
|
-
[_hH]: _xals,
|
|
706
|
-
},
|
|
707
|
-
],
|
|
708
|
-
[
|
|
709
|
-
() => SynthesizedJsonString,
|
|
710
|
-
{
|
|
711
|
-
[_hH]: _xalsa,
|
|
712
|
-
},
|
|
713
|
-
],
|
|
714
|
-
[
|
|
715
|
-
0,
|
|
716
|
-
{
|
|
717
|
-
[_hH]: _xals_,
|
|
718
|
-
},
|
|
719
|
-
],
|
|
720
|
-
[
|
|
721
|
-
() => Text,
|
|
722
|
-
{
|
|
723
|
-
[_hH]: _xalm,
|
|
724
|
-
},
|
|
725
|
-
],
|
|
726
|
-
[
|
|
727
|
-
() => SensitiveString,
|
|
728
|
-
{
|
|
729
|
-
[_hH]: _xalem,
|
|
730
|
-
},
|
|
731
|
-
],
|
|
732
|
-
[
|
|
733
|
-
0,
|
|
734
|
-
{
|
|
735
|
-
[_hH]: _xalmf,
|
|
736
|
-
},
|
|
737
|
-
],
|
|
738
|
-
[
|
|
739
|
-
0,
|
|
740
|
-
{
|
|
741
|
-
[_hH]: _xalds,
|
|
742
|
-
},
|
|
743
|
-
],
|
|
744
|
-
[
|
|
745
|
-
0,
|
|
746
|
-
{
|
|
747
|
-
[_hH]: _xalste,
|
|
748
|
-
},
|
|
749
|
-
],
|
|
750
|
-
[
|
|
751
|
-
0,
|
|
752
|
-
{
|
|
753
|
-
[_hH]: _xalit,
|
|
754
|
-
},
|
|
755
|
-
],
|
|
756
|
-
[
|
|
757
|
-
() => SensitiveStringUnbounded,
|
|
758
|
-
{
|
|
759
|
-
[_hH]: _xaleit,
|
|
760
|
-
},
|
|
761
|
-
],
|
|
523
|
+
[0, { [_hH]: _CT }],
|
|
524
|
+
[0, { [_hH]: _xalin }],
|
|
525
|
+
[() => SynthesizedJsonString, { [_hH]: _xalnic }],
|
|
526
|
+
[() => SynthesizedJsonString, { [_hH]: _xalai }],
|
|
527
|
+
[() => SynthesizedJsonString, { [_hH]: _xals }],
|
|
528
|
+
[() => SynthesizedJsonString, { [_hH]: _xalsa }],
|
|
529
|
+
[0, { [_hH]: _xals_ }],
|
|
530
|
+
[() => Text, { [_hH]: _xalm }],
|
|
531
|
+
[() => SensitiveString, { [_hH]: _xalem }],
|
|
532
|
+
[0, { [_hH]: _xalmf }],
|
|
533
|
+
[0, { [_hH]: _xalds }],
|
|
534
|
+
[0, { [_hH]: _xalste }],
|
|
535
|
+
[0, { [_hH]: _xalit }],
|
|
536
|
+
[() => SensitiveStringUnbounded, { [_hH]: _xaleit }],
|
|
762
537
|
[() => BlobStream, 16],
|
|
763
|
-
[
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
[_hH]: _xalbv,
|
|
767
|
-
},
|
|
768
|
-
],
|
|
769
|
-
[
|
|
770
|
-
0,
|
|
771
|
-
{
|
|
772
|
-
[_hH]: _xalsi,
|
|
773
|
-
},
|
|
774
|
-
],
|
|
775
|
-
[
|
|
776
|
-
() => SynthesizedJsonActiveContextsString,
|
|
777
|
-
{
|
|
778
|
-
[_hH]: _xalac,
|
|
779
|
-
},
|
|
780
|
-
],
|
|
538
|
+
[0, { [_hH]: _xalbv }],
|
|
539
|
+
[0, { [_hH]: _xalsi }],
|
|
540
|
+
[() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
|
|
781
541
|
],
|
|
782
542
|
];
|
|
783
543
|
var PostTextRequest = [
|
|
@@ -840,12 +600,7 @@ var PutSessionRequest = [
|
|
|
840
600
|
[() => StringMap, 0],
|
|
841
601
|
[() => DialogAction, 0],
|
|
842
602
|
[() => IntentSummaryList, 0],
|
|
843
|
-
[
|
|
844
|
-
0,
|
|
845
|
-
{
|
|
846
|
-
[_hH]: _A,
|
|
847
|
-
},
|
|
848
|
-
],
|
|
603
|
+
[0, { [_hH]: _A }],
|
|
849
604
|
[() => ActiveContextsList, 0],
|
|
850
605
|
],
|
|
851
606
|
];
|
|
@@ -856,100 +611,25 @@ var PutSessionResponse = [
|
|
|
856
611
|
0,
|
|
857
612
|
[_cT, _iN, _sl, _sA, _m, _eM, _mF, _dS, _sTE, _aS, _sI, _aC],
|
|
858
613
|
[
|
|
859
|
-
[
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
],
|
|
865
|
-
[
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
[_hH]: _xalin,
|
|
869
|
-
},
|
|
870
|
-
],
|
|
871
|
-
[
|
|
872
|
-
() => SynthesizedJsonString,
|
|
873
|
-
{
|
|
874
|
-
[_hH]: _xals,
|
|
875
|
-
},
|
|
876
|
-
],
|
|
877
|
-
[
|
|
878
|
-
() => SynthesizedJsonString,
|
|
879
|
-
{
|
|
880
|
-
[_hH]: _xalsa,
|
|
881
|
-
},
|
|
882
|
-
],
|
|
883
|
-
[
|
|
884
|
-
() => Text,
|
|
885
|
-
{
|
|
886
|
-
[_hH]: _xalm,
|
|
887
|
-
},
|
|
888
|
-
],
|
|
889
|
-
[
|
|
890
|
-
() => SensitiveString,
|
|
891
|
-
{
|
|
892
|
-
[_hH]: _xalem,
|
|
893
|
-
},
|
|
894
|
-
],
|
|
895
|
-
[
|
|
896
|
-
0,
|
|
897
|
-
{
|
|
898
|
-
[_hH]: _xalmf,
|
|
899
|
-
},
|
|
900
|
-
],
|
|
901
|
-
[
|
|
902
|
-
0,
|
|
903
|
-
{
|
|
904
|
-
[_hH]: _xalds,
|
|
905
|
-
},
|
|
906
|
-
],
|
|
907
|
-
[
|
|
908
|
-
0,
|
|
909
|
-
{
|
|
910
|
-
[_hH]: _xalste,
|
|
911
|
-
},
|
|
912
|
-
],
|
|
614
|
+
[0, { [_hH]: _CT }],
|
|
615
|
+
[0, { [_hH]: _xalin }],
|
|
616
|
+
[() => SynthesizedJsonString, { [_hH]: _xals }],
|
|
617
|
+
[() => SynthesizedJsonString, { [_hH]: _xalsa }],
|
|
618
|
+
[() => Text, { [_hH]: _xalm }],
|
|
619
|
+
[() => SensitiveString, { [_hH]: _xalem }],
|
|
620
|
+
[0, { [_hH]: _xalmf }],
|
|
621
|
+
[0, { [_hH]: _xalds }],
|
|
622
|
+
[0, { [_hH]: _xalste }],
|
|
913
623
|
[() => BlobStream, 16],
|
|
914
|
-
[
|
|
915
|
-
|
|
916
|
-
{
|
|
917
|
-
[_hH]: _xalsi,
|
|
918
|
-
},
|
|
919
|
-
],
|
|
920
|
-
[
|
|
921
|
-
() => SynthesizedJsonActiveContextsString,
|
|
922
|
-
{
|
|
923
|
-
[_hH]: _xalac,
|
|
924
|
-
},
|
|
925
|
-
],
|
|
624
|
+
[0, { [_hH]: _xalsi }],
|
|
625
|
+
[() => SynthesizedJsonActiveContextsString, { [_hH]: _xalac }],
|
|
926
626
|
],
|
|
927
627
|
];
|
|
928
|
-
var RequestTimeoutException = [
|
|
929
|
-
-3,
|
|
930
|
-
n0,
|
|
931
|
-
_RTE,
|
|
932
|
-
{
|
|
933
|
-
[_e]: _c,
|
|
934
|
-
[_hE]: 408,
|
|
935
|
-
},
|
|
936
|
-
[_m],
|
|
937
|
-
[0],
|
|
938
|
-
];
|
|
628
|
+
var RequestTimeoutException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 408 }, [_m], [0]];
|
|
939
629
|
schema.TypeRegistry.for(n0).registerError(RequestTimeoutException, RequestTimeoutException$1);
|
|
940
630
|
var ResponseCard = [3, n0, _RC, 0, [_ve, _cT, _gA], [0, 0, () => genericAttachmentList]];
|
|
941
631
|
var SentimentResponse = [3, n0, _SR, 0, [_sL, _sS], [0, 0]];
|
|
942
|
-
var UnsupportedMediaTypeException = [
|
|
943
|
-
-3,
|
|
944
|
-
n0,
|
|
945
|
-
_UMTE,
|
|
946
|
-
{
|
|
947
|
-
[_e]: _c,
|
|
948
|
-
[_hE]: 415,
|
|
949
|
-
},
|
|
950
|
-
[_m],
|
|
951
|
-
[0],
|
|
952
|
-
];
|
|
632
|
+
var UnsupportedMediaTypeException = [-3, n0, _UMTE, { [_e]: _c, [_hE]: 415 }, [_m], [0]];
|
|
953
633
|
schema.TypeRegistry.for(n0).registerError(UnsupportedMediaTypeException, UnsupportedMediaTypeException$1);
|
|
954
634
|
var LexRuntimeServiceServiceException = [
|
|
955
635
|
-3,
|
|
@@ -971,9 +651,7 @@ var DeleteSession = [
|
|
|
971
651
|
9,
|
|
972
652
|
n0,
|
|
973
653
|
_DS,
|
|
974
|
-
{
|
|
975
|
-
[_h]: ["DELETE", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200],
|
|
976
|
-
},
|
|
654
|
+
{ [_h]: ["DELETE", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
|
|
977
655
|
() => DeleteSessionRequest,
|
|
978
656
|
() => DeleteSessionResponse,
|
|
979
657
|
];
|
|
@@ -981,9 +659,7 @@ var GetSession = [
|
|
|
981
659
|
9,
|
|
982
660
|
n0,
|
|
983
661
|
_GS,
|
|
984
|
-
{
|
|
985
|
-
[_h]: ["GET", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200],
|
|
986
|
-
},
|
|
662
|
+
{ [_h]: ["GET", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
|
|
987
663
|
() => GetSessionRequest,
|
|
988
664
|
() => GetSessionResponse,
|
|
989
665
|
];
|
|
@@ -991,9 +667,7 @@ var PostContent = [
|
|
|
991
667
|
9,
|
|
992
668
|
n0,
|
|
993
669
|
_PC,
|
|
994
|
-
{
|
|
995
|
-
[_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/content", 200],
|
|
996
|
-
},
|
|
670
|
+
{ [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/content", 200] },
|
|
997
671
|
() => PostContentRequest,
|
|
998
672
|
() => PostContentResponse,
|
|
999
673
|
];
|
|
@@ -1001,9 +675,7 @@ var PostText = [
|
|
|
1001
675
|
9,
|
|
1002
676
|
n0,
|
|
1003
677
|
_PT,
|
|
1004
|
-
{
|
|
1005
|
-
[_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/text", 200],
|
|
1006
|
-
},
|
|
678
|
+
{ [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/text", 200] },
|
|
1007
679
|
() => PostTextRequest,
|
|
1008
680
|
() => PostTextResponse,
|
|
1009
681
|
];
|
|
@@ -1011,9 +683,7 @@ var PutSession = [
|
|
|
1011
683
|
9,
|
|
1012
684
|
n0,
|
|
1013
685
|
_PS,
|
|
1014
|
-
{
|
|
1015
|
-
[_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200],
|
|
1016
|
-
},
|
|
686
|
+
{ [_h]: ["POST", "/bot/{botName}/alias/{botAlias}/user/{userId}/session", 200] },
|
|
1017
687
|
() => PutSessionRequest,
|
|
1018
688
|
() => PutSessionResponse,
|
|
1019
689
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultLexRuntimeServiceHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|