@aws-sdk/client-iam 3.687.0 → 3.692.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 +91 -0
- package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +91 -0
- package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +107 -0
- package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +106 -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 +89 -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 +616 -1028
- package/dist-types/models/models_1.d.ts +642 -32
- 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 +501 -511
- package/dist-types/ts3.4/models/models_1.d.ts +135 -31
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
- package/package.json +36 -36
|
@@ -55,7 +55,11 @@ import { DeleteVirtualMFADeviceCommandInput, DeleteVirtualMFADeviceCommandOutput
|
|
|
55
55
|
import { DetachGroupPolicyCommandInput, DetachGroupPolicyCommandOutput } from "./commands/DetachGroupPolicyCommand";
|
|
56
56
|
import { DetachRolePolicyCommandInput, DetachRolePolicyCommandOutput } from "./commands/DetachRolePolicyCommand";
|
|
57
57
|
import { DetachUserPolicyCommandInput, DetachUserPolicyCommandOutput } from "./commands/DetachUserPolicyCommand";
|
|
58
|
+
import { DisableOrganizationsRootCredentialsManagementCommandInput, DisableOrganizationsRootCredentialsManagementCommandOutput } from "./commands/DisableOrganizationsRootCredentialsManagementCommand";
|
|
59
|
+
import { DisableOrganizationsRootSessionsCommandInput, DisableOrganizationsRootSessionsCommandOutput } from "./commands/DisableOrganizationsRootSessionsCommand";
|
|
58
60
|
import { EnableMFADeviceCommandInput, EnableMFADeviceCommandOutput } from "./commands/EnableMFADeviceCommand";
|
|
61
|
+
import { EnableOrganizationsRootCredentialsManagementCommandInput, EnableOrganizationsRootCredentialsManagementCommandOutput } from "./commands/EnableOrganizationsRootCredentialsManagementCommand";
|
|
62
|
+
import { EnableOrganizationsRootSessionsCommandInput, EnableOrganizationsRootSessionsCommandOutput } from "./commands/EnableOrganizationsRootSessionsCommand";
|
|
59
63
|
import { GenerateCredentialReportCommandInput, GenerateCredentialReportCommandOutput } from "./commands/GenerateCredentialReportCommand";
|
|
60
64
|
import { GenerateOrganizationsAccessReportCommandInput, GenerateOrganizationsAccessReportCommandOutput } from "./commands/GenerateOrganizationsAccessReportCommand";
|
|
61
65
|
import { GenerateServiceLastAccessedDetailsCommandInput, GenerateServiceLastAccessedDetailsCommandOutput } from "./commands/GenerateServiceLastAccessedDetailsCommand";
|
|
@@ -101,6 +105,7 @@ import { ListMFADevicesCommandInput, ListMFADevicesCommandOutput } from "./comma
|
|
|
101
105
|
import { ListMFADeviceTagsCommandInput, ListMFADeviceTagsCommandOutput } from "./commands/ListMFADeviceTagsCommand";
|
|
102
106
|
import { ListOpenIDConnectProvidersCommandInput, ListOpenIDConnectProvidersCommandOutput } from "./commands/ListOpenIDConnectProvidersCommand";
|
|
103
107
|
import { ListOpenIDConnectProviderTagsCommandInput, ListOpenIDConnectProviderTagsCommandOutput } from "./commands/ListOpenIDConnectProviderTagsCommand";
|
|
108
|
+
import { ListOrganizationsFeaturesCommandInput, ListOrganizationsFeaturesCommandOutput } from "./commands/ListOrganizationsFeaturesCommand";
|
|
104
109
|
import { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "./commands/ListPoliciesCommand";
|
|
105
110
|
import { ListPoliciesGrantingServiceAccessCommandInput, ListPoliciesGrantingServiceAccessCommandOutput } from "./commands/ListPoliciesGrantingServiceAccessCommand";
|
|
106
111
|
import { ListPolicyTagsCommandInput, ListPolicyTagsCommandOutput } from "./commands/ListPolicyTagsCommand";
|
|
@@ -172,11 +177,11 @@ export { __Client };
|
|
|
172
177
|
/**
|
|
173
178
|
* @public
|
|
174
179
|
*/
|
|
175
|
-
export type ServiceInputTypes = AddClientIDToOpenIDConnectProviderCommandInput | AddRoleToInstanceProfileCommandInput | AddUserToGroupCommandInput | AttachGroupPolicyCommandInput | AttachRolePolicyCommandInput | AttachUserPolicyCommandInput | ChangePasswordCommandInput | CreateAccessKeyCommandInput | CreateAccountAliasCommandInput | CreateGroupCommandInput | CreateInstanceProfileCommandInput | CreateLoginProfileCommandInput | CreateOpenIDConnectProviderCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateRoleCommandInput | CreateSAMLProviderCommandInput | CreateServiceLinkedRoleCommandInput | CreateServiceSpecificCredentialCommandInput | CreateUserCommandInput | CreateVirtualMFADeviceCommandInput | DeactivateMFADeviceCommandInput | DeleteAccessKeyCommandInput | DeleteAccountAliasCommandInput | DeleteAccountPasswordPolicyCommandInput | DeleteGroupCommandInput | DeleteGroupPolicyCommandInput | DeleteInstanceProfileCommandInput | DeleteLoginProfileCommandInput | DeleteOpenIDConnectProviderCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteRoleCommandInput | DeleteRolePermissionsBoundaryCommandInput | DeleteRolePolicyCommandInput | DeleteSAMLProviderCommandInput | DeleteSSHPublicKeyCommandInput | DeleteServerCertificateCommandInput | DeleteServiceLinkedRoleCommandInput | DeleteServiceSpecificCredentialCommandInput | DeleteSigningCertificateCommandInput | DeleteUserCommandInput | DeleteUserPermissionsBoundaryCommandInput | DeleteUserPolicyCommandInput | DeleteVirtualMFADeviceCommandInput | DetachGroupPolicyCommandInput | DetachRolePolicyCommandInput | DetachUserPolicyCommandInput | EnableMFADeviceCommandInput | GenerateCredentialReportCommandInput | GenerateOrganizationsAccessReportCommandInput | GenerateServiceLastAccessedDetailsCommandInput | GetAccessKeyLastUsedCommandInput | GetAccountAuthorizationDetailsCommandInput | GetAccountPasswordPolicyCommandInput | GetAccountSummaryCommandInput | GetContextKeysForCustomPolicyCommandInput | GetContextKeysForPrincipalPolicyCommandInput | GetCredentialReportCommandInput | GetGroupCommandInput | GetGroupPolicyCommandInput | GetInstanceProfileCommandInput | GetLoginProfileCommandInput | GetMFADeviceCommandInput | GetOpenIDConnectProviderCommandInput | GetOrganizationsAccessReportCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRoleCommandInput | GetRolePolicyCommandInput | GetSAMLProviderCommandInput | GetSSHPublicKeyCommandInput | GetServerCertificateCommandInput | GetServiceLastAccessedDetailsCommandInput | GetServiceLastAccessedDetailsWithEntitiesCommandInput | GetServiceLinkedRoleDeletionStatusCommandInput | GetUserCommandInput | GetUserPolicyCommandInput | ListAccessKeysCommandInput | ListAccountAliasesCommandInput | ListAttachedGroupPoliciesCommandInput | ListAttachedRolePoliciesCommandInput | ListAttachedUserPoliciesCommandInput | ListEntitiesForPolicyCommandInput | ListGroupPoliciesCommandInput | ListGroupsCommandInput | ListGroupsForUserCommandInput | ListInstanceProfileTagsCommandInput | ListInstanceProfilesCommandInput | ListInstanceProfilesForRoleCommandInput | ListMFADeviceTagsCommandInput | ListMFADevicesCommandInput | ListOpenIDConnectProviderTagsCommandInput | ListOpenIDConnectProvidersCommandInput | ListPoliciesCommandInput | ListPoliciesGrantingServiceAccessCommandInput | ListPolicyTagsCommandInput | ListPolicyVersionsCommandInput | ListRolePoliciesCommandInput | ListRoleTagsCommandInput | ListRolesCommandInput | ListSAMLProviderTagsCommandInput | ListSAMLProvidersCommandInput | ListSSHPublicKeysCommandInput | ListServerCertificateTagsCommandInput | ListServerCertificatesCommandInput | ListServiceSpecificCredentialsCommandInput | ListSigningCertificatesCommandInput | ListUserPoliciesCommandInput | ListUserTagsCommandInput | ListUsersCommandInput | ListVirtualMFADevicesCommandInput | PutGroupPolicyCommandInput | PutRolePermissionsBoundaryCommandInput | PutRolePolicyCommandInput | PutUserPermissionsBoundaryCommandInput | PutUserPolicyCommandInput | RemoveClientIDFromOpenIDConnectProviderCommandInput | RemoveRoleFromInstanceProfileCommandInput | RemoveUserFromGroupCommandInput | ResetServiceSpecificCredentialCommandInput | ResyncMFADeviceCommandInput | SetDefaultPolicyVersionCommandInput | SetSecurityTokenServicePreferencesCommandInput | SimulateCustomPolicyCommandInput | SimulatePrincipalPolicyCommandInput | TagInstanceProfileCommandInput | TagMFADeviceCommandInput | TagOpenIDConnectProviderCommandInput | TagPolicyCommandInput | TagRoleCommandInput | TagSAMLProviderCommandInput | TagServerCertificateCommandInput | TagUserCommandInput | UntagInstanceProfileCommandInput | UntagMFADeviceCommandInput | UntagOpenIDConnectProviderCommandInput | UntagPolicyCommandInput | UntagRoleCommandInput | UntagSAMLProviderCommandInput | UntagServerCertificateCommandInput | UntagUserCommandInput | UpdateAccessKeyCommandInput | UpdateAccountPasswordPolicyCommandInput | UpdateAssumeRolePolicyCommandInput | UpdateGroupCommandInput | UpdateLoginProfileCommandInput | UpdateOpenIDConnectProviderThumbprintCommandInput | UpdateRoleCommandInput | UpdateRoleDescriptionCommandInput | UpdateSAMLProviderCommandInput | UpdateSSHPublicKeyCommandInput | UpdateServerCertificateCommandInput | UpdateServiceSpecificCredentialCommandInput | UpdateSigningCertificateCommandInput | UpdateUserCommandInput | UploadSSHPublicKeyCommandInput | UploadServerCertificateCommandInput | UploadSigningCertificateCommandInput;
|
|
180
|
+
export type ServiceInputTypes = AddClientIDToOpenIDConnectProviderCommandInput | AddRoleToInstanceProfileCommandInput | AddUserToGroupCommandInput | AttachGroupPolicyCommandInput | AttachRolePolicyCommandInput | AttachUserPolicyCommandInput | ChangePasswordCommandInput | CreateAccessKeyCommandInput | CreateAccountAliasCommandInput | CreateGroupCommandInput | CreateInstanceProfileCommandInput | CreateLoginProfileCommandInput | CreateOpenIDConnectProviderCommandInput | CreatePolicyCommandInput | CreatePolicyVersionCommandInput | CreateRoleCommandInput | CreateSAMLProviderCommandInput | CreateServiceLinkedRoleCommandInput | CreateServiceSpecificCredentialCommandInput | CreateUserCommandInput | CreateVirtualMFADeviceCommandInput | DeactivateMFADeviceCommandInput | DeleteAccessKeyCommandInput | DeleteAccountAliasCommandInput | DeleteAccountPasswordPolicyCommandInput | DeleteGroupCommandInput | DeleteGroupPolicyCommandInput | DeleteInstanceProfileCommandInput | DeleteLoginProfileCommandInput | DeleteOpenIDConnectProviderCommandInput | DeletePolicyCommandInput | DeletePolicyVersionCommandInput | DeleteRoleCommandInput | DeleteRolePermissionsBoundaryCommandInput | DeleteRolePolicyCommandInput | DeleteSAMLProviderCommandInput | DeleteSSHPublicKeyCommandInput | DeleteServerCertificateCommandInput | DeleteServiceLinkedRoleCommandInput | DeleteServiceSpecificCredentialCommandInput | DeleteSigningCertificateCommandInput | DeleteUserCommandInput | DeleteUserPermissionsBoundaryCommandInput | DeleteUserPolicyCommandInput | DeleteVirtualMFADeviceCommandInput | DetachGroupPolicyCommandInput | DetachRolePolicyCommandInput | DetachUserPolicyCommandInput | DisableOrganizationsRootCredentialsManagementCommandInput | DisableOrganizationsRootSessionsCommandInput | EnableMFADeviceCommandInput | EnableOrganizationsRootCredentialsManagementCommandInput | EnableOrganizationsRootSessionsCommandInput | GenerateCredentialReportCommandInput | GenerateOrganizationsAccessReportCommandInput | GenerateServiceLastAccessedDetailsCommandInput | GetAccessKeyLastUsedCommandInput | GetAccountAuthorizationDetailsCommandInput | GetAccountPasswordPolicyCommandInput | GetAccountSummaryCommandInput | GetContextKeysForCustomPolicyCommandInput | GetContextKeysForPrincipalPolicyCommandInput | GetCredentialReportCommandInput | GetGroupCommandInput | GetGroupPolicyCommandInput | GetInstanceProfileCommandInput | GetLoginProfileCommandInput | GetMFADeviceCommandInput | GetOpenIDConnectProviderCommandInput | GetOrganizationsAccessReportCommandInput | GetPolicyCommandInput | GetPolicyVersionCommandInput | GetRoleCommandInput | GetRolePolicyCommandInput | GetSAMLProviderCommandInput | GetSSHPublicKeyCommandInput | GetServerCertificateCommandInput | GetServiceLastAccessedDetailsCommandInput | GetServiceLastAccessedDetailsWithEntitiesCommandInput | GetServiceLinkedRoleDeletionStatusCommandInput | GetUserCommandInput | GetUserPolicyCommandInput | ListAccessKeysCommandInput | ListAccountAliasesCommandInput | ListAttachedGroupPoliciesCommandInput | ListAttachedRolePoliciesCommandInput | ListAttachedUserPoliciesCommandInput | ListEntitiesForPolicyCommandInput | ListGroupPoliciesCommandInput | ListGroupsCommandInput | ListGroupsForUserCommandInput | ListInstanceProfileTagsCommandInput | ListInstanceProfilesCommandInput | ListInstanceProfilesForRoleCommandInput | ListMFADeviceTagsCommandInput | ListMFADevicesCommandInput | ListOpenIDConnectProviderTagsCommandInput | ListOpenIDConnectProvidersCommandInput | ListOrganizationsFeaturesCommandInput | ListPoliciesCommandInput | ListPoliciesGrantingServiceAccessCommandInput | ListPolicyTagsCommandInput | ListPolicyVersionsCommandInput | ListRolePoliciesCommandInput | ListRoleTagsCommandInput | ListRolesCommandInput | ListSAMLProviderTagsCommandInput | ListSAMLProvidersCommandInput | ListSSHPublicKeysCommandInput | ListServerCertificateTagsCommandInput | ListServerCertificatesCommandInput | ListServiceSpecificCredentialsCommandInput | ListSigningCertificatesCommandInput | ListUserPoliciesCommandInput | ListUserTagsCommandInput | ListUsersCommandInput | ListVirtualMFADevicesCommandInput | PutGroupPolicyCommandInput | PutRolePermissionsBoundaryCommandInput | PutRolePolicyCommandInput | PutUserPermissionsBoundaryCommandInput | PutUserPolicyCommandInput | RemoveClientIDFromOpenIDConnectProviderCommandInput | RemoveRoleFromInstanceProfileCommandInput | RemoveUserFromGroupCommandInput | ResetServiceSpecificCredentialCommandInput | ResyncMFADeviceCommandInput | SetDefaultPolicyVersionCommandInput | SetSecurityTokenServicePreferencesCommandInput | SimulateCustomPolicyCommandInput | SimulatePrincipalPolicyCommandInput | TagInstanceProfileCommandInput | TagMFADeviceCommandInput | TagOpenIDConnectProviderCommandInput | TagPolicyCommandInput | TagRoleCommandInput | TagSAMLProviderCommandInput | TagServerCertificateCommandInput | TagUserCommandInput | UntagInstanceProfileCommandInput | UntagMFADeviceCommandInput | UntagOpenIDConnectProviderCommandInput | UntagPolicyCommandInput | UntagRoleCommandInput | UntagSAMLProviderCommandInput | UntagServerCertificateCommandInput | UntagUserCommandInput | UpdateAccessKeyCommandInput | UpdateAccountPasswordPolicyCommandInput | UpdateAssumeRolePolicyCommandInput | UpdateGroupCommandInput | UpdateLoginProfileCommandInput | UpdateOpenIDConnectProviderThumbprintCommandInput | UpdateRoleCommandInput | UpdateRoleDescriptionCommandInput | UpdateSAMLProviderCommandInput | UpdateSSHPublicKeyCommandInput | UpdateServerCertificateCommandInput | UpdateServiceSpecificCredentialCommandInput | UpdateSigningCertificateCommandInput | UpdateUserCommandInput | UploadSSHPublicKeyCommandInput | UploadServerCertificateCommandInput | UploadSigningCertificateCommandInput;
|
|
176
181
|
/**
|
|
177
182
|
* @public
|
|
178
183
|
*/
|
|
179
|
-
export type ServiceOutputTypes = AddClientIDToOpenIDConnectProviderCommandOutput | AddRoleToInstanceProfileCommandOutput | AddUserToGroupCommandOutput | AttachGroupPolicyCommandOutput | AttachRolePolicyCommandOutput | AttachUserPolicyCommandOutput | ChangePasswordCommandOutput | CreateAccessKeyCommandOutput | CreateAccountAliasCommandOutput | CreateGroupCommandOutput | CreateInstanceProfileCommandOutput | CreateLoginProfileCommandOutput | CreateOpenIDConnectProviderCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateRoleCommandOutput | CreateSAMLProviderCommandOutput | CreateServiceLinkedRoleCommandOutput | CreateServiceSpecificCredentialCommandOutput | CreateUserCommandOutput | CreateVirtualMFADeviceCommandOutput | DeactivateMFADeviceCommandOutput | DeleteAccessKeyCommandOutput | DeleteAccountAliasCommandOutput | DeleteAccountPasswordPolicyCommandOutput | DeleteGroupCommandOutput | DeleteGroupPolicyCommandOutput | DeleteInstanceProfileCommandOutput | DeleteLoginProfileCommandOutput | DeleteOpenIDConnectProviderCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteRoleCommandOutput | DeleteRolePermissionsBoundaryCommandOutput | DeleteRolePolicyCommandOutput | DeleteSAMLProviderCommandOutput | DeleteSSHPublicKeyCommandOutput | DeleteServerCertificateCommandOutput | DeleteServiceLinkedRoleCommandOutput | DeleteServiceSpecificCredentialCommandOutput | DeleteSigningCertificateCommandOutput | DeleteUserCommandOutput | DeleteUserPermissionsBoundaryCommandOutput | DeleteUserPolicyCommandOutput | DeleteVirtualMFADeviceCommandOutput | DetachGroupPolicyCommandOutput | DetachRolePolicyCommandOutput | DetachUserPolicyCommandOutput | EnableMFADeviceCommandOutput | GenerateCredentialReportCommandOutput | GenerateOrganizationsAccessReportCommandOutput | GenerateServiceLastAccessedDetailsCommandOutput | GetAccessKeyLastUsedCommandOutput | GetAccountAuthorizationDetailsCommandOutput | GetAccountPasswordPolicyCommandOutput | GetAccountSummaryCommandOutput | GetContextKeysForCustomPolicyCommandOutput | GetContextKeysForPrincipalPolicyCommandOutput | GetCredentialReportCommandOutput | GetGroupCommandOutput | GetGroupPolicyCommandOutput | GetInstanceProfileCommandOutput | GetLoginProfileCommandOutput | GetMFADeviceCommandOutput | GetOpenIDConnectProviderCommandOutput | GetOrganizationsAccessReportCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRoleCommandOutput | GetRolePolicyCommandOutput | GetSAMLProviderCommandOutput | GetSSHPublicKeyCommandOutput | GetServerCertificateCommandOutput | GetServiceLastAccessedDetailsCommandOutput | GetServiceLastAccessedDetailsWithEntitiesCommandOutput | GetServiceLinkedRoleDeletionStatusCommandOutput | GetUserCommandOutput | GetUserPolicyCommandOutput | ListAccessKeysCommandOutput | ListAccountAliasesCommandOutput | ListAttachedGroupPoliciesCommandOutput | ListAttachedRolePoliciesCommandOutput | ListAttachedUserPoliciesCommandOutput | ListEntitiesForPolicyCommandOutput | ListGroupPoliciesCommandOutput | ListGroupsCommandOutput | ListGroupsForUserCommandOutput | ListInstanceProfileTagsCommandOutput | ListInstanceProfilesCommandOutput | ListInstanceProfilesForRoleCommandOutput | ListMFADeviceTagsCommandOutput | ListMFADevicesCommandOutput | ListOpenIDConnectProviderTagsCommandOutput | ListOpenIDConnectProvidersCommandOutput | ListPoliciesCommandOutput | ListPoliciesGrantingServiceAccessCommandOutput | ListPolicyTagsCommandOutput | ListPolicyVersionsCommandOutput | ListRolePoliciesCommandOutput | ListRoleTagsCommandOutput | ListRolesCommandOutput | ListSAMLProviderTagsCommandOutput | ListSAMLProvidersCommandOutput | ListSSHPublicKeysCommandOutput | ListServerCertificateTagsCommandOutput | ListServerCertificatesCommandOutput | ListServiceSpecificCredentialsCommandOutput | ListSigningCertificatesCommandOutput | ListUserPoliciesCommandOutput | ListUserTagsCommandOutput | ListUsersCommandOutput | ListVirtualMFADevicesCommandOutput | PutGroupPolicyCommandOutput | PutRolePermissionsBoundaryCommandOutput | PutRolePolicyCommandOutput | PutUserPermissionsBoundaryCommandOutput | PutUserPolicyCommandOutput | RemoveClientIDFromOpenIDConnectProviderCommandOutput | RemoveRoleFromInstanceProfileCommandOutput | RemoveUserFromGroupCommandOutput | ResetServiceSpecificCredentialCommandOutput | ResyncMFADeviceCommandOutput | SetDefaultPolicyVersionCommandOutput | SetSecurityTokenServicePreferencesCommandOutput | SimulateCustomPolicyCommandOutput | SimulatePrincipalPolicyCommandOutput | TagInstanceProfileCommandOutput | TagMFADeviceCommandOutput | TagOpenIDConnectProviderCommandOutput | TagPolicyCommandOutput | TagRoleCommandOutput | TagSAMLProviderCommandOutput | TagServerCertificateCommandOutput | TagUserCommandOutput | UntagInstanceProfileCommandOutput | UntagMFADeviceCommandOutput | UntagOpenIDConnectProviderCommandOutput | UntagPolicyCommandOutput | UntagRoleCommandOutput | UntagSAMLProviderCommandOutput | UntagServerCertificateCommandOutput | UntagUserCommandOutput | UpdateAccessKeyCommandOutput | UpdateAccountPasswordPolicyCommandOutput | UpdateAssumeRolePolicyCommandOutput | UpdateGroupCommandOutput | UpdateLoginProfileCommandOutput | UpdateOpenIDConnectProviderThumbprintCommandOutput | UpdateRoleCommandOutput | UpdateRoleDescriptionCommandOutput | UpdateSAMLProviderCommandOutput | UpdateSSHPublicKeyCommandOutput | UpdateServerCertificateCommandOutput | UpdateServiceSpecificCredentialCommandOutput | UpdateSigningCertificateCommandOutput | UpdateUserCommandOutput | UploadSSHPublicKeyCommandOutput | UploadServerCertificateCommandOutput | UploadSigningCertificateCommandOutput;
|
|
184
|
+
export type ServiceOutputTypes = AddClientIDToOpenIDConnectProviderCommandOutput | AddRoleToInstanceProfileCommandOutput | AddUserToGroupCommandOutput | AttachGroupPolicyCommandOutput | AttachRolePolicyCommandOutput | AttachUserPolicyCommandOutput | ChangePasswordCommandOutput | CreateAccessKeyCommandOutput | CreateAccountAliasCommandOutput | CreateGroupCommandOutput | CreateInstanceProfileCommandOutput | CreateLoginProfileCommandOutput | CreateOpenIDConnectProviderCommandOutput | CreatePolicyCommandOutput | CreatePolicyVersionCommandOutput | CreateRoleCommandOutput | CreateSAMLProviderCommandOutput | CreateServiceLinkedRoleCommandOutput | CreateServiceSpecificCredentialCommandOutput | CreateUserCommandOutput | CreateVirtualMFADeviceCommandOutput | DeactivateMFADeviceCommandOutput | DeleteAccessKeyCommandOutput | DeleteAccountAliasCommandOutput | DeleteAccountPasswordPolicyCommandOutput | DeleteGroupCommandOutput | DeleteGroupPolicyCommandOutput | DeleteInstanceProfileCommandOutput | DeleteLoginProfileCommandOutput | DeleteOpenIDConnectProviderCommandOutput | DeletePolicyCommandOutput | DeletePolicyVersionCommandOutput | DeleteRoleCommandOutput | DeleteRolePermissionsBoundaryCommandOutput | DeleteRolePolicyCommandOutput | DeleteSAMLProviderCommandOutput | DeleteSSHPublicKeyCommandOutput | DeleteServerCertificateCommandOutput | DeleteServiceLinkedRoleCommandOutput | DeleteServiceSpecificCredentialCommandOutput | DeleteSigningCertificateCommandOutput | DeleteUserCommandOutput | DeleteUserPermissionsBoundaryCommandOutput | DeleteUserPolicyCommandOutput | DeleteVirtualMFADeviceCommandOutput | DetachGroupPolicyCommandOutput | DetachRolePolicyCommandOutput | DetachUserPolicyCommandOutput | DisableOrganizationsRootCredentialsManagementCommandOutput | DisableOrganizationsRootSessionsCommandOutput | EnableMFADeviceCommandOutput | EnableOrganizationsRootCredentialsManagementCommandOutput | EnableOrganizationsRootSessionsCommandOutput | GenerateCredentialReportCommandOutput | GenerateOrganizationsAccessReportCommandOutput | GenerateServiceLastAccessedDetailsCommandOutput | GetAccessKeyLastUsedCommandOutput | GetAccountAuthorizationDetailsCommandOutput | GetAccountPasswordPolicyCommandOutput | GetAccountSummaryCommandOutput | GetContextKeysForCustomPolicyCommandOutput | GetContextKeysForPrincipalPolicyCommandOutput | GetCredentialReportCommandOutput | GetGroupCommandOutput | GetGroupPolicyCommandOutput | GetInstanceProfileCommandOutput | GetLoginProfileCommandOutput | GetMFADeviceCommandOutput | GetOpenIDConnectProviderCommandOutput | GetOrganizationsAccessReportCommandOutput | GetPolicyCommandOutput | GetPolicyVersionCommandOutput | GetRoleCommandOutput | GetRolePolicyCommandOutput | GetSAMLProviderCommandOutput | GetSSHPublicKeyCommandOutput | GetServerCertificateCommandOutput | GetServiceLastAccessedDetailsCommandOutput | GetServiceLastAccessedDetailsWithEntitiesCommandOutput | GetServiceLinkedRoleDeletionStatusCommandOutput | GetUserCommandOutput | GetUserPolicyCommandOutput | ListAccessKeysCommandOutput | ListAccountAliasesCommandOutput | ListAttachedGroupPoliciesCommandOutput | ListAttachedRolePoliciesCommandOutput | ListAttachedUserPoliciesCommandOutput | ListEntitiesForPolicyCommandOutput | ListGroupPoliciesCommandOutput | ListGroupsCommandOutput | ListGroupsForUserCommandOutput | ListInstanceProfileTagsCommandOutput | ListInstanceProfilesCommandOutput | ListInstanceProfilesForRoleCommandOutput | ListMFADeviceTagsCommandOutput | ListMFADevicesCommandOutput | ListOpenIDConnectProviderTagsCommandOutput | ListOpenIDConnectProvidersCommandOutput | ListOrganizationsFeaturesCommandOutput | ListPoliciesCommandOutput | ListPoliciesGrantingServiceAccessCommandOutput | ListPolicyTagsCommandOutput | ListPolicyVersionsCommandOutput | ListRolePoliciesCommandOutput | ListRoleTagsCommandOutput | ListRolesCommandOutput | ListSAMLProviderTagsCommandOutput | ListSAMLProvidersCommandOutput | ListSSHPublicKeysCommandOutput | ListServerCertificateTagsCommandOutput | ListServerCertificatesCommandOutput | ListServiceSpecificCredentialsCommandOutput | ListSigningCertificatesCommandOutput | ListUserPoliciesCommandOutput | ListUserTagsCommandOutput | ListUsersCommandOutput | ListVirtualMFADevicesCommandOutput | PutGroupPolicyCommandOutput | PutRolePermissionsBoundaryCommandOutput | PutRolePolicyCommandOutput | PutUserPermissionsBoundaryCommandOutput | PutUserPolicyCommandOutput | RemoveClientIDFromOpenIDConnectProviderCommandOutput | RemoveRoleFromInstanceProfileCommandOutput | RemoveUserFromGroupCommandOutput | ResetServiceSpecificCredentialCommandOutput | ResyncMFADeviceCommandOutput | SetDefaultPolicyVersionCommandOutput | SetSecurityTokenServicePreferencesCommandOutput | SimulateCustomPolicyCommandOutput | SimulatePrincipalPolicyCommandOutput | TagInstanceProfileCommandOutput | TagMFADeviceCommandOutput | TagOpenIDConnectProviderCommandOutput | TagPolicyCommandOutput | TagRoleCommandOutput | TagSAMLProviderCommandOutput | TagServerCertificateCommandOutput | TagUserCommandOutput | UntagInstanceProfileCommandOutput | UntagMFADeviceCommandOutput | UntagOpenIDConnectProviderCommandOutput | UntagPolicyCommandOutput | UntagRoleCommandOutput | UntagSAMLProviderCommandOutput | UntagServerCertificateCommandOutput | UntagUserCommandOutput | UpdateAccessKeyCommandOutput | UpdateAccountPasswordPolicyCommandOutput | UpdateAssumeRolePolicyCommandOutput | UpdateGroupCommandOutput | UpdateLoginProfileCommandOutput | UpdateOpenIDConnectProviderThumbprintCommandOutput | UpdateRoleCommandOutput | UpdateRoleDescriptionCommandOutput | UpdateSAMLProviderCommandOutput | UpdateSSHPublicKeyCommandOutput | UpdateServerCertificateCommandOutput | UpdateServiceSpecificCredentialCommandOutput | UpdateSigningCertificateCommandOutput | UpdateUserCommandOutput | UploadSSHPublicKeyCommandOutput | UploadServerCertificateCommandOutput | UploadSigningCertificateCommandOutput;
|
|
180
185
|
/**
|
|
181
186
|
* @public
|
|
182
187
|
*/
|
|
@@ -23,7 +23,7 @@ export interface CreateLoginProfileCommandOutput extends CreateLoginProfileRespo
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateLoginProfileCommand_base: {
|
|
25
25
|
new (input: CreateLoginProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLoginProfileCommandInput, CreateLoginProfileCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (...[input]: [] | [CreateLoginProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<CreateLoginProfileCommandInput, CreateLoginProfileCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -40,8 +40,8 @@ declare const CreateLoginProfileCommand_base: {
|
|
|
40
40
|
* // const { IAMClient, CreateLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
41
41
|
* const client = new IAMClient(config);
|
|
42
42
|
* const input = { // CreateLoginProfileRequest
|
|
43
|
-
* UserName: "STRING_VALUE",
|
|
44
|
-
* Password: "STRING_VALUE",
|
|
43
|
+
* UserName: "STRING_VALUE",
|
|
44
|
+
* Password: "STRING_VALUE",
|
|
45
45
|
* PasswordResetRequired: true || false,
|
|
46
46
|
* };
|
|
47
47
|
* const command = new CreateLoginProfileCommand(input);
|
|
@@ -39,7 +39,7 @@ declare const DeactivateMFADeviceCommand_base: {
|
|
|
39
39
|
* // const { IAMClient, DeactivateMFADeviceCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
40
40
|
* const client = new IAMClient(config);
|
|
41
41
|
* const input = { // DeactivateMFADeviceRequest
|
|
42
|
-
* UserName: "STRING_VALUE",
|
|
42
|
+
* UserName: "STRING_VALUE",
|
|
43
43
|
* SerialNumber: "STRING_VALUE", // required
|
|
44
44
|
* };
|
|
45
45
|
* const command = new DeactivateMFADeviceCommand(input);
|
|
@@ -23,7 +23,7 @@ export interface DeleteLoginProfileCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteLoginProfileCommand_base: {
|
|
25
25
|
new (input: DeleteLoginProfileCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLoginProfileCommandInput, DeleteLoginProfileCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (...[input]: [] | [DeleteLoginProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteLoginProfileCommandInput, DeleteLoginProfileCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -47,7 +47,7 @@ declare const DeleteLoginProfileCommand_base: {
|
|
|
47
47
|
* // const { IAMClient, DeleteLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
48
48
|
* const client = new IAMClient(config);
|
|
49
49
|
* const input = { // DeleteLoginProfileRequest
|
|
50
|
-
* UserName: "STRING_VALUE",
|
|
50
|
+
* UserName: "STRING_VALUE",
|
|
51
51
|
* };
|
|
52
52
|
* const command = new DeleteLoginProfileCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { DisableOrganizationsRootCredentialsManagementRequest, DisableOrganizationsRootCredentialsManagementResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableOrganizationsRootCredentialsManagementCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableOrganizationsRootCredentialsManagementCommandInput extends DisableOrganizationsRootCredentialsManagementRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableOrganizationsRootCredentialsManagementCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableOrganizationsRootCredentialsManagementCommandOutput extends DisableOrganizationsRootCredentialsManagementResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisableOrganizationsRootCredentialsManagementCommand_base: {
|
|
25
|
+
new (input: DisableOrganizationsRootCredentialsManagementCommandInput): import("@smithy/smithy-client").CommandImpl<DisableOrganizationsRootCredentialsManagementCommandInput, DisableOrganizationsRootCredentialsManagementCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DisableOrganizationsRootCredentialsManagementCommandInput]): import("@smithy/smithy-client").CommandImpl<DisableOrganizationsRootCredentialsManagementCommandInput, DisableOrganizationsRootCredentialsManagementCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disables the management of privileged root user credentials across member accounts in
|
|
31
|
+
* your organization. When you disable this feature, the management account and the
|
|
32
|
+
* delegated admininstrator for IAM can no longer manage root user credentials for member
|
|
33
|
+
* accounts in your organization.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { IAMClient, DisableOrganizationsRootCredentialsManagementCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
38
|
+
* // const { IAMClient, DisableOrganizationsRootCredentialsManagementCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
39
|
+
* const client = new IAMClient(config);
|
|
40
|
+
* const input = {};
|
|
41
|
+
* const command = new DisableOrganizationsRootCredentialsManagementCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DisableOrganizationsRootCredentialsManagementResponse
|
|
44
|
+
* // OrganizationId: "STRING_VALUE",
|
|
45
|
+
* // EnabledFeatures: [ // FeaturesListType
|
|
46
|
+
* // "RootCredentialsManagement" || "RootSessions",
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DisableOrganizationsRootCredentialsManagementCommandInput - {@link DisableOrganizationsRootCredentialsManagementCommandInput}
|
|
53
|
+
* @returns {@link DisableOrganizationsRootCredentialsManagementCommandOutput}
|
|
54
|
+
* @see {@link DisableOrganizationsRootCredentialsManagementCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DisableOrganizationsRootCredentialsManagementCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccountNotManagementOrDelegatedAdministratorException} (client fault)
|
|
59
|
+
* <p>The request was rejected because the account making the request is not the management
|
|
60
|
+
* account or delegated administrator account for <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">centralized root
|
|
61
|
+
* access</a>.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link OrganizationNotFoundException} (client fault)
|
|
64
|
+
* <p>The request was rejected because no organization is associated with your account.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
|
|
67
|
+
* <p>The request was rejected because your organization does not have All features enabled. For
|
|
68
|
+
* more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
|
|
69
|
+
* Guide</i>.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceAccessNotEnabledException} (client fault)
|
|
72
|
+
* <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link IAMServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class DisableOrganizationsRootCredentialsManagementCommand extends DisableOrganizationsRootCredentialsManagementCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: {};
|
|
84
|
+
output: DisableOrganizationsRootCredentialsManagementResponse;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: DisableOrganizationsRootCredentialsManagementCommandInput;
|
|
88
|
+
output: DisableOrganizationsRootCredentialsManagementCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { DisableOrganizationsRootSessionsRequest, DisableOrganizationsRootSessionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableOrganizationsRootSessionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableOrganizationsRootSessionsCommandInput extends DisableOrganizationsRootSessionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableOrganizationsRootSessionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableOrganizationsRootSessionsCommandOutput extends DisableOrganizationsRootSessionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DisableOrganizationsRootSessionsCommand_base: {
|
|
25
|
+
new (input: DisableOrganizationsRootSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<DisableOrganizationsRootSessionsCommandInput, DisableOrganizationsRootSessionsCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DisableOrganizationsRootSessionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DisableOrganizationsRootSessionsCommandInput, DisableOrganizationsRootSessionsCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Disables root user sessions for privileged tasks across member accounts in your
|
|
31
|
+
* organization. When you disable this feature, the management account and the delegated
|
|
32
|
+
* admininstrator for IAM can no longer perform privileged tasks on member accounts in
|
|
33
|
+
* your organization.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { IAMClient, DisableOrganizationsRootSessionsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
38
|
+
* // const { IAMClient, DisableOrganizationsRootSessionsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
39
|
+
* const client = new IAMClient(config);
|
|
40
|
+
* const input = {};
|
|
41
|
+
* const command = new DisableOrganizationsRootSessionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DisableOrganizationsRootSessionsResponse
|
|
44
|
+
* // OrganizationId: "STRING_VALUE",
|
|
45
|
+
* // EnabledFeatures: [ // FeaturesListType
|
|
46
|
+
* // "RootCredentialsManagement" || "RootSessions",
|
|
47
|
+
* // ],
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DisableOrganizationsRootSessionsCommandInput - {@link DisableOrganizationsRootSessionsCommandInput}
|
|
53
|
+
* @returns {@link DisableOrganizationsRootSessionsCommandOutput}
|
|
54
|
+
* @see {@link DisableOrganizationsRootSessionsCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DisableOrganizationsRootSessionsCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccountNotManagementOrDelegatedAdministratorException} (client fault)
|
|
59
|
+
* <p>The request was rejected because the account making the request is not the management
|
|
60
|
+
* account or delegated administrator account for <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">centralized root
|
|
61
|
+
* access</a>.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link OrganizationNotFoundException} (client fault)
|
|
64
|
+
* <p>The request was rejected because no organization is associated with your account.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
|
|
67
|
+
* <p>The request was rejected because your organization does not have All features enabled. For
|
|
68
|
+
* more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
|
|
69
|
+
* Guide</i>.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceAccessNotEnabledException} (client fault)
|
|
72
|
+
* <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link IAMServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class DisableOrganizationsRootSessionsCommand extends DisableOrganizationsRootSessionsCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: {};
|
|
84
|
+
output: DisableOrganizationsRootSessionsResponse;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: DisableOrganizationsRootSessionsCommandInput;
|
|
88
|
+
output: DisableOrganizationsRootSessionsCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { EnableOrganizationsRootCredentialsManagementRequest, EnableOrganizationsRootCredentialsManagementResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableOrganizationsRootCredentialsManagementCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableOrganizationsRootCredentialsManagementCommandInput extends EnableOrganizationsRootCredentialsManagementRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableOrganizationsRootCredentialsManagementCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableOrganizationsRootCredentialsManagementCommandOutput extends EnableOrganizationsRootCredentialsManagementResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EnableOrganizationsRootCredentialsManagementCommand_base: {
|
|
25
|
+
new (input: EnableOrganizationsRootCredentialsManagementCommandInput): import("@smithy/smithy-client").CommandImpl<EnableOrganizationsRootCredentialsManagementCommandInput, EnableOrganizationsRootCredentialsManagementCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [EnableOrganizationsRootCredentialsManagementCommandInput]): import("@smithy/smithy-client").CommandImpl<EnableOrganizationsRootCredentialsManagementCommandInput, EnableOrganizationsRootCredentialsManagementCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Enables the management of privileged root user credentials across member accounts in your
|
|
31
|
+
* organization. When you enable root credentials management for <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">centralized root access</a>, the management account and the delegated
|
|
32
|
+
* admininstrator for IAM can manage root user credentials for member accounts in your
|
|
33
|
+
* organization.</p>
|
|
34
|
+
* <p>Before you enable centralized root access, you must have an account configured with
|
|
35
|
+
* the following settings:</p>
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>You must manage your Amazon Web Services accounts in <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">Organizations</a>.</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>Enable trusted access for Identity and Access Management in Organizations. For details, see
|
|
42
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-ra.html">IAM and Organizations</a> in the <i>Organizations User
|
|
43
|
+
* Guide</i>.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* </ul>
|
|
46
|
+
* @example
|
|
47
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
+
* ```javascript
|
|
49
|
+
* import { IAMClient, EnableOrganizationsRootCredentialsManagementCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
50
|
+
* // const { IAMClient, EnableOrganizationsRootCredentialsManagementCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
51
|
+
* const client = new IAMClient(config);
|
|
52
|
+
* const input = {};
|
|
53
|
+
* const command = new EnableOrganizationsRootCredentialsManagementCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // EnableOrganizationsRootCredentialsManagementResponse
|
|
56
|
+
* // OrganizationId: "STRING_VALUE",
|
|
57
|
+
* // EnabledFeatures: [ // FeaturesListType
|
|
58
|
+
* // "RootCredentialsManagement" || "RootSessions",
|
|
59
|
+
* // ],
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param EnableOrganizationsRootCredentialsManagementCommandInput - {@link EnableOrganizationsRootCredentialsManagementCommandInput}
|
|
65
|
+
* @returns {@link EnableOrganizationsRootCredentialsManagementCommandOutput}
|
|
66
|
+
* @see {@link EnableOrganizationsRootCredentialsManagementCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link EnableOrganizationsRootCredentialsManagementCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccountNotManagementOrDelegatedAdministratorException} (client fault)
|
|
71
|
+
* <p>The request was rejected because the account making the request is not the management
|
|
72
|
+
* account or delegated administrator account for <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">centralized root
|
|
73
|
+
* access</a>.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CallerIsNotManagementAccountException} (client fault)
|
|
76
|
+
* <p>The request was rejected because the account making the request is not the management
|
|
77
|
+
* account for the organization.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OrganizationNotFoundException} (client fault)
|
|
80
|
+
* <p>The request was rejected because no organization is associated with your account.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
|
|
83
|
+
* <p>The request was rejected because your organization does not have All features enabled. For
|
|
84
|
+
* more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
|
|
85
|
+
* Guide</i>.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceAccessNotEnabledException} (client fault)
|
|
88
|
+
* <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link IAMServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class EnableOrganizationsRootCredentialsManagementCommand extends EnableOrganizationsRootCredentialsManagementCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: {};
|
|
100
|
+
output: EnableOrganizationsRootCredentialsManagementResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: EnableOrganizationsRootCredentialsManagementCommandInput;
|
|
104
|
+
output: EnableOrganizationsRootCredentialsManagementCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { EnableOrganizationsRootSessionsRequest, EnableOrganizationsRootSessionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link EnableOrganizationsRootSessionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface EnableOrganizationsRootSessionsCommandInput extends EnableOrganizationsRootSessionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link EnableOrganizationsRootSessionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface EnableOrganizationsRootSessionsCommandOutput extends EnableOrganizationsRootSessionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const EnableOrganizationsRootSessionsCommand_base: {
|
|
25
|
+
new (input: EnableOrganizationsRootSessionsCommandInput): import("@smithy/smithy-client").CommandImpl<EnableOrganizationsRootSessionsCommandInput, EnableOrganizationsRootSessionsCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [EnableOrganizationsRootSessionsCommandInput]): import("@smithy/smithy-client").CommandImpl<EnableOrganizationsRootSessionsCommandInput, EnableOrganizationsRootSessionsCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Allows the management account or delegated administrator to perform privileged tasks
|
|
31
|
+
* on member accounts in your organization. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">Centrally manage root access for member accounts</a> in the <i>Identity and Access Management
|
|
32
|
+
* User Guide</i>.</p>
|
|
33
|
+
* <p>Before you enable this feature, you must have an account configured with the following
|
|
34
|
+
* settings:</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>You must manage your Amazon Web Services accounts in <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html">Organizations</a>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>Enable trusted access for Identity and Access Management in Organizations. For details, see
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-ra.html">IAM and Organizations</a> in the <i>Organizations User
|
|
42
|
+
* Guide</i>.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* </ul>
|
|
45
|
+
* @example
|
|
46
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
+
* ```javascript
|
|
48
|
+
* import { IAMClient, EnableOrganizationsRootSessionsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
49
|
+
* // const { IAMClient, EnableOrganizationsRootSessionsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
50
|
+
* const client = new IAMClient(config);
|
|
51
|
+
* const input = {};
|
|
52
|
+
* const command = new EnableOrganizationsRootSessionsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // EnableOrganizationsRootSessionsResponse
|
|
55
|
+
* // OrganizationId: "STRING_VALUE",
|
|
56
|
+
* // EnabledFeatures: [ // FeaturesListType
|
|
57
|
+
* // "RootCredentialsManagement" || "RootSessions",
|
|
58
|
+
* // ],
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param EnableOrganizationsRootSessionsCommandInput - {@link EnableOrganizationsRootSessionsCommandInput}
|
|
64
|
+
* @returns {@link EnableOrganizationsRootSessionsCommandOutput}
|
|
65
|
+
* @see {@link EnableOrganizationsRootSessionsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link EnableOrganizationsRootSessionsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccountNotManagementOrDelegatedAdministratorException} (client fault)
|
|
70
|
+
* <p>The request was rejected because the account making the request is not the management
|
|
71
|
+
* account or delegated administrator account for <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html#id_root-user-access-management">centralized root
|
|
72
|
+
* access</a>.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link CallerIsNotManagementAccountException} (client fault)
|
|
75
|
+
* <p>The request was rejected because the account making the request is not the management
|
|
76
|
+
* account for the organization.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link OrganizationNotFoundException} (client fault)
|
|
79
|
+
* <p>The request was rejected because no organization is associated with your account.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
|
|
82
|
+
* <p>The request was rejected because your organization does not have All features enabled. For
|
|
83
|
+
* more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set">Available feature sets</a> in the <i>Organizations User
|
|
84
|
+
* Guide</i>.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceAccessNotEnabledException} (client fault)
|
|
87
|
+
* <p>The request was rejected because trusted access is not enabled for IAM in Organizations. For details, see IAM and Organizations in the <i>Organizations User Guide</i>.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link IAMServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class EnableOrganizationsRootSessionsCommand extends EnableOrganizationsRootSessionsCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: {};
|
|
99
|
+
output: EnableOrganizationsRootSessionsResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: EnableOrganizationsRootSessionsCommandInput;
|
|
103
|
+
output: EnableOrganizationsRootSessionsCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface GetLoginProfileCommandOutput extends GetLoginProfileResponse, _
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetLoginProfileCommand_base: {
|
|
25
25
|
new (input: GetLoginProfileCommandInput): import("@smithy/smithy-client").CommandImpl<GetLoginProfileCommandInput, GetLoginProfileCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (...[input]: [] | [GetLoginProfileCommandInput]): import("@smithy/smithy-client").CommandImpl<GetLoginProfileCommandInput, GetLoginProfileCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -44,7 +44,7 @@ declare const GetLoginProfileCommand_base: {
|
|
|
44
44
|
* // const { IAMClient, GetLoginProfileCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
45
45
|
* const client = new IAMClient(config);
|
|
46
46
|
* const input = { // GetLoginProfileRequest
|
|
47
|
-
* UserName: "STRING_VALUE",
|
|
47
|
+
* UserName: "STRING_VALUE",
|
|
48
48
|
* };
|
|
49
49
|
* const command = new GetLoginProfileCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
@@ -28,9 +28,9 @@ declare const ListAccountAliasesCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only
|
|
31
|
-
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/
|
|
32
|
-
* deleting, and listing an Amazon Web Services account alias</a> in the
|
|
33
|
-
*
|
|
31
|
+
* one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html">Creating,
|
|
32
|
+
* deleting, and listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In
|
|
33
|
+
* User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|