@aws-sdk/client-iam 3.1097.0 → 3.1099.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 +58 -8
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +39 -7
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +4 -1
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +11 -3
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +19 -3
- package/dist-types/commands/UpdateDelegationRequestCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/models_0.d.ts +201 -104
- package/dist-types/models/models_1.d.ts +86 -0
- package/dist-types/schemas/schemas_0.d.ts +4 -1
- package/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateLoginProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -14
- package/dist-types/ts3.4/models/models_1.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -1
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1098.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -630,9 +630,10 @@ const _AKI = "AccessKeyId";
|
|
|
630
630
|
const _AKLU = "AccessKeyLastUsed";
|
|
631
631
|
const _AKM = "AccessKeyMetadata";
|
|
632
632
|
const _AMP = "AttachedManagedPolicies";
|
|
633
|
-
const _AN = "
|
|
633
|
+
const _AN = "AttachmentName";
|
|
634
634
|
const _ANMODAE = "AccountNotManagementOrDelegatedAdministratorException";
|
|
635
|
-
const _ANc = "
|
|
635
|
+
const _ANc = "ActionNames";
|
|
636
|
+
const _ANct = "ActionName";
|
|
636
637
|
const _AP = "AttachedPolicy";
|
|
637
638
|
const _APB = "AttachedPermissionsBoundary";
|
|
638
639
|
const _APK = "AddPrivateKey";
|
|
@@ -643,6 +644,7 @@ const _ARPR = "AttachRolePolicyRequest";
|
|
|
643
644
|
const _ARTIP = "AddRoleToInstanceProfile";
|
|
644
645
|
const _ARTIPR = "AddRoleToInstanceProfileRequest";
|
|
645
646
|
const _AS = "AssignmentStatus";
|
|
647
|
+
const _AT = "AttachmentType";
|
|
646
648
|
const _AU = "AllUsers";
|
|
647
649
|
const _AUP = "AttachUserPolicy";
|
|
648
650
|
const _AUPR = "AttachUserPolicyRequest";
|
|
@@ -953,6 +955,8 @@ const _II = "IssuerIdentifier";
|
|
|
953
955
|
const _IIE = "InvalidInputException";
|
|
954
956
|
const _IP = "InstanceProfile";
|
|
955
957
|
const _IPI = "InstanceProfileId";
|
|
958
|
+
const _IPIT = "InlinePolicyIdentifierType";
|
|
959
|
+
const _IPIn = "InlinePolicyIdentifier";
|
|
956
960
|
const _IPKE = "InvalidPublicKeyException";
|
|
957
961
|
const _IPL = "InstanceProfileList";
|
|
958
962
|
const _IPN = "InstanceProfileName";
|
|
@@ -1126,8 +1130,11 @@ const _OIICEE = "OpenIdIdpCommunicationErrorException";
|
|
|
1126
1130
|
const _OIr = "OrganizationId";
|
|
1127
1131
|
const _ONFE = "OrganizationNotFoundException";
|
|
1128
1132
|
const _ONIAFME = "OrganizationNotInAllFeaturesModeException";
|
|
1133
|
+
const _OOPIL = "OrderedOrganizationPolicyInputList";
|
|
1134
|
+
const _OOPT = "OrderedOrganizationPolicyType";
|
|
1129
1135
|
const _OP = "OldPassword";
|
|
1130
1136
|
const _OPI = "OrganizationsPolicyId";
|
|
1137
|
+
const _OPLT = "OrganizationPolicyListType";
|
|
1131
1138
|
const _OSBO = "OnlySendByOwner";
|
|
1132
1139
|
const _P = "Permissions";
|
|
1133
1140
|
const _PA = "PolicyArn";
|
|
@@ -1142,6 +1149,8 @@ const _PCS = "PermissionCheckStatus";
|
|
|
1142
1149
|
const _PD = "PolicyDocument";
|
|
1143
1150
|
const _PDo = "PolicyDetail";
|
|
1144
1151
|
const _PEE = "PolicyEvaluationException";
|
|
1152
|
+
const _PEL = "PolicyExclusionList";
|
|
1153
|
+
const _PELT = "PolicyExclusionsListType";
|
|
1145
1154
|
const _PG = "PolicyGroups";
|
|
1146
1155
|
const _PGLT = "PolicyGroupListType";
|
|
1147
1156
|
const _PGP = "PutGroupPolicy";
|
|
@@ -1151,6 +1160,7 @@ const _PGSAo = "PolicyGrantingServiceAccess";
|
|
|
1151
1160
|
const _PGo = "PolicyGroup";
|
|
1152
1161
|
const _PI = "PolicyId";
|
|
1153
1162
|
const _PIL = "PolicyInputList";
|
|
1163
|
+
const _PIo = "PolicyIdentifier";
|
|
1154
1164
|
const _PK = "PrivateKey";
|
|
1155
1165
|
const _PKL = "PrivateKeyList";
|
|
1156
1166
|
const _PLU = "PasswordLastUsed";
|
|
@@ -1257,6 +1267,7 @@ const _SCM = "ServerCertificateMetadata";
|
|
|
1257
1267
|
const _SCML = "ServerCertificateMetadataList";
|
|
1258
1268
|
const _SCN = "ServerCertificateName";
|
|
1259
1269
|
const _SCP = "SimulateCustomPolicy";
|
|
1270
|
+
const _SCPIL = "ServiceControlPolicyInputList";
|
|
1260
1271
|
const _SCPR = "SimulateCustomPolicyRequest";
|
|
1261
1272
|
const _SCS = "ServiceCredentialSecret";
|
|
1262
1273
|
const _SCe = "ServerCertificate";
|
|
@@ -2412,6 +2423,11 @@ var GroupDetail$ = [3, n0, _GD,
|
|
|
2412
2423
|
[_Pa, _GN, _GI, _A, _CD, _GPL, _AMP],
|
|
2413
2424
|
[0, 0, 0, 0, 4, () => policyDetailListType, () => attachedPoliciesListType]
|
|
2414
2425
|
];
|
|
2426
|
+
var InlinePolicyIdentifierType$ = [3, n0, _IPIT,
|
|
2427
|
+
0,
|
|
2428
|
+
[_PN, _AT, _AN],
|
|
2429
|
+
[0, 0, 0], 3
|
|
2430
|
+
];
|
|
2415
2431
|
var InstanceProfile$ = [3, n0, _IP,
|
|
2416
2432
|
0,
|
|
2417
2433
|
[_Pa, _IPN, _IPI, _A, _CD, _Rol, _T],
|
|
@@ -2802,6 +2818,11 @@ var OpenIDConnectProviderListEntry$ = [3, n0, _OIDCPLE,
|
|
|
2802
2818
|
[_A],
|
|
2803
2819
|
[0]
|
|
2804
2820
|
];
|
|
2821
|
+
var OrderedOrganizationPolicyType$ = [3, n0, _OOPT,
|
|
2822
|
+
0,
|
|
2823
|
+
[_SCPIL],
|
|
2824
|
+
[64 | 0]
|
|
2825
|
+
];
|
|
2805
2826
|
var OrganizationsDecisionDetail$ = [3, n0, _ODD,
|
|
2806
2827
|
0,
|
|
2807
2828
|
[_ABO],
|
|
@@ -3004,8 +3025,8 @@ var SigningCertificate$ = [3, n0, _SCi,
|
|
|
3004
3025
|
];
|
|
3005
3026
|
var SimulateCustomPolicyRequest$ = [3, n0, _SCPR,
|
|
3006
3027
|
0,
|
|
3007
|
-
[_PIL,
|
|
3008
|
-
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
3028
|
+
[_PIL, _ANc, _PBPIL, _OOPIL, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma],
|
|
3029
|
+
[64 | 0, 64 | 0, 64 | 0, () => OrganizationPolicyListType, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
3009
3030
|
];
|
|
3010
3031
|
var SimulatePolicyResponse$ = [3, n0, _SPR,
|
|
3011
3032
|
0,
|
|
@@ -3014,8 +3035,8 @@ var SimulatePolicyResponse$ = [3, n0, _SPR,
|
|
|
3014
3035
|
];
|
|
3015
3036
|
var SimulatePrincipalPolicyRequest$ = [3, n0, _SPPR,
|
|
3016
3037
|
0,
|
|
3017
|
-
[_PSA,
|
|
3018
|
-
[0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
3038
|
+
[_PSA, _ANc, _PIL, _PBPIL, _PEL, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma],
|
|
3039
|
+
[0, 64 | 0, 64 | 0, 64 | 0, () => PolicyExclusionsListType, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
3019
3040
|
];
|
|
3020
3041
|
var SSHPublicKey$ = [3, n0, _SSHPK,
|
|
3021
3042
|
0,
|
|
@@ -3079,7 +3100,7 @@ var TagUserRequest$ = [3, n0, _TUR,
|
|
|
3079
3100
|
];
|
|
3080
3101
|
var TrackedActionLastAccessed$ = [3, n0, _TALAr,
|
|
3081
3102
|
0,
|
|
3082
|
-
[
|
|
3103
|
+
[_ANct, _LAEa, _LATa, _LARa],
|
|
3083
3104
|
[0, 0, 4, 0]
|
|
3084
3105
|
];
|
|
3085
3106
|
var UntagInstanceProfileRequest$ = [3, n0, _UIPR,
|
|
@@ -3303,12 +3324,18 @@ var mfaDeviceListType = [1, n0, _mDLT,
|
|
|
3303
3324
|
var OpenIDConnectProviderListType = [1, n0, _OIDCPLT,
|
|
3304
3325
|
0, () => OpenIDConnectProviderListEntry$
|
|
3305
3326
|
];
|
|
3327
|
+
var OrganizationPolicyListType = [1, n0, _OPLT,
|
|
3328
|
+
0, () => OrderedOrganizationPolicyType$
|
|
3329
|
+
];
|
|
3306
3330
|
var policyDetailListType = [1, n0, _pDLT,
|
|
3307
3331
|
0, () => PolicyDetail$
|
|
3308
3332
|
];
|
|
3309
3333
|
var policyDocumentVersionListType = [1, n0, _pDVLT,
|
|
3310
3334
|
0, () => PolicyVersion$
|
|
3311
3335
|
];
|
|
3336
|
+
var PolicyExclusionsListType = [1, n0, _PELT,
|
|
3337
|
+
0, () => PolicyIdentifier$
|
|
3338
|
+
];
|
|
3312
3339
|
var policyGrantingServiceAccessListType = [1, n0, _pGSALT,
|
|
3313
3340
|
0, () => PolicyGrantingServiceAccess$
|
|
3314
3341
|
];
|
|
@@ -3376,6 +3403,11 @@ var virtualMFADeviceListType = [1, n0, _vMFADLT,
|
|
|
3376
3403
|
0, [() => VirtualMFADevice$,
|
|
3377
3404
|
0]
|
|
3378
3405
|
];
|
|
3406
|
+
var PolicyIdentifier$ = [4, n0, _PIo,
|
|
3407
|
+
0,
|
|
3408
|
+
[_PT, _PA, _IPIn],
|
|
3409
|
+
[0, 0, () => InlinePolicyIdentifierType$]
|
|
3410
|
+
];
|
|
3379
3411
|
var AcceptDelegationRequest$ = [9, n0, _ADR,
|
|
3380
3412
|
0, () => AcceptDelegationRequestRequest$, () => __Unit
|
|
3381
3413
|
];
|
|
@@ -4997,6 +5029,11 @@ const AssignmentStatusType = {
|
|
|
4997
5029
|
const PermissionsBoundaryAttachmentType = {
|
|
4998
5030
|
Policy: "PermissionsBoundaryPolicy",
|
|
4999
5031
|
};
|
|
5032
|
+
const AttachmentType = {
|
|
5033
|
+
GROUP: "group",
|
|
5034
|
+
ROLE: "role",
|
|
5035
|
+
USER: "user",
|
|
5036
|
+
};
|
|
5000
5037
|
const PolicyParameterTypeEnum = {
|
|
5001
5038
|
STRING: "string",
|
|
5002
5039
|
STRING_LIST: "stringList",
|
|
@@ -5152,6 +5189,14 @@ const PolicySourceType = {
|
|
|
5152
5189
|
USER: "user",
|
|
5153
5190
|
USER_MANAGED: "user-managed",
|
|
5154
5191
|
};
|
|
5192
|
+
const PolicyIdentifierPolicyType = {
|
|
5193
|
+
AWS_MANAGED: "aws-managed",
|
|
5194
|
+
INLINE: "inline",
|
|
5195
|
+
PERMISSION_BOUNDARY: "permission-boundary",
|
|
5196
|
+
RCP: "rcp",
|
|
5197
|
+
SCP: "scp",
|
|
5198
|
+
USER_MANAGED: "user-managed",
|
|
5199
|
+
};
|
|
5155
5200
|
|
|
5156
5201
|
exports.AcceptDelegationRequest$ = AcceptDelegationRequest$;
|
|
5157
5202
|
exports.AcceptDelegationRequestCommand = AcceptDelegationRequestCommand;
|
|
@@ -5188,6 +5233,7 @@ exports.AttachUserPolicyCommand = AttachUserPolicyCommand;
|
|
|
5188
5233
|
exports.AttachUserPolicyRequest$ = AttachUserPolicyRequest$;
|
|
5189
5234
|
exports.AttachedPermissionsBoundary$ = AttachedPermissionsBoundary$;
|
|
5190
5235
|
exports.AttachedPolicy$ = AttachedPolicy$;
|
|
5236
|
+
exports.AttachmentType = AttachmentType;
|
|
5191
5237
|
exports.CallerIsNotManagementAccountException = CallerIsNotManagementAccountException;
|
|
5192
5238
|
exports.CallerIsNotManagementAccountException$ = CallerIsNotManagementAccountException$;
|
|
5193
5239
|
exports.ChangePassword$ = ChangePassword$;
|
|
@@ -5521,6 +5567,7 @@ exports.IAM = IAM;
|
|
|
5521
5567
|
exports.IAMClient = IAMClient;
|
|
5522
5568
|
exports.IAMServiceException = IAMServiceException;
|
|
5523
5569
|
exports.IAMServiceException$ = IAMServiceException$;
|
|
5570
|
+
exports.InlinePolicyIdentifierType$ = InlinePolicyIdentifierType$;
|
|
5524
5571
|
exports.InstanceProfile$ = InstanceProfile$;
|
|
5525
5572
|
exports.InvalidAuthenticationCodeException = InvalidAuthenticationCodeException;
|
|
5526
5573
|
exports.InvalidAuthenticationCodeException$ = InvalidAuthenticationCodeException$;
|
|
@@ -5694,6 +5741,7 @@ exports.NoSuchEntityException$ = NoSuchEntityException$;
|
|
|
5694
5741
|
exports.OpenIDConnectProviderListEntry$ = OpenIDConnectProviderListEntry$;
|
|
5695
5742
|
exports.OpenIdIdpCommunicationErrorException = OpenIdIdpCommunicationErrorException;
|
|
5696
5743
|
exports.OpenIdIdpCommunicationErrorException$ = OpenIdIdpCommunicationErrorException$;
|
|
5744
|
+
exports.OrderedOrganizationPolicyType$ = OrderedOrganizationPolicyType$;
|
|
5697
5745
|
exports.OrganizationNotFoundException = OrganizationNotFoundException;
|
|
5698
5746
|
exports.OrganizationNotFoundException$ = OrganizationNotFoundException$;
|
|
5699
5747
|
exports.OrganizationNotInAllFeaturesModeException = OrganizationNotInAllFeaturesModeException;
|
|
@@ -5713,6 +5761,8 @@ exports.PolicyEvaluationException = PolicyEvaluationException;
|
|
|
5713
5761
|
exports.PolicyEvaluationException$ = PolicyEvaluationException$;
|
|
5714
5762
|
exports.PolicyGrantingServiceAccess$ = PolicyGrantingServiceAccess$;
|
|
5715
5763
|
exports.PolicyGroup$ = PolicyGroup$;
|
|
5764
|
+
exports.PolicyIdentifier$ = PolicyIdentifier$;
|
|
5765
|
+
exports.PolicyIdentifierPolicyType = PolicyIdentifierPolicyType;
|
|
5716
5766
|
exports.PolicyNotAttachableException = PolicyNotAttachableException;
|
|
5717
5767
|
exports.PolicyNotAttachableException$ = PolicyNotAttachableException$;
|
|
5718
5768
|
exports.PolicyOwnerEntityType = PolicyOwnerEntityType;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -19,6 +19,11 @@ export const AssignmentStatusType = {
|
|
|
19
19
|
export const PermissionsBoundaryAttachmentType = {
|
|
20
20
|
Policy: "PermissionsBoundaryPolicy",
|
|
21
21
|
};
|
|
22
|
+
export const AttachmentType = {
|
|
23
|
+
GROUP: "group",
|
|
24
|
+
ROLE: "role",
|
|
25
|
+
USER: "user",
|
|
26
|
+
};
|
|
22
27
|
export const PolicyParameterTypeEnum = {
|
|
23
28
|
STRING: "string",
|
|
24
29
|
STRING_LIST: "stringList",
|
|
@@ -174,3 +179,11 @@ export const PolicySourceType = {
|
|
|
174
179
|
USER: "user",
|
|
175
180
|
USER_MANAGED: "user-managed",
|
|
176
181
|
};
|
|
182
|
+
export const PolicyIdentifierPolicyType = {
|
|
183
|
+
AWS_MANAGED: "aws-managed",
|
|
184
|
+
INLINE: "inline",
|
|
185
|
+
PERMISSION_BOUNDARY: "permission-boundary",
|
|
186
|
+
RCP: "rcp",
|
|
187
|
+
SCP: "scp",
|
|
188
|
+
USER_MANAGED: "user-managed",
|
|
189
|
+
};
|
|
@@ -23,9 +23,10 @@ const _AKI = "AccessKeyId";
|
|
|
23
23
|
const _AKLU = "AccessKeyLastUsed";
|
|
24
24
|
const _AKM = "AccessKeyMetadata";
|
|
25
25
|
const _AMP = "AttachedManagedPolicies";
|
|
26
|
-
const _AN = "
|
|
26
|
+
const _AN = "AttachmentName";
|
|
27
27
|
const _ANMODAE = "AccountNotManagementOrDelegatedAdministratorException";
|
|
28
|
-
const _ANc = "
|
|
28
|
+
const _ANc = "ActionNames";
|
|
29
|
+
const _ANct = "ActionName";
|
|
29
30
|
const _AP = "AttachedPolicy";
|
|
30
31
|
const _APB = "AttachedPermissionsBoundary";
|
|
31
32
|
const _APK = "AddPrivateKey";
|
|
@@ -36,6 +37,7 @@ const _ARPR = "AttachRolePolicyRequest";
|
|
|
36
37
|
const _ARTIP = "AddRoleToInstanceProfile";
|
|
37
38
|
const _ARTIPR = "AddRoleToInstanceProfileRequest";
|
|
38
39
|
const _AS = "AssignmentStatus";
|
|
40
|
+
const _AT = "AttachmentType";
|
|
39
41
|
const _AU = "AllUsers";
|
|
40
42
|
const _AUP = "AttachUserPolicy";
|
|
41
43
|
const _AUPR = "AttachUserPolicyRequest";
|
|
@@ -346,6 +348,8 @@ const _II = "IssuerIdentifier";
|
|
|
346
348
|
const _IIE = "InvalidInputException";
|
|
347
349
|
const _IP = "InstanceProfile";
|
|
348
350
|
const _IPI = "InstanceProfileId";
|
|
351
|
+
const _IPIT = "InlinePolicyIdentifierType";
|
|
352
|
+
const _IPIn = "InlinePolicyIdentifier";
|
|
349
353
|
const _IPKE = "InvalidPublicKeyException";
|
|
350
354
|
const _IPL = "InstanceProfileList";
|
|
351
355
|
const _IPN = "InstanceProfileName";
|
|
@@ -519,8 +523,11 @@ const _OIICEE = "OpenIdIdpCommunicationErrorException";
|
|
|
519
523
|
const _OIr = "OrganizationId";
|
|
520
524
|
const _ONFE = "OrganizationNotFoundException";
|
|
521
525
|
const _ONIAFME = "OrganizationNotInAllFeaturesModeException";
|
|
526
|
+
const _OOPIL = "OrderedOrganizationPolicyInputList";
|
|
527
|
+
const _OOPT = "OrderedOrganizationPolicyType";
|
|
522
528
|
const _OP = "OldPassword";
|
|
523
529
|
const _OPI = "OrganizationsPolicyId";
|
|
530
|
+
const _OPLT = "OrganizationPolicyListType";
|
|
524
531
|
const _OSBO = "OnlySendByOwner";
|
|
525
532
|
const _P = "Permissions";
|
|
526
533
|
const _PA = "PolicyArn";
|
|
@@ -535,6 +542,8 @@ const _PCS = "PermissionCheckStatus";
|
|
|
535
542
|
const _PD = "PolicyDocument";
|
|
536
543
|
const _PDo = "PolicyDetail";
|
|
537
544
|
const _PEE = "PolicyEvaluationException";
|
|
545
|
+
const _PEL = "PolicyExclusionList";
|
|
546
|
+
const _PELT = "PolicyExclusionsListType";
|
|
538
547
|
const _PG = "PolicyGroups";
|
|
539
548
|
const _PGLT = "PolicyGroupListType";
|
|
540
549
|
const _PGP = "PutGroupPolicy";
|
|
@@ -544,6 +553,7 @@ const _PGSAo = "PolicyGrantingServiceAccess";
|
|
|
544
553
|
const _PGo = "PolicyGroup";
|
|
545
554
|
const _PI = "PolicyId";
|
|
546
555
|
const _PIL = "PolicyInputList";
|
|
556
|
+
const _PIo = "PolicyIdentifier";
|
|
547
557
|
const _PK = "PrivateKey";
|
|
548
558
|
const _PKL = "PrivateKeyList";
|
|
549
559
|
const _PLU = "PasswordLastUsed";
|
|
@@ -650,6 +660,7 @@ const _SCM = "ServerCertificateMetadata";
|
|
|
650
660
|
const _SCML = "ServerCertificateMetadataList";
|
|
651
661
|
const _SCN = "ServerCertificateName";
|
|
652
662
|
const _SCP = "SimulateCustomPolicy";
|
|
663
|
+
const _SCPIL = "ServiceControlPolicyInputList";
|
|
653
664
|
const _SCPR = "SimulateCustomPolicyRequest";
|
|
654
665
|
const _SCS = "ServiceCredentialSecret";
|
|
655
666
|
const _SCe = "ServerCertificate";
|
|
@@ -1808,6 +1819,11 @@ export var GroupDetail$ = [3, n0, _GD,
|
|
|
1808
1819
|
[_Pa, _GN, _GI, _A, _CD, _GPL, _AMP],
|
|
1809
1820
|
[0, 0, 0, 0, 4, () => policyDetailListType, () => attachedPoliciesListType]
|
|
1810
1821
|
];
|
|
1822
|
+
export var InlinePolicyIdentifierType$ = [3, n0, _IPIT,
|
|
1823
|
+
0,
|
|
1824
|
+
[_PN, _AT, _AN],
|
|
1825
|
+
[0, 0, 0], 3
|
|
1826
|
+
];
|
|
1811
1827
|
export var InstanceProfile$ = [3, n0, _IP,
|
|
1812
1828
|
0,
|
|
1813
1829
|
[_Pa, _IPN, _IPI, _A, _CD, _Rol, _T],
|
|
@@ -2198,6 +2214,11 @@ export var OpenIDConnectProviderListEntry$ = [3, n0, _OIDCPLE,
|
|
|
2198
2214
|
[_A],
|
|
2199
2215
|
[0]
|
|
2200
2216
|
];
|
|
2217
|
+
export var OrderedOrganizationPolicyType$ = [3, n0, _OOPT,
|
|
2218
|
+
0,
|
|
2219
|
+
[_SCPIL],
|
|
2220
|
+
[64 | 0]
|
|
2221
|
+
];
|
|
2201
2222
|
export var OrganizationsDecisionDetail$ = [3, n0, _ODD,
|
|
2202
2223
|
0,
|
|
2203
2224
|
[_ABO],
|
|
@@ -2400,8 +2421,8 @@ export var SigningCertificate$ = [3, n0, _SCi,
|
|
|
2400
2421
|
];
|
|
2401
2422
|
export var SimulateCustomPolicyRequest$ = [3, n0, _SCPR,
|
|
2402
2423
|
0,
|
|
2403
|
-
[_PIL,
|
|
2404
|
-
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
2424
|
+
[_PIL, _ANc, _PBPIL, _OOPIL, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma],
|
|
2425
|
+
[64 | 0, 64 | 0, 64 | 0, () => OrganizationPolicyListType, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
2405
2426
|
];
|
|
2406
2427
|
export var SimulatePolicyResponse$ = [3, n0, _SPR,
|
|
2407
2428
|
0,
|
|
@@ -2410,8 +2431,8 @@ export var SimulatePolicyResponse$ = [3, n0, _SPR,
|
|
|
2410
2431
|
];
|
|
2411
2432
|
export var SimulatePrincipalPolicyRequest$ = [3, n0, _SPPR,
|
|
2412
2433
|
0,
|
|
2413
|
-
[_PSA,
|
|
2414
|
-
[0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
2434
|
+
[_PSA, _ANc, _PIL, _PBPIL, _PEL, _RA, _RP, _RO, _CA, _CEo, _RHO, _MI, _Ma],
|
|
2435
|
+
[0, 64 | 0, 64 | 0, 64 | 0, () => PolicyExclusionsListType, 64 | 0, 0, 0, 0, () => ContextEntryListType, 0, 1, 0], 2
|
|
2415
2436
|
];
|
|
2416
2437
|
export var SSHPublicKey$ = [3, n0, _SSHPK,
|
|
2417
2438
|
0,
|
|
@@ -2475,7 +2496,7 @@ export var TagUserRequest$ = [3, n0, _TUR,
|
|
|
2475
2496
|
];
|
|
2476
2497
|
export var TrackedActionLastAccessed$ = [3, n0, _TALAr,
|
|
2477
2498
|
0,
|
|
2478
|
-
[
|
|
2499
|
+
[_ANct, _LAEa, _LATa, _LARa],
|
|
2479
2500
|
[0, 0, 4, 0]
|
|
2480
2501
|
];
|
|
2481
2502
|
export var UntagInstanceProfileRequest$ = [3, n0, _UIPR,
|
|
@@ -2708,12 +2729,18 @@ var mfaDeviceListType = [1, n0, _mDLT,
|
|
|
2708
2729
|
var OpenIDConnectProviderListType = [1, n0, _OIDCPLT,
|
|
2709
2730
|
0, () => OpenIDConnectProviderListEntry$
|
|
2710
2731
|
];
|
|
2732
|
+
var OrganizationPolicyListType = [1, n0, _OPLT,
|
|
2733
|
+
0, () => OrderedOrganizationPolicyType$
|
|
2734
|
+
];
|
|
2711
2735
|
var policyDetailListType = [1, n0, _pDLT,
|
|
2712
2736
|
0, () => PolicyDetail$
|
|
2713
2737
|
];
|
|
2714
2738
|
var policyDocumentVersionListType = [1, n0, _pDVLT,
|
|
2715
2739
|
0, () => PolicyVersion$
|
|
2716
2740
|
];
|
|
2741
|
+
var PolicyExclusionsListType = [1, n0, _PELT,
|
|
2742
|
+
0, () => PolicyIdentifier$
|
|
2743
|
+
];
|
|
2717
2744
|
var policyGrantingServiceAccessListType = [1, n0, _pGSALT,
|
|
2718
2745
|
0, () => PolicyGrantingServiceAccess$
|
|
2719
2746
|
];
|
|
@@ -2792,6 +2819,11 @@ var virtualMFADeviceListType = [1, n0, _vMFADLT,
|
|
|
2792
2819
|
var CertificationMapType = 128 | 0;
|
|
2793
2820
|
var EvalDecisionDetailsType = 128 | 0;
|
|
2794
2821
|
var summaryMapType = 128 | 1;
|
|
2822
|
+
export var PolicyIdentifier$ = [4, n0, _PIo,
|
|
2823
|
+
0,
|
|
2824
|
+
[_PT, _PA, _IPIn],
|
|
2825
|
+
[0, 0, () => InlinePolicyIdentifierType$]
|
|
2826
|
+
];
|
|
2795
2827
|
export var AcceptDelegationRequest$ = [9, n0, _ADR,
|
|
2796
2828
|
0, () => AcceptDelegationRequestRequest$, () => __Unit
|
|
2797
2829
|
];
|
|
@@ -38,7 +38,10 @@ declare const GetContextKeysForPrincipalPolicyCommand_base: {
|
|
|
38
38
|
* <p>Context keys are variables maintained by Amazon Web Services and its services that provide details
|
|
39
39
|
* about the context of an API query request. Context keys can be evaluated by testing
|
|
40
40
|
* against a value in an IAM policy. Use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html">GetContextKeysForPrincipalPolicy</a> to understand what key names and values
|
|
41
|
-
* you must supply when you call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a
|
|
41
|
+
* you must supply when you call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>. This operation doesn't return context keys
|
|
42
|
+
* referenced by service control policies (SCPs). Only context keys referenced by the
|
|
43
|
+
* identity-based policies attached to the specified entity, and any additional policies
|
|
44
|
+
* that you provide, are included.</p>
|
|
42
45
|
* @example
|
|
43
46
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
47
|
* ```javascript
|
|
@@ -39,9 +39,10 @@ declare const SimulateCustomPolicyCommand_base: {
|
|
|
39
39
|
* <p>If the output is long, you can use <code>MaxItems</code> and <code>Marker</code>
|
|
40
40
|
* parameters to paginate the results.</p>
|
|
41
41
|
* <note>
|
|
42
|
-
* <p>The IAM policy simulator evaluates statements in
|
|
43
|
-
*
|
|
44
|
-
*
|
|
42
|
+
* <p>The IAM policy simulator evaluates statements in identity-based policies,
|
|
43
|
+
* service control policies (SCPs) including their condition keys and resource
|
|
44
|
+
* scoping, and the inputs that you provide during simulation. The policy
|
|
45
|
+
* simulator results can differ from your live Amazon Web Services environment. We recommend that you check your policies
|
|
45
46
|
* against your live Amazon Web Services environment after testing using the policy simulator to
|
|
46
47
|
* confirm that you have the desired results. For more information about using the
|
|
47
48
|
* policy simulator, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html">Testing IAM
|
|
@@ -63,6 +64,13 @@ declare const SimulateCustomPolicyCommand_base: {
|
|
|
63
64
|
* PermissionsBoundaryPolicyInputList: [
|
|
64
65
|
* "STRING_VALUE",
|
|
65
66
|
* ],
|
|
67
|
+
* OrderedOrganizationPolicyInputList: [ // OrganizationPolicyListType
|
|
68
|
+
* { // OrderedOrganizationPolicyType
|
|
69
|
+
* ServiceControlPolicyInputList: [
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
66
74
|
* ActionNames: [ // ActionNameListType // required
|
|
67
75
|
* "STRING_VALUE",
|
|
68
76
|
* ],
|
|
@@ -36,6 +36,10 @@ declare const SimulatePrincipalPolicyCommand_base: {
|
|
|
36
36
|
* the resources included in the simulation for IAM users only.</p>
|
|
37
37
|
* <p>The simulation does not perform the API operations; it only checks the authorization
|
|
38
38
|
* to determine if the simulated policies allow or deny the operations.</p>
|
|
39
|
+
* <p>For cross-account simulations, <code>EvalDecisionDetails</code> returns the decision
|
|
40
|
+
* for each policy type (identity-based policy, resource-based policy, and permissions
|
|
41
|
+
* boundary). This helps you identify which policy type is responsible for an allow or
|
|
42
|
+
* deny decision when policies span multiple accounts.</p>
|
|
39
43
|
* <p>
|
|
40
44
|
* <b>Note:</b> This operation discloses information about the
|
|
41
45
|
* permissions granted to other users. If you do not want users to see other user's
|
|
@@ -47,9 +51,10 @@ declare const SimulatePrincipalPolicyCommand_base: {
|
|
|
47
51
|
* <p>If the output is long, you can use the <code>MaxItems</code> and <code>Marker</code>
|
|
48
52
|
* parameters to paginate the results.</p>
|
|
49
53
|
* <note>
|
|
50
|
-
* <p>The IAM policy simulator evaluates statements in
|
|
51
|
-
*
|
|
52
|
-
*
|
|
54
|
+
* <p>The IAM policy simulator evaluates statements in identity-based policies,
|
|
55
|
+
* service control policies (SCPs) including their condition keys and resource
|
|
56
|
+
* scoping, and the inputs that you provide during simulation. The policy
|
|
57
|
+
* simulator results can differ from your live Amazon Web Services environment. We recommend that you check your policies
|
|
53
58
|
* against your live Amazon Web Services environment after testing using the policy simulator to
|
|
54
59
|
* confirm that you have the desired results. For more information about using the
|
|
55
60
|
* policy simulator, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html">Testing IAM
|
|
@@ -72,6 +77,17 @@ declare const SimulatePrincipalPolicyCommand_base: {
|
|
|
72
77
|
* PermissionsBoundaryPolicyInputList: [
|
|
73
78
|
* "STRING_VALUE",
|
|
74
79
|
* ],
|
|
80
|
+
* PolicyExclusionList: [ // PolicyExclusionsListType
|
|
81
|
+
* { // PolicyIdentifier Union: only one key present
|
|
82
|
+
* PolicyType: "inline" || "aws-managed" || "user-managed" || "permission-boundary" || "scp" || "rcp",
|
|
83
|
+
* PolicyArn: "STRING_VALUE",
|
|
84
|
+
* InlinePolicyIdentifier: { // InlinePolicyIdentifierType
|
|
85
|
+
* PolicyName: "STRING_VALUE", // required
|
|
86
|
+
* AttachmentType: "user" || "group" || "role", // required
|
|
87
|
+
* AttachmentName: "STRING_VALUE", // required
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
75
91
|
* ActionNames: [ // ActionNameListType // required
|
|
76
92
|
* "STRING_VALUE",
|
|
77
93
|
* ],
|
|
@@ -59,6 +59,19 @@ export declare const PermissionsBoundaryAttachmentType: {
|
|
|
59
59
|
* @public
|
|
60
60
|
*/
|
|
61
61
|
export type PermissionsBoundaryAttachmentType = (typeof PermissionsBoundaryAttachmentType)[keyof typeof PermissionsBoundaryAttachmentType];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const AttachmentType: {
|
|
67
|
+
readonly GROUP: "group";
|
|
68
|
+
readonly ROLE: "role";
|
|
69
|
+
readonly USER: "user";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType];
|
|
62
75
|
/**
|
|
63
76
|
* @public
|
|
64
77
|
* @enum
|
|
@@ -390,3 +403,19 @@ export declare const PolicySourceType: {
|
|
|
390
403
|
* @public
|
|
391
404
|
*/
|
|
392
405
|
export type PolicySourceType = (typeof PolicySourceType)[keyof typeof PolicySourceType];
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
* @enum
|
|
409
|
+
*/
|
|
410
|
+
export declare const PolicyIdentifierPolicyType: {
|
|
411
|
+
readonly AWS_MANAGED: "aws-managed";
|
|
412
|
+
readonly INLINE: "inline";
|
|
413
|
+
readonly PERMISSION_BOUNDARY: "permission-boundary";
|
|
414
|
+
readonly RCP: "rcp";
|
|
415
|
+
readonly SCP: "scp";
|
|
416
|
+
readonly USER_MANAGED: "user-managed";
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
export type PolicyIdentifierPolicyType = (typeof PolicyIdentifierPolicyType)[keyof typeof PolicyIdentifierPolicyType];
|