@aws-sdk/client-iam 3.1098.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 +1 -1
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];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessAdvisorUsageGranularityType, AssertionEncryptionModeType, AssignmentStatusType, ContextKeyTypeEnum, DeletionTaskStatusType, EncodingType, EntityType, FeatureType, GlobalEndpointTokenVersion, JobStatusType, PermissionCheckResultType, PermissionCheckStatusType, PermissionsBoundaryAttachmentType, PolicyEvaluationDecisionType, PolicyOwnerEntityType, PolicyParameterTypeEnum, PolicyScopeType, PolicySourceType, PolicyType, PolicyUsageType, ReportFormatType, ReportStateType, SortKeyType, StateType, StatusType, SummaryKeyType, SummaryStateType } from "./enums";
|
|
1
|
+
import type { AccessAdvisorUsageGranularityType, AssertionEncryptionModeType, AssignmentStatusType, AttachmentType, ContextKeyTypeEnum, DeletionTaskStatusType, EncodingType, EntityType, FeatureType, GlobalEndpointTokenVersion, JobStatusType, PermissionCheckResultType, PermissionCheckStatusType, PermissionsBoundaryAttachmentType, PolicyEvaluationDecisionType, PolicyIdentifierPolicyType, PolicyOwnerEntityType, PolicyParameterTypeEnum, PolicyScopeType, PolicySourceType, PolicyType, PolicyUsageType, ReportFormatType, ReportStateType, SortKeyType, StateType, StatusType, SummaryKeyType, SummaryStateType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -7515,6 +7515,23 @@ export interface ContextEntry {
|
|
|
7515
7515
|
*/
|
|
7516
7516
|
ContextKeyType?: ContextKeyTypeEnum | undefined;
|
|
7517
7517
|
}
|
|
7518
|
+
/**
|
|
7519
|
+
* <p>Represents one level of an Organizations hierarchy—the organization root, an organizational
|
|
7520
|
+
* unit (OU), or an account—together with the service control policies (SCPs) that apply at
|
|
7521
|
+
* that level. Each element in the list represents one level of the hierarchy, ordered from
|
|
7522
|
+
* the organization root down to the account.</p>
|
|
7523
|
+
* <p>For more information about SCPs, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html">Service control
|
|
7524
|
+
* policies (SCPs)</a> in the <i>Organizations User Guide</i>.</p>
|
|
7525
|
+
* @public
|
|
7526
|
+
*/
|
|
7527
|
+
export interface OrderedOrganizationPolicyType {
|
|
7528
|
+
/**
|
|
7529
|
+
* <p>A list of SCP documents that apply at this level of the Organizations hierarchy. Each document
|
|
7530
|
+
* is specified as a string containing the complete, valid JSON text of an SCP.</p>
|
|
7531
|
+
* @public
|
|
7532
|
+
*/
|
|
7533
|
+
ServiceControlPolicyInputList?: string[] | undefined;
|
|
7534
|
+
}
|
|
7518
7535
|
/**
|
|
7519
7536
|
* @public
|
|
7520
7537
|
*/
|
|
@@ -7577,6 +7594,18 @@ export interface SimulateCustomPolicyRequest {
|
|
|
7577
7594
|
* @public
|
|
7578
7595
|
*/
|
|
7579
7596
|
PermissionsBoundaryPolicyInputList?: string[] | undefined;
|
|
7597
|
+
/**
|
|
7598
|
+
* <p>An ordered list of service control policies (SCPs) to include in the simulation. Each
|
|
7599
|
+
* element represents one level of an Organizations hierarchy, from the organization root to the
|
|
7600
|
+
* account.</p>
|
|
7601
|
+
* <p>The simulator evaluates SCPs in the order that you provide, consistent with how Organizations
|
|
7602
|
+
* enforces SCPs. The first element must represent the organization root, and the last
|
|
7603
|
+
* element must represent the account. Any elements between them represent organizational
|
|
7604
|
+
* units (OUs) in descending order.</p>
|
|
7605
|
+
* <p>Use this parameter to simulate the effect of an SCP hierarchy without calling <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>.</p>
|
|
7606
|
+
* @public
|
|
7607
|
+
*/
|
|
7608
|
+
OrderedOrganizationPolicyInputList?: OrderedOrganizationPolicyType[] | undefined;
|
|
7580
7609
|
/**
|
|
7581
7610
|
* <p>A list of names of API operations to evaluate in the simulation. Each operation is
|
|
7582
7611
|
* evaluated against each resource. Each operation must include the service identifier,
|
|
@@ -7650,12 +7679,12 @@ export interface SimulateCustomPolicyRequest {
|
|
|
7650
7679
|
*/
|
|
7651
7680
|
ResourceOwner?: string | undefined;
|
|
7652
7681
|
/**
|
|
7653
|
-
* <p>The ARN of the IAM user that you want to use as the simulated
|
|
7654
|
-
* operations. <code>CallerArn</code> is required if you include a
|
|
7682
|
+
* <p>The ARN of the IAM user, group, or role that you want to use as the simulated
|
|
7683
|
+
* caller of the API operations. <code>CallerArn</code> is required if you include a
|
|
7655
7684
|
* <code>ResourcePolicy</code> so that the policy's <code>Principal</code> element has
|
|
7656
7685
|
* a value to use in evaluating the policy.</p>
|
|
7657
|
-
* <p>You
|
|
7658
|
-
*
|
|
7686
|
+
* <p>You cannot specify the ARN of an assumed role, federated user, or a service
|
|
7687
|
+
* principal.</p>
|
|
7659
7688
|
* @public
|
|
7660
7689
|
*/
|
|
7661
7690
|
CallerArn?: string | undefined;
|
|
@@ -7871,6 +7900,22 @@ export interface ResourceSpecificResult {
|
|
|
7871
7900
|
* </code> and <code>
|
|
7872
7901
|
* <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SimulatePrincipalPolicy.html">SimulatePrincipalPolicy</a>
|
|
7873
7902
|
* </code>.</p>
|
|
7903
|
+
* <important>
|
|
7904
|
+
* <p>The simulator now returns a single <code>EvaluationResult</code> per action,
|
|
7905
|
+
* regardless of how many resource ARNs are provided. Previously, simulating one action
|
|
7906
|
+
* against N resources returned N evaluation results, each containing the same aggregate
|
|
7907
|
+
* decision. The top-level fields (<code>EvalDecision</code>,
|
|
7908
|
+
* <code>MatchedStatements</code>, <code>MissingContextValues</code>,
|
|
7909
|
+
* <code>EvalDecisionDetails</code>) now represent the
|
|
7910
|
+
* <i>aggregate</i> decision across all requested resources. The top-level
|
|
7911
|
+
* <code>EvalDecision</code> reflects the most restrictive decision across all resources
|
|
7912
|
+
* (for example, if any resource produces <code>explicitDeny</code>, the top-level
|
|
7913
|
+
* decision is <code>explicitDeny</code>).</p>
|
|
7914
|
+
* <p>To see the decision for each individual resource, use
|
|
7915
|
+
* <code>ResourceSpecificResults</code>. If your application parses evaluation results per
|
|
7916
|
+
* resource ARN, update your code to read per-resource decisions from
|
|
7917
|
+
* <code>ResourceSpecificResults</code> rather than from the top-level result.</p>
|
|
7918
|
+
* </important>
|
|
7874
7919
|
* @public
|
|
7875
7920
|
*/
|
|
7876
7921
|
export interface EvaluationResult {
|
|
@@ -7880,7 +7925,16 @@ export interface EvaluationResult {
|
|
|
7880
7925
|
*/
|
|
7881
7926
|
EvalActionName: string | undefined;
|
|
7882
7927
|
/**
|
|
7883
|
-
* <p>The ARN
|
|
7928
|
+
* <p>The ARN template for the simulated resource type (for example,
|
|
7929
|
+
* <code>arn:$\{Partition\}:s3:::$\{BucketName\}/$\{KeyName\}</code>), or <code>*</code> if no
|
|
7930
|
+
* ARN format is defined for the action. This is not a specific customer-provided resource
|
|
7931
|
+
* ARN. To find the decision for a specific resource, use
|
|
7932
|
+
* <code>ResourceSpecificResults</code>.</p>
|
|
7933
|
+
* <note>
|
|
7934
|
+
* <p>If you previously relied on <code>EvalResourceName</code> to identify which specific
|
|
7935
|
+
* resource a result applies to, you must now use the <code>EvalResourceName</code> field
|
|
7936
|
+
* within individual entries in <code>ResourceSpecificResults</code> instead.</p>
|
|
7937
|
+
* </note>
|
|
7884
7938
|
* @public
|
|
7885
7939
|
*/
|
|
7886
7940
|
EvalResourceName?: string | undefined;
|
|
@@ -7894,6 +7948,12 @@ export interface EvaluationResult {
|
|
|
7894
7948
|
* scenario. Remember that even if multiple statements allow the operation on the resource, if
|
|
7895
7949
|
* only one statement denies that operation, then the explicit deny overrides any allow. In
|
|
7896
7950
|
* addition, the deny statement is the only entry included in the result.</p>
|
|
7951
|
+
* <p>In the top-level result, this field contains the union of matched statements across all
|
|
7952
|
+
* requested resources. Only statements that contributed to the reported decision are
|
|
7953
|
+
* included. For per-resource matched statements, see
|
|
7954
|
+
* <code>ResourceSpecificResults</code>. This field doesn't include statements from
|
|
7955
|
+
* service control policies (SCPs). Only statements from identity-based and resource-based
|
|
7956
|
+
* policies appear here.</p>
|
|
7897
7957
|
* @public
|
|
7898
7958
|
*/
|
|
7899
7959
|
MatchedStatements?: Statement[] | undefined;
|
|
@@ -7904,6 +7964,10 @@ export interface EvaluationResult {
|
|
|
7904
7964
|
* blank. If you include a list of resources, then any missing context values are instead
|
|
7905
7965
|
* included under the <code>ResourceSpecificResults</code> section. To discover the context
|
|
7906
7966
|
* keys used by a set of policies, you can call <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForCustomPolicy.html">GetContextKeysForCustomPolicy</a> or <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetContextKeysForPrincipalPolicy.html">GetContextKeysForPrincipalPolicy</a>.</p>
|
|
7967
|
+
* <p>In the top-level result, this field contains the deduplicated set of missing context
|
|
7968
|
+
* values across all requested resources. This field doesn't include context keys referenced
|
|
7969
|
+
* by service control policies (SCPs). Only context keys referenced by identity-based and
|
|
7970
|
+
* resource-based policies appear here.</p>
|
|
7907
7971
|
* @public
|
|
7908
7972
|
*/
|
|
7909
7973
|
MissingContextValues?: string[] | undefined;
|
|
@@ -7911,6 +7975,9 @@ export interface EvaluationResult {
|
|
|
7911
7975
|
* <p>A structure that details how Organizations and its service control policies affect the results of
|
|
7912
7976
|
* the simulation. Only applies if the simulated user's account is part of an
|
|
7913
7977
|
* organization.</p>
|
|
7978
|
+
* <p>For resources that don't support organization-level evaluation, this field is omitted
|
|
7979
|
+
* from the top-level result. For per-resource details, see
|
|
7980
|
+
* <code>ResourceSpecificResults</code>.</p>
|
|
7914
7981
|
* @public
|
|
7915
7982
|
*/
|
|
7916
7983
|
OrganizationsDecisionDetail?: OrganizationsDecisionDetail | undefined;
|
|
@@ -7924,6 +7991,8 @@ export interface EvaluationResult {
|
|
|
7924
7991
|
* <p>Additional details about the results of the cross-account evaluation decision. This
|
|
7925
7992
|
* parameter is populated for only cross-account simulations. It contains a brief summary of
|
|
7926
7993
|
* how each policy type contributes to the final evaluation decision.</p>
|
|
7994
|
+
* <p>In the top-level result, this map reports the most restrictive decision per policy
|
|
7995
|
+
* type across all requested resources.</p>
|
|
7927
7996
|
* <p>If the simulation evaluates policies within the same account and includes a resource
|
|
7928
7997
|
* ARN, then the parameter is present but the response is empty. If the simulation evaluates
|
|
7929
7998
|
* policies within the same account and specifies all resources (<code>*</code>), then the
|
|
@@ -7973,6 +8042,103 @@ export interface SimulatePolicyResponse {
|
|
|
7973
8042
|
*/
|
|
7974
8043
|
Marker?: string | undefined;
|
|
7975
8044
|
}
|
|
8045
|
+
/**
|
|
8046
|
+
* <p>Identifies one or more inline policies that are embedded in IAM users, groups, or
|
|
8047
|
+
* roles, by the name of the policy together with the type and name of the entity that it is
|
|
8048
|
+
* attached to. Wildcard characters in the entity name can match multiple entities, so a
|
|
8049
|
+
* single identifier can select more than one attached inline policy.</p>
|
|
8050
|
+
* @public
|
|
8051
|
+
*/
|
|
8052
|
+
export interface InlinePolicyIdentifierType {
|
|
8053
|
+
/**
|
|
8054
|
+
* <p>The name of the inline policy.</p>
|
|
8055
|
+
* @public
|
|
8056
|
+
*/
|
|
8057
|
+
PolicyName: string | undefined;
|
|
8058
|
+
/**
|
|
8059
|
+
* <p>The type of IAM entity that the inline policy is attached to.</p>
|
|
8060
|
+
* @public
|
|
8061
|
+
*/
|
|
8062
|
+
AttachmentType: AttachmentType | undefined;
|
|
8063
|
+
/**
|
|
8064
|
+
* <p>The name of the IAM user, group, or role that the inline policy is attached to.
|
|
8065
|
+
* Wildcard characters are supported to match multiple entities: use at most one
|
|
8066
|
+
* <code>*</code> (matches any sequence of characters, including none), and any number of
|
|
8067
|
+
* <code>?</code> (each matches exactly one character).</p>
|
|
8068
|
+
* @public
|
|
8069
|
+
*/
|
|
8070
|
+
AttachmentName: string | undefined;
|
|
8071
|
+
}
|
|
8072
|
+
/**
|
|
8073
|
+
* <p>Identifies one or more policies as a union type. Specify exactly one of
|
|
8074
|
+
* <code>PolicyType</code>, <code>PolicyArn</code>, or
|
|
8075
|
+
* <code>InlinePolicyIdentifier</code> to identify policies by their type, by Amazon
|
|
8076
|
+
* Resource Name (ARN), or by the name of an inline policy and the entity it is attached
|
|
8077
|
+
* to.</p>
|
|
8078
|
+
* @public
|
|
8079
|
+
*/
|
|
8080
|
+
export type PolicyIdentifier = PolicyIdentifier.InlinePolicyIdentifierMember | PolicyIdentifier.PolicyArnMember | PolicyIdentifier.PolicyTypeMember | PolicyIdentifier.$UnknownMember;
|
|
8081
|
+
/**
|
|
8082
|
+
* @public
|
|
8083
|
+
*/
|
|
8084
|
+
export declare namespace PolicyIdentifier {
|
|
8085
|
+
/**
|
|
8086
|
+
* <p>The policy type to identify. All policies of the specified type are matched.</p>
|
|
8087
|
+
* @public
|
|
8088
|
+
*/
|
|
8089
|
+
interface PolicyTypeMember {
|
|
8090
|
+
PolicyType: PolicyIdentifierPolicyType;
|
|
8091
|
+
PolicyArn?: never;
|
|
8092
|
+
InlinePolicyIdentifier?: never;
|
|
8093
|
+
$unknown?: never;
|
|
8094
|
+
}
|
|
8095
|
+
/**
|
|
8096
|
+
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services managed policy or a customer managed policy
|
|
8097
|
+
* that is attached to an IAM user, group, or role. Wildcard characters are supported in
|
|
8098
|
+
* the resource name portion of the ARN to match multiple managed policies: use at most one
|
|
8099
|
+
* <code>*</code> (matches any sequence of characters, including none), and any number of
|
|
8100
|
+
* <code>?</code> (each matches exactly one character).</p>
|
|
8101
|
+
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
8102
|
+
* @public
|
|
8103
|
+
*/
|
|
8104
|
+
interface PolicyArnMember {
|
|
8105
|
+
PolicyType?: never;
|
|
8106
|
+
PolicyArn: string;
|
|
8107
|
+
InlinePolicyIdentifier?: never;
|
|
8108
|
+
$unknown?: never;
|
|
8109
|
+
}
|
|
8110
|
+
/**
|
|
8111
|
+
* <p>An inline policy identifier consisting of a policy name and the entity it is attached
|
|
8112
|
+
* to. Wildcard characters (<code>*</code> and <code>?</code>) in the entity name can match
|
|
8113
|
+
* multiple entities.</p>
|
|
8114
|
+
* @public
|
|
8115
|
+
*/
|
|
8116
|
+
interface InlinePolicyIdentifierMember {
|
|
8117
|
+
PolicyType?: never;
|
|
8118
|
+
PolicyArn?: never;
|
|
8119
|
+
InlinePolicyIdentifier: InlinePolicyIdentifierType;
|
|
8120
|
+
$unknown?: never;
|
|
8121
|
+
}
|
|
8122
|
+
/**
|
|
8123
|
+
* @public
|
|
8124
|
+
*/
|
|
8125
|
+
interface $UnknownMember {
|
|
8126
|
+
PolicyType?: never;
|
|
8127
|
+
PolicyArn?: never;
|
|
8128
|
+
InlinePolicyIdentifier?: never;
|
|
8129
|
+
$unknown: [string, any];
|
|
8130
|
+
}
|
|
8131
|
+
/**
|
|
8132
|
+
* @deprecated unused in schema-serde mode.
|
|
8133
|
+
*
|
|
8134
|
+
*/
|
|
8135
|
+
interface Visitor<T> {
|
|
8136
|
+
PolicyType: (value: PolicyIdentifierPolicyType) => T;
|
|
8137
|
+
PolicyArn: (value: string) => T;
|
|
8138
|
+
InlinePolicyIdentifier: (value: InlinePolicyIdentifierType) => T;
|
|
8139
|
+
_: (name: string, value: any) => T;
|
|
8140
|
+
}
|
|
8141
|
+
}
|
|
7976
8142
|
/**
|
|
7977
8143
|
* @public
|
|
7978
8144
|
*/
|
|
@@ -8044,6 +8210,22 @@ export interface SimulatePrincipalPolicyRequest {
|
|
|
8044
8210
|
* @public
|
|
8045
8211
|
*/
|
|
8046
8212
|
PermissionsBoundaryPolicyInputList?: string[] | undefined;
|
|
8213
|
+
/**
|
|
8214
|
+
* <p>A list of policies to exclude from the simulation. Use this parameter to test what
|
|
8215
|
+
* the simulation result would be if a policy were removed, without changing which
|
|
8216
|
+
* policies are actually attached to the principal identified by
|
|
8217
|
+
* <code>PolicySourceArn</code>.</p>
|
|
8218
|
+
* <p>Each entry is a <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_PolicyIdentifier.html">PolicyIdentifier</a>
|
|
8219
|
+
* that identifies one or more policies to exclude by policy type, by Amazon Resource Name
|
|
8220
|
+
* (ARN), or by the name of an inline policy and the entity it is attached to.</p>
|
|
8221
|
+
* <p>Syntactically invalid identifiers, such as malformed ARNs or wildcards in disallowed
|
|
8222
|
+
* positions, cause the request to fail with an <code>InvalidInput</code> error.
|
|
8223
|
+
* Syntactically valid identifiers that don't match any attached policy are ignored.
|
|
8224
|
+
* Resource control policies (RCPs) are not supported in this release; identifiers that
|
|
8225
|
+
* target RCPs are also ignored.</p>
|
|
8226
|
+
* @public
|
|
8227
|
+
*/
|
|
8228
|
+
PolicyExclusionList?: PolicyIdentifier[] | undefined;
|
|
8047
8229
|
/**
|
|
8048
8230
|
* <p>A list of names of API operations to evaluate in the simulation. Each operation is
|
|
8049
8231
|
* evaluated for each resource. Each operation must include the service identifier, such as
|
|
@@ -8110,20 +8292,21 @@ export interface SimulatePrincipalPolicyRequest {
|
|
|
8110
8292
|
*/
|
|
8111
8293
|
ResourceOwner?: string | undefined;
|
|
8112
8294
|
/**
|
|
8113
|
-
* <p>The ARN of the IAM user that you want to specify as the simulated
|
|
8114
|
-
* operations. If you do not specify a <code>CallerArn</code>, it
|
|
8115
|
-
* the
|
|
8116
|
-
*
|
|
8117
|
-
*
|
|
8118
|
-
*
|
|
8119
|
-
*
|
|
8120
|
-
*
|
|
8121
|
-
*
|
|
8295
|
+
* <p>The ARN of the IAM user, group, or role that you want to specify as the simulated
|
|
8296
|
+
* caller of the API operations. If you do not specify a <code>CallerArn</code>, it
|
|
8297
|
+
* defaults to the ARN of the user, group, or role that you specify in
|
|
8298
|
+
* <code>PolicySourceArn</code>. If you include both a <code>PolicySourceArn</code>
|
|
8299
|
+
* (for example, <code>arn:aws:iam::123456789012:user/David</code>) and a
|
|
8300
|
+
* <code>CallerArn</code> (for example,
|
|
8301
|
+
* <code>arn:aws:iam::123456789012:user/Bob</code>), the result is that you simulate
|
|
8302
|
+
* calling the API operations as Bob, as if Bob had David's policies.</p>
|
|
8303
|
+
* <p>You can specify the ARN of an IAM user, group, or role. You cannot specify the ARN
|
|
8304
|
+
* of an assumed role, federated user, or a service principal.</p>
|
|
8122
8305
|
* <p>
|
|
8123
8306
|
* <code>CallerArn</code> is required if you include a <code>ResourcePolicy</code> and
|
|
8124
|
-
* the <code>PolicySourceArn</code> is not the ARN for an IAM user
|
|
8125
|
-
* that the resource-based policy's <code>Principal</code> element has a
|
|
8126
|
-
* evaluating the policy.</p>
|
|
8307
|
+
* the <code>PolicySourceArn</code> is not the ARN for an IAM user, group, or role. This
|
|
8308
|
+
* is required so that the resource-based policy's <code>Principal</code> element has a
|
|
8309
|
+
* value to use in evaluating the policy.</p>
|
|
8127
8310
|
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
8128
8311
|
* @public
|
|
8129
8312
|
*/
|
|
@@ -8646,89 +8829,3 @@ export interface UpdateAssumeRolePolicyRequest {
|
|
|
8646
8829
|
*/
|
|
8647
8830
|
PolicyDocument: string | undefined;
|
|
8648
8831
|
}
|
|
8649
|
-
/**
|
|
8650
|
-
* @public
|
|
8651
|
-
*/
|
|
8652
|
-
export interface UpdateDelegationRequestRequest {
|
|
8653
|
-
/**
|
|
8654
|
-
* <p>The unique identifier of the delegation request to update.</p>
|
|
8655
|
-
* @public
|
|
8656
|
-
*/
|
|
8657
|
-
DelegationRequestId: string | undefined;
|
|
8658
|
-
/**
|
|
8659
|
-
* <p>Additional notes or comments to add to the delegation request.</p>
|
|
8660
|
-
* @public
|
|
8661
|
-
*/
|
|
8662
|
-
Notes?: string | undefined;
|
|
8663
|
-
}
|
|
8664
|
-
/**
|
|
8665
|
-
* @public
|
|
8666
|
-
*/
|
|
8667
|
-
export interface UpdateGroupRequest {
|
|
8668
|
-
/**
|
|
8669
|
-
* <p>Name of the IAM group to update. If you're changing the name of the group, this is
|
|
8670
|
-
* the original name.</p>
|
|
8671
|
-
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
8672
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8673
|
-
* @public
|
|
8674
|
-
*/
|
|
8675
|
-
GroupName: string | undefined;
|
|
8676
|
-
/**
|
|
8677
|
-
* <p>New path for the IAM group. Only include this if changing the group's path.</p>
|
|
8678
|
-
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting
|
|
8679
|
-
* of either a forward slash (/) by itself or a string that must begin and end with forward slashes.
|
|
8680
|
-
* In addition, it can contain any ASCII character from the ! (<code>\u0021</code>) through the DEL character (<code>\u007F</code>), including
|
|
8681
|
-
* most punctuation characters, digits, and upper and lowercased letters.</p>
|
|
8682
|
-
* @public
|
|
8683
|
-
*/
|
|
8684
|
-
NewPath?: string | undefined;
|
|
8685
|
-
/**
|
|
8686
|
-
* <p>New name for the IAM group. Only include this if changing the group's name.</p>
|
|
8687
|
-
* <p>IAM user, group, role, and policy names must be unique within the account. Names are
|
|
8688
|
-
* not distinguished by case. For example, you cannot create resources named both
|
|
8689
|
-
* "MyResource" and "myresource".</p>
|
|
8690
|
-
* @public
|
|
8691
|
-
*/
|
|
8692
|
-
NewGroupName?: string | undefined;
|
|
8693
|
-
}
|
|
8694
|
-
/**
|
|
8695
|
-
* @public
|
|
8696
|
-
*/
|
|
8697
|
-
export interface UpdateLoginProfileRequest {
|
|
8698
|
-
/**
|
|
8699
|
-
* <p>The name of the user whose password you want to update.</p>
|
|
8700
|
-
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
8701
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8702
|
-
* @public
|
|
8703
|
-
*/
|
|
8704
|
-
UserName: string | undefined;
|
|
8705
|
-
/**
|
|
8706
|
-
* <p>The new password for the specified IAM user.</p>
|
|
8707
|
-
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
|
|
8708
|
-
* used to validate this parameter is a string of characters consisting of the following:</p>
|
|
8709
|
-
* <ul>
|
|
8710
|
-
* <li>
|
|
8711
|
-
* <p>Any printable ASCII
|
|
8712
|
-
* character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
|
|
8713
|
-
* </li>
|
|
8714
|
-
* <li>
|
|
8715
|
-
* <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
|
|
8716
|
-
* (through <code>\u00FF</code>)</p>
|
|
8717
|
-
* </li>
|
|
8718
|
-
* <li>
|
|
8719
|
-
* <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
|
|
8720
|
-
* carriage return (<code>\u000D</code>)</p>
|
|
8721
|
-
* </li>
|
|
8722
|
-
* </ul>
|
|
8723
|
-
* <p>However, the format can be further restricted by the account administrator by setting
|
|
8724
|
-
* a password policy on the Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html">UpdateAccountPasswordPolicy</a>.</p>
|
|
8725
|
-
* @public
|
|
8726
|
-
*/
|
|
8727
|
-
Password?: string | undefined;
|
|
8728
|
-
/**
|
|
8729
|
-
* <p>Allows this new password to be used only once by requiring the specified IAM user to
|
|
8730
|
-
* set a new password on next sign-in.</p>
|
|
8731
|
-
* @public
|
|
8732
|
-
*/
|
|
8733
|
-
PasswordResetRequired?: boolean | undefined;
|
|
8734
|
-
}
|
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
import type { AssertionEncryptionModeType, StatusType } from "./enums";
|
|
2
2
|
import type { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface UpdateDelegationRequestRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The unique identifier of the delegation request to update.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
DelegationRequestId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>Additional notes or comments to add to the delegation request.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
Notes?: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateGroupRequest {
|
|
22
|
+
/**
|
|
23
|
+
* <p>Name of the IAM group to update. If you're changing the name of the group, this is
|
|
24
|
+
* the original name.</p>
|
|
25
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
26
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
GroupName: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>New path for the IAM group. Only include this if changing the group's path.</p>
|
|
32
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting
|
|
33
|
+
* of either a forward slash (/) by itself or a string that must begin and end with forward slashes.
|
|
34
|
+
* In addition, it can contain any ASCII character from the ! (<code>\u0021</code>) through the DEL character (<code>\u007F</code>), including
|
|
35
|
+
* most punctuation characters, digits, and upper and lowercased letters.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
NewPath?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>New name for the IAM group. Only include this if changing the group's name.</p>
|
|
41
|
+
* <p>IAM user, group, role, and policy names must be unique within the account. Names are
|
|
42
|
+
* not distinguished by case. For example, you cannot create resources named both
|
|
43
|
+
* "MyResource" and "myresource".</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
NewGroupName?: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export interface UpdateLoginProfileRequest {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The name of the user whose password you want to update.</p>
|
|
54
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
55
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
UserName: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The new password for the specified IAM user.</p>
|
|
61
|
+
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
|
|
62
|
+
* used to validate this parameter is a string of characters consisting of the following:</p>
|
|
63
|
+
* <ul>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>Any printable ASCII
|
|
66
|
+
* character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
|
|
70
|
+
* (through <code>\u00FF</code>)</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
|
|
74
|
+
* carriage return (<code>\u000D</code>)</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* </ul>
|
|
77
|
+
* <p>However, the format can be further restricted by the account administrator by setting
|
|
78
|
+
* a password policy on the Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAccountPasswordPolicy.html">UpdateAccountPasswordPolicy</a>.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
Password?: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* <p>Allows this new password to be used only once by requiring the specified IAM user to
|
|
84
|
+
* set a new password on next sign-in.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
PasswordResetRequired?: boolean | undefined;
|
|
88
|
+
}
|
|
3
89
|
/**
|
|
4
90
|
* @public
|
|
5
91
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var IAMServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var AccountNotManagementOrDelegatedAdministratorException$: StaticErrorSchema;
|
|
5
5
|
export declare var CallerIsNotManagementAccountException$: StaticErrorSchema;
|
|
@@ -191,6 +191,7 @@ export declare var GetUserRequest$: StaticStructureSchema;
|
|
|
191
191
|
export declare var GetUserResponse$: StaticStructureSchema;
|
|
192
192
|
export declare var Group$: StaticStructureSchema;
|
|
193
193
|
export declare var GroupDetail$: StaticStructureSchema;
|
|
194
|
+
export declare var InlinePolicyIdentifierType$: StaticStructureSchema;
|
|
194
195
|
export declare var InstanceProfile$: StaticStructureSchema;
|
|
195
196
|
export declare var ListAccessKeysRequest$: StaticStructureSchema;
|
|
196
197
|
export declare var ListAccessKeysResponse$: StaticStructureSchema;
|
|
@@ -269,6 +270,7 @@ export declare var LoginProfile$: StaticStructureSchema;
|
|
|
269
270
|
export declare var ManagedPolicyDetail$: StaticStructureSchema;
|
|
270
271
|
export declare var MFADevice$: StaticStructureSchema;
|
|
271
272
|
export declare var OpenIDConnectProviderListEntry$: StaticStructureSchema;
|
|
273
|
+
export declare var OrderedOrganizationPolicyType$: StaticStructureSchema;
|
|
272
274
|
export declare var OrganizationsDecisionDetail$: StaticStructureSchema;
|
|
273
275
|
export declare var PasswordPolicy$: StaticStructureSchema;
|
|
274
276
|
export declare var PermissionsBoundaryDecisionDetail$: StaticStructureSchema;
|
|
@@ -360,6 +362,7 @@ export declare var UploadSSHPublicKeyResponse$: StaticStructureSchema;
|
|
|
360
362
|
export declare var User$: StaticStructureSchema;
|
|
361
363
|
export declare var UserDetail$: StaticStructureSchema;
|
|
362
364
|
export declare var VirtualMFADevice$: StaticStructureSchema;
|
|
365
|
+
export declare var PolicyIdentifier$: StaticUnionSchema;
|
|
363
366
|
export declare var AcceptDelegationRequest$: StaticOperationSchema;
|
|
364
367
|
export declare var AddClientIDToOpenIDConnectProvider$: StaticOperationSchema;
|
|
365
368
|
export declare var AddRoleToInstanceProfile$: StaticOperationSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateDelegationRequestRequest } from "../models/
|
|
2
|
+
import { UpdateDelegationRequestRequest } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateDelegationRequestCommandInput extends UpdateDelegationRequestRequest {}
|
|
5
5
|
export interface UpdateDelegationRequestCommandOutput extends __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateGroupRequest } from "../models/
|
|
2
|
+
import { UpdateGroupRequest } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateGroupCommandInput extends UpdateGroupRequest {}
|
|
5
5
|
export interface UpdateGroupCommandOutput extends __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateLoginProfileRequest } from "../models/
|
|
2
|
+
import { UpdateLoginProfileRequest } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateLoginProfileCommandInput extends UpdateLoginProfileRequest {}
|
|
5
5
|
export interface UpdateLoginProfileCommandOutput extends __MetadataBearer {}
|
|
@@ -27,6 +27,12 @@ export declare const PermissionsBoundaryAttachmentType: {
|
|
|
27
27
|
};
|
|
28
28
|
export type PermissionsBoundaryAttachmentType =
|
|
29
29
|
(typeof PermissionsBoundaryAttachmentType)[keyof typeof PermissionsBoundaryAttachmentType];
|
|
30
|
+
export declare const AttachmentType: {
|
|
31
|
+
readonly GROUP: "group";
|
|
32
|
+
readonly ROLE: "role";
|
|
33
|
+
readonly USER: "user";
|
|
34
|
+
};
|
|
35
|
+
export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType];
|
|
30
36
|
export declare const PolicyParameterTypeEnum: {
|
|
31
37
|
readonly STRING: "string";
|
|
32
38
|
readonly STRING_LIST: "stringList";
|
|
@@ -211,3 +217,13 @@ export declare const PolicySourceType: {
|
|
|
211
217
|
readonly USER_MANAGED: "user-managed";
|
|
212
218
|
};
|
|
213
219
|
export type PolicySourceType = (typeof PolicySourceType)[keyof typeof PolicySourceType];
|
|
220
|
+
export declare const PolicyIdentifierPolicyType: {
|
|
221
|
+
readonly AWS_MANAGED: "aws-managed";
|
|
222
|
+
readonly INLINE: "inline";
|
|
223
|
+
readonly PERMISSION_BOUNDARY: "permission-boundary";
|
|
224
|
+
readonly RCP: "rcp";
|
|
225
|
+
readonly SCP: "scp";
|
|
226
|
+
readonly USER_MANAGED: "user-managed";
|
|
227
|
+
};
|
|
228
|
+
export type PolicyIdentifierPolicyType =
|
|
229
|
+
(typeof PolicyIdentifierPolicyType)[keyof typeof PolicyIdentifierPolicyType];
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
AccessAdvisorUsageGranularityType,
|
|
3
3
|
AssertionEncryptionModeType,
|
|
4
4
|
AssignmentStatusType,
|
|
5
|
+
AttachmentType,
|
|
5
6
|
ContextKeyTypeEnum,
|
|
6
7
|
DeletionTaskStatusType,
|
|
7
8
|
EncodingType,
|
|
@@ -13,6 +14,7 @@ import {
|
|
|
13
14
|
PermissionCheckStatusType,
|
|
14
15
|
PermissionsBoundaryAttachmentType,
|
|
15
16
|
PolicyEvaluationDecisionType,
|
|
17
|
+
PolicyIdentifierPolicyType,
|
|
16
18
|
PolicyOwnerEntityType,
|
|
17
19
|
PolicyParameterTypeEnum,
|
|
18
20
|
PolicyScopeType,
|
|
@@ -1337,9 +1339,13 @@ export interface ContextEntry {
|
|
|
1337
1339
|
ContextKeyValues?: string[] | undefined;
|
|
1338
1340
|
ContextKeyType?: ContextKeyTypeEnum | undefined;
|
|
1339
1341
|
}
|
|
1342
|
+
export interface OrderedOrganizationPolicyType {
|
|
1343
|
+
ServiceControlPolicyInputList?: string[] | undefined;
|
|
1344
|
+
}
|
|
1340
1345
|
export interface SimulateCustomPolicyRequest {
|
|
1341
1346
|
PolicyInputList: string[] | undefined;
|
|
1342
1347
|
PermissionsBoundaryPolicyInputList?: string[] | undefined;
|
|
1348
|
+
OrderedOrganizationPolicyInputList?: OrderedOrganizationPolicyType[] | undefined;
|
|
1343
1349
|
ActionNames: string[] | undefined;
|
|
1344
1350
|
ResourceArns?: string[] | undefined;
|
|
1345
1351
|
ResourcePolicy?: string | undefined;
|
|
@@ -1390,10 +1396,53 @@ export interface SimulatePolicyResponse {
|
|
|
1390
1396
|
IsTruncated?: boolean | undefined;
|
|
1391
1397
|
Marker?: string | undefined;
|
|
1392
1398
|
}
|
|
1399
|
+
export interface InlinePolicyIdentifierType {
|
|
1400
|
+
PolicyName: string | undefined;
|
|
1401
|
+
AttachmentType: AttachmentType | undefined;
|
|
1402
|
+
AttachmentName: string | undefined;
|
|
1403
|
+
}
|
|
1404
|
+
export type PolicyIdentifier =
|
|
1405
|
+
| PolicyIdentifier.InlinePolicyIdentifierMember
|
|
1406
|
+
| PolicyIdentifier.PolicyArnMember
|
|
1407
|
+
| PolicyIdentifier.PolicyTypeMember
|
|
1408
|
+
| PolicyIdentifier.$UnknownMember;
|
|
1409
|
+
export declare namespace PolicyIdentifier {
|
|
1410
|
+
interface PolicyTypeMember {
|
|
1411
|
+
PolicyType: PolicyIdentifierPolicyType;
|
|
1412
|
+
PolicyArn?: never;
|
|
1413
|
+
InlinePolicyIdentifier?: never;
|
|
1414
|
+
$unknown?: never;
|
|
1415
|
+
}
|
|
1416
|
+
interface PolicyArnMember {
|
|
1417
|
+
PolicyType?: never;
|
|
1418
|
+
PolicyArn: string;
|
|
1419
|
+
InlinePolicyIdentifier?: never;
|
|
1420
|
+
$unknown?: never;
|
|
1421
|
+
}
|
|
1422
|
+
interface InlinePolicyIdentifierMember {
|
|
1423
|
+
PolicyType?: never;
|
|
1424
|
+
PolicyArn?: never;
|
|
1425
|
+
InlinePolicyIdentifier: InlinePolicyIdentifierType;
|
|
1426
|
+
$unknown?: never;
|
|
1427
|
+
}
|
|
1428
|
+
interface $UnknownMember {
|
|
1429
|
+
PolicyType?: never;
|
|
1430
|
+
PolicyArn?: never;
|
|
1431
|
+
InlinePolicyIdentifier?: never;
|
|
1432
|
+
$unknown: [string, any];
|
|
1433
|
+
}
|
|
1434
|
+
interface Visitor<T> {
|
|
1435
|
+
PolicyType: (value: PolicyIdentifierPolicyType) => T;
|
|
1436
|
+
PolicyArn: (value: string) => T;
|
|
1437
|
+
InlinePolicyIdentifier: (value: InlinePolicyIdentifierType) => T;
|
|
1438
|
+
_: (name: string, value: any) => T;
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1393
1441
|
export interface SimulatePrincipalPolicyRequest {
|
|
1394
1442
|
PolicySourceArn: string | undefined;
|
|
1395
1443
|
PolicyInputList?: string[] | undefined;
|
|
1396
1444
|
PermissionsBoundaryPolicyInputList?: string[] | undefined;
|
|
1445
|
+
PolicyExclusionList?: PolicyIdentifier[] | undefined;
|
|
1397
1446
|
ActionNames: string[] | undefined;
|
|
1398
1447
|
ResourceArns?: string[] | undefined;
|
|
1399
1448
|
ResourcePolicy?: string | undefined;
|
|
@@ -1488,17 +1537,3 @@ export interface UpdateAssumeRolePolicyRequest {
|
|
|
1488
1537
|
RoleName: string | undefined;
|
|
1489
1538
|
PolicyDocument: string | undefined;
|
|
1490
1539
|
}
|
|
1491
|
-
export interface UpdateDelegationRequestRequest {
|
|
1492
|
-
DelegationRequestId: string | undefined;
|
|
1493
|
-
Notes?: string | undefined;
|
|
1494
|
-
}
|
|
1495
|
-
export interface UpdateGroupRequest {
|
|
1496
|
-
GroupName: string | undefined;
|
|
1497
|
-
NewPath?: string | undefined;
|
|
1498
|
-
NewGroupName?: string | undefined;
|
|
1499
|
-
}
|
|
1500
|
-
export interface UpdateLoginProfileRequest {
|
|
1501
|
-
UserName: string | undefined;
|
|
1502
|
-
Password?: string | undefined;
|
|
1503
|
-
PasswordResetRequired?: boolean | undefined;
|
|
1504
|
-
}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import { AssertionEncryptionModeType, StatusType } from "./enums";
|
|
2
2
|
import { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
|
|
3
|
+
export interface UpdateDelegationRequestRequest {
|
|
4
|
+
DelegationRequestId: string | undefined;
|
|
5
|
+
Notes?: string | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateGroupRequest {
|
|
8
|
+
GroupName: string | undefined;
|
|
9
|
+
NewPath?: string | undefined;
|
|
10
|
+
NewGroupName?: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface UpdateLoginProfileRequest {
|
|
13
|
+
UserName: string | undefined;
|
|
14
|
+
Password?: string | undefined;
|
|
15
|
+
PasswordResetRequired?: boolean | undefined;
|
|
16
|
+
}
|
|
3
17
|
export interface UpdateOpenIDConnectProviderThumbprintRequest {
|
|
4
18
|
OpenIDConnectProviderArn: string | undefined;
|
|
5
19
|
ThumbprintList: string[] | undefined;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
StaticUnionSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
3
8
|
export declare var IAMServiceException$: StaticErrorSchema;
|
|
4
9
|
export declare var AccountNotManagementOrDelegatedAdministratorException$: StaticErrorSchema;
|
|
5
10
|
export declare var CallerIsNotManagementAccountException$: StaticErrorSchema;
|
|
@@ -186,6 +191,7 @@ export declare var GetUserRequest$: StaticStructureSchema;
|
|
|
186
191
|
export declare var GetUserResponse$: StaticStructureSchema;
|
|
187
192
|
export declare var Group$: StaticStructureSchema;
|
|
188
193
|
export declare var GroupDetail$: StaticStructureSchema;
|
|
194
|
+
export declare var InlinePolicyIdentifierType$: StaticStructureSchema;
|
|
189
195
|
export declare var InstanceProfile$: StaticStructureSchema;
|
|
190
196
|
export declare var ListAccessKeysRequest$: StaticStructureSchema;
|
|
191
197
|
export declare var ListAccessKeysResponse$: StaticStructureSchema;
|
|
@@ -264,6 +270,7 @@ export declare var LoginProfile$: StaticStructureSchema;
|
|
|
264
270
|
export declare var ManagedPolicyDetail$: StaticStructureSchema;
|
|
265
271
|
export declare var MFADevice$: StaticStructureSchema;
|
|
266
272
|
export declare var OpenIDConnectProviderListEntry$: StaticStructureSchema;
|
|
273
|
+
export declare var OrderedOrganizationPolicyType$: StaticStructureSchema;
|
|
267
274
|
export declare var OrganizationsDecisionDetail$: StaticStructureSchema;
|
|
268
275
|
export declare var PasswordPolicy$: StaticStructureSchema;
|
|
269
276
|
export declare var PermissionsBoundaryDecisionDetail$: StaticStructureSchema;
|
|
@@ -355,6 +362,7 @@ export declare var UploadSSHPublicKeyResponse$: StaticStructureSchema;
|
|
|
355
362
|
export declare var User$: StaticStructureSchema;
|
|
356
363
|
export declare var UserDetail$: StaticStructureSchema;
|
|
357
364
|
export declare var VirtualMFADevice$: StaticStructureSchema;
|
|
365
|
+
export declare var PolicyIdentifier$: StaticUnionSchema;
|
|
358
366
|
export declare var AcceptDelegationRequest$: StaticOperationSchema;
|
|
359
367
|
export declare var AddClientIDToOpenIDConnectProvider$: StaticOperationSchema;
|
|
360
368
|
export declare var AddRoleToInstanceProfile$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1099.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam",
|
|
6
6
|
"license": "Apache-2.0",
|