@aws-sdk/client-rolesanywhere 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/README.md +1 -15
- package/dist-cjs/index.js +39 -173
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/RolesAnywhereClient.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 +39 -173
- package/dist-types/RolesAnywhere.d.ts +2 -16
- package/dist-types/RolesAnywhereClient.d.ts +11 -25
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateProfileCommand.d.ts +4 -8
- package/dist-types/commands/CreateTrustAnchorCommand.d.ts +4 -10
- package/dist-types/commands/DeleteAttributeMappingCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCrlCommand.d.ts +4 -8
- package/dist-types/commands/DeleteProfileCommand.d.ts +4 -8
- package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/DisableCrlCommand.d.ts +4 -8
- package/dist-types/commands/DisableProfileCommand.d.ts +4 -8
- package/dist-types/commands/DisableTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/EnableCrlCommand.d.ts +4 -8
- package/dist-types/commands/EnableProfileCommand.d.ts +4 -8
- package/dist-types/commands/EnableTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/GetCrlCommand.d.ts +4 -8
- package/dist-types/commands/GetProfileCommand.d.ts +4 -8
- package/dist-types/commands/GetSubjectCommand.d.ts +4 -11
- package/dist-types/commands/GetTrustAnchorCommand.d.ts +4 -8
- package/dist-types/commands/ImportCrlCommand.d.ts +4 -11
- package/dist-types/commands/ListCrlsCommand.d.ts +4 -8
- package/dist-types/commands/ListProfilesCommand.d.ts +4 -8
- package/dist-types/commands/ListSubjectsCommand.d.ts +4 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -8
- package/dist-types/commands/ListTrustAnchorsCommand.d.ts +4 -8
- package/dist-types/commands/PutAttributeMappingCommand.d.ts +4 -5
- package/dist-types/commands/PutNotificationSettingsCommand.d.ts +4 -10
- package/dist-types/commands/ResetNotificationSettingsCommand.d.ts +4 -9
- package/dist-types/commands/TagResourceCommand.d.ts +4 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -8
- package/dist-types/commands/UpdateCrlCommand.d.ts +4 -10
- package/dist-types/commands/UpdateProfileCommand.d.ts +4 -10
- package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +4 -13
- 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/index.d.ts +1 -15
- package/dist-types/models/RolesAnywhereServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +13 -43
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListCrlsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrustAnchorsPaginator.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/RolesAnywhereClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/RolesAnywhereServiceException.d.ts +1 -1
- package/package.json +13 -12
package/README.md
CHANGED
|
@@ -6,21 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript RolesAnywhere Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Identity and Access Management Roles Anywhere provides a secure way for your workloads such as
|
|
10
|
-
servers, containers, and applications that run outside of Amazon Web Services to obtain
|
|
11
|
-
temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to
|
|
12
|
-
manage long-term credentials for workloads running outside of Amazon Web Services.</p>
|
|
13
|
-
<p>
|
|
14
|
-
To use IAM Roles Anywhere, your workloads must use X.509 certificates
|
|
15
|
-
issued by their certificate authority (CA). You register the CA with IAM
|
|
16
|
-
Roles Anywhere as a trust anchor to establish trust between your public key infrastructure
|
|
17
|
-
(PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you
|
|
18
|
-
can use Private Certificate Authority to create a CA and then use that to establish trust with
|
|
19
|
-
IAM Roles Anywhere.
|
|
20
|
-
</p>
|
|
21
|
-
<p>This guide describes the IAM Roles Anywhere operations that you can call
|
|
22
|
-
programmatically. For more information about IAM Roles Anywhere, see the
|
|
23
|
-
<a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html">IAM Roles Anywhere User Guide</a>.</p>
|
|
9
|
+
<p>Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.</p> <p> To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere. </p> <p>This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the <a href="https://docs.aws.amazon.com/rolesanywhere/latest/userguide/introduction.html">IAM Roles Anywhere User Guide</a>.</p>
|
|
24
10
|
|
|
25
11
|
## Installing
|
|
26
12
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -333,17 +333,7 @@ const _xS = "x509Subject";
|
|
|
333
333
|
const n0 = "com.amazonaws.rolesanywhere";
|
|
334
334
|
var TagKey = [0, n0, _TK, 8, 0];
|
|
335
335
|
var TagValue = [0, n0, _TV, 8, 0];
|
|
336
|
-
var AccessDeniedException = [
|
|
337
|
-
-3,
|
|
338
|
-
n0,
|
|
339
|
-
_ADE,
|
|
340
|
-
{
|
|
341
|
-
[_e]: _c,
|
|
342
|
-
[_hE]: 403,
|
|
343
|
-
},
|
|
344
|
-
[_m],
|
|
345
|
-
[0],
|
|
346
|
-
];
|
|
336
|
+
var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
|
|
347
337
|
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
348
338
|
var AttributeMapping = [3, n0, _AM, 0, [_cF, _mR], [0, () => MappingRules]];
|
|
349
339
|
var CreateProfileRequest = [
|
|
@@ -387,18 +377,8 @@ var DeleteAttributeMappingRequest = [
|
|
|
387
377
|
[_pI, _cF, _sp],
|
|
388
378
|
[
|
|
389
379
|
[0, 1],
|
|
390
|
-
[
|
|
391
|
-
|
|
392
|
-
{
|
|
393
|
-
[_hQ]: _cF,
|
|
394
|
-
},
|
|
395
|
-
],
|
|
396
|
-
[
|
|
397
|
-
64 | 0,
|
|
398
|
-
{
|
|
399
|
-
[_hQ]: _sp,
|
|
400
|
-
},
|
|
401
|
-
],
|
|
380
|
+
[0, { [_hQ]: _cF }],
|
|
381
|
+
[64 | 0, { [_hQ]: _sp }],
|
|
402
382
|
],
|
|
403
383
|
];
|
|
404
384
|
var DeleteAttributeMappingResponse = [3, n0, _DAMRe, 0, [_p], [() => ProfileDetail]];
|
|
@@ -420,36 +400,12 @@ var ListRequest = [
|
|
|
420
400
|
0,
|
|
421
401
|
[_nT, _pS],
|
|
422
402
|
[
|
|
423
|
-
[
|
|
424
|
-
|
|
425
|
-
{
|
|
426
|
-
[_hQ]: _nT,
|
|
427
|
-
},
|
|
428
|
-
],
|
|
429
|
-
[
|
|
430
|
-
1,
|
|
431
|
-
{
|
|
432
|
-
[_hQ]: _pS,
|
|
433
|
-
},
|
|
434
|
-
],
|
|
403
|
+
[0, { [_hQ]: _nT }],
|
|
404
|
+
[1, { [_hQ]: _pS }],
|
|
435
405
|
],
|
|
436
406
|
];
|
|
437
407
|
var ListSubjectsResponse = [3, n0, _LSR, 0, [_su, _nT], [() => SubjectSummaries, 0]];
|
|
438
|
-
var ListTagsForResourceRequest = [
|
|
439
|
-
3,
|
|
440
|
-
n0,
|
|
441
|
-
_LTFRR,
|
|
442
|
-
0,
|
|
443
|
-
[_rAe],
|
|
444
|
-
[
|
|
445
|
-
[
|
|
446
|
-
0,
|
|
447
|
-
{
|
|
448
|
-
[_hQ]: _rAe,
|
|
449
|
-
},
|
|
450
|
-
],
|
|
451
|
-
],
|
|
452
|
-
];
|
|
408
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rAe], [[0, { [_hQ]: _rAe }]]];
|
|
453
409
|
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [[() => TagList, 0]]];
|
|
454
410
|
var ListTrustAnchorsResponse = [
|
|
455
411
|
3,
|
|
@@ -520,17 +476,7 @@ var ResetNotificationSettingsResponse = [
|
|
|
520
476
|
[_tAr],
|
|
521
477
|
[() => TrustAnchorDetail],
|
|
522
478
|
];
|
|
523
|
-
var ResourceNotFoundException = [
|
|
524
|
-
-3,
|
|
525
|
-
n0,
|
|
526
|
-
_RNFE,
|
|
527
|
-
{
|
|
528
|
-
[_e]: _c,
|
|
529
|
-
[_hE]: 404,
|
|
530
|
-
},
|
|
531
|
-
[_m],
|
|
532
|
-
[0],
|
|
533
|
-
];
|
|
479
|
+
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
534
480
|
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
535
481
|
var ScalarCrlRequest = [3, n0, _SCR, 0, [_cI], [[0, 1]]];
|
|
536
482
|
var ScalarProfileRequest = [3, n0, _SPR, 0, [_pI], [[0, 1]]];
|
|
@@ -567,17 +513,7 @@ var Tag = [
|
|
|
567
513
|
];
|
|
568
514
|
var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _t], [0, [() => TagList, 0]]];
|
|
569
515
|
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
570
|
-
var TooManyTagsException = [
|
|
571
|
-
-3,
|
|
572
|
-
n0,
|
|
573
|
-
_TMTE,
|
|
574
|
-
{
|
|
575
|
-
[_e]: _c,
|
|
576
|
-
[_hE]: 400,
|
|
577
|
-
},
|
|
578
|
-
[_m],
|
|
579
|
-
[0],
|
|
580
|
-
];
|
|
516
|
+
var TooManyTagsException = [-3, n0, _TMTE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
581
517
|
schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
|
|
582
518
|
var TrustAnchorDetail = [
|
|
583
519
|
3,
|
|
@@ -607,17 +543,7 @@ var UpdateTrustAnchorRequest = [
|
|
|
607
543
|
[_tAI, _n, _s],
|
|
608
544
|
[[0, 1], 0, () => Source],
|
|
609
545
|
];
|
|
610
|
-
var ValidationException = [
|
|
611
|
-
-3,
|
|
612
|
-
n0,
|
|
613
|
-
_VE,
|
|
614
|
-
{
|
|
615
|
-
[_e]: _c,
|
|
616
|
-
[_hE]: 400,
|
|
617
|
-
},
|
|
618
|
-
[_m],
|
|
619
|
-
[0],
|
|
620
|
-
];
|
|
546
|
+
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
621
547
|
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
622
548
|
var RolesAnywhereServiceException = [-3, _sm, "RolesAnywhereServiceException", 0, [], []];
|
|
623
549
|
schema.TypeRegistry.for(_sm).registerError(RolesAnywhereServiceException, RolesAnywhereServiceException$1);
|
|
@@ -639,9 +565,7 @@ var CreateProfile = [
|
|
|
639
565
|
9,
|
|
640
566
|
n0,
|
|
641
567
|
_CP,
|
|
642
|
-
{
|
|
643
|
-
[_h]: ["POST", "/profiles", 201],
|
|
644
|
-
},
|
|
568
|
+
{ [_h]: ["POST", "/profiles", 201] },
|
|
645
569
|
() => CreateProfileRequest,
|
|
646
570
|
() => ProfileDetailResponse,
|
|
647
571
|
];
|
|
@@ -649,9 +573,7 @@ var CreateTrustAnchor = [
|
|
|
649
573
|
9,
|
|
650
574
|
n0,
|
|
651
575
|
_CTA,
|
|
652
|
-
{
|
|
653
|
-
[_h]: ["POST", "/trustanchors", 201],
|
|
654
|
-
},
|
|
576
|
+
{ [_h]: ["POST", "/trustanchors", 201] },
|
|
655
577
|
() => CreateTrustAnchorRequest,
|
|
656
578
|
() => TrustAnchorDetailResponse,
|
|
657
579
|
];
|
|
@@ -659,9 +581,7 @@ var DeleteAttributeMapping = [
|
|
|
659
581
|
9,
|
|
660
582
|
n0,
|
|
661
583
|
_DAM,
|
|
662
|
-
{
|
|
663
|
-
[_h]: ["DELETE", "/profiles/{profileId}/mappings", 200],
|
|
664
|
-
},
|
|
584
|
+
{ [_h]: ["DELETE", "/profiles/{profileId}/mappings", 200] },
|
|
665
585
|
() => DeleteAttributeMappingRequest,
|
|
666
586
|
() => DeleteAttributeMappingResponse,
|
|
667
587
|
];
|
|
@@ -669,9 +589,7 @@ var DeleteCrl = [
|
|
|
669
589
|
9,
|
|
670
590
|
n0,
|
|
671
591
|
_DC,
|
|
672
|
-
{
|
|
673
|
-
[_h]: ["DELETE", "/crl/{crlId}", 200],
|
|
674
|
-
},
|
|
592
|
+
{ [_h]: ["DELETE", "/crl/{crlId}", 200] },
|
|
675
593
|
() => ScalarCrlRequest,
|
|
676
594
|
() => CrlDetailResponse,
|
|
677
595
|
];
|
|
@@ -679,9 +597,7 @@ var DeleteProfile = [
|
|
|
679
597
|
9,
|
|
680
598
|
n0,
|
|
681
599
|
_DP,
|
|
682
|
-
{
|
|
683
|
-
[_h]: ["DELETE", "/profile/{profileId}", 200],
|
|
684
|
-
},
|
|
600
|
+
{ [_h]: ["DELETE", "/profile/{profileId}", 200] },
|
|
685
601
|
() => ScalarProfileRequest,
|
|
686
602
|
() => ProfileDetailResponse,
|
|
687
603
|
];
|
|
@@ -689,9 +605,7 @@ var DeleteTrustAnchor = [
|
|
|
689
605
|
9,
|
|
690
606
|
n0,
|
|
691
607
|
_DTA,
|
|
692
|
-
{
|
|
693
|
-
[_h]: ["DELETE", "/trustanchor/{trustAnchorId}", 200],
|
|
694
|
-
},
|
|
608
|
+
{ [_h]: ["DELETE", "/trustanchor/{trustAnchorId}", 200] },
|
|
695
609
|
() => ScalarTrustAnchorRequest,
|
|
696
610
|
() => TrustAnchorDetailResponse,
|
|
697
611
|
];
|
|
@@ -699,9 +613,7 @@ var DisableCrl = [
|
|
|
699
613
|
9,
|
|
700
614
|
n0,
|
|
701
615
|
_DCi,
|
|
702
|
-
{
|
|
703
|
-
[_h]: ["POST", "/crl/{crlId}/disable", 200],
|
|
704
|
-
},
|
|
616
|
+
{ [_h]: ["POST", "/crl/{crlId}/disable", 200] },
|
|
705
617
|
() => ScalarCrlRequest,
|
|
706
618
|
() => CrlDetailResponse,
|
|
707
619
|
];
|
|
@@ -709,9 +621,7 @@ var DisableProfile = [
|
|
|
709
621
|
9,
|
|
710
622
|
n0,
|
|
711
623
|
_DPi,
|
|
712
|
-
{
|
|
713
|
-
[_h]: ["POST", "/profile/{profileId}/disable", 200],
|
|
714
|
-
},
|
|
624
|
+
{ [_h]: ["POST", "/profile/{profileId}/disable", 200] },
|
|
715
625
|
() => ScalarProfileRequest,
|
|
716
626
|
() => ProfileDetailResponse,
|
|
717
627
|
];
|
|
@@ -719,9 +629,7 @@ var DisableTrustAnchor = [
|
|
|
719
629
|
9,
|
|
720
630
|
n0,
|
|
721
631
|
_DTAi,
|
|
722
|
-
{
|
|
723
|
-
[_h]: ["POST", "/trustanchor/{trustAnchorId}/disable", 200],
|
|
724
|
-
},
|
|
632
|
+
{ [_h]: ["POST", "/trustanchor/{trustAnchorId}/disable", 200] },
|
|
725
633
|
() => ScalarTrustAnchorRequest,
|
|
726
634
|
() => TrustAnchorDetailResponse,
|
|
727
635
|
];
|
|
@@ -729,9 +637,7 @@ var EnableCrl = [
|
|
|
729
637
|
9,
|
|
730
638
|
n0,
|
|
731
639
|
_EC,
|
|
732
|
-
{
|
|
733
|
-
[_h]: ["POST", "/crl/{crlId}/enable", 200],
|
|
734
|
-
},
|
|
640
|
+
{ [_h]: ["POST", "/crl/{crlId}/enable", 200] },
|
|
735
641
|
() => ScalarCrlRequest,
|
|
736
642
|
() => CrlDetailResponse,
|
|
737
643
|
];
|
|
@@ -739,9 +645,7 @@ var EnableProfile = [
|
|
|
739
645
|
9,
|
|
740
646
|
n0,
|
|
741
647
|
_EP,
|
|
742
|
-
{
|
|
743
|
-
[_h]: ["POST", "/profile/{profileId}/enable", 200],
|
|
744
|
-
},
|
|
648
|
+
{ [_h]: ["POST", "/profile/{profileId}/enable", 200] },
|
|
745
649
|
() => ScalarProfileRequest,
|
|
746
650
|
() => ProfileDetailResponse,
|
|
747
651
|
];
|
|
@@ -749,9 +653,7 @@ var EnableTrustAnchor = [
|
|
|
749
653
|
9,
|
|
750
654
|
n0,
|
|
751
655
|
_ETA,
|
|
752
|
-
{
|
|
753
|
-
[_h]: ["POST", "/trustanchor/{trustAnchorId}/enable", 200],
|
|
754
|
-
},
|
|
656
|
+
{ [_h]: ["POST", "/trustanchor/{trustAnchorId}/enable", 200] },
|
|
755
657
|
() => ScalarTrustAnchorRequest,
|
|
756
658
|
() => TrustAnchorDetailResponse,
|
|
757
659
|
];
|
|
@@ -759,9 +661,7 @@ var GetCrl = [
|
|
|
759
661
|
9,
|
|
760
662
|
n0,
|
|
761
663
|
_GC,
|
|
762
|
-
{
|
|
763
|
-
[_h]: ["GET", "/crl/{crlId}", 200],
|
|
764
|
-
},
|
|
664
|
+
{ [_h]: ["GET", "/crl/{crlId}", 200] },
|
|
765
665
|
() => ScalarCrlRequest,
|
|
766
666
|
() => CrlDetailResponse,
|
|
767
667
|
];
|
|
@@ -769,9 +669,7 @@ var GetProfile = [
|
|
|
769
669
|
9,
|
|
770
670
|
n0,
|
|
771
671
|
_GP,
|
|
772
|
-
{
|
|
773
|
-
[_h]: ["GET", "/profile/{profileId}", 200],
|
|
774
|
-
},
|
|
672
|
+
{ [_h]: ["GET", "/profile/{profileId}", 200] },
|
|
775
673
|
() => ScalarProfileRequest,
|
|
776
674
|
() => ProfileDetailResponse,
|
|
777
675
|
];
|
|
@@ -779,9 +677,7 @@ var GetSubject = [
|
|
|
779
677
|
9,
|
|
780
678
|
n0,
|
|
781
679
|
_GS,
|
|
782
|
-
{
|
|
783
|
-
[_h]: ["GET", "/subject/{subjectId}", 200],
|
|
784
|
-
},
|
|
680
|
+
{ [_h]: ["GET", "/subject/{subjectId}", 200] },
|
|
785
681
|
() => ScalarSubjectRequest,
|
|
786
682
|
() => SubjectDetailResponse,
|
|
787
683
|
];
|
|
@@ -789,9 +685,7 @@ var GetTrustAnchor = [
|
|
|
789
685
|
9,
|
|
790
686
|
n0,
|
|
791
687
|
_GTA,
|
|
792
|
-
{
|
|
793
|
-
[_h]: ["GET", "/trustanchor/{trustAnchorId}", 200],
|
|
794
|
-
},
|
|
688
|
+
{ [_h]: ["GET", "/trustanchor/{trustAnchorId}", 200] },
|
|
795
689
|
() => ScalarTrustAnchorRequest,
|
|
796
690
|
() => TrustAnchorDetailResponse,
|
|
797
691
|
];
|
|
@@ -799,9 +693,7 @@ var ImportCrl = [
|
|
|
799
693
|
9,
|
|
800
694
|
n0,
|
|
801
695
|
_IC,
|
|
802
|
-
{
|
|
803
|
-
[_h]: ["POST", "/crls", 201],
|
|
804
|
-
},
|
|
696
|
+
{ [_h]: ["POST", "/crls", 201] },
|
|
805
697
|
() => ImportCrlRequest,
|
|
806
698
|
() => CrlDetailResponse,
|
|
807
699
|
];
|
|
@@ -809,9 +701,7 @@ var ListCrls = [
|
|
|
809
701
|
9,
|
|
810
702
|
n0,
|
|
811
703
|
_LC,
|
|
812
|
-
{
|
|
813
|
-
[_h]: ["GET", "/crls", 200],
|
|
814
|
-
},
|
|
704
|
+
{ [_h]: ["GET", "/crls", 200] },
|
|
815
705
|
() => ListRequest,
|
|
816
706
|
() => ListCrlsResponse,
|
|
817
707
|
];
|
|
@@ -819,9 +709,7 @@ var ListProfiles = [
|
|
|
819
709
|
9,
|
|
820
710
|
n0,
|
|
821
711
|
_LP,
|
|
822
|
-
{
|
|
823
|
-
[_h]: ["GET", "/profiles", 200],
|
|
824
|
-
},
|
|
712
|
+
{ [_h]: ["GET", "/profiles", 200] },
|
|
825
713
|
() => ListRequest,
|
|
826
714
|
() => ListProfilesResponse,
|
|
827
715
|
];
|
|
@@ -829,9 +717,7 @@ var ListSubjects = [
|
|
|
829
717
|
9,
|
|
830
718
|
n0,
|
|
831
719
|
_LS,
|
|
832
|
-
{
|
|
833
|
-
[_h]: ["GET", "/subjects", 200],
|
|
834
|
-
},
|
|
720
|
+
{ [_h]: ["GET", "/subjects", 200] },
|
|
835
721
|
() => ListRequest,
|
|
836
722
|
() => ListSubjectsResponse,
|
|
837
723
|
];
|
|
@@ -839,9 +725,7 @@ var ListTagsForResource = [
|
|
|
839
725
|
9,
|
|
840
726
|
n0,
|
|
841
727
|
_LTFR,
|
|
842
|
-
{
|
|
843
|
-
[_h]: ["GET", "/ListTagsForResource", 200],
|
|
844
|
-
},
|
|
728
|
+
{ [_h]: ["GET", "/ListTagsForResource", 200] },
|
|
845
729
|
() => ListTagsForResourceRequest,
|
|
846
730
|
() => ListTagsForResourceResponse,
|
|
847
731
|
];
|
|
@@ -849,9 +733,7 @@ var ListTrustAnchors = [
|
|
|
849
733
|
9,
|
|
850
734
|
n0,
|
|
851
735
|
_LTA,
|
|
852
|
-
{
|
|
853
|
-
[_h]: ["GET", "/trustanchors", 200],
|
|
854
|
-
},
|
|
736
|
+
{ [_h]: ["GET", "/trustanchors", 200] },
|
|
855
737
|
() => ListRequest,
|
|
856
738
|
() => ListTrustAnchorsResponse,
|
|
857
739
|
];
|
|
@@ -859,9 +741,7 @@ var PutAttributeMapping = [
|
|
|
859
741
|
9,
|
|
860
742
|
n0,
|
|
861
743
|
_PAM,
|
|
862
|
-
{
|
|
863
|
-
[_h]: ["PUT", "/profiles/{profileId}/mappings", 200],
|
|
864
|
-
},
|
|
744
|
+
{ [_h]: ["PUT", "/profiles/{profileId}/mappings", 200] },
|
|
865
745
|
() => PutAttributeMappingRequest,
|
|
866
746
|
() => PutAttributeMappingResponse,
|
|
867
747
|
];
|
|
@@ -869,9 +749,7 @@ var PutNotificationSettings = [
|
|
|
869
749
|
9,
|
|
870
750
|
n0,
|
|
871
751
|
_PNS,
|
|
872
|
-
{
|
|
873
|
-
[_h]: ["PATCH", "/put-notifications-settings", 200],
|
|
874
|
-
},
|
|
752
|
+
{ [_h]: ["PATCH", "/put-notifications-settings", 200] },
|
|
875
753
|
() => PutNotificationSettingsRequest,
|
|
876
754
|
() => PutNotificationSettingsResponse,
|
|
877
755
|
];
|
|
@@ -879,9 +757,7 @@ var ResetNotificationSettings = [
|
|
|
879
757
|
9,
|
|
880
758
|
n0,
|
|
881
759
|
_RNS,
|
|
882
|
-
{
|
|
883
|
-
[_h]: ["PATCH", "/reset-notifications-settings", 200],
|
|
884
|
-
},
|
|
760
|
+
{ [_h]: ["PATCH", "/reset-notifications-settings", 200] },
|
|
885
761
|
() => ResetNotificationSettingsRequest,
|
|
886
762
|
() => ResetNotificationSettingsResponse,
|
|
887
763
|
];
|
|
@@ -889,9 +765,7 @@ var TagResource = [
|
|
|
889
765
|
9,
|
|
890
766
|
n0,
|
|
891
767
|
_TR,
|
|
892
|
-
{
|
|
893
|
-
[_h]: ["POST", "/TagResource", 201],
|
|
894
|
-
},
|
|
768
|
+
{ [_h]: ["POST", "/TagResource", 201] },
|
|
895
769
|
() => TagResourceRequest,
|
|
896
770
|
() => TagResourceResponse,
|
|
897
771
|
];
|
|
@@ -899,9 +773,7 @@ var UntagResource = [
|
|
|
899
773
|
9,
|
|
900
774
|
n0,
|
|
901
775
|
_UR,
|
|
902
|
-
{
|
|
903
|
-
[_h]: ["POST", "/UntagResource", 200],
|
|
904
|
-
},
|
|
776
|
+
{ [_h]: ["POST", "/UntagResource", 200] },
|
|
905
777
|
() => UntagResourceRequest,
|
|
906
778
|
() => UntagResourceResponse,
|
|
907
779
|
];
|
|
@@ -909,9 +781,7 @@ var UpdateCrl = [
|
|
|
909
781
|
9,
|
|
910
782
|
n0,
|
|
911
783
|
_UC,
|
|
912
|
-
{
|
|
913
|
-
[_h]: ["PATCH", "/crl/{crlId}", 200],
|
|
914
|
-
},
|
|
784
|
+
{ [_h]: ["PATCH", "/crl/{crlId}", 200] },
|
|
915
785
|
() => UpdateCrlRequest,
|
|
916
786
|
() => CrlDetailResponse,
|
|
917
787
|
];
|
|
@@ -919,9 +789,7 @@ var UpdateProfile = [
|
|
|
919
789
|
9,
|
|
920
790
|
n0,
|
|
921
791
|
_UP,
|
|
922
|
-
{
|
|
923
|
-
[_h]: ["PATCH", "/profile/{profileId}", 200],
|
|
924
|
-
},
|
|
792
|
+
{ [_h]: ["PATCH", "/profile/{profileId}", 200] },
|
|
925
793
|
() => UpdateProfileRequest,
|
|
926
794
|
() => ProfileDetailResponse,
|
|
927
795
|
];
|
|
@@ -929,9 +797,7 @@ var UpdateTrustAnchor = [
|
|
|
929
797
|
9,
|
|
930
798
|
n0,
|
|
931
799
|
_UTA,
|
|
932
|
-
{
|
|
933
|
-
[_h]: ["PATCH", "/trustanchor/{trustAnchorId}", 200],
|
|
934
|
-
},
|
|
800
|
+
{ [_h]: ["PATCH", "/trustanchor/{trustAnchorId}", 200] },
|
|
935
801
|
() => UpdateTrustAnchorRequest,
|
|
936
802
|
() => TrustAnchorDetailResponse,
|
|
937
803
|
];
|
|
@@ -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 { defaultRolesAnywhereHttpAuthSchemeParametersProvider, 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);
|