@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
|
@@ -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",
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.977.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
55
|
+
"@aws-sdk/core": "^3.977.3",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.75",
|
|
57
57
|
"@aws-sdk/types": "^3.974.2",
|
|
58
|
-
"@smithy/core": "^3.
|
|
59
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
60
|
-
"@smithy/node-http-handler": "^4.9.
|
|
58
|
+
"@smithy/core": "^3.31.1",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.6.13",
|
|
60
|
+
"@smithy/node-http-handler": "^4.9.13",
|
|
61
61
|
"@smithy/types": "^4.16.1",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
65
|
+
"@smithy/snapshot-testing": "^2.2.16",
|
|
66
66
|
"@tsconfig/node20": "20.1.8",
|
|
67
67
|
"@types/node": "^20.14.8",
|
|
68
68
|
"concurrently": "7.0.0",
|