@aws-sdk/client-ram 3.1163.0 → 3.1165.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 +7 -0
- package/dist-cjs/index.js +126 -35
- package/dist-es/RAM.js +2 -0
- package/dist-es/commands/UpdatePermissionCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +13 -4
- package/dist-es/schemas/schemas_0.js +98 -30
- package/dist-types/RAM.d.ts +7 -0
- package/dist-types/RAMClient.d.ts +3 -2
- package/dist-types/commands/AssociateResourceSharePermissionCommand.d.ts +8 -0
- package/dist-types/commands/CreatePermissionCommand.d.ts +18 -0
- package/dist-types/commands/CreatePermissionVersionCommand.d.ts +19 -1
- package/dist-types/commands/CreateResourceShareCommand.d.ts +13 -0
- package/dist-types/commands/DeletePermissionCommand.d.ts +1 -1
- package/dist-types/commands/DeletePermissionVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetPermissionCommand.d.ts +23 -1
- package/dist-types/commands/ListPermissionAssociationsCommand.d.ts +12 -0
- package/dist-types/commands/ListPermissionVersionsCommand.d.ts +11 -0
- package/dist-types/commands/ListPermissionsCommand.d.ts +13 -0
- package/dist-types/commands/ListReplacePermissionAssociationsWorkCommand.d.ts +10 -0
- package/dist-types/commands/ListResourceSharePermissionsCommand.d.ts +11 -0
- package/dist-types/commands/PromotePermissionCreatedFromPolicyCommand.d.ts +11 -0
- package/dist-types/commands/ReplacePermissionAssociationsCommand.d.ts +18 -0
- package/dist-types/commands/UpdatePermissionCommand.d.ts +124 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +37 -12
- package/dist-types/models/models_0.d.ts +347 -3
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/RAM.d.ts +17 -0
- package/dist-types/ts3.4/RAMClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdatePermissionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -5
- package/dist-types/ts3.4/models/models_0.d.ts +46 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +8 -8
|
@@ -96,6 +96,8 @@ const _MPTE = "MalformedPolicyTemplateException";
|
|
|
96
96
|
const _MRPE = "MissingRequiredParameterException";
|
|
97
97
|
const _ONPE = "OperationNotPermittedException";
|
|
98
98
|
const _P = "Principal";
|
|
99
|
+
const _PAATP = "PermissionArnAndTemplateParameters";
|
|
100
|
+
const _PAATPL = "PermissionArnAndTemplateParametersList";
|
|
99
101
|
const _PAEE = "PermissionAlreadyExistsException";
|
|
100
102
|
const _PAL = "PermissionArnList";
|
|
101
103
|
const _PAOIL = "PrincipalArnOrIdList";
|
|
@@ -108,6 +110,13 @@ const _PPCFPRr = "PromotePermissionCreatedFromPolicyResponse";
|
|
|
108
110
|
const _PRSCFP = "PromoteResourceShareCreatedFromPolicy";
|
|
109
111
|
const _PRSCFPR = "PromoteResourceShareCreatedFromPolicyRequest";
|
|
110
112
|
const _PRSCFPRr = "PromoteResourceShareCreatedFromPolicyResponse";
|
|
113
|
+
const _PTP = "PermissionTemplateParameter";
|
|
114
|
+
const _PTPD = "PermissionTemplateParameterDeclaration";
|
|
115
|
+
const _PTPDL = "PermissionTemplateParameterDeclarationList";
|
|
116
|
+
const _PTPI = "PermissionTemplateParameterInput";
|
|
117
|
+
const _PTPIL = "PermissionTemplateParameterInputList";
|
|
118
|
+
const _PTPL = "PermissionTemplateParameterList";
|
|
119
|
+
const _PTPVL = "PermissionTemplateParameterValueList";
|
|
111
120
|
const _PVLEE = "PermissionVersionsLimitExceededException";
|
|
112
121
|
const _R = "Resource";
|
|
113
122
|
const _RAL = "ResourceArnList";
|
|
@@ -157,7 +166,10 @@ const _TPVE = "TagPolicyViolationException";
|
|
|
157
166
|
const _TR = "TagResource";
|
|
158
167
|
const _TRR = "TagResourceRequest";
|
|
159
168
|
const _TRRa = "TagResourceResponse";
|
|
169
|
+
const _UP = "UpdatePermission";
|
|
160
170
|
const _UPPE = "UnmatchedPolicyPermissionException";
|
|
171
|
+
const _UPR = "UpdatePermissionRequest";
|
|
172
|
+
const _UPRp = "UpdatePermissionResponse";
|
|
161
173
|
const _UR = "UntagResource";
|
|
162
174
|
const _URE = "UnknownResourceException";
|
|
163
175
|
const _URR = "UntagResourceRequest";
|
|
@@ -174,6 +186,7 @@ const _aT = "associationType";
|
|
|
174
186
|
const _c = "client";
|
|
175
187
|
const _cT = "clientToken";
|
|
176
188
|
const _cTr = "creationTime";
|
|
189
|
+
const _d = "description";
|
|
177
190
|
const _dV = "defaultVersion";
|
|
178
191
|
const _e = "error";
|
|
179
192
|
const _ex = "external";
|
|
@@ -199,6 +212,7 @@ const _pA = "permissionArn";
|
|
|
199
212
|
const _pAe = "permissionArns";
|
|
200
213
|
const _pS = "permissionStatus";
|
|
201
214
|
const _pT = "policyTemplate";
|
|
215
|
+
const _pTP = "permissionTemplateParameters";
|
|
202
216
|
const _pTe = "permissionType";
|
|
203
217
|
const _pV = "permissionVersion";
|
|
204
218
|
const _pe = "permission";
|
|
@@ -251,8 +265,9 @@ const _tPA = "toPermissionArn";
|
|
|
251
265
|
const _tPV = "toPermissionVersion";
|
|
252
266
|
const _tV = "tagValues";
|
|
253
267
|
const _ty = "type";
|
|
254
|
-
const _v = "
|
|
268
|
+
const _v = "values";
|
|
255
269
|
const _va = "value";
|
|
270
|
+
const _ve = "version";
|
|
256
271
|
const _wI = "workIds";
|
|
257
272
|
const _xN = "xmlName";
|
|
258
273
|
const n0 = "com.amazonaws.ram";
|
|
@@ -447,8 +462,8 @@ export var AcceptResourceShareInvitationResponse$ = [3, n0, _ARSIRc,
|
|
|
447
462
|
];
|
|
448
463
|
export var AssociatedPermission$ = [3, n0, _AP,
|
|
449
464
|
0,
|
|
450
|
-
[_a, _pV, _dV, _rT, _st, _fS, _lUT, _rSA],
|
|
451
|
-
[0, 0, 2, 0, 0, 0, 4, 0]
|
|
465
|
+
[_a, _pV, _dV, _rT, _st, _fS, _lUT, _rSA, _pTP],
|
|
466
|
+
[0, 0, 2, 0, 0, 0, 4, 0, [() => PermissionTemplateParameterList, 0]]
|
|
452
467
|
];
|
|
453
468
|
export var AssociatedSource$ = [3, n0, _AS,
|
|
454
469
|
0,
|
|
@@ -457,8 +472,8 @@ export var AssociatedSource$ = [3, n0, _AS,
|
|
|
457
472
|
];
|
|
458
473
|
export var AssociateResourceSharePermissionRequest$ = [3, n0, _ARSPR,
|
|
459
474
|
0,
|
|
460
|
-
[_rSA, _pA, _r, _cT, _pV],
|
|
461
|
-
[0, 0, 2, 0, 1], 2
|
|
475
|
+
[_rSA, _pA, _pTP, _r, _cT, _pV],
|
|
476
|
+
[0, 0, [() => PermissionTemplateParameterInputList, 0], 2, 0, 1], 2
|
|
462
477
|
];
|
|
463
478
|
export var AssociateResourceSharePermissionResponse$ = [3, n0, _ARSPRs,
|
|
464
479
|
0,
|
|
@@ -477,28 +492,28 @@ export var AssociateResourceShareResponse$ = [3, n0, _ARSRs,
|
|
|
477
492
|
];
|
|
478
493
|
export var CreatePermissionRequest$ = [3, n0, _CPR,
|
|
479
494
|
0,
|
|
480
|
-
[_n, _rT, _pT, _cT, _t],
|
|
481
|
-
[0, 0, 0, 0, () => TagList], 3
|
|
495
|
+
[_n, _rT, _pT, _pTP, _cT, _t],
|
|
496
|
+
[0, 0, 0, [() => PermissionTemplateParameterDeclarationList, 0], 0, () => TagList], 3
|
|
482
497
|
];
|
|
483
498
|
export var CreatePermissionResponse$ = [3, n0, _CPRr,
|
|
484
499
|
0,
|
|
485
500
|
[_pe, _cT],
|
|
486
|
-
[() => ResourceSharePermissionSummary$, 0]
|
|
501
|
+
[[() => ResourceSharePermissionSummary$, 0], 0]
|
|
487
502
|
];
|
|
488
503
|
export var CreatePermissionVersionRequest$ = [3, n0, _CPVR,
|
|
489
504
|
0,
|
|
490
|
-
[_pA, _pT, _cT],
|
|
491
|
-
[0, 0, 0], 2
|
|
505
|
+
[_pA, _pT, _pTP, _cT],
|
|
506
|
+
[0, 0, [() => PermissionTemplateParameterDeclarationList, 0], 0], 2
|
|
492
507
|
];
|
|
493
508
|
export var CreatePermissionVersionResponse$ = [3, n0, _CPVRr,
|
|
494
509
|
0,
|
|
495
510
|
[_pe, _cT],
|
|
496
|
-
[() => ResourceSharePermissionDetail$, 0]
|
|
511
|
+
[[() => ResourceSharePermissionDetail$, 0], 0]
|
|
497
512
|
];
|
|
498
513
|
export var CreateResourceShareRequest$ = [3, n0, _CRSR,
|
|
499
514
|
0,
|
|
500
|
-
[_n, _rA, _p, _t, _aEP, _cT, _pAe, _so, _rSC],
|
|
501
|
-
[0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], () => TagList, 2, 0, [() => PermissionArnList, 0], [() => SourceArnOrAccountList, 0], () => ResourceShareConfiguration$], 1
|
|
515
|
+
[_n, _rA, _p, _t, _aEP, _cT, _pAe, _so, _pTP, _rSC],
|
|
516
|
+
[0, [() => ResourceArnList, 0], [() => PrincipalArnOrIdList, 0], () => TagList, 2, 0, [() => PermissionArnList, 0], [() => SourceArnOrAccountList, 0], [() => PermissionArnAndTemplateParametersList, 0], () => ResourceShareConfiguration$], 1
|
|
502
517
|
];
|
|
503
518
|
export var CreateResourceShareResponse$ = [3, n0, _CRSRr,
|
|
504
519
|
0,
|
|
@@ -567,13 +582,13 @@ export var EnableSharingWithAwsOrganizationResponse$ = [3, n0, _ESWAORn,
|
|
|
567
582
|
];
|
|
568
583
|
export var GetPermissionRequest$ = [3, n0, _GPR,
|
|
569
584
|
0,
|
|
570
|
-
[_pA, _pV],
|
|
571
|
-
[0, 1], 1
|
|
585
|
+
[_pA, _pV, _pTP],
|
|
586
|
+
[0, 1, [() => PermissionTemplateParameterInputList, 0]], 1
|
|
572
587
|
];
|
|
573
588
|
export var GetPermissionResponse$ = [3, n0, _GPRe,
|
|
574
589
|
0,
|
|
575
590
|
[_pe],
|
|
576
|
-
[() => ResourceSharePermissionDetail
|
|
591
|
+
[[() => ResourceSharePermissionDetail$, 0]]
|
|
577
592
|
];
|
|
578
593
|
export var GetResourcePoliciesRequest$ = [3, n0, _GRPR,
|
|
579
594
|
0,
|
|
@@ -627,8 +642,8 @@ export var ListPendingInvitationResourcesResponse$ = [3, n0, _LPIRRi,
|
|
|
627
642
|
];
|
|
628
643
|
export var ListPermissionAssociationsRequest$ = [3, n0, _LPAR,
|
|
629
644
|
0,
|
|
630
|
-
[_pA, _pV, _aS, _rT, _fS, _dV, _nT, _mR],
|
|
631
|
-
[0, 1, 0, 0, 0, 2, 0, 1]
|
|
645
|
+
[_pA, _pV, _aS, _rT, _fS, _dV, _rO, _rSA, _nT, _mR],
|
|
646
|
+
[0, 1, 0, 0, 0, 2, 0, 0, 0, 1]
|
|
632
647
|
];
|
|
633
648
|
export var ListPermissionAssociationsResponse$ = [3, n0, _LPARi,
|
|
634
649
|
0,
|
|
@@ -637,8 +652,8 @@ export var ListPermissionAssociationsResponse$ = [3, n0, _LPARi,
|
|
|
637
652
|
];
|
|
638
653
|
export var ListPermissionsRequest$ = [3, n0, _LPR,
|
|
639
654
|
0,
|
|
640
|
-
[_rT, _nT, _mR, _pTe],
|
|
641
|
-
[0, 0, 1, 0]
|
|
655
|
+
[_rT, _rO, _nT, _mR, _pTe, _pS],
|
|
656
|
+
[0, 0, 0, 1, 0, 0]
|
|
642
657
|
];
|
|
643
658
|
export var ListPermissionsResponse$ = [3, n0, _LPRi,
|
|
644
659
|
0,
|
|
@@ -715,6 +730,26 @@ export var ListSourceAssociationsResponse$ = [3, n0, _LSARi,
|
|
|
715
730
|
[_sA, _nT],
|
|
716
731
|
[[() => AssociatedSourceList, 0], 0]
|
|
717
732
|
];
|
|
733
|
+
export var PermissionArnAndTemplateParameters$ = [3, n0, _PAATP,
|
|
734
|
+
0,
|
|
735
|
+
[_pA, _pTP],
|
|
736
|
+
[0, [() => PermissionTemplateParameterInputList, 0]]
|
|
737
|
+
];
|
|
738
|
+
export var PermissionTemplateParameter$ = [3, n0, _PTP,
|
|
739
|
+
0,
|
|
740
|
+
[_n, _ty, _d, _v],
|
|
741
|
+
[0, 0, 0, [() => PermissionTemplateParameterValueList, 0]]
|
|
742
|
+
];
|
|
743
|
+
export var PermissionTemplateParameterDeclaration$ = [3, n0, _PTPD,
|
|
744
|
+
0,
|
|
745
|
+
[_n, _ty, _d],
|
|
746
|
+
[0, 0, 0]
|
|
747
|
+
];
|
|
748
|
+
export var PermissionTemplateParameterInput$ = [3, n0, _PTPI,
|
|
749
|
+
0,
|
|
750
|
+
[_n, _v],
|
|
751
|
+
[0, [() => PermissionTemplateParameterValueList, 0]]
|
|
752
|
+
];
|
|
718
753
|
export var Principal$ = [3, n0, _P,
|
|
719
754
|
0,
|
|
720
755
|
[_i, _rSA, _cTr, _lUT, _ex],
|
|
@@ -728,7 +763,7 @@ export var PromotePermissionCreatedFromPolicyRequest$ = [3, n0, _PPCFPR,
|
|
|
728
763
|
export var PromotePermissionCreatedFromPolicyResponse$ = [3, n0, _PPCFPRr,
|
|
729
764
|
0,
|
|
730
765
|
[_pe, _cT],
|
|
731
|
-
[() => ResourceSharePermissionSummary$, 0]
|
|
766
|
+
[[() => ResourceSharePermissionSummary$, 0], 0]
|
|
732
767
|
];
|
|
733
768
|
export var PromoteResourceShareCreatedFromPolicyRequest$ = [3, n0, _PRSCFPR,
|
|
734
769
|
0,
|
|
@@ -752,18 +787,18 @@ export var RejectResourceShareInvitationResponse$ = [3, n0, _RRSIRe,
|
|
|
752
787
|
];
|
|
753
788
|
export var ReplacePermissionAssociationsRequest$ = [3, n0, _RPAR,
|
|
754
789
|
0,
|
|
755
|
-
[_fPA, _tPA, _fPV, _cT],
|
|
756
|
-
[0, 0, 1, 0], 2
|
|
790
|
+
[_fPA, _tPA, _fPV, _pTP, _cT],
|
|
791
|
+
[0, 0, 1, [() => PermissionTemplateParameterInputList, 0], 0], 2
|
|
757
792
|
];
|
|
758
793
|
export var ReplacePermissionAssociationsResponse$ = [3, n0, _RPARe,
|
|
759
794
|
0,
|
|
760
795
|
[_rPAWe, _cT],
|
|
761
|
-
[() => ReplacePermissionAssociationsWork$, 0]
|
|
796
|
+
[[() => ReplacePermissionAssociationsWork$, 0], 0]
|
|
762
797
|
];
|
|
763
798
|
export var ReplacePermissionAssociationsWork$ = [3, n0, _RPAW,
|
|
764
799
|
0,
|
|
765
|
-
[_i, _fPA, _fPV, _tPA, _tPV, _st, _sM, _cTr, _lUT],
|
|
766
|
-
[0, 0, 0, 0, 0, 0, 0, 4, 4]
|
|
800
|
+
[_i, _fPA, _fPV, _tPA, _tPV, _pTP, _st, _sM, _cTr, _lUT],
|
|
801
|
+
[0, 0, 0, 0, 0, [() => PermissionTemplateParameterList, 0], 0, 0, 4, 4]
|
|
767
802
|
];
|
|
768
803
|
export var Resource$ = [3, n0, _R,
|
|
769
804
|
0,
|
|
@@ -792,13 +827,13 @@ export var ResourceShareInvitation$ = [3, n0, _RSI,
|
|
|
792
827
|
];
|
|
793
828
|
export var ResourceSharePermissionDetail$ = [3, n0, _RSPD,
|
|
794
829
|
0,
|
|
795
|
-
[_a,
|
|
796
|
-
[0, 0, 2, 0, 0, 0, 4, 4, 2, 0, 0, 0, () => TagList]
|
|
830
|
+
[_a, _ve, _dV, _n, _rT, _pe, _pTP, _cTr, _lUT, _iRTD, _pTe, _fS, _st, _t, _rO],
|
|
831
|
+
[0, 0, 2, 0, 0, 0, [() => PermissionTemplateParameterDeclarationList, 0], 4, 4, 2, 0, 0, 0, () => TagList, 0]
|
|
797
832
|
];
|
|
798
833
|
export var ResourceSharePermissionSummary$ = [3, n0, _RSPS,
|
|
799
834
|
0,
|
|
800
|
-
[_a,
|
|
801
|
-
[0, 0, 2, 0, 0, 0, 4, 4, 2, 0, 0, () => TagList]
|
|
835
|
+
[_a, _ve, _dV, _n, _rT, _st, _cTr, _lUT, _iRTD, _pTe, _fS, _pTP, _t, _rO],
|
|
836
|
+
[0, 0, 2, 0, 0, 0, 4, 4, 2, 0, 0, [() => PermissionTemplateParameterList, 0], () => TagList, 0]
|
|
802
837
|
];
|
|
803
838
|
export var ServiceNameAndResourceType$ = [3, n0, _SNART,
|
|
804
839
|
0,
|
|
@@ -845,6 +880,16 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
845
880
|
[],
|
|
846
881
|
[]
|
|
847
882
|
];
|
|
883
|
+
export var UpdatePermissionRequest$ = [3, n0, _UPR,
|
|
884
|
+
0,
|
|
885
|
+
[_pA, _st, _cT],
|
|
886
|
+
[0, 0, 0], 2
|
|
887
|
+
];
|
|
888
|
+
export var UpdatePermissionResponse$ = [3, n0, _UPRp,
|
|
889
|
+
0,
|
|
890
|
+
[_cT, _pS],
|
|
891
|
+
[0, 0]
|
|
892
|
+
];
|
|
848
893
|
export var UpdateResourceShareRequest$ = [3, n0, _URSR,
|
|
849
894
|
0,
|
|
850
895
|
[_rSA, _n, _aEP, _cT],
|
|
@@ -863,10 +908,30 @@ var AssociatedSourceList = [1, n0, _ASL,
|
|
|
863
908
|
0, [() => AssociatedSource$,
|
|
864
909
|
{ [_xN]: _it }]
|
|
865
910
|
];
|
|
911
|
+
var PermissionArnAndTemplateParametersList = [1, n0, _PAATPL,
|
|
912
|
+
0, [() => PermissionArnAndTemplateParameters$,
|
|
913
|
+
{ [_xN]: _it }]
|
|
914
|
+
];
|
|
866
915
|
var PermissionArnList = [1, n0, _PAL,
|
|
867
916
|
0, [0,
|
|
868
917
|
{ [_xN]: _it }]
|
|
869
918
|
];
|
|
919
|
+
var PermissionTemplateParameterDeclarationList = [1, n0, _PTPDL,
|
|
920
|
+
0, [() => PermissionTemplateParameterDeclaration$,
|
|
921
|
+
{ [_xN]: _it }]
|
|
922
|
+
];
|
|
923
|
+
var PermissionTemplateParameterInputList = [1, n0, _PTPIL,
|
|
924
|
+
0, [() => PermissionTemplateParameterInput$,
|
|
925
|
+
{ [_xN]: _it }]
|
|
926
|
+
];
|
|
927
|
+
var PermissionTemplateParameterList = [1, n0, _PTPL,
|
|
928
|
+
0, [() => PermissionTemplateParameter$,
|
|
929
|
+
{ [_xN]: _it }]
|
|
930
|
+
];
|
|
931
|
+
var PermissionTemplateParameterValueList = [1, n0, _PTPVL,
|
|
932
|
+
0, [0,
|
|
933
|
+
{ [_xN]: _it }]
|
|
934
|
+
];
|
|
870
935
|
var PolicyList = [1, n0, _PL,
|
|
871
936
|
0, [0,
|
|
872
937
|
{ [_xN]: _it }]
|
|
@@ -1037,6 +1102,9 @@ export var TagResource$ = [9, n0, _TR,
|
|
|
1037
1102
|
export var UntagResource$ = [9, n0, _UR,
|
|
1038
1103
|
{ [_h]: ["POST", "/untagresource", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1039
1104
|
];
|
|
1105
|
+
export var UpdatePermission$ = [9, n0, _UP,
|
|
1106
|
+
{ [_h]: ["POST", "/updatepermission", 200] }, () => UpdatePermissionRequest$, () => UpdatePermissionResponse$
|
|
1107
|
+
];
|
|
1040
1108
|
export var UpdateResourceShare$ = [9, n0, _URS,
|
|
1041
1109
|
{ [_h]: ["POST", "/updateresourceshare", 200] }, () => UpdateResourceShareRequest$, () => UpdateResourceShareResponse$
|
|
1042
1110
|
];
|
package/dist-types/RAM.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import { type ReplacePermissionAssociationsCommandInput, type ReplacePermissionA
|
|
|
33
33
|
import { type SetDefaultPermissionVersionCommandInput, type SetDefaultPermissionVersionCommandOutput } from "./commands/SetDefaultPermissionVersionCommand";
|
|
34
34
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
35
35
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
|
+
import { type UpdatePermissionCommandInput, type UpdatePermissionCommandOutput } from "./commands/UpdatePermissionCommand";
|
|
36
37
|
import { type UpdateResourceShareCommandInput, type UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
37
38
|
import { RAMClient } from "./RAMClient";
|
|
38
39
|
/**
|
|
@@ -253,6 +254,12 @@ export interface RAM {
|
|
|
253
254
|
untagResource(args: UntagResourceCommandInput, options?: RAMRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
254
255
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
255
256
|
untagResource(args: UntagResourceCommandInput, options: RAMRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link UpdatePermissionCommand}
|
|
259
|
+
*/
|
|
260
|
+
updatePermission(args: UpdatePermissionCommandInput, options?: RAMRequestOptions): Promise<UpdatePermissionCommandOutput>;
|
|
261
|
+
updatePermission(args: UpdatePermissionCommandInput, cb: (err: any, data?: UpdatePermissionCommandOutput) => void): void;
|
|
262
|
+
updatePermission(args: UpdatePermissionCommandInput, options: RAMRequestOptions, cb: (err: any, data?: UpdatePermissionCommandOutput) => void): void;
|
|
256
263
|
/**
|
|
257
264
|
* @see {@link UpdateResourceShareCommand}
|
|
258
265
|
*/
|
|
@@ -40,6 +40,7 @@ import type { ReplacePermissionAssociationsCommandInput, ReplacePermissionAssoci
|
|
|
40
40
|
import type { SetDefaultPermissionVersionCommandInput, SetDefaultPermissionVersionCommandOutput } from "./commands/SetDefaultPermissionVersionCommand";
|
|
41
41
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
42
42
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
|
+
import type { UpdatePermissionCommandInput, UpdatePermissionCommandOutput } from "./commands/UpdatePermissionCommand";
|
|
43
44
|
import type { UpdateResourceShareCommandInput, UpdateResourceShareCommandOutput } from "./commands/UpdateResourceShareCommand";
|
|
44
45
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
45
46
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -47,11 +48,11 @@ export { __Client };
|
|
|
47
48
|
/**
|
|
48
49
|
* @public
|
|
49
50
|
*/
|
|
50
|
-
export type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreatePermissionCommandInput | CreatePermissionVersionCommandInput | CreateResourceShareCommandInput | DeletePermissionCommandInput | DeletePermissionVersionCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionAssociationsCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListReplacePermissionAssociationsWorkCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | ListSourceAssociationsCommandInput | PromotePermissionCreatedFromPolicyCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | ReplacePermissionAssociationsCommandInput | SetDefaultPermissionVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateResourceShareCommandInput;
|
|
51
|
+
export type ServiceInputTypes = AcceptResourceShareInvitationCommandInput | AssociateResourceShareCommandInput | AssociateResourceSharePermissionCommandInput | CreatePermissionCommandInput | CreatePermissionVersionCommandInput | CreateResourceShareCommandInput | DeletePermissionCommandInput | DeletePermissionVersionCommandInput | DeleteResourceShareCommandInput | DisassociateResourceShareCommandInput | DisassociateResourceSharePermissionCommandInput | EnableSharingWithAwsOrganizationCommandInput | GetPermissionCommandInput | GetResourcePoliciesCommandInput | GetResourceShareAssociationsCommandInput | GetResourceShareInvitationsCommandInput | GetResourceSharesCommandInput | ListPendingInvitationResourcesCommandInput | ListPermissionAssociationsCommandInput | ListPermissionVersionsCommandInput | ListPermissionsCommandInput | ListPrincipalsCommandInput | ListReplacePermissionAssociationsWorkCommandInput | ListResourceSharePermissionsCommandInput | ListResourceTypesCommandInput | ListResourcesCommandInput | ListSourceAssociationsCommandInput | PromotePermissionCreatedFromPolicyCommandInput | PromoteResourceShareCreatedFromPolicyCommandInput | RejectResourceShareInvitationCommandInput | ReplacePermissionAssociationsCommandInput | SetDefaultPermissionVersionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePermissionCommandInput | UpdateResourceShareCommandInput;
|
|
51
52
|
/**
|
|
52
53
|
* @public
|
|
53
54
|
*/
|
|
54
|
-
export type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreatePermissionCommandOutput | CreatePermissionVersionCommandOutput | CreateResourceShareCommandOutput | DeletePermissionCommandOutput | DeletePermissionVersionCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionAssociationsCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListReplacePermissionAssociationsWorkCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | ListSourceAssociationsCommandOutput | PromotePermissionCreatedFromPolicyCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | ReplacePermissionAssociationsCommandOutput | SetDefaultPermissionVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateResourceShareCommandOutput;
|
|
55
|
+
export type ServiceOutputTypes = AcceptResourceShareInvitationCommandOutput | AssociateResourceShareCommandOutput | AssociateResourceSharePermissionCommandOutput | CreatePermissionCommandOutput | CreatePermissionVersionCommandOutput | CreateResourceShareCommandOutput | DeletePermissionCommandOutput | DeletePermissionVersionCommandOutput | DeleteResourceShareCommandOutput | DisassociateResourceShareCommandOutput | DisassociateResourceSharePermissionCommandOutput | EnableSharingWithAwsOrganizationCommandOutput | GetPermissionCommandOutput | GetResourcePoliciesCommandOutput | GetResourceShareAssociationsCommandOutput | GetResourceShareInvitationsCommandOutput | GetResourceSharesCommandOutput | ListPendingInvitationResourcesCommandOutput | ListPermissionAssociationsCommandOutput | ListPermissionVersionsCommandOutput | ListPermissionsCommandOutput | ListPrincipalsCommandOutput | ListReplacePermissionAssociationsWorkCommandOutput | ListResourceSharePermissionsCommandOutput | ListResourceTypesCommandOutput | ListResourcesCommandOutput | ListSourceAssociationsCommandOutput | PromotePermissionCreatedFromPolicyCommandOutput | PromoteResourceShareCreatedFromPolicyCommandOutput | RejectResourceShareInvitationCommandOutput | ReplacePermissionAssociationsCommandOutput | SetDefaultPermissionVersionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePermissionCommandOutput | UpdateResourceShareCommandOutput;
|
|
55
56
|
/**
|
|
56
57
|
* @public
|
|
57
58
|
*/
|
|
@@ -39,6 +39,14 @@ declare const AssociateResourceSharePermissionCommand_base: {
|
|
|
39
39
|
* const input = { // AssociateResourceSharePermissionRequest
|
|
40
40
|
* resourceShareArn: "STRING_VALUE", // required
|
|
41
41
|
* permissionArn: "STRING_VALUE", // required
|
|
42
|
+
* permissionTemplateParameters: [ // PermissionTemplateParameterInputList
|
|
43
|
+
* { // PermissionTemplateParameterInput
|
|
44
|
+
* name: "STRING_VALUE",
|
|
45
|
+
* values: [ // PermissionTemplateParameterValueList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
42
50
|
* replace: true || false,
|
|
43
51
|
* clientToken: "STRING_VALUE",
|
|
44
52
|
* permissionVersion: Number("int"),
|
|
@@ -38,6 +38,13 @@ declare const CreatePermissionCommand_base: {
|
|
|
38
38
|
* name: "STRING_VALUE", // required
|
|
39
39
|
* resourceType: "STRING_VALUE", // required
|
|
40
40
|
* policyTemplate: "STRING_VALUE", // required
|
|
41
|
+
* permissionTemplateParameters: [ // PermissionTemplateParameterDeclarationList
|
|
42
|
+
* { // PermissionTemplateParameterDeclaration
|
|
43
|
+
* name: "STRING_VALUE",
|
|
44
|
+
* type: "STRING" || "STRING_LIST",
|
|
45
|
+
* description: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
41
48
|
* clientToken: "STRING_VALUE",
|
|
42
49
|
* tags: [ // TagList
|
|
43
50
|
* { // Tag
|
|
@@ -61,12 +68,23 @@ declare const CreatePermissionCommand_base: {
|
|
|
61
68
|
* // isResourceTypeDefault: true || false,
|
|
62
69
|
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
63
70
|
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
71
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterList
|
|
72
|
+
* // { // PermissionTemplateParameter
|
|
73
|
+
* // name: "STRING_VALUE",
|
|
74
|
+
* // type: "STRING" || "STRING_LIST",
|
|
75
|
+
* // description: "STRING_VALUE",
|
|
76
|
+
* // values: [ // PermissionTemplateParameterValueList
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
64
81
|
* // tags: [ // TagList
|
|
65
82
|
* // { // Tag
|
|
66
83
|
* // key: "STRING_VALUE",
|
|
67
84
|
* // value: "STRING_VALUE",
|
|
68
85
|
* // },
|
|
69
86
|
* // ],
|
|
87
|
+
* // resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
70
88
|
* // },
|
|
71
89
|
* // clientToken: "STRING_VALUE",
|
|
72
90
|
* // };
|
|
@@ -41,6 +41,13 @@ declare const CreatePermissionVersionCommand_base: {
|
|
|
41
41
|
* const input = { // CreatePermissionVersionRequest
|
|
42
42
|
* permissionArn: "STRING_VALUE", // required
|
|
43
43
|
* policyTemplate: "STRING_VALUE", // required
|
|
44
|
+
* permissionTemplateParameters: [ // PermissionTemplateParameterDeclarationList
|
|
45
|
+
* { // PermissionTemplateParameterDeclaration
|
|
46
|
+
* name: "STRING_VALUE",
|
|
47
|
+
* type: "STRING" || "STRING_LIST",
|
|
48
|
+
* description: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
44
51
|
* clientToken: "STRING_VALUE",
|
|
45
52
|
* };
|
|
46
53
|
* const command = new CreatePermissionVersionCommand(input);
|
|
@@ -53,18 +60,26 @@ declare const CreatePermissionVersionCommand_base: {
|
|
|
53
60
|
* // name: "STRING_VALUE",
|
|
54
61
|
* // resourceType: "STRING_VALUE",
|
|
55
62
|
* // permission: "STRING_VALUE",
|
|
63
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterDeclarationList
|
|
64
|
+
* // { // PermissionTemplateParameterDeclaration
|
|
65
|
+
* // name: "STRING_VALUE",
|
|
66
|
+
* // type: "STRING" || "STRING_LIST",
|
|
67
|
+
* // description: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
56
70
|
* // creationTime: new Date("TIMESTAMP"),
|
|
57
71
|
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
58
72
|
* // isResourceTypeDefault: true || false,
|
|
59
73
|
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
60
74
|
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
61
|
-
* // status: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
75
|
+
* // status: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED" || "DEPRECATED",
|
|
62
76
|
* // tags: [ // TagList
|
|
63
77
|
* // { // Tag
|
|
64
78
|
* // key: "STRING_VALUE",
|
|
65
79
|
* // value: "STRING_VALUE",
|
|
66
80
|
* // },
|
|
67
81
|
* // ],
|
|
82
|
+
* // resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
68
83
|
* // },
|
|
69
84
|
* // clientToken: "STRING_VALUE",
|
|
70
85
|
* // };
|
|
@@ -98,6 +113,9 @@ declare const CreatePermissionVersionCommand_base: {
|
|
|
98
113
|
* @throws {@link MalformedPolicyTemplateException} (client fault)
|
|
99
114
|
* <p>The operation failed because the policy template that you provided isn't valid.</p>
|
|
100
115
|
*
|
|
116
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
117
|
+
* <p>The operation failed because the requested operation isn't permitted.</p>
|
|
118
|
+
*
|
|
101
119
|
* @throws {@link PermissionVersionsLimitExceededException} (client fault)
|
|
102
120
|
* <p>The operation failed because it would exceed the limit for the number of versions you
|
|
103
121
|
* can have for a permission. To view the limits for your Amazon Web Services account, see the <a href="https://console.aws.amazon.com/servicequotas/home/services/ram/quotas">RAM page in the
|
|
@@ -62,6 +62,19 @@ declare const CreateResourceShareCommand_base: {
|
|
|
62
62
|
* sources: [ // SourceArnOrAccountList
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
|
+
* permissionTemplateParameters: [ // PermissionArnAndTemplateParametersList
|
|
66
|
+
* { // PermissionArnAndTemplateParameters
|
|
67
|
+
* permissionArn: "STRING_VALUE",
|
|
68
|
+
* permissionTemplateParameters: [ // PermissionTemplateParameterInputList
|
|
69
|
+
* { // PermissionTemplateParameterInput
|
|
70
|
+
* name: "STRING_VALUE",
|
|
71
|
+
* values: [ // PermissionTemplateParameterValueList
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
65
78
|
* resourceShareConfiguration: { // ResourceShareConfiguration
|
|
66
79
|
* retainSharingOnAccountLeaveOrganization: true || false,
|
|
67
80
|
* },
|
|
@@ -44,7 +44,7 @@ declare const DeletePermissionCommand_base: {
|
|
|
44
44
|
* // { // DeletePermissionResponse
|
|
45
45
|
* // returnValue: true || false,
|
|
46
46
|
* // clientToken: "STRING_VALUE",
|
|
47
|
-
* // permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
47
|
+
* // permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED" || "DEPRECATED",
|
|
48
48
|
* // };
|
|
49
49
|
*
|
|
50
50
|
* ```
|
|
@@ -46,7 +46,7 @@ declare const DeletePermissionVersionCommand_base: {
|
|
|
46
46
|
* // { // DeletePermissionVersionResponse
|
|
47
47
|
* // returnValue: true || false,
|
|
48
48
|
* // clientToken: "STRING_VALUE",
|
|
49
|
-
* // permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
49
|
+
* // permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED" || "DEPRECATED",
|
|
50
50
|
* // };
|
|
51
51
|
*
|
|
52
52
|
* ```
|
|
@@ -25,6 +25,12 @@ declare const GetPermissionCommand_base: {
|
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* <p>Retrieves the contents of a managed permission in JSON format.</p>
|
|
28
|
+
* <p>If the permission has template parameters, you can include the
|
|
29
|
+
* <code>permissionTemplateParameters</code> parameter in your request. The operation then
|
|
30
|
+
* renders the returned policy with the specified values in place of the template parameter
|
|
31
|
+
* placeholders. If you omit <code>permissionTemplateParameters</code>, the operation
|
|
32
|
+
* returns the raw policy template with <code>@\{parameterName\}</code> placeholders
|
|
33
|
+
* unchanged.</p>
|
|
28
34
|
* @example
|
|
29
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
36
|
* ```javascript
|
|
@@ -36,6 +42,14 @@ declare const GetPermissionCommand_base: {
|
|
|
36
42
|
* const input = { // GetPermissionRequest
|
|
37
43
|
* permissionArn: "STRING_VALUE", // required
|
|
38
44
|
* permissionVersion: Number("int"),
|
|
45
|
+
* permissionTemplateParameters: [ // PermissionTemplateParameterInputList
|
|
46
|
+
* { // PermissionTemplateParameterInput
|
|
47
|
+
* name: "STRING_VALUE",
|
|
48
|
+
* values: [ // PermissionTemplateParameterValueList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
39
53
|
* };
|
|
40
54
|
* const command = new GetPermissionCommand(input);
|
|
41
55
|
* const response = await client.send(command);
|
|
@@ -47,18 +61,26 @@ declare const GetPermissionCommand_base: {
|
|
|
47
61
|
* // name: "STRING_VALUE",
|
|
48
62
|
* // resourceType: "STRING_VALUE",
|
|
49
63
|
* // permission: "STRING_VALUE",
|
|
64
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterDeclarationList
|
|
65
|
+
* // { // PermissionTemplateParameterDeclaration
|
|
66
|
+
* // name: "STRING_VALUE",
|
|
67
|
+
* // type: "STRING" || "STRING_LIST",
|
|
68
|
+
* // description: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
50
71
|
* // creationTime: new Date("TIMESTAMP"),
|
|
51
72
|
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
52
73
|
* // isResourceTypeDefault: true || false,
|
|
53
74
|
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
54
75
|
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
55
|
-
* // status: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED",
|
|
76
|
+
* // status: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED" || "DEPRECATED",
|
|
56
77
|
* // tags: [ // TagList
|
|
57
78
|
* // { // Tag
|
|
58
79
|
* // key: "STRING_VALUE",
|
|
59
80
|
* // value: "STRING_VALUE",
|
|
60
81
|
* // },
|
|
61
82
|
* // ],
|
|
83
|
+
* // resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
62
84
|
* // },
|
|
63
85
|
* // };
|
|
64
86
|
*
|
|
@@ -49,6 +49,8 @@ declare const ListPermissionAssociationsCommand_base: {
|
|
|
49
49
|
* resourceType: "STRING_VALUE",
|
|
50
50
|
* featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
51
51
|
* defaultVersion: true || false,
|
|
52
|
+
* resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
53
|
+
* resourceShareArn: "STRING_VALUE",
|
|
52
54
|
* nextToken: "STRING_VALUE",
|
|
53
55
|
* maxResults: Number("int"),
|
|
54
56
|
* };
|
|
@@ -65,6 +67,16 @@ declare const ListPermissionAssociationsCommand_base: {
|
|
|
65
67
|
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
66
68
|
* // lastUpdatedTime: new Date("TIMESTAMP"),
|
|
67
69
|
* // resourceShareArn: "STRING_VALUE",
|
|
70
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterList
|
|
71
|
+
* // { // PermissionTemplateParameter
|
|
72
|
+
* // name: "STRING_VALUE",
|
|
73
|
+
* // type: "STRING" || "STRING_LIST",
|
|
74
|
+
* // description: "STRING_VALUE",
|
|
75
|
+
* // values: [ // PermissionTemplateParameterValueList
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
68
80
|
* // },
|
|
69
81
|
* // ],
|
|
70
82
|
* // nextToken: "STRING_VALUE",
|
|
@@ -61,12 +61,23 @@ declare const ListPermissionVersionsCommand_base: {
|
|
|
61
61
|
* // isResourceTypeDefault: true || false,
|
|
62
62
|
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
63
63
|
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
64
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterList
|
|
65
|
+
* // { // PermissionTemplateParameter
|
|
66
|
+
* // name: "STRING_VALUE",
|
|
67
|
+
* // type: "STRING" || "STRING_LIST",
|
|
68
|
+
* // description: "STRING_VALUE",
|
|
69
|
+
* // values: [ // PermissionTemplateParameterValueList
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
64
74
|
* // tags: [ // TagList
|
|
65
75
|
* // { // Tag
|
|
66
76
|
* // key: "STRING_VALUE",
|
|
67
77
|
* // value: "STRING_VALUE",
|
|
68
78
|
* // },
|
|
69
79
|
* // ],
|
|
80
|
+
* // resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
70
81
|
* // },
|
|
71
82
|
* // ],
|
|
72
83
|
* // nextToken: "STRING_VALUE",
|
|
@@ -43,9 +43,11 @@ declare const ListPermissionsCommand_base: {
|
|
|
43
43
|
* const client = new RAMClient(config);
|
|
44
44
|
* const input = { // ListPermissionsRequest
|
|
45
45
|
* resourceType: "STRING_VALUE",
|
|
46
|
+
* resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
46
47
|
* nextToken: "STRING_VALUE",
|
|
47
48
|
* maxResults: Number("int"),
|
|
48
49
|
* permissionType: "ALL" || "AWS_MANAGED" || "CUSTOMER_MANAGED",
|
|
50
|
+
* permissionStatus: "ATTACHABLE" || "UNATTACHABLE" || "DELETING" || "DELETED" || "DEPRECATED",
|
|
49
51
|
* };
|
|
50
52
|
* const command = new ListPermissionsCommand(input);
|
|
51
53
|
* const response = await client.send(command);
|
|
@@ -63,12 +65,23 @@ declare const ListPermissionsCommand_base: {
|
|
|
63
65
|
* // isResourceTypeDefault: true || false,
|
|
64
66
|
* // permissionType: "CUSTOMER_MANAGED" || "AWS_MANAGED",
|
|
65
67
|
* // featureSet: "CREATED_FROM_POLICY" || "PROMOTING_TO_STANDARD" || "STANDARD",
|
|
68
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterList
|
|
69
|
+
* // { // PermissionTemplateParameter
|
|
70
|
+
* // name: "STRING_VALUE",
|
|
71
|
+
* // type: "STRING" || "STRING_LIST",
|
|
72
|
+
* // description: "STRING_VALUE",
|
|
73
|
+
* // values: [ // PermissionTemplateParameterValueList
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
66
78
|
* // tags: [ // TagList
|
|
67
79
|
* // { // Tag
|
|
68
80
|
* // key: "STRING_VALUE",
|
|
69
81
|
* // value: "STRING_VALUE",
|
|
70
82
|
* // },
|
|
71
83
|
* // ],
|
|
84
|
+
* // resourceOwner: "SELF" || "OTHER-ACCOUNTS",
|
|
72
85
|
* // },
|
|
73
86
|
* // ],
|
|
74
87
|
* // nextToken: "STRING_VALUE",
|
|
@@ -59,6 +59,16 @@ declare const ListReplacePermissionAssociationsWorkCommand_base: {
|
|
|
59
59
|
* // fromPermissionVersion: "STRING_VALUE",
|
|
60
60
|
* // toPermissionArn: "STRING_VALUE",
|
|
61
61
|
* // toPermissionVersion: "STRING_VALUE",
|
|
62
|
+
* // permissionTemplateParameters: [ // PermissionTemplateParameterList
|
|
63
|
+
* // { // PermissionTemplateParameter
|
|
64
|
+
* // name: "STRING_VALUE",
|
|
65
|
+
* // type: "STRING" || "STRING_LIST",
|
|
66
|
+
* // description: "STRING_VALUE",
|
|
67
|
+
* // values: [ // PermissionTemplateParameterValueList
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
62
72
|
* // status: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
63
73
|
* // statusMessage: "STRING_VALUE",
|
|
64
74
|
* // creationTime: new Date("TIMESTAMP"),
|