@aws-sdk/client-trustedadvisor 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 +57 -339
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/TrustedAdvisorClient.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 +57 -339
- package/dist-types/TrustedAdvisor.d.ts +1 -1
- package/dist-types/TrustedAdvisorClient.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/BatchUpdateRecommendationResourceExclusionCommand.d.ts +3 -3
- package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +3 -3
- package/dist-types/commands/GetRecommendationCommand.d.ts +3 -3
- package/dist-types/commands/ListChecksCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +3 -3
- package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +3 -3
- package/dist-types/commands/ListRecommendationsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +3 -3
- package/dist-types/commands/UpdateRecommendationLifecycleCommand.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/TrustedAdvisorServiceException.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/ListChecksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationsPaginator.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/TrustedAdvisorClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/TrustedAdvisorServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -321,17 +321,7 @@ const _uRC = "updateReasonCode";
|
|
|
321
321
|
const _wC = "warningCount";
|
|
322
322
|
const n0 = "com.amazonaws.trustedadvisor";
|
|
323
323
|
var RecommendationUpdateReason = [0, n0, _RUR, 8, 0];
|
|
324
|
-
var AccessDeniedException = [
|
|
325
|
-
-3,
|
|
326
|
-
n0,
|
|
327
|
-
_ADE,
|
|
328
|
-
{
|
|
329
|
-
[_e]: _c,
|
|
330
|
-
[_hE]: 403,
|
|
331
|
-
},
|
|
332
|
-
[_m],
|
|
333
|
-
[0],
|
|
334
|
-
];
|
|
324
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
335
325
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
336
326
|
var AccountRecommendationLifecycleSummary = [
|
|
337
327
|
3,
|
|
@@ -365,17 +355,7 @@ var CheckSummary = [
|
|
|
365
355
|
[_i, _a, _n, _d, _p, _aS, _s, _me],
|
|
366
356
|
[0, 0, 0, 0, 64 | 0, 64 | 0, 0, 128 | 0],
|
|
367
357
|
];
|
|
368
|
-
var ConflictException = [
|
|
369
|
-
-3,
|
|
370
|
-
n0,
|
|
371
|
-
_CE,
|
|
372
|
-
{
|
|
373
|
-
[_e]: _c,
|
|
374
|
-
[_hE]: 409,
|
|
375
|
-
},
|
|
376
|
-
[_m],
|
|
377
|
-
[0],
|
|
378
|
-
];
|
|
358
|
+
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
379
359
|
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
380
360
|
var GetOrganizationRecommendationRequest = [3, n0, _GORR, 0, [_oRI], [[0, 1]]];
|
|
381
361
|
var GetOrganizationRecommendationResponse = [
|
|
@@ -388,17 +368,7 @@ var GetOrganizationRecommendationResponse = [
|
|
|
388
368
|
];
|
|
389
369
|
var GetRecommendationRequest = [3, n0, _GRR, 0, [_rI], [[0, 1]]];
|
|
390
370
|
var GetRecommendationResponse = [3, n0, _GRRe, 0, [_r], [[() => Recommendation, 0]]];
|
|
391
|
-
var InternalServerException = [
|
|
392
|
-
-3,
|
|
393
|
-
n0,
|
|
394
|
-
_ISE,
|
|
395
|
-
{
|
|
396
|
-
[_e]: _se,
|
|
397
|
-
[_hE]: 500,
|
|
398
|
-
},
|
|
399
|
-
[_m],
|
|
400
|
-
[0],
|
|
401
|
-
];
|
|
371
|
+
var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
402
372
|
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
403
373
|
var ListChecksRequest = [
|
|
404
374
|
3,
|
|
@@ -407,42 +377,12 @@ var ListChecksRequest = [
|
|
|
407
377
|
0,
|
|
408
378
|
[_nT, _mR, _pi, _aSw, _s, _l],
|
|
409
379
|
[
|
|
410
|
-
[
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
],
|
|
416
|
-
[
|
|
417
|
-
1,
|
|
418
|
-
{
|
|
419
|
-
[_hQ]: _mR,
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
[
|
|
423
|
-
0,
|
|
424
|
-
{
|
|
425
|
-
[_hQ]: _pi,
|
|
426
|
-
},
|
|
427
|
-
],
|
|
428
|
-
[
|
|
429
|
-
0,
|
|
430
|
-
{
|
|
431
|
-
[_hQ]: _aSw,
|
|
432
|
-
},
|
|
433
|
-
],
|
|
434
|
-
[
|
|
435
|
-
0,
|
|
436
|
-
{
|
|
437
|
-
[_hQ]: _s,
|
|
438
|
-
},
|
|
439
|
-
],
|
|
440
|
-
[
|
|
441
|
-
0,
|
|
442
|
-
{
|
|
443
|
-
[_hQ]: _l,
|
|
444
|
-
},
|
|
445
|
-
],
|
|
380
|
+
[0, { [_hQ]: _nT }],
|
|
381
|
+
[1, { [_hQ]: _mR }],
|
|
382
|
+
[0, { [_hQ]: _pi }],
|
|
383
|
+
[0, { [_hQ]: _aSw }],
|
|
384
|
+
[0, { [_hQ]: _s }],
|
|
385
|
+
[0, { [_hQ]: _l }],
|
|
446
386
|
],
|
|
447
387
|
];
|
|
448
388
|
var ListChecksResponse = [3, n0, _LCRi, 0, [_nT, _cS], [0, () => CheckSummaryList]];
|
|
@@ -453,25 +393,10 @@ var ListOrganizationRecommendationAccountsRequest = [
|
|
|
453
393
|
0,
|
|
454
394
|
[_nT, _mR, _oRI, _aAI],
|
|
455
395
|
[
|
|
456
|
-
[
|
|
457
|
-
|
|
458
|
-
{
|
|
459
|
-
[_hQ]: _nT,
|
|
460
|
-
},
|
|
461
|
-
],
|
|
462
|
-
[
|
|
463
|
-
1,
|
|
464
|
-
{
|
|
465
|
-
[_hQ]: _mR,
|
|
466
|
-
},
|
|
467
|
-
],
|
|
396
|
+
[0, { [_hQ]: _nT }],
|
|
397
|
+
[1, { [_hQ]: _mR }],
|
|
468
398
|
[0, 1],
|
|
469
|
-
[
|
|
470
|
-
0,
|
|
471
|
-
{
|
|
472
|
-
[_hQ]: _aAI,
|
|
473
|
-
},
|
|
474
|
-
],
|
|
399
|
+
[0, { [_hQ]: _aAI }],
|
|
475
400
|
],
|
|
476
401
|
];
|
|
477
402
|
var ListOrganizationRecommendationAccountsResponse = [
|
|
@@ -489,43 +414,13 @@ var ListOrganizationRecommendationResourcesRequest = [
|
|
|
489
414
|
0,
|
|
490
415
|
[_nT, _mR, _st, _eS, _rC, _oRI, _aAI],
|
|
491
416
|
[
|
|
492
|
-
[
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
],
|
|
498
|
-
[
|
|
499
|
-
1,
|
|
500
|
-
{
|
|
501
|
-
[_hQ]: _mR,
|
|
502
|
-
},
|
|
503
|
-
],
|
|
504
|
-
[
|
|
505
|
-
0,
|
|
506
|
-
{
|
|
507
|
-
[_hQ]: _st,
|
|
508
|
-
},
|
|
509
|
-
],
|
|
510
|
-
[
|
|
511
|
-
0,
|
|
512
|
-
{
|
|
513
|
-
[_hQ]: _eS,
|
|
514
|
-
},
|
|
515
|
-
],
|
|
516
|
-
[
|
|
517
|
-
0,
|
|
518
|
-
{
|
|
519
|
-
[_hQ]: _rC,
|
|
520
|
-
},
|
|
521
|
-
],
|
|
417
|
+
[0, { [_hQ]: _nT }],
|
|
418
|
+
[1, { [_hQ]: _mR }],
|
|
419
|
+
[0, { [_hQ]: _st }],
|
|
420
|
+
[0, { [_hQ]: _eS }],
|
|
421
|
+
[0, { [_hQ]: _rC }],
|
|
522
422
|
[0, 1],
|
|
523
|
-
[
|
|
524
|
-
0,
|
|
525
|
-
{
|
|
526
|
-
[_hQ]: _aAI,
|
|
527
|
-
},
|
|
528
|
-
],
|
|
423
|
+
[0, { [_hQ]: _aAI }],
|
|
529
424
|
],
|
|
530
425
|
];
|
|
531
426
|
var ListOrganizationRecommendationResourcesResponse = [
|
|
@@ -543,66 +438,16 @@ var ListOrganizationRecommendationsRequest = [
|
|
|
543
438
|
0,
|
|
544
439
|
[_nT, _mR, _t, _st, _pi, _aSw, _s, _cI, _aLUA, _bLUA],
|
|
545
440
|
[
|
|
546
|
-
[
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
],
|
|
552
|
-
[
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
},
|
|
557
|
-
],
|
|
558
|
-
[
|
|
559
|
-
0,
|
|
560
|
-
{
|
|
561
|
-
[_hQ]: _t,
|
|
562
|
-
},
|
|
563
|
-
],
|
|
564
|
-
[
|
|
565
|
-
0,
|
|
566
|
-
{
|
|
567
|
-
[_hQ]: _st,
|
|
568
|
-
},
|
|
569
|
-
],
|
|
570
|
-
[
|
|
571
|
-
0,
|
|
572
|
-
{
|
|
573
|
-
[_hQ]: _pi,
|
|
574
|
-
},
|
|
575
|
-
],
|
|
576
|
-
[
|
|
577
|
-
0,
|
|
578
|
-
{
|
|
579
|
-
[_hQ]: _aSw,
|
|
580
|
-
},
|
|
581
|
-
],
|
|
582
|
-
[
|
|
583
|
-
0,
|
|
584
|
-
{
|
|
585
|
-
[_hQ]: _s,
|
|
586
|
-
},
|
|
587
|
-
],
|
|
588
|
-
[
|
|
589
|
-
0,
|
|
590
|
-
{
|
|
591
|
-
[_hQ]: _cI,
|
|
592
|
-
},
|
|
593
|
-
],
|
|
594
|
-
[
|
|
595
|
-
4,
|
|
596
|
-
{
|
|
597
|
-
[_hQ]: _aLUA,
|
|
598
|
-
},
|
|
599
|
-
],
|
|
600
|
-
[
|
|
601
|
-
4,
|
|
602
|
-
{
|
|
603
|
-
[_hQ]: _bLUA,
|
|
604
|
-
},
|
|
605
|
-
],
|
|
441
|
+
[0, { [_hQ]: _nT }],
|
|
442
|
+
[1, { [_hQ]: _mR }],
|
|
443
|
+
[0, { [_hQ]: _t }],
|
|
444
|
+
[0, { [_hQ]: _st }],
|
|
445
|
+
[0, { [_hQ]: _pi }],
|
|
446
|
+
[0, { [_hQ]: _aSw }],
|
|
447
|
+
[0, { [_hQ]: _s }],
|
|
448
|
+
[0, { [_hQ]: _cI }],
|
|
449
|
+
[4, { [_hQ]: _aLUA }],
|
|
450
|
+
[4, { [_hQ]: _bLUA }],
|
|
606
451
|
],
|
|
607
452
|
];
|
|
608
453
|
var ListOrganizationRecommendationsResponse = [
|
|
@@ -620,36 +465,11 @@ var ListRecommendationResourcesRequest = [
|
|
|
620
465
|
0,
|
|
621
466
|
[_nT, _mR, _st, _eS, _rC, _rI],
|
|
622
467
|
[
|
|
623
|
-
[
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
],
|
|
629
|
-
[
|
|
630
|
-
1,
|
|
631
|
-
{
|
|
632
|
-
[_hQ]: _mR,
|
|
633
|
-
},
|
|
634
|
-
],
|
|
635
|
-
[
|
|
636
|
-
0,
|
|
637
|
-
{
|
|
638
|
-
[_hQ]: _st,
|
|
639
|
-
},
|
|
640
|
-
],
|
|
641
|
-
[
|
|
642
|
-
0,
|
|
643
|
-
{
|
|
644
|
-
[_hQ]: _eS,
|
|
645
|
-
},
|
|
646
|
-
],
|
|
647
|
-
[
|
|
648
|
-
0,
|
|
649
|
-
{
|
|
650
|
-
[_hQ]: _rC,
|
|
651
|
-
},
|
|
652
|
-
],
|
|
468
|
+
[0, { [_hQ]: _nT }],
|
|
469
|
+
[1, { [_hQ]: _mR }],
|
|
470
|
+
[0, { [_hQ]: _st }],
|
|
471
|
+
[0, { [_hQ]: _eS }],
|
|
472
|
+
[0, { [_hQ]: _rC }],
|
|
653
473
|
[0, 1],
|
|
654
474
|
],
|
|
655
475
|
];
|
|
@@ -668,66 +488,16 @@ var ListRecommendationsRequest = [
|
|
|
668
488
|
0,
|
|
669
489
|
[_nT, _mR, _t, _st, _pi, _aSw, _s, _cI, _aLUA, _bLUA],
|
|
670
490
|
[
|
|
671
|
-
[
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
],
|
|
677
|
-
[
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
},
|
|
682
|
-
],
|
|
683
|
-
[
|
|
684
|
-
0,
|
|
685
|
-
{
|
|
686
|
-
[_hQ]: _t,
|
|
687
|
-
},
|
|
688
|
-
],
|
|
689
|
-
[
|
|
690
|
-
0,
|
|
691
|
-
{
|
|
692
|
-
[_hQ]: _st,
|
|
693
|
-
},
|
|
694
|
-
],
|
|
695
|
-
[
|
|
696
|
-
0,
|
|
697
|
-
{
|
|
698
|
-
[_hQ]: _pi,
|
|
699
|
-
},
|
|
700
|
-
],
|
|
701
|
-
[
|
|
702
|
-
0,
|
|
703
|
-
{
|
|
704
|
-
[_hQ]: _aSw,
|
|
705
|
-
},
|
|
706
|
-
],
|
|
707
|
-
[
|
|
708
|
-
0,
|
|
709
|
-
{
|
|
710
|
-
[_hQ]: _s,
|
|
711
|
-
},
|
|
712
|
-
],
|
|
713
|
-
[
|
|
714
|
-
0,
|
|
715
|
-
{
|
|
716
|
-
[_hQ]: _cI,
|
|
717
|
-
},
|
|
718
|
-
],
|
|
719
|
-
[
|
|
720
|
-
4,
|
|
721
|
-
{
|
|
722
|
-
[_hQ]: _aLUA,
|
|
723
|
-
},
|
|
724
|
-
],
|
|
725
|
-
[
|
|
726
|
-
4,
|
|
727
|
-
{
|
|
728
|
-
[_hQ]: _bLUA,
|
|
729
|
-
},
|
|
730
|
-
],
|
|
491
|
+
[0, { [_hQ]: _nT }],
|
|
492
|
+
[1, { [_hQ]: _mR }],
|
|
493
|
+
[0, { [_hQ]: _t }],
|
|
494
|
+
[0, { [_hQ]: _st }],
|
|
495
|
+
[0, { [_hQ]: _pi }],
|
|
496
|
+
[0, { [_hQ]: _aSw }],
|
|
497
|
+
[0, { [_hQ]: _s }],
|
|
498
|
+
[0, { [_hQ]: _cI }],
|
|
499
|
+
[4, { [_hQ]: _aLUA }],
|
|
500
|
+
[4, { [_hQ]: _bLUA }],
|
|
731
501
|
],
|
|
732
502
|
];
|
|
733
503
|
var ListRecommendationsResponse = [
|
|
@@ -871,29 +641,9 @@ var RecommendationSummary = [
|
|
|
871
641
|
0,
|
|
872
642
|
],
|
|
873
643
|
];
|
|
874
|
-
var ResourceNotFoundException = [
|
|
875
|
-
-3,
|
|
876
|
-
n0,
|
|
877
|
-
_RNFE,
|
|
878
|
-
{
|
|
879
|
-
[_e]: _c,
|
|
880
|
-
[_hE]: 404,
|
|
881
|
-
},
|
|
882
|
-
[_m],
|
|
883
|
-
[0],
|
|
884
|
-
];
|
|
644
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
885
645
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
886
|
-
var ThrottlingException = [
|
|
887
|
-
-3,
|
|
888
|
-
n0,
|
|
889
|
-
_TE,
|
|
890
|
-
{
|
|
891
|
-
[_e]: _c,
|
|
892
|
-
[_hE]: 429,
|
|
893
|
-
},
|
|
894
|
-
[_m],
|
|
895
|
-
[0],
|
|
896
|
-
];
|
|
646
|
+
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
897
647
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
898
648
|
var UpdateOrganizationRecommendationLifecycleRequest = [
|
|
899
649
|
3,
|
|
@@ -919,17 +669,7 @@ var UpdateRecommendationResourceExclusionError = [
|
|
|
919
669
|
[_a, _eCr, _eM],
|
|
920
670
|
[0, 0, 0],
|
|
921
671
|
];
|
|
922
|
-
var ValidationException = [
|
|
923
|
-
-3,
|
|
924
|
-
n0,
|
|
925
|
-
_VE,
|
|
926
|
-
{
|
|
927
|
-
[_e]: _c,
|
|
928
|
-
[_hE]: 400,
|
|
929
|
-
},
|
|
930
|
-
[_m],
|
|
931
|
-
[0],
|
|
932
|
-
];
|
|
672
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
933
673
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
934
674
|
var __Unit = "unit";
|
|
935
675
|
var TrustedAdvisorServiceException = [-3, _sm, "TrustedAdvisorServiceException", 0, [], []];
|
|
@@ -976,9 +716,7 @@ var BatchUpdateRecommendationResourceExclusion = [
|
|
|
976
716
|
9,
|
|
977
717
|
n0,
|
|
978
718
|
_BURRE,
|
|
979
|
-
{
|
|
980
|
-
[_h]: ["PUT", "/v1/batch-update-recommendation-resource-exclusion", 200],
|
|
981
|
-
},
|
|
719
|
+
{ [_h]: ["PUT", "/v1/batch-update-recommendation-resource-exclusion", 200] },
|
|
982
720
|
() => BatchUpdateRecommendationResourceExclusionRequest,
|
|
983
721
|
() => BatchUpdateRecommendationResourceExclusionResponse,
|
|
984
722
|
];
|
|
@@ -986,9 +724,7 @@ var GetOrganizationRecommendation = [
|
|
|
986
724
|
9,
|
|
987
725
|
n0,
|
|
988
726
|
_GOR,
|
|
989
|
-
{
|
|
990
|
-
[_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}", 200],
|
|
991
|
-
},
|
|
727
|
+
{ [_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}", 200] },
|
|
992
728
|
() => GetOrganizationRecommendationRequest,
|
|
993
729
|
() => GetOrganizationRecommendationResponse,
|
|
994
730
|
];
|
|
@@ -996,9 +732,7 @@ var GetRecommendation = [
|
|
|
996
732
|
9,
|
|
997
733
|
n0,
|
|
998
734
|
_GR,
|
|
999
|
-
{
|
|
1000
|
-
[_h]: ["GET", "/v1/recommendations/{recommendationIdentifier}", 200],
|
|
1001
|
-
},
|
|
735
|
+
{ [_h]: ["GET", "/v1/recommendations/{recommendationIdentifier}", 200] },
|
|
1002
736
|
() => GetRecommendationRequest,
|
|
1003
737
|
() => GetRecommendationResponse,
|
|
1004
738
|
];
|
|
@@ -1006,9 +740,7 @@ var ListChecks = [
|
|
|
1006
740
|
9,
|
|
1007
741
|
n0,
|
|
1008
742
|
_LC,
|
|
1009
|
-
{
|
|
1010
|
-
[_h]: ["GET", "/v1/checks", 200],
|
|
1011
|
-
},
|
|
743
|
+
{ [_h]: ["GET", "/v1/checks", 200] },
|
|
1012
744
|
() => ListChecksRequest,
|
|
1013
745
|
() => ListChecksResponse,
|
|
1014
746
|
];
|
|
@@ -1016,9 +748,7 @@ var ListOrganizationRecommendationAccounts = [
|
|
|
1016
748
|
9,
|
|
1017
749
|
n0,
|
|
1018
750
|
_LORA,
|
|
1019
|
-
{
|
|
1020
|
-
[_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/accounts", 200],
|
|
1021
|
-
},
|
|
751
|
+
{ [_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/accounts", 200] },
|
|
1022
752
|
() => ListOrganizationRecommendationAccountsRequest,
|
|
1023
753
|
() => ListOrganizationRecommendationAccountsResponse,
|
|
1024
754
|
];
|
|
@@ -1026,9 +756,7 @@ var ListOrganizationRecommendationResources = [
|
|
|
1026
756
|
9,
|
|
1027
757
|
n0,
|
|
1028
758
|
_LORRis,
|
|
1029
|
-
{
|
|
1030
|
-
[_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/resources", 200],
|
|
1031
|
-
},
|
|
759
|
+
{ [_h]: ["GET", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/resources", 200] },
|
|
1032
760
|
() => ListOrganizationRecommendationResourcesRequest,
|
|
1033
761
|
() => ListOrganizationRecommendationResourcesResponse,
|
|
1034
762
|
];
|
|
@@ -1036,9 +764,7 @@ var ListOrganizationRecommendations = [
|
|
|
1036
764
|
9,
|
|
1037
765
|
n0,
|
|
1038
766
|
_LOR,
|
|
1039
|
-
{
|
|
1040
|
-
[_h]: ["GET", "/v1/organization-recommendations", 200],
|
|
1041
|
-
},
|
|
767
|
+
{ [_h]: ["GET", "/v1/organization-recommendations", 200] },
|
|
1042
768
|
() => ListOrganizationRecommendationsRequest,
|
|
1043
769
|
() => ListOrganizationRecommendationsResponse,
|
|
1044
770
|
];
|
|
@@ -1046,9 +772,7 @@ var ListRecommendationResources = [
|
|
|
1046
772
|
9,
|
|
1047
773
|
n0,
|
|
1048
774
|
_LRRis,
|
|
1049
|
-
{
|
|
1050
|
-
[_h]: ["GET", "/v1/recommendations/{recommendationIdentifier}/resources", 200],
|
|
1051
|
-
},
|
|
775
|
+
{ [_h]: ["GET", "/v1/recommendations/{recommendationIdentifier}/resources", 200] },
|
|
1052
776
|
() => ListRecommendationResourcesRequest,
|
|
1053
777
|
() => ListRecommendationResourcesResponse,
|
|
1054
778
|
];
|
|
@@ -1056,9 +780,7 @@ var ListRecommendations = [
|
|
|
1056
780
|
9,
|
|
1057
781
|
n0,
|
|
1058
782
|
_LR,
|
|
1059
|
-
{
|
|
1060
|
-
[_h]: ["GET", "/v1/recommendations", 200],
|
|
1061
|
-
},
|
|
783
|
+
{ [_h]: ["GET", "/v1/recommendations", 200] },
|
|
1062
784
|
() => ListRecommendationsRequest,
|
|
1063
785
|
() => ListRecommendationsResponse,
|
|
1064
786
|
];
|
|
@@ -1066,9 +788,7 @@ var UpdateOrganizationRecommendationLifecycle = [
|
|
|
1066
788
|
9,
|
|
1067
789
|
n0,
|
|
1068
790
|
_UORL,
|
|
1069
|
-
{
|
|
1070
|
-
[_h]: ["PUT", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/lifecycle", 200],
|
|
1071
|
-
},
|
|
791
|
+
{ [_h]: ["PUT", "/v1/organization-recommendations/{organizationRecommendationIdentifier}/lifecycle", 200] },
|
|
1072
792
|
() => UpdateOrganizationRecommendationLifecycleRequest,
|
|
1073
793
|
() => __Unit,
|
|
1074
794
|
];
|
|
@@ -1076,9 +796,7 @@ var UpdateRecommendationLifecycle = [
|
|
|
1076
796
|
9,
|
|
1077
797
|
n0,
|
|
1078
798
|
_URL,
|
|
1079
|
-
{
|
|
1080
|
-
[_h]: ["PUT", "/v1/recommendations/{recommendationIdentifier}/lifecycle", 200],
|
|
1081
|
-
},
|
|
799
|
+
{ [_h]: ["PUT", "/v1/recommendations/{recommendationIdentifier}/lifecycle", 200] },
|
|
1082
800
|
() => UpdateRecommendationLifecycleRequest,
|
|
1083
801
|
() => __Unit,
|
|
1084
802
|
];
|
|
@@ -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 { defaultTrustedAdvisorHttpAuthSchemeParametersProvider, 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);
|