@aws-sdk/client-iam 3.691.0 → 3.693.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/index.js +510 -10
- package/dist-es/IAM.js +10 -0
- package/dist-es/commands/DisableOrganizationsRootCredentialsManagementCommand.js +22 -0
- package/dist-es/commands/DisableOrganizationsRootSessionsCommand.js +22 -0
- package/dist-es/commands/EnableOrganizationsRootCredentialsManagementCommand.js +22 -0
- package/dist-es/commands/EnableOrganizationsRootSessionsCommand.js +22 -0
- package/dist-es/commands/ListOrganizationsFeaturesCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +70 -9
- package/dist-es/models/models_1.js +9 -0
- package/dist-es/protocols/Aws_query.js +310 -1
- package/dist-types/IAM.d.ts +43 -0
- package/dist-types/IAMClient.d.ts +7 -2
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +2 -2
- package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +108 -0
- package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +108 -0
- package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +124 -0
- package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +124 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +2 -2
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +3 -3
- package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +106 -0
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +2 -1
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -1
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagRoleCommand.d.ts +1 -1
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
- package/dist-types/commands/TagUserCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +203 -615
- package/dist-types/models/models_1.d.ts +611 -1
- package/dist-types/protocols/Aws_query.d.ts +45 -0
- package/dist-types/ts3.4/IAM.d.ts +105 -0
- package/dist-types/ts3.4/IAMClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateLoginProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteLoginProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableOrganizationsRootSessionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableOrganizationsRootSessionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLoginProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationsFeaturesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SimulateCustomPolicyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SimulatePrincipalPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagInstanceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagMFADeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +88 -106
- package/dist-types/ts3.4/models/models_1.d.ts +104 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
- package/package.json +36 -36
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IAMClient";
|
|
8
|
-
import { TagOpenIDConnectProviderRequest } from "../models/
|
|
8
|
+
import { TagOpenIDConnectProviderRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagOpenIDConnectProviderCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IAMClient";
|
|
8
|
-
import { TagPolicyRequest } from "../models/
|
|
8
|
+
import { TagPolicyRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagPolicyCommandInput extends TagPolicyRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IAMClient";
|
|
8
|
-
import { TagRoleRequest } from "../models/
|
|
8
|
+
import { TagRoleRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagRoleCommandInput extends TagRoleRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IAMClient";
|
|
8
|
-
import { TagSAMLProviderRequest } from "../models/
|
|
8
|
+
import { TagSAMLProviderRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagSAMLProviderCommandInput extends TagSAMLProviderRequest {}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IAMClient";
|
|
8
|
-
import { TagServerCertificateRequest } from "../models/
|
|
8
|
+
import { TagServerCertificateRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagServerCertificateCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../IAMClient";
|
|
8
|
-
import { TagUserRequest } from "../models/
|
|
8
|
+
import { TagUserRequest } from "../models/models_1";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagUserCommandInput extends TagUserRequest {}
|
|
@@ -46,7 +46,11 @@ export * from "./DeleteVirtualMFADeviceCommand";
|
|
|
46
46
|
export * from "./DetachGroupPolicyCommand";
|
|
47
47
|
export * from "./DetachRolePolicyCommand";
|
|
48
48
|
export * from "./DetachUserPolicyCommand";
|
|
49
|
+
export * from "./DisableOrganizationsRootCredentialsManagementCommand";
|
|
50
|
+
export * from "./DisableOrganizationsRootSessionsCommand";
|
|
49
51
|
export * from "./EnableMFADeviceCommand";
|
|
52
|
+
export * from "./EnableOrganizationsRootCredentialsManagementCommand";
|
|
53
|
+
export * from "./EnableOrganizationsRootSessionsCommand";
|
|
50
54
|
export * from "./GenerateCredentialReportCommand";
|
|
51
55
|
export * from "./GenerateOrganizationsAccessReportCommand";
|
|
52
56
|
export * from "./GenerateServiceLastAccessedDetailsCommand";
|
|
@@ -92,6 +96,7 @@ export * from "./ListMFADeviceTagsCommand";
|
|
|
92
96
|
export * from "./ListMFADevicesCommand";
|
|
93
97
|
export * from "./ListOpenIDConnectProviderTagsCommand";
|
|
94
98
|
export * from "./ListOpenIDConnectProvidersCommand";
|
|
99
|
+
export * from "./ListOrganizationsFeaturesCommand";
|
|
95
100
|
export * from "./ListPoliciesCommand";
|
|
96
101
|
export * from "./ListPoliciesGrantingServiceAccessCommand";
|
|
97
102
|
export * from "./ListPolicyTagsCommand";
|
|
@@ -37,6 +37,17 @@ export interface AccessKeyMetadata {
|
|
|
37
37
|
Status?: StatusType | undefined;
|
|
38
38
|
CreateDate?: Date | undefined;
|
|
39
39
|
}
|
|
40
|
+
export declare class AccountNotManagementOrDelegatedAdministratorException extends __BaseException {
|
|
41
|
+
readonly name: "AccountNotManagementOrDelegatedAdministratorException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
Message?: string | undefined;
|
|
44
|
+
constructor(
|
|
45
|
+
opts: __ExceptionOptionType<
|
|
46
|
+
AccountNotManagementOrDelegatedAdministratorException,
|
|
47
|
+
__BaseException
|
|
48
|
+
>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
40
51
|
export interface AddClientIDToOpenIDConnectProviderRequest {
|
|
41
52
|
OpenIDConnectProviderArn: string | undefined;
|
|
42
53
|
ClientID: string | undefined;
|
|
@@ -233,8 +244,8 @@ export interface CreateInstanceProfileResponse {
|
|
|
233
244
|
InstanceProfile: InstanceProfile | undefined;
|
|
234
245
|
}
|
|
235
246
|
export interface CreateLoginProfileRequest {
|
|
236
|
-
UserName
|
|
237
|
-
Password
|
|
247
|
+
UserName?: string | undefined;
|
|
248
|
+
Password?: string | undefined;
|
|
238
249
|
PasswordResetRequired?: boolean | undefined;
|
|
239
250
|
}
|
|
240
251
|
export interface LoginProfile {
|
|
@@ -401,7 +412,7 @@ export interface CreateVirtualMFADeviceResponse {
|
|
|
401
412
|
VirtualMFADevice: VirtualMFADevice | undefined;
|
|
402
413
|
}
|
|
403
414
|
export interface DeactivateMFADeviceRequest {
|
|
404
|
-
UserName
|
|
415
|
+
UserName?: string | undefined;
|
|
405
416
|
SerialNumber: string | undefined;
|
|
406
417
|
}
|
|
407
418
|
export interface DeleteAccessKeyRequest {
|
|
@@ -429,7 +440,7 @@ export interface DeleteInstanceProfileRequest {
|
|
|
429
440
|
InstanceProfileName: string | undefined;
|
|
430
441
|
}
|
|
431
442
|
export interface DeleteLoginProfileRequest {
|
|
432
|
-
UserName
|
|
443
|
+
UserName?: string | undefined;
|
|
433
444
|
}
|
|
434
445
|
export interface DeleteOpenIDConnectProviderRequest {
|
|
435
446
|
OpenIDConnectProviderArn: string | undefined;
|
|
@@ -500,6 +511,51 @@ export interface DetachUserPolicyRequest {
|
|
|
500
511
|
UserName: string | undefined;
|
|
501
512
|
PolicyArn: string | undefined;
|
|
502
513
|
}
|
|
514
|
+
export interface DisableOrganizationsRootCredentialsManagementRequest {}
|
|
515
|
+
export declare const FeatureType: {
|
|
516
|
+
readonly ROOT_CREDENTIALS_MANAGEMENT: "RootCredentialsManagement";
|
|
517
|
+
readonly ROOT_SESSIONS: "RootSessions";
|
|
518
|
+
};
|
|
519
|
+
export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
|
|
520
|
+
export interface DisableOrganizationsRootCredentialsManagementResponse {
|
|
521
|
+
OrganizationId?: string | undefined;
|
|
522
|
+
EnabledFeatures?: FeatureType[] | undefined;
|
|
523
|
+
}
|
|
524
|
+
export declare class OrganizationNotFoundException extends __BaseException {
|
|
525
|
+
readonly name: "OrganizationNotFoundException";
|
|
526
|
+
readonly $fault: "client";
|
|
527
|
+
Message?: string | undefined;
|
|
528
|
+
constructor(
|
|
529
|
+
opts: __ExceptionOptionType<OrganizationNotFoundException, __BaseException>
|
|
530
|
+
);
|
|
531
|
+
}
|
|
532
|
+
export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
|
|
533
|
+
readonly name: "OrganizationNotInAllFeaturesModeException";
|
|
534
|
+
readonly $fault: "client";
|
|
535
|
+
Message?: string | undefined;
|
|
536
|
+
constructor(
|
|
537
|
+
opts: __ExceptionOptionType<
|
|
538
|
+
OrganizationNotInAllFeaturesModeException,
|
|
539
|
+
__BaseException
|
|
540
|
+
>
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
export declare class ServiceAccessNotEnabledException extends __BaseException {
|
|
544
|
+
readonly name: "ServiceAccessNotEnabledException";
|
|
545
|
+
readonly $fault: "client";
|
|
546
|
+
Message?: string | undefined;
|
|
547
|
+
constructor(
|
|
548
|
+
opts: __ExceptionOptionType<
|
|
549
|
+
ServiceAccessNotEnabledException,
|
|
550
|
+
__BaseException
|
|
551
|
+
>
|
|
552
|
+
);
|
|
553
|
+
}
|
|
554
|
+
export interface DisableOrganizationsRootSessionsRequest {}
|
|
555
|
+
export interface DisableOrganizationsRootSessionsResponse {
|
|
556
|
+
OrganizationId?: string | undefined;
|
|
557
|
+
EnabledFeatures?: FeatureType[] | undefined;
|
|
558
|
+
}
|
|
503
559
|
export interface EnableMFADeviceRequest {
|
|
504
560
|
UserName: string | undefined;
|
|
505
561
|
SerialNumber: string | undefined;
|
|
@@ -516,6 +572,27 @@ export declare class InvalidAuthenticationCodeException extends __BaseException
|
|
|
516
572
|
>
|
|
517
573
|
);
|
|
518
574
|
}
|
|
575
|
+
export declare class CallerIsNotManagementAccountException extends __BaseException {
|
|
576
|
+
readonly name: "CallerIsNotManagementAccountException";
|
|
577
|
+
readonly $fault: "client";
|
|
578
|
+
Message?: string | undefined;
|
|
579
|
+
constructor(
|
|
580
|
+
opts: __ExceptionOptionType<
|
|
581
|
+
CallerIsNotManagementAccountException,
|
|
582
|
+
__BaseException
|
|
583
|
+
>
|
|
584
|
+
);
|
|
585
|
+
}
|
|
586
|
+
export interface EnableOrganizationsRootCredentialsManagementRequest {}
|
|
587
|
+
export interface EnableOrganizationsRootCredentialsManagementResponse {
|
|
588
|
+
OrganizationId?: string | undefined;
|
|
589
|
+
EnabledFeatures?: FeatureType[] | undefined;
|
|
590
|
+
}
|
|
591
|
+
export interface EnableOrganizationsRootSessionsRequest {}
|
|
592
|
+
export interface EnableOrganizationsRootSessionsResponse {
|
|
593
|
+
OrganizationId?: string | undefined;
|
|
594
|
+
EnabledFeatures?: FeatureType[] | undefined;
|
|
595
|
+
}
|
|
519
596
|
export declare const ReportStateType: {
|
|
520
597
|
readonly COMPLETE: "COMPLETE";
|
|
521
598
|
readonly INPROGRESS: "INPROGRESS";
|
|
@@ -651,6 +728,7 @@ export declare const SummaryKeyType: {
|
|
|
651
728
|
readonly AccessKeysPerUserQuota: "AccessKeysPerUserQuota";
|
|
652
729
|
readonly AccountAccessKeysPresent: "AccountAccessKeysPresent";
|
|
653
730
|
readonly AccountMFAEnabled: "AccountMFAEnabled";
|
|
731
|
+
readonly AccountPasswordPresent: "AccountPasswordPresent";
|
|
654
732
|
readonly AccountSigningCertificatesPresent: "AccountSigningCertificatesPresent";
|
|
655
733
|
readonly AttachedPoliciesPerGroupQuota: "AttachedPoliciesPerGroupQuota";
|
|
656
734
|
readonly AttachedPoliciesPerRoleQuota: "AttachedPoliciesPerRoleQuota";
|
|
@@ -757,7 +835,7 @@ export interface GetInstanceProfileResponse {
|
|
|
757
835
|
InstanceProfile: InstanceProfile | undefined;
|
|
758
836
|
}
|
|
759
837
|
export interface GetLoginProfileRequest {
|
|
760
|
-
UserName
|
|
838
|
+
UserName?: string | undefined;
|
|
761
839
|
}
|
|
762
840
|
export interface GetLoginProfileResponse {
|
|
763
841
|
LoginProfile: LoginProfile | undefined;
|
|
@@ -1192,6 +1270,11 @@ export interface ListOpenIDConnectProviderTagsResponse {
|
|
|
1192
1270
|
IsTruncated?: boolean | undefined;
|
|
1193
1271
|
Marker?: string | undefined;
|
|
1194
1272
|
}
|
|
1273
|
+
export interface ListOrganizationsFeaturesRequest {}
|
|
1274
|
+
export interface ListOrganizationsFeaturesResponse {
|
|
1275
|
+
OrganizationId?: string | undefined;
|
|
1276
|
+
EnabledFeatures?: FeatureType[] | undefined;
|
|
1277
|
+
}
|
|
1195
1278
|
export declare const PolicyScopeType: {
|
|
1196
1279
|
readonly AWS: "AWS";
|
|
1197
1280
|
readonly All: "All";
|
|
@@ -1530,107 +1613,6 @@ export interface Position {
|
|
|
1530
1613
|
Line?: number | undefined;
|
|
1531
1614
|
Column?: number | undefined;
|
|
1532
1615
|
}
|
|
1533
|
-
export declare const PolicySourceType: {
|
|
1534
|
-
readonly AWS_MANAGED: "aws-managed";
|
|
1535
|
-
readonly GROUP: "group";
|
|
1536
|
-
readonly NONE: "none";
|
|
1537
|
-
readonly RESOURCE: "resource";
|
|
1538
|
-
readonly ROLE: "role";
|
|
1539
|
-
readonly USER: "user";
|
|
1540
|
-
readonly USER_MANAGED: "user-managed";
|
|
1541
|
-
};
|
|
1542
|
-
export type PolicySourceType =
|
|
1543
|
-
(typeof PolicySourceType)[keyof typeof PolicySourceType];
|
|
1544
|
-
export interface Statement {
|
|
1545
|
-
SourcePolicyId?: string | undefined;
|
|
1546
|
-
SourcePolicyType?: PolicySourceType | undefined;
|
|
1547
|
-
StartPosition?: Position | undefined;
|
|
1548
|
-
EndPosition?: Position | undefined;
|
|
1549
|
-
}
|
|
1550
|
-
export interface OrganizationsDecisionDetail {
|
|
1551
|
-
AllowedByOrganizations?: boolean | undefined;
|
|
1552
|
-
}
|
|
1553
|
-
export interface PermissionsBoundaryDecisionDetail {
|
|
1554
|
-
AllowedByPermissionsBoundary?: boolean | undefined;
|
|
1555
|
-
}
|
|
1556
|
-
export interface ResourceSpecificResult {
|
|
1557
|
-
EvalResourceName: string | undefined;
|
|
1558
|
-
EvalResourceDecision: PolicyEvaluationDecisionType | undefined;
|
|
1559
|
-
MatchedStatements?: Statement[] | undefined;
|
|
1560
|
-
MissingContextValues?: string[] | undefined;
|
|
1561
|
-
EvalDecisionDetails?:
|
|
1562
|
-
| Record<string, PolicyEvaluationDecisionType>
|
|
1563
|
-
| undefined;
|
|
1564
|
-
PermissionsBoundaryDecisionDetail?:
|
|
1565
|
-
| PermissionsBoundaryDecisionDetail
|
|
1566
|
-
| undefined;
|
|
1567
|
-
}
|
|
1568
|
-
export interface EvaluationResult {
|
|
1569
|
-
EvalActionName: string | undefined;
|
|
1570
|
-
EvalResourceName?: string | undefined;
|
|
1571
|
-
EvalDecision: PolicyEvaluationDecisionType | undefined;
|
|
1572
|
-
MatchedStatements?: Statement[] | undefined;
|
|
1573
|
-
MissingContextValues?: string[] | undefined;
|
|
1574
|
-
OrganizationsDecisionDetail?: OrganizationsDecisionDetail | undefined;
|
|
1575
|
-
PermissionsBoundaryDecisionDetail?:
|
|
1576
|
-
| PermissionsBoundaryDecisionDetail
|
|
1577
|
-
| undefined;
|
|
1578
|
-
EvalDecisionDetails?:
|
|
1579
|
-
| Record<string, PolicyEvaluationDecisionType>
|
|
1580
|
-
| undefined;
|
|
1581
|
-
ResourceSpecificResults?: ResourceSpecificResult[] | undefined;
|
|
1582
|
-
}
|
|
1583
|
-
export interface SimulatePolicyResponse {
|
|
1584
|
-
EvaluationResults?: EvaluationResult[] | undefined;
|
|
1585
|
-
IsTruncated?: boolean | undefined;
|
|
1586
|
-
Marker?: string | undefined;
|
|
1587
|
-
}
|
|
1588
|
-
export interface SimulatePrincipalPolicyRequest {
|
|
1589
|
-
PolicySourceArn: string | undefined;
|
|
1590
|
-
PolicyInputList?: string[] | undefined;
|
|
1591
|
-
PermissionsBoundaryPolicyInputList?: string[] | undefined;
|
|
1592
|
-
ActionNames: string[] | undefined;
|
|
1593
|
-
ResourceArns?: string[] | undefined;
|
|
1594
|
-
ResourcePolicy?: string | undefined;
|
|
1595
|
-
ResourceOwner?: string | undefined;
|
|
1596
|
-
CallerArn?: string | undefined;
|
|
1597
|
-
ContextEntries?: ContextEntry[] | undefined;
|
|
1598
|
-
ResourceHandlingOption?: string | undefined;
|
|
1599
|
-
MaxItems?: number | undefined;
|
|
1600
|
-
Marker?: string | undefined;
|
|
1601
|
-
}
|
|
1602
|
-
export interface TagInstanceProfileRequest {
|
|
1603
|
-
InstanceProfileName: string | undefined;
|
|
1604
|
-
Tags: Tag[] | undefined;
|
|
1605
|
-
}
|
|
1606
|
-
export interface TagMFADeviceRequest {
|
|
1607
|
-
SerialNumber: string | undefined;
|
|
1608
|
-
Tags: Tag[] | undefined;
|
|
1609
|
-
}
|
|
1610
|
-
export interface TagOpenIDConnectProviderRequest {
|
|
1611
|
-
OpenIDConnectProviderArn: string | undefined;
|
|
1612
|
-
Tags: Tag[] | undefined;
|
|
1613
|
-
}
|
|
1614
|
-
export interface TagPolicyRequest {
|
|
1615
|
-
PolicyArn: string | undefined;
|
|
1616
|
-
Tags: Tag[] | undefined;
|
|
1617
|
-
}
|
|
1618
|
-
export interface TagRoleRequest {
|
|
1619
|
-
RoleName: string | undefined;
|
|
1620
|
-
Tags: Tag[] | undefined;
|
|
1621
|
-
}
|
|
1622
|
-
export interface TagSAMLProviderRequest {
|
|
1623
|
-
SAMLProviderArn: string | undefined;
|
|
1624
|
-
Tags: Tag[] | undefined;
|
|
1625
|
-
}
|
|
1626
|
-
export interface TagServerCertificateRequest {
|
|
1627
|
-
ServerCertificateName: string | undefined;
|
|
1628
|
-
Tags: Tag[] | undefined;
|
|
1629
|
-
}
|
|
1630
|
-
export interface TagUserRequest {
|
|
1631
|
-
UserName: string | undefined;
|
|
1632
|
-
Tags: Tag[] | undefined;
|
|
1633
|
-
}
|
|
1634
1616
|
export declare const AccessKeyFilterSensitiveLog: (obj: AccessKey) => any;
|
|
1635
1617
|
export declare const ChangePasswordRequestFilterSensitiveLog: (
|
|
1636
1618
|
obj: ChangePasswordRequest
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { IAMServiceException as __BaseException } from "./IAMServiceException";
|
|
3
3
|
import {
|
|
4
|
+
ContextEntry,
|
|
5
|
+
PolicyEvaluationDecisionType,
|
|
6
|
+
Position,
|
|
4
7
|
Role,
|
|
5
8
|
ServerCertificateMetadata,
|
|
6
9
|
SigningCertificate,
|
|
@@ -8,6 +11,107 @@ import {
|
|
|
8
11
|
StatusType,
|
|
9
12
|
Tag,
|
|
10
13
|
} from "./models_0";
|
|
14
|
+
export declare const PolicySourceType: {
|
|
15
|
+
readonly AWS_MANAGED: "aws-managed";
|
|
16
|
+
readonly GROUP: "group";
|
|
17
|
+
readonly NONE: "none";
|
|
18
|
+
readonly RESOURCE: "resource";
|
|
19
|
+
readonly ROLE: "role";
|
|
20
|
+
readonly USER: "user";
|
|
21
|
+
readonly USER_MANAGED: "user-managed";
|
|
22
|
+
};
|
|
23
|
+
export type PolicySourceType =
|
|
24
|
+
(typeof PolicySourceType)[keyof typeof PolicySourceType];
|
|
25
|
+
export interface Statement {
|
|
26
|
+
SourcePolicyId?: string | undefined;
|
|
27
|
+
SourcePolicyType?: PolicySourceType | undefined;
|
|
28
|
+
StartPosition?: Position | undefined;
|
|
29
|
+
EndPosition?: Position | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface OrganizationsDecisionDetail {
|
|
32
|
+
AllowedByOrganizations?: boolean | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface PermissionsBoundaryDecisionDetail {
|
|
35
|
+
AllowedByPermissionsBoundary?: boolean | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface ResourceSpecificResult {
|
|
38
|
+
EvalResourceName: string | undefined;
|
|
39
|
+
EvalResourceDecision: PolicyEvaluationDecisionType | undefined;
|
|
40
|
+
MatchedStatements?: Statement[] | undefined;
|
|
41
|
+
MissingContextValues?: string[] | undefined;
|
|
42
|
+
EvalDecisionDetails?:
|
|
43
|
+
| Record<string, PolicyEvaluationDecisionType>
|
|
44
|
+
| undefined;
|
|
45
|
+
PermissionsBoundaryDecisionDetail?:
|
|
46
|
+
| PermissionsBoundaryDecisionDetail
|
|
47
|
+
| undefined;
|
|
48
|
+
}
|
|
49
|
+
export interface EvaluationResult {
|
|
50
|
+
EvalActionName: string | undefined;
|
|
51
|
+
EvalResourceName?: string | undefined;
|
|
52
|
+
EvalDecision: PolicyEvaluationDecisionType | undefined;
|
|
53
|
+
MatchedStatements?: Statement[] | undefined;
|
|
54
|
+
MissingContextValues?: string[] | undefined;
|
|
55
|
+
OrganizationsDecisionDetail?: OrganizationsDecisionDetail | undefined;
|
|
56
|
+
PermissionsBoundaryDecisionDetail?:
|
|
57
|
+
| PermissionsBoundaryDecisionDetail
|
|
58
|
+
| undefined;
|
|
59
|
+
EvalDecisionDetails?:
|
|
60
|
+
| Record<string, PolicyEvaluationDecisionType>
|
|
61
|
+
| undefined;
|
|
62
|
+
ResourceSpecificResults?: ResourceSpecificResult[] | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface SimulatePolicyResponse {
|
|
65
|
+
EvaluationResults?: EvaluationResult[] | undefined;
|
|
66
|
+
IsTruncated?: boolean | undefined;
|
|
67
|
+
Marker?: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface SimulatePrincipalPolicyRequest {
|
|
70
|
+
PolicySourceArn: string | undefined;
|
|
71
|
+
PolicyInputList?: string[] | undefined;
|
|
72
|
+
PermissionsBoundaryPolicyInputList?: string[] | undefined;
|
|
73
|
+
ActionNames: string[] | undefined;
|
|
74
|
+
ResourceArns?: string[] | undefined;
|
|
75
|
+
ResourcePolicy?: string | undefined;
|
|
76
|
+
ResourceOwner?: string | undefined;
|
|
77
|
+
CallerArn?: string | undefined;
|
|
78
|
+
ContextEntries?: ContextEntry[] | undefined;
|
|
79
|
+
ResourceHandlingOption?: string | undefined;
|
|
80
|
+
MaxItems?: number | undefined;
|
|
81
|
+
Marker?: string | undefined;
|
|
82
|
+
}
|
|
83
|
+
export interface TagInstanceProfileRequest {
|
|
84
|
+
InstanceProfileName: string | undefined;
|
|
85
|
+
Tags: Tag[] | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface TagMFADeviceRequest {
|
|
88
|
+
SerialNumber: string | undefined;
|
|
89
|
+
Tags: Tag[] | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface TagOpenIDConnectProviderRequest {
|
|
92
|
+
OpenIDConnectProviderArn: string | undefined;
|
|
93
|
+
Tags: Tag[] | undefined;
|
|
94
|
+
}
|
|
95
|
+
export interface TagPolicyRequest {
|
|
96
|
+
PolicyArn: string | undefined;
|
|
97
|
+
Tags: Tag[] | undefined;
|
|
98
|
+
}
|
|
99
|
+
export interface TagRoleRequest {
|
|
100
|
+
RoleName: string | undefined;
|
|
101
|
+
Tags: Tag[] | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface TagSAMLProviderRequest {
|
|
104
|
+
SAMLProviderArn: string | undefined;
|
|
105
|
+
Tags: Tag[] | undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface TagServerCertificateRequest {
|
|
108
|
+
ServerCertificateName: string | undefined;
|
|
109
|
+
Tags: Tag[] | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface TagUserRequest {
|
|
112
|
+
UserName: string | undefined;
|
|
113
|
+
Tags: Tag[] | undefined;
|
|
114
|
+
}
|
|
11
115
|
export interface UntagInstanceProfileRequest {
|
|
12
116
|
InstanceProfileName: string | undefined;
|
|
13
117
|
TagKeys: string[] | undefined;
|
|
@@ -195,10 +195,26 @@ import {
|
|
|
195
195
|
DetachUserPolicyCommandInput,
|
|
196
196
|
DetachUserPolicyCommandOutput,
|
|
197
197
|
} from "../commands/DetachUserPolicyCommand";
|
|
198
|
+
import {
|
|
199
|
+
DisableOrganizationsRootCredentialsManagementCommandInput,
|
|
200
|
+
DisableOrganizationsRootCredentialsManagementCommandOutput,
|
|
201
|
+
} from "../commands/DisableOrganizationsRootCredentialsManagementCommand";
|
|
202
|
+
import {
|
|
203
|
+
DisableOrganizationsRootSessionsCommandInput,
|
|
204
|
+
DisableOrganizationsRootSessionsCommandOutput,
|
|
205
|
+
} from "../commands/DisableOrganizationsRootSessionsCommand";
|
|
198
206
|
import {
|
|
199
207
|
EnableMFADeviceCommandInput,
|
|
200
208
|
EnableMFADeviceCommandOutput,
|
|
201
209
|
} from "../commands/EnableMFADeviceCommand";
|
|
210
|
+
import {
|
|
211
|
+
EnableOrganizationsRootCredentialsManagementCommandInput,
|
|
212
|
+
EnableOrganizationsRootCredentialsManagementCommandOutput,
|
|
213
|
+
} from "../commands/EnableOrganizationsRootCredentialsManagementCommand";
|
|
214
|
+
import {
|
|
215
|
+
EnableOrganizationsRootSessionsCommandInput,
|
|
216
|
+
EnableOrganizationsRootSessionsCommandOutput,
|
|
217
|
+
} from "../commands/EnableOrganizationsRootSessionsCommand";
|
|
202
218
|
import {
|
|
203
219
|
GenerateCredentialReportCommandInput,
|
|
204
220
|
GenerateCredentialReportCommandOutput,
|
|
@@ -379,6 +395,10 @@ import {
|
|
|
379
395
|
ListOpenIDConnectProviderTagsCommandInput,
|
|
380
396
|
ListOpenIDConnectProviderTagsCommandOutput,
|
|
381
397
|
} from "../commands/ListOpenIDConnectProviderTagsCommand";
|
|
398
|
+
import {
|
|
399
|
+
ListOrganizationsFeaturesCommandInput,
|
|
400
|
+
ListOrganizationsFeaturesCommandOutput,
|
|
401
|
+
} from "../commands/ListOrganizationsFeaturesCommand";
|
|
382
402
|
import {
|
|
383
403
|
ListPoliciesCommandInput,
|
|
384
404
|
ListPoliciesCommandOutput,
|
|
@@ -831,10 +851,26 @@ export declare const se_DetachUserPolicyCommand: (
|
|
|
831
851
|
input: DetachUserPolicyCommandInput,
|
|
832
852
|
context: __SerdeContext
|
|
833
853
|
) => Promise<__HttpRequest>;
|
|
854
|
+
export declare const se_DisableOrganizationsRootCredentialsManagementCommand: (
|
|
855
|
+
input: DisableOrganizationsRootCredentialsManagementCommandInput,
|
|
856
|
+
context: __SerdeContext
|
|
857
|
+
) => Promise<__HttpRequest>;
|
|
858
|
+
export declare const se_DisableOrganizationsRootSessionsCommand: (
|
|
859
|
+
input: DisableOrganizationsRootSessionsCommandInput,
|
|
860
|
+
context: __SerdeContext
|
|
861
|
+
) => Promise<__HttpRequest>;
|
|
834
862
|
export declare const se_EnableMFADeviceCommand: (
|
|
835
863
|
input: EnableMFADeviceCommandInput,
|
|
836
864
|
context: __SerdeContext
|
|
837
865
|
) => Promise<__HttpRequest>;
|
|
866
|
+
export declare const se_EnableOrganizationsRootCredentialsManagementCommand: (
|
|
867
|
+
input: EnableOrganizationsRootCredentialsManagementCommandInput,
|
|
868
|
+
context: __SerdeContext
|
|
869
|
+
) => Promise<__HttpRequest>;
|
|
870
|
+
export declare const se_EnableOrganizationsRootSessionsCommand: (
|
|
871
|
+
input: EnableOrganizationsRootSessionsCommandInput,
|
|
872
|
+
context: __SerdeContext
|
|
873
|
+
) => Promise<__HttpRequest>;
|
|
838
874
|
export declare const se_GenerateCredentialReportCommand: (
|
|
839
875
|
input: GenerateCredentialReportCommandInput,
|
|
840
876
|
context: __SerdeContext
|
|
@@ -1015,6 +1051,10 @@ export declare const se_ListOpenIDConnectProviderTagsCommand: (
|
|
|
1015
1051
|
input: ListOpenIDConnectProviderTagsCommandInput,
|
|
1016
1052
|
context: __SerdeContext
|
|
1017
1053
|
) => Promise<__HttpRequest>;
|
|
1054
|
+
export declare const se_ListOrganizationsFeaturesCommand: (
|
|
1055
|
+
input: ListOrganizationsFeaturesCommandInput,
|
|
1056
|
+
context: __SerdeContext
|
|
1057
|
+
) => Promise<__HttpRequest>;
|
|
1018
1058
|
export declare const se_ListPoliciesCommand: (
|
|
1019
1059
|
input: ListPoliciesCommandInput,
|
|
1020
1060
|
context: __SerdeContext
|
|
@@ -1467,10 +1507,26 @@ export declare const de_DetachUserPolicyCommand: (
|
|
|
1467
1507
|
output: __HttpResponse,
|
|
1468
1508
|
context: __SerdeContext
|
|
1469
1509
|
) => Promise<DetachUserPolicyCommandOutput>;
|
|
1510
|
+
export declare const de_DisableOrganizationsRootCredentialsManagementCommand: (
|
|
1511
|
+
output: __HttpResponse,
|
|
1512
|
+
context: __SerdeContext
|
|
1513
|
+
) => Promise<DisableOrganizationsRootCredentialsManagementCommandOutput>;
|
|
1514
|
+
export declare const de_DisableOrganizationsRootSessionsCommand: (
|
|
1515
|
+
output: __HttpResponse,
|
|
1516
|
+
context: __SerdeContext
|
|
1517
|
+
) => Promise<DisableOrganizationsRootSessionsCommandOutput>;
|
|
1470
1518
|
export declare const de_EnableMFADeviceCommand: (
|
|
1471
1519
|
output: __HttpResponse,
|
|
1472
1520
|
context: __SerdeContext
|
|
1473
1521
|
) => Promise<EnableMFADeviceCommandOutput>;
|
|
1522
|
+
export declare const de_EnableOrganizationsRootCredentialsManagementCommand: (
|
|
1523
|
+
output: __HttpResponse,
|
|
1524
|
+
context: __SerdeContext
|
|
1525
|
+
) => Promise<EnableOrganizationsRootCredentialsManagementCommandOutput>;
|
|
1526
|
+
export declare const de_EnableOrganizationsRootSessionsCommand: (
|
|
1527
|
+
output: __HttpResponse,
|
|
1528
|
+
context: __SerdeContext
|
|
1529
|
+
) => Promise<EnableOrganizationsRootSessionsCommandOutput>;
|
|
1474
1530
|
export declare const de_GenerateCredentialReportCommand: (
|
|
1475
1531
|
output: __HttpResponse,
|
|
1476
1532
|
context: __SerdeContext
|
|
@@ -1651,6 +1707,10 @@ export declare const de_ListOpenIDConnectProviderTagsCommand: (
|
|
|
1651
1707
|
output: __HttpResponse,
|
|
1652
1708
|
context: __SerdeContext
|
|
1653
1709
|
) => Promise<ListOpenIDConnectProviderTagsCommandOutput>;
|
|
1710
|
+
export declare const de_ListOrganizationsFeaturesCommand: (
|
|
1711
|
+
output: __HttpResponse,
|
|
1712
|
+
context: __SerdeContext
|
|
1713
|
+
) => Promise<ListOrganizationsFeaturesCommandOutput>;
|
|
1654
1714
|
export declare const de_ListPoliciesCommand: (
|
|
1655
1715
|
output: __HttpResponse,
|
|
1656
1716
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.693.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iam",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.693.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.693.0",
|
|
25
|
+
"@aws-sdk/core": "3.693.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.693.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.693.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.693.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.693.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.693.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.693.0",
|
|
32
|
+
"@aws-sdk/types": "3.692.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.693.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.693.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.693.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
37
|
+
"@smithy/core": "^2.5.2",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.9",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.9",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.11",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.26",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.9",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
50
|
+
"@smithy/types": "^3.7.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.9",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.26",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.26",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.5",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
59
|
+
"@smithy/util-retry": "^3.0.9",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.8",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|