@aws-sdk/client-arc-zonal-shift 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 +30 -165
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/ARCZonalShiftClient.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 +30 -166
- package/dist-types/ARCZonalShift.d.ts +1 -1
- package/dist-types/ARCZonalShiftClient.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/CancelPracticeRunCommand.d.ts +3 -3
- package/dist-types/commands/CancelZonalShiftCommand.d.ts +3 -3
- package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeletePracticeRunConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetManagedResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListAutoshiftsCommand.d.ts +3 -3
- package/dist-types/commands/ListManagedResourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListZonalShiftsCommand.d.ts +3 -3
- package/dist-types/commands/StartPracticeRunCommand.d.ts +3 -3
- package/dist-types/commands/StartZonalShiftCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +3 -3
- package/dist-types/commands/UpdatePracticeRunConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/UpdateZonalShiftCommand.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/ARCZonalShiftServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAutoshiftsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListZonalShiftsPaginator.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/ARCZonalShiftClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ARCZonalShiftServiceException.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
|
@@ -300,17 +300,7 @@ const _zAS = "zonalAutoshiftStatus";
|
|
|
300
300
|
const _zS = "zonalShifts";
|
|
301
301
|
const _zSI = "zonalShiftId";
|
|
302
302
|
const n0 = "com.amazonaws.arczonalshift";
|
|
303
|
-
var AccessDeniedException = [
|
|
304
|
-
-3,
|
|
305
|
-
n0,
|
|
306
|
-
_ADE,
|
|
307
|
-
{
|
|
308
|
-
[_e]: _c,
|
|
309
|
-
[_hE]: 403,
|
|
310
|
-
},
|
|
311
|
-
[_m],
|
|
312
|
-
[0],
|
|
313
|
-
];
|
|
303
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
314
304
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
315
305
|
var AutoshiftInResource = [3, n0, _AIR, 0, [_aS, _aF, _sT], [0, 0, 4]];
|
|
316
306
|
var AutoshiftSummary = [3, n0, _AS, 0, [_aF, _eT, _sT, _s], [0, 4, 4, 0]];
|
|
@@ -324,17 +314,7 @@ var CancelPracticeRunResponse = [
|
|
|
324
314
|
[0, 0, 0, 4, 4, 0, 0],
|
|
325
315
|
];
|
|
326
316
|
var CancelZonalShiftRequest = [3, n0, _CZSR, 0, [_zSI], [[0, 1]]];
|
|
327
|
-
var ConflictException = [
|
|
328
|
-
-3,
|
|
329
|
-
n0,
|
|
330
|
-
_CE,
|
|
331
|
-
{
|
|
332
|
-
[_e]: _c,
|
|
333
|
-
[_hE]: 409,
|
|
334
|
-
},
|
|
335
|
-
[_m, _r, _zSI],
|
|
336
|
-
[0, 0, 0],
|
|
337
|
-
];
|
|
317
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _r, _zSI], [0, 0, 0]];
|
|
338
318
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
339
319
|
var ControlCondition = [3, n0, _CC, 0, [_t, _aI], [0, 0]];
|
|
340
320
|
var CreatePracticeRunConfigurationRequest = [
|
|
@@ -373,17 +353,7 @@ var GetManagedResourceResponse = [
|
|
|
373
353
|
[_a, _n, _aWp, _zS, _au, _pRC, _zAS],
|
|
374
354
|
[0, 0, 128 | 1, () => ZonalShiftsInResource, () => AutoshiftsInResource, () => PracticeRunConfiguration, 0],
|
|
375
355
|
];
|
|
376
|
-
var InternalServerException = [
|
|
377
|
-
-3,
|
|
378
|
-
n0,
|
|
379
|
-
_ISE,
|
|
380
|
-
{
|
|
381
|
-
[_e]: _se,
|
|
382
|
-
[_hE]: 500,
|
|
383
|
-
},
|
|
384
|
-
[_m],
|
|
385
|
-
[0],
|
|
386
|
-
];
|
|
356
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
387
357
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
388
358
|
var ListAutoshiftsRequest = [
|
|
389
359
|
3,
|
|
@@ -392,24 +362,9 @@ var ListAutoshiftsRequest = [
|
|
|
392
362
|
0,
|
|
393
363
|
[_nT, _s, _mR],
|
|
394
364
|
[
|
|
395
|
-
[
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
[_hQ]: _nT,
|
|
399
|
-
},
|
|
400
|
-
],
|
|
401
|
-
[
|
|
402
|
-
0,
|
|
403
|
-
{
|
|
404
|
-
[_hQ]: _s,
|
|
405
|
-
},
|
|
406
|
-
],
|
|
407
|
-
[
|
|
408
|
-
1,
|
|
409
|
-
{
|
|
410
|
-
[_hQ]: _mR,
|
|
411
|
-
},
|
|
412
|
-
],
|
|
365
|
+
[0, { [_hQ]: _nT }],
|
|
366
|
+
[0, { [_hQ]: _s }],
|
|
367
|
+
[1, { [_hQ]: _mR }],
|
|
413
368
|
],
|
|
414
369
|
];
|
|
415
370
|
var ListAutoshiftsResponse = [3, n0, _LARi, 0, [_i, _nT], [() => AutoshiftSummaries, 0]];
|
|
@@ -420,18 +375,8 @@ var ListManagedResourcesRequest = [
|
|
|
420
375
|
0,
|
|
421
376
|
[_nT, _mR],
|
|
422
377
|
[
|
|
423
|
-
[
|
|
424
|
-
|
|
425
|
-
{
|
|
426
|
-
[_hQ]: _nT,
|
|
427
|
-
},
|
|
428
|
-
],
|
|
429
|
-
[
|
|
430
|
-
1,
|
|
431
|
-
{
|
|
432
|
-
[_hQ]: _mR,
|
|
433
|
-
},
|
|
434
|
-
],
|
|
378
|
+
[0, { [_hQ]: _nT }],
|
|
379
|
+
[1, { [_hQ]: _mR }],
|
|
435
380
|
],
|
|
436
381
|
];
|
|
437
382
|
var ListManagedResourcesResponse = [
|
|
@@ -449,30 +394,10 @@ var ListZonalShiftsRequest = [
|
|
|
449
394
|
0,
|
|
450
395
|
[_nT, _s, _mR, _rI],
|
|
451
396
|
[
|
|
452
|
-
[
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
},
|
|
457
|
-
],
|
|
458
|
-
[
|
|
459
|
-
0,
|
|
460
|
-
{
|
|
461
|
-
[_hQ]: _s,
|
|
462
|
-
},
|
|
463
|
-
],
|
|
464
|
-
[
|
|
465
|
-
1,
|
|
466
|
-
{
|
|
467
|
-
[_hQ]: _mR,
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
[
|
|
471
|
-
0,
|
|
472
|
-
{
|
|
473
|
-
[_hQ]: _rI,
|
|
474
|
-
},
|
|
475
|
-
],
|
|
397
|
+
[0, { [_hQ]: _nT }],
|
|
398
|
+
[0, { [_hQ]: _s }],
|
|
399
|
+
[1, { [_hQ]: _mR }],
|
|
400
|
+
[0, { [_hQ]: _rI }],
|
|
476
401
|
],
|
|
477
402
|
];
|
|
478
403
|
var ListZonalShiftsResponse = [
|
|
@@ -499,17 +424,7 @@ var PracticeRunConfiguration = [
|
|
|
499
424
|
[_bA, _oA, _bW, _aW, _bD],
|
|
500
425
|
[() => BlockingAlarms, () => OutcomeAlarms, 64 | 0, 64 | 0, 64 | 0],
|
|
501
426
|
];
|
|
502
|
-
var ResourceNotFoundException = [
|
|
503
|
-
-3,
|
|
504
|
-
n0,
|
|
505
|
-
_RNFE,
|
|
506
|
-
{
|
|
507
|
-
[_e]: _c,
|
|
508
|
-
[_hE]: 404,
|
|
509
|
-
},
|
|
510
|
-
[_m],
|
|
511
|
-
[0],
|
|
512
|
-
];
|
|
427
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
513
428
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
514
429
|
var StartPracticeRunRequest = [3, n0, _SPRR, 0, [_rI, _aF, _co], [0, 0, 0]];
|
|
515
430
|
var StartPracticeRunResponse = [
|
|
@@ -521,17 +436,7 @@ var StartPracticeRunResponse = [
|
|
|
521
436
|
[0, 0, 0, 4, 4, 0, 0],
|
|
522
437
|
];
|
|
523
438
|
var StartZonalShiftRequest = [3, n0, _SZSR, 0, [_rI, _aF, _eI, _co], [0, 0, 0, 0]];
|
|
524
|
-
var ThrottlingException = [
|
|
525
|
-
-3,
|
|
526
|
-
n0,
|
|
527
|
-
_TE,
|
|
528
|
-
{
|
|
529
|
-
[_e]: _c,
|
|
530
|
-
[_hE]: 429,
|
|
531
|
-
},
|
|
532
|
-
[_m],
|
|
533
|
-
[0],
|
|
534
|
-
];
|
|
439
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
535
440
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
536
441
|
var UpdateAutoshiftObserverNotificationStatusRequest = [3, n0, _UAONSR, 0, [_s], [0]];
|
|
537
442
|
var UpdateAutoshiftObserverNotificationStatusResponse = [3, n0, _UAONSRp, 0, [_s], [0]];
|
|
@@ -561,17 +466,7 @@ var UpdateZonalAutoshiftConfigurationRequest = [
|
|
|
561
466
|
];
|
|
562
467
|
var UpdateZonalAutoshiftConfigurationResponse = [3, n0, _UZACRp, 0, [_rI, _zAS], [0, 0]];
|
|
563
468
|
var UpdateZonalShiftRequest = [3, n0, _UZSR, 0, [_zSI, _co, _eI], [[0, 1], 0, 0]];
|
|
564
|
-
var ValidationException = [
|
|
565
|
-
-3,
|
|
566
|
-
n0,
|
|
567
|
-
_VE,
|
|
568
|
-
{
|
|
569
|
-
[_e]: _c,
|
|
570
|
-
[_hE]: 400,
|
|
571
|
-
},
|
|
572
|
-
[_m, _r],
|
|
573
|
-
[0, 0],
|
|
574
|
-
];
|
|
469
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m, _r], [0, 0]];
|
|
575
470
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
576
471
|
var ZonalShift = [
|
|
577
472
|
3,
|
|
@@ -610,9 +505,7 @@ var CancelPracticeRun = [
|
|
|
610
505
|
9,
|
|
611
506
|
n0,
|
|
612
507
|
_CPR,
|
|
613
|
-
{
|
|
614
|
-
[_h]: ["DELETE", "/practiceruns/{zonalShiftId}", 200],
|
|
615
|
-
},
|
|
508
|
+
{ [_h]: ["DELETE", "/practiceruns/{zonalShiftId}", 200] },
|
|
616
509
|
() => CancelPracticeRunRequest,
|
|
617
510
|
() => CancelPracticeRunResponse,
|
|
618
511
|
];
|
|
@@ -620,9 +513,7 @@ var CancelZonalShift = [
|
|
|
620
513
|
9,
|
|
621
514
|
n0,
|
|
622
515
|
_CZS,
|
|
623
|
-
{
|
|
624
|
-
[_h]: ["DELETE", "/zonalshifts/{zonalShiftId}", 200],
|
|
625
|
-
},
|
|
516
|
+
{ [_h]: ["DELETE", "/zonalshifts/{zonalShiftId}", 200] },
|
|
626
517
|
() => CancelZonalShiftRequest,
|
|
627
518
|
() => ZonalShift,
|
|
628
519
|
];
|
|
@@ -630,9 +521,7 @@ var CreatePracticeRunConfiguration = [
|
|
|
630
521
|
9,
|
|
631
522
|
n0,
|
|
632
523
|
_CPRC,
|
|
633
|
-
{
|
|
634
|
-
[_h]: ["POST", "/configuration", 201],
|
|
635
|
-
},
|
|
524
|
+
{ [_h]: ["POST", "/configuration", 201] },
|
|
636
525
|
() => CreatePracticeRunConfigurationRequest,
|
|
637
526
|
() => CreatePracticeRunConfigurationResponse,
|
|
638
527
|
];
|
|
@@ -640,9 +529,7 @@ var DeletePracticeRunConfiguration = [
|
|
|
640
529
|
9,
|
|
641
530
|
n0,
|
|
642
531
|
_DPRC,
|
|
643
|
-
{
|
|
644
|
-
[_h]: ["DELETE", "/configuration/{resourceIdentifier}", 200],
|
|
645
|
-
},
|
|
532
|
+
{ [_h]: ["DELETE", "/configuration/{resourceIdentifier}", 200] },
|
|
646
533
|
() => DeletePracticeRunConfigurationRequest,
|
|
647
534
|
() => DeletePracticeRunConfigurationResponse,
|
|
648
535
|
];
|
|
@@ -650,9 +537,7 @@ var GetAutoshiftObserverNotificationStatus = [
|
|
|
650
537
|
9,
|
|
651
538
|
n0,
|
|
652
539
|
_GAONS,
|
|
653
|
-
{
|
|
654
|
-
[_h]: ["GET", "/autoshift-observer-notification", 200],
|
|
655
|
-
},
|
|
540
|
+
{ [_h]: ["GET", "/autoshift-observer-notification", 200] },
|
|
656
541
|
() => GetAutoshiftObserverNotificationStatusRequest,
|
|
657
542
|
() => GetAutoshiftObserverNotificationStatusResponse,
|
|
658
543
|
];
|
|
@@ -660,9 +545,7 @@ var GetManagedResource = [
|
|
|
660
545
|
9,
|
|
661
546
|
n0,
|
|
662
547
|
_GMR,
|
|
663
|
-
{
|
|
664
|
-
[_h]: ["GET", "/managedresources/{resourceIdentifier}", 200],
|
|
665
|
-
},
|
|
548
|
+
{ [_h]: ["GET", "/managedresources/{resourceIdentifier}", 200] },
|
|
666
549
|
() => GetManagedResourceRequest,
|
|
667
550
|
() => GetManagedResourceResponse,
|
|
668
551
|
];
|
|
@@ -670,9 +553,7 @@ var ListAutoshifts = [
|
|
|
670
553
|
9,
|
|
671
554
|
n0,
|
|
672
555
|
_LA,
|
|
673
|
-
{
|
|
674
|
-
[_h]: ["GET", "/autoshifts", 200],
|
|
675
|
-
},
|
|
556
|
+
{ [_h]: ["GET", "/autoshifts", 200] },
|
|
676
557
|
() => ListAutoshiftsRequest,
|
|
677
558
|
() => ListAutoshiftsResponse,
|
|
678
559
|
];
|
|
@@ -680,9 +561,7 @@ var ListManagedResources = [
|
|
|
680
561
|
9,
|
|
681
562
|
n0,
|
|
682
563
|
_LMR,
|
|
683
|
-
{
|
|
684
|
-
[_h]: ["GET", "/managedresources", 200],
|
|
685
|
-
},
|
|
564
|
+
{ [_h]: ["GET", "/managedresources", 200] },
|
|
686
565
|
() => ListManagedResourcesRequest,
|
|
687
566
|
() => ListManagedResourcesResponse,
|
|
688
567
|
];
|
|
@@ -690,9 +569,7 @@ var ListZonalShifts = [
|
|
|
690
569
|
9,
|
|
691
570
|
n0,
|
|
692
571
|
_LZS,
|
|
693
|
-
{
|
|
694
|
-
[_h]: ["GET", "/zonalshifts", 200],
|
|
695
|
-
},
|
|
572
|
+
{ [_h]: ["GET", "/zonalshifts", 200] },
|
|
696
573
|
() => ListZonalShiftsRequest,
|
|
697
574
|
() => ListZonalShiftsResponse,
|
|
698
575
|
];
|
|
@@ -700,9 +577,7 @@ var StartPracticeRun = [
|
|
|
700
577
|
9,
|
|
701
578
|
n0,
|
|
702
579
|
_SPR,
|
|
703
|
-
{
|
|
704
|
-
[_h]: ["POST", "/practiceruns", 200],
|
|
705
|
-
},
|
|
580
|
+
{ [_h]: ["POST", "/practiceruns", 200] },
|
|
706
581
|
() => StartPracticeRunRequest,
|
|
707
582
|
() => StartPracticeRunResponse,
|
|
708
583
|
];
|
|
@@ -710,9 +585,7 @@ var StartZonalShift = [
|
|
|
710
585
|
9,
|
|
711
586
|
n0,
|
|
712
587
|
_SZS,
|
|
713
|
-
{
|
|
714
|
-
[_h]: ["POST", "/zonalshifts", 201],
|
|
715
|
-
},
|
|
588
|
+
{ [_h]: ["POST", "/zonalshifts", 201] },
|
|
716
589
|
() => StartZonalShiftRequest,
|
|
717
590
|
() => ZonalShift,
|
|
718
591
|
];
|
|
@@ -720,9 +593,7 @@ var UpdateAutoshiftObserverNotificationStatus = [
|
|
|
720
593
|
9,
|
|
721
594
|
n0,
|
|
722
595
|
_UAONS,
|
|
723
|
-
{
|
|
724
|
-
[_h]: ["PUT", "/autoshift-observer-notification", 200],
|
|
725
|
-
},
|
|
596
|
+
{ [_h]: ["PUT", "/autoshift-observer-notification", 200] },
|
|
726
597
|
() => UpdateAutoshiftObserverNotificationStatusRequest,
|
|
727
598
|
() => UpdateAutoshiftObserverNotificationStatusResponse,
|
|
728
599
|
];
|
|
@@ -730,9 +601,7 @@ var UpdatePracticeRunConfiguration = [
|
|
|
730
601
|
9,
|
|
731
602
|
n0,
|
|
732
603
|
_UPRC,
|
|
733
|
-
{
|
|
734
|
-
[_h]: ["PATCH", "/configuration/{resourceIdentifier}", 200],
|
|
735
|
-
},
|
|
604
|
+
{ [_h]: ["PATCH", "/configuration/{resourceIdentifier}", 200] },
|
|
736
605
|
() => UpdatePracticeRunConfigurationRequest,
|
|
737
606
|
() => UpdatePracticeRunConfigurationResponse,
|
|
738
607
|
];
|
|
@@ -740,9 +609,7 @@ var UpdateZonalAutoshiftConfiguration = [
|
|
|
740
609
|
9,
|
|
741
610
|
n0,
|
|
742
611
|
_UZAC,
|
|
743
|
-
{
|
|
744
|
-
[_h]: ["PUT", "/managedresources/{resourceIdentifier}", 200],
|
|
745
|
-
},
|
|
612
|
+
{ [_h]: ["PUT", "/managedresources/{resourceIdentifier}", 200] },
|
|
746
613
|
() => UpdateZonalAutoshiftConfigurationRequest,
|
|
747
614
|
() => UpdateZonalAutoshiftConfigurationResponse,
|
|
748
615
|
];
|
|
@@ -750,9 +617,7 @@ var UpdateZonalShift = [
|
|
|
750
617
|
9,
|
|
751
618
|
n0,
|
|
752
619
|
_UZS,
|
|
753
|
-
{
|
|
754
|
-
[_h]: ["PATCH", "/zonalshifts/{zonalShiftId}", 200],
|
|
755
|
-
},
|
|
620
|
+
{ [_h]: ["PATCH", "/zonalshifts/{zonalShiftId}", 200] },
|
|
756
621
|
() => UpdateZonalShiftRequest,
|
|
757
622
|
() => ZonalShift,
|
|
758
623
|
];
|
|
@@ -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 { defaultARCZonalShiftHttpAuthSchemeParametersProvider, 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);
|