@aws-sdk/client-connectparticipant 3.943.0 → 3.947.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 +29 -212
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/ConnectParticipantClient.js +1 -1
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +29 -213
- package/dist-types/ConnectParticipant.d.ts +1 -1
- package/dist-types/ConnectParticipantClient.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/CancelParticipantAuthenticationCommand.d.ts +3 -3
- package/dist-types/commands/CompleteAttachmentUploadCommand.d.ts +3 -3
- package/dist-types/commands/CreateParticipantConnectionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeViewCommand.d.ts +3 -3
- package/dist-types/commands/DisconnectParticipantCommand.d.ts +3 -3
- package/dist-types/commands/GetAttachmentCommand.d.ts +3 -3
- package/dist-types/commands/GetAuthenticationUrlCommand.d.ts +3 -3
- package/dist-types/commands/GetTranscriptCommand.d.ts +3 -3
- package/dist-types/commands/SendEventCommand.d.ts +3 -3
- package/dist-types/commands/SendMessageCommand.d.ts +3 -3
- package/dist-types/commands/StartAttachmentUploadCommand.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/ConnectParticipantServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/GetTranscriptPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.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 -2
- package/dist-types/ts3.4/ConnectParticipantClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ConnectParticipantServiceException.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -361,17 +361,7 @@ var ViewAction = [0, n0, _VA, 8, 0];
|
|
|
361
361
|
var ViewInputSchema = [0, n0, _VIS, 8, 0];
|
|
362
362
|
var ViewName = [0, n0, _VN, 8, 0];
|
|
363
363
|
var ViewTemplate = [0, n0, _VT, 8, 0];
|
|
364
|
-
var AccessDeniedException = [
|
|
365
|
-
-3,
|
|
366
|
-
n0,
|
|
367
|
-
_ADE,
|
|
368
|
-
{
|
|
369
|
-
[_e]: _c,
|
|
370
|
-
[_hE]: 403,
|
|
371
|
-
},
|
|
372
|
-
[_M],
|
|
373
|
-
[0],
|
|
374
|
-
];
|
|
364
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
|
|
375
365
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
376
366
|
var AttachmentItem = [3, n0, _AI, 0, [_CT, _AIt, _AN, _S], [0, 0, 0, 0]];
|
|
377
367
|
var Attendee = [3, n0, _A, 0, [_AItt, _JT], [0, [() => JoinToken, 0]]];
|
|
@@ -382,15 +372,7 @@ var CancelParticipantAuthenticationRequest = [
|
|
|
382
372
|
_CPAR,
|
|
383
373
|
0,
|
|
384
374
|
[_SI, _CTo],
|
|
385
|
-
[
|
|
386
|
-
0,
|
|
387
|
-
[
|
|
388
|
-
0,
|
|
389
|
-
{
|
|
390
|
-
[_hH]: _XAB,
|
|
391
|
-
},
|
|
392
|
-
],
|
|
393
|
-
],
|
|
375
|
+
[0, [0, { [_hH]: _XAB }]],
|
|
394
376
|
];
|
|
395
377
|
var CancelParticipantAuthenticationResponse = [3, n0, _CPARa, 0, [], []];
|
|
396
378
|
var CompleteAttachmentUploadRequest = [
|
|
@@ -399,29 +381,10 @@ var CompleteAttachmentUploadRequest = [
|
|
|
399
381
|
_CAUR,
|
|
400
382
|
0,
|
|
401
383
|
[_AItta, _CTl, _CTo],
|
|
402
|
-
[
|
|
403
|
-
64 | 0,
|
|
404
|
-
[0, 4],
|
|
405
|
-
[
|
|
406
|
-
0,
|
|
407
|
-
{
|
|
408
|
-
[_hH]: _XAB,
|
|
409
|
-
},
|
|
410
|
-
],
|
|
411
|
-
],
|
|
384
|
+
[64 | 0, [0, 4], [0, { [_hH]: _XAB }]],
|
|
412
385
|
];
|
|
413
386
|
var CompleteAttachmentUploadResponse = [3, n0, _CAURo, 0, [], []];
|
|
414
|
-
var ConflictException = [
|
|
415
|
-
-3,
|
|
416
|
-
n0,
|
|
417
|
-
_CE,
|
|
418
|
-
{
|
|
419
|
-
[_e]: _c,
|
|
420
|
-
[_hE]: 409,
|
|
421
|
-
},
|
|
422
|
-
[_M],
|
|
423
|
-
[0],
|
|
424
|
-
];
|
|
387
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
|
|
425
388
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
426
389
|
var ConnectionCredentials = [3, n0, _CC, 0, [_CTo, _E], [0, 0]];
|
|
427
390
|
var CreateParticipantConnectionRequest = [
|
|
@@ -430,16 +393,7 @@ var CreateParticipantConnectionRequest = [
|
|
|
430
393
|
_CPCR,
|
|
431
394
|
0,
|
|
432
395
|
[_T, _PT, _CP],
|
|
433
|
-
[
|
|
434
|
-
64 | 0,
|
|
435
|
-
[
|
|
436
|
-
0,
|
|
437
|
-
{
|
|
438
|
-
[_hH]: _XAB,
|
|
439
|
-
},
|
|
440
|
-
],
|
|
441
|
-
2,
|
|
442
|
-
],
|
|
396
|
+
[64 | 0, [0, { [_hH]: _XAB }], 2],
|
|
443
397
|
];
|
|
444
398
|
var CreateParticipantConnectionResponse = [
|
|
445
399
|
3,
|
|
@@ -457,12 +411,7 @@ var DescribeViewRequest = [
|
|
|
457
411
|
[_VTi, _CTo],
|
|
458
412
|
[
|
|
459
413
|
[0, 1],
|
|
460
|
-
[
|
|
461
|
-
0,
|
|
462
|
-
{
|
|
463
|
-
[_hH]: _XAB,
|
|
464
|
-
},
|
|
465
|
-
],
|
|
414
|
+
[0, { [_hH]: _XAB }],
|
|
466
415
|
],
|
|
467
416
|
];
|
|
468
417
|
var DescribeViewResponse = [3, n0, _DVRe, 0, [_V], [[() => View, 0]]];
|
|
@@ -474,12 +423,7 @@ var DisconnectParticipantRequest = [
|
|
|
474
423
|
[_CTl, _CTo],
|
|
475
424
|
[
|
|
476
425
|
[0, 4],
|
|
477
|
-
[
|
|
478
|
-
0,
|
|
479
|
-
{
|
|
480
|
-
[_hH]: _XAB,
|
|
481
|
-
},
|
|
482
|
-
],
|
|
426
|
+
[0, { [_hH]: _XAB }],
|
|
483
427
|
],
|
|
484
428
|
];
|
|
485
429
|
var DisconnectParticipantResponse = [3, n0, _DPRi, 0, [], []];
|
|
@@ -489,16 +433,7 @@ var GetAttachmentRequest = [
|
|
|
489
433
|
_GAR,
|
|
490
434
|
0,
|
|
491
435
|
[_AIt, _CTo, _UEIS],
|
|
492
|
-
[
|
|
493
|
-
0,
|
|
494
|
-
[
|
|
495
|
-
0,
|
|
496
|
-
{
|
|
497
|
-
[_hH]: _XAB,
|
|
498
|
-
},
|
|
499
|
-
],
|
|
500
|
-
1,
|
|
501
|
-
],
|
|
436
|
+
[0, [0, { [_hH]: _XAB }], 1],
|
|
502
437
|
];
|
|
503
438
|
var GetAttachmentResponse = [3, n0, _GARe, 0, [_U, _UE, _ASIB], [0, 0, 1]];
|
|
504
439
|
var GetAuthenticationUrlRequest = [
|
|
@@ -507,16 +442,7 @@ var GetAuthenticationUrlRequest = [
|
|
|
507
442
|
_GAUR,
|
|
508
443
|
0,
|
|
509
444
|
[_SI, _RU, _CTo],
|
|
510
|
-
[
|
|
511
|
-
0,
|
|
512
|
-
0,
|
|
513
|
-
[
|
|
514
|
-
0,
|
|
515
|
-
{
|
|
516
|
-
[_hH]: _XAB,
|
|
517
|
-
},
|
|
518
|
-
],
|
|
519
|
-
],
|
|
445
|
+
[0, 0, [0, { [_hH]: _XAB }]],
|
|
520
446
|
];
|
|
521
447
|
var GetAuthenticationUrlResponse = [3, n0, _GAURe, 0, [_AU], [0]];
|
|
522
448
|
var GetTranscriptRequest = [
|
|
@@ -525,33 +451,10 @@ var GetTranscriptRequest = [
|
|
|
525
451
|
_GTR,
|
|
526
452
|
0,
|
|
527
453
|
[_CI, _MR, _NT, _SD, _SO, _SP, _CTo],
|
|
528
|
-
[
|
|
529
|
-
0,
|
|
530
|
-
1,
|
|
531
|
-
0,
|
|
532
|
-
0,
|
|
533
|
-
0,
|
|
534
|
-
() => StartPosition,
|
|
535
|
-
[
|
|
536
|
-
0,
|
|
537
|
-
{
|
|
538
|
-
[_hH]: _XAB,
|
|
539
|
-
},
|
|
540
|
-
],
|
|
541
|
-
],
|
|
454
|
+
[0, 1, 0, 0, 0, () => StartPosition, [0, { [_hH]: _XAB }]],
|
|
542
455
|
];
|
|
543
456
|
var GetTranscriptResponse = [3, n0, _GTRe, 0, [_ICI, _Tr, _NT], [0, () => Transcript, 0]];
|
|
544
|
-
var InternalServerException = [
|
|
545
|
-
-3,
|
|
546
|
-
n0,
|
|
547
|
-
_ISE,
|
|
548
|
-
{
|
|
549
|
-
[_e]: _s,
|
|
550
|
-
[_hE]: 500,
|
|
551
|
-
},
|
|
552
|
-
[_M],
|
|
553
|
-
[0],
|
|
554
|
-
];
|
|
457
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
|
|
555
458
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
556
459
|
var Item = [
|
|
557
460
|
3,
|
|
@@ -569,10 +472,7 @@ var ResourceNotFoundException = [
|
|
|
569
472
|
-3,
|
|
570
473
|
n0,
|
|
571
474
|
_RNFE,
|
|
572
|
-
{
|
|
573
|
-
[_e]: _c,
|
|
574
|
-
[_hE]: 404,
|
|
575
|
-
},
|
|
475
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
576
476
|
[_M, _RI, _RTe],
|
|
577
477
|
[0, 0, 0],
|
|
578
478
|
];
|
|
@@ -583,17 +483,7 @@ var SendEventRequest = [
|
|
|
583
483
|
_SER,
|
|
584
484
|
0,
|
|
585
485
|
[_CT, _C, _CTl, _CTo],
|
|
586
|
-
[
|
|
587
|
-
0,
|
|
588
|
-
0,
|
|
589
|
-
[0, 4],
|
|
590
|
-
[
|
|
591
|
-
0,
|
|
592
|
-
{
|
|
593
|
-
[_hH]: _XAB,
|
|
594
|
-
},
|
|
595
|
-
],
|
|
596
|
-
],
|
|
486
|
+
[0, 0, [0, 4], [0, { [_hH]: _XAB }]],
|
|
597
487
|
];
|
|
598
488
|
var SendEventResponse = [3, n0, _SERe, 0, [_Id, _AT], [0, 0]];
|
|
599
489
|
var SendMessageRequest = [
|
|
@@ -602,17 +492,7 @@ var SendMessageRequest = [
|
|
|
602
492
|
_SMR,
|
|
603
493
|
0,
|
|
604
494
|
[_CT, _C, _CTl, _CTo],
|
|
605
|
-
[
|
|
606
|
-
0,
|
|
607
|
-
0,
|
|
608
|
-
[0, 4],
|
|
609
|
-
[
|
|
610
|
-
0,
|
|
611
|
-
{
|
|
612
|
-
[_hH]: _XAB,
|
|
613
|
-
},
|
|
614
|
-
],
|
|
615
|
-
],
|
|
495
|
+
[0, 0, [0, 4], [0, { [_hH]: _XAB }]],
|
|
616
496
|
];
|
|
617
497
|
var SendMessageResponse = [
|
|
618
498
|
3,
|
|
@@ -622,17 +502,7 @@ var SendMessageResponse = [
|
|
|
622
502
|
[_Id, _AT, _MM],
|
|
623
503
|
[0, 0, () => MessageProcessingMetadata],
|
|
624
504
|
];
|
|
625
|
-
var ServiceQuotaExceededException = [
|
|
626
|
-
-3,
|
|
627
|
-
n0,
|
|
628
|
-
_SQEE,
|
|
629
|
-
{
|
|
630
|
-
[_e]: _c,
|
|
631
|
-
[_hE]: 402,
|
|
632
|
-
},
|
|
633
|
-
[_M],
|
|
634
|
-
[0],
|
|
635
|
-
];
|
|
505
|
+
var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
|
|
636
506
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
637
507
|
var StartAttachmentUploadRequest = [
|
|
638
508
|
3,
|
|
@@ -640,18 +510,7 @@ var StartAttachmentUploadRequest = [
|
|
|
640
510
|
_SAUR,
|
|
641
511
|
0,
|
|
642
512
|
[_CT, _ASIB, _AN, _CTl, _CTo],
|
|
643
|
-
[
|
|
644
|
-
0,
|
|
645
|
-
1,
|
|
646
|
-
0,
|
|
647
|
-
[0, 4],
|
|
648
|
-
[
|
|
649
|
-
0,
|
|
650
|
-
{
|
|
651
|
-
[_hH]: _XAB,
|
|
652
|
-
},
|
|
653
|
-
],
|
|
654
|
-
],
|
|
513
|
+
[0, 1, 0, [0, 4], [0, { [_hH]: _XAB }]],
|
|
655
514
|
];
|
|
656
515
|
var StartAttachmentUploadResponse = [
|
|
657
516
|
3,
|
|
@@ -662,30 +521,10 @@ var StartAttachmentUploadResponse = [
|
|
|
662
521
|
[0, () => UploadMetadata],
|
|
663
522
|
];
|
|
664
523
|
var StartPosition = [3, n0, _SP, 0, [_Id, _AT, _MRo], [0, 0, 1]];
|
|
665
|
-
var ThrottlingException = [
|
|
666
|
-
-3,
|
|
667
|
-
n0,
|
|
668
|
-
_TE,
|
|
669
|
-
{
|
|
670
|
-
[_e]: _c,
|
|
671
|
-
[_hE]: 429,
|
|
672
|
-
},
|
|
673
|
-
[_M],
|
|
674
|
-
[0],
|
|
675
|
-
];
|
|
524
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
|
|
676
525
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
677
526
|
var UploadMetadata = [3, n0, _UM, 0, [_U, _UE, _HTI], [0, 0, 128 | 0]];
|
|
678
|
-
var ValidationException = [
|
|
679
|
-
-3,
|
|
680
|
-
n0,
|
|
681
|
-
_VE,
|
|
682
|
-
{
|
|
683
|
-
[_e]: _c,
|
|
684
|
-
[_hE]: 400,
|
|
685
|
-
},
|
|
686
|
-
[_M],
|
|
687
|
-
[0],
|
|
688
|
-
];
|
|
527
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
|
|
689
528
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
690
529
|
var View = [
|
|
691
530
|
3,
|
|
@@ -742,9 +581,7 @@ var CancelParticipantAuthentication = [
|
|
|
742
581
|
9,
|
|
743
582
|
n0,
|
|
744
583
|
_CPA,
|
|
745
|
-
{
|
|
746
|
-
[_h]: ["POST", "/participant/cancel-authentication", 200],
|
|
747
|
-
},
|
|
584
|
+
{ [_h]: ["POST", "/participant/cancel-authentication", 200] },
|
|
748
585
|
() => CancelParticipantAuthenticationRequest,
|
|
749
586
|
() => CancelParticipantAuthenticationResponse,
|
|
750
587
|
];
|
|
@@ -752,9 +589,7 @@ var CompleteAttachmentUpload = [
|
|
|
752
589
|
9,
|
|
753
590
|
n0,
|
|
754
591
|
_CAU,
|
|
755
|
-
{
|
|
756
|
-
[_h]: ["POST", "/participant/complete-attachment-upload", 200],
|
|
757
|
-
},
|
|
592
|
+
{ [_h]: ["POST", "/participant/complete-attachment-upload", 200] },
|
|
758
593
|
() => CompleteAttachmentUploadRequest,
|
|
759
594
|
() => CompleteAttachmentUploadResponse,
|
|
760
595
|
];
|
|
@@ -762,9 +597,7 @@ var CreateParticipantConnection = [
|
|
|
762
597
|
9,
|
|
763
598
|
n0,
|
|
764
599
|
_CPC,
|
|
765
|
-
{
|
|
766
|
-
[_h]: ["POST", "/participant/connection", 200],
|
|
767
|
-
},
|
|
600
|
+
{ [_h]: ["POST", "/participant/connection", 200] },
|
|
768
601
|
() => CreateParticipantConnectionRequest,
|
|
769
602
|
() => CreateParticipantConnectionResponse,
|
|
770
603
|
];
|
|
@@ -772,9 +605,7 @@ var DescribeView = [
|
|
|
772
605
|
9,
|
|
773
606
|
n0,
|
|
774
607
|
_DV,
|
|
775
|
-
{
|
|
776
|
-
[_h]: ["GET", "/participant/views/{ViewToken}", 200],
|
|
777
|
-
},
|
|
608
|
+
{ [_h]: ["GET", "/participant/views/{ViewToken}", 200] },
|
|
778
609
|
() => DescribeViewRequest,
|
|
779
610
|
() => DescribeViewResponse,
|
|
780
611
|
];
|
|
@@ -782,9 +613,7 @@ var DisconnectParticipant = [
|
|
|
782
613
|
9,
|
|
783
614
|
n0,
|
|
784
615
|
_DP,
|
|
785
|
-
{
|
|
786
|
-
[_h]: ["POST", "/participant/disconnect", 200],
|
|
787
|
-
},
|
|
616
|
+
{ [_h]: ["POST", "/participant/disconnect", 200] },
|
|
788
617
|
() => DisconnectParticipantRequest,
|
|
789
618
|
() => DisconnectParticipantResponse,
|
|
790
619
|
];
|
|
@@ -792,9 +621,7 @@ var GetAttachment = [
|
|
|
792
621
|
9,
|
|
793
622
|
n0,
|
|
794
623
|
_GA,
|
|
795
|
-
{
|
|
796
|
-
[_h]: ["POST", "/participant/attachment", 200],
|
|
797
|
-
},
|
|
624
|
+
{ [_h]: ["POST", "/participant/attachment", 200] },
|
|
798
625
|
() => GetAttachmentRequest,
|
|
799
626
|
() => GetAttachmentResponse,
|
|
800
627
|
];
|
|
@@ -802,9 +629,7 @@ var GetAuthenticationUrl = [
|
|
|
802
629
|
9,
|
|
803
630
|
n0,
|
|
804
631
|
_GAU,
|
|
805
|
-
{
|
|
806
|
-
[_h]: ["POST", "/participant/authentication-url", 200],
|
|
807
|
-
},
|
|
632
|
+
{ [_h]: ["POST", "/participant/authentication-url", 200] },
|
|
808
633
|
() => GetAuthenticationUrlRequest,
|
|
809
634
|
() => GetAuthenticationUrlResponse,
|
|
810
635
|
];
|
|
@@ -812,9 +637,7 @@ var GetTranscript = [
|
|
|
812
637
|
9,
|
|
813
638
|
n0,
|
|
814
639
|
_GT,
|
|
815
|
-
{
|
|
816
|
-
[_h]: ["POST", "/participant/transcript", 200],
|
|
817
|
-
},
|
|
640
|
+
{ [_h]: ["POST", "/participant/transcript", 200] },
|
|
818
641
|
() => GetTranscriptRequest,
|
|
819
642
|
() => GetTranscriptResponse,
|
|
820
643
|
];
|
|
@@ -822,9 +645,7 @@ var SendEvent = [
|
|
|
822
645
|
9,
|
|
823
646
|
n0,
|
|
824
647
|
_SE,
|
|
825
|
-
{
|
|
826
|
-
[_h]: ["POST", "/participant/event", 200],
|
|
827
|
-
},
|
|
648
|
+
{ [_h]: ["POST", "/participant/event", 200] },
|
|
828
649
|
() => SendEventRequest,
|
|
829
650
|
() => SendEventResponse,
|
|
830
651
|
];
|
|
@@ -832,9 +653,7 @@ var SendMessage = [
|
|
|
832
653
|
9,
|
|
833
654
|
n0,
|
|
834
655
|
_SM,
|
|
835
|
-
{
|
|
836
|
-
[_h]: ["POST", "/participant/message", 200],
|
|
837
|
-
},
|
|
656
|
+
{ [_h]: ["POST", "/participant/message", 200] },
|
|
838
657
|
() => SendMessageRequest,
|
|
839
658
|
() => SendMessageResponse,
|
|
840
659
|
];
|
|
@@ -842,9 +661,7 @@ var StartAttachmentUpload = [
|
|
|
842
661
|
9,
|
|
843
662
|
n0,
|
|
844
663
|
_SAU,
|
|
845
|
-
{
|
|
846
|
-
[_h]: ["POST", "/participant/start-attachment-upload", 200],
|
|
847
|
-
},
|
|
664
|
+
{ [_h]: ["POST", "/participant/start-attachment-upload", 200] },
|
|
848
665
|
() => StartAttachmentUploadRequest,
|
|
849
666
|
() => StartAttachmentUploadResponse,
|
|
850
667
|
];
|
|
@@ -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,7 +6,7 @@ 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";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
10
|
import { getOmitRetryHeadersPlugin, getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultConnectParticipantHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
@@ -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);
|