import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AddClientIDToOpenIDConnectProviderCommand , AddClientIDToOpenIDConnectProviderCommandInput , AddClientIDToOpenIDConnectProviderCommandOutput , } from "./commands/AddClientIDToOpenIDConnectProviderCommand" ; import { AddRoleToInstanceProfileCommand , AddRoleToInstanceProfileCommandInput , AddRoleToInstanceProfileCommandOutput , } from "./commands/AddRoleToInstanceProfileCommand" ; import { AddUserToGroupCommand , AddUserToGroupCommandInput , AddUserToGroupCommandOutput , } from "./commands/AddUserToGroupCommand" ; import { AttachGroupPolicyCommand , AttachGroupPolicyCommandInput , AttachGroupPolicyCommandOutput , } from "./commands/AttachGroupPolicyCommand" ; import { AttachRolePolicyCommand , AttachRolePolicyCommandInput , AttachRolePolicyCommandOutput , } from "./commands/AttachRolePolicyCommand" ; import { AttachUserPolicyCommand , AttachUserPolicyCommandInput , AttachUserPolicyCommandOutput , } from "./commands/AttachUserPolicyCommand" ; import { ChangePasswordCommand , ChangePasswordCommandInput , ChangePasswordCommandOutput , } from "./commands/ChangePasswordCommand" ; import { CreateAccessKeyCommand , CreateAccessKeyCommandInput , CreateAccessKeyCommandOutput , } from "./commands/CreateAccessKeyCommand" ; import { CreateAccountAliasCommand , CreateAccountAliasCommandInput , CreateAccountAliasCommandOutput , } from "./commands/CreateAccountAliasCommand" ; import { CreateGroupCommand , CreateGroupCommandInput , CreateGroupCommandOutput } from "./commands/CreateGroupCommand" ; import { CreateInstanceProfileCommand , CreateInstanceProfileCommandInput , CreateInstanceProfileCommandOutput , } from "./commands/CreateInstanceProfileCommand" ; import { CreateLoginProfileCommand , CreateLoginProfileCommandInput , CreateLoginProfileCommandOutput , } from "./commands/CreateLoginProfileCommand" ; import { CreateOpenIDConnectProviderCommand , CreateOpenIDConnectProviderCommandInput , CreateOpenIDConnectProviderCommandOutput , } from "./commands/CreateOpenIDConnectProviderCommand" ; import { CreatePolicyCommand , CreatePolicyCommandInput , CreatePolicyCommandOutput , } from "./commands/CreatePolicyCommand" ; import { CreatePolicyVersionCommand , CreatePolicyVersionCommandInput , CreatePolicyVersionCommandOutput , } from "./commands/CreatePolicyVersionCommand" ; import { CreateRoleCommand , CreateRoleCommandInput , CreateRoleCommandOutput } from "./commands/CreateRoleCommand" ; import { CreateSAMLProviderCommand , CreateSAMLProviderCommandInput , CreateSAMLProviderCommandOutput , } from "./commands/CreateSAMLProviderCommand" ; import { CreateServiceLinkedRoleCommand , CreateServiceLinkedRoleCommandInput , CreateServiceLinkedRoleCommandOutput , } from "./commands/CreateServiceLinkedRoleCommand" ; import { CreateServiceSpecificCredentialCommand , CreateServiceSpecificCredentialCommandInput , CreateServiceSpecificCredentialCommandOutput , } from "./commands/CreateServiceSpecificCredentialCommand" ; import { CreateUserCommand , CreateUserCommandInput , CreateUserCommandOutput } from "./commands/CreateUserCommand" ; import { CreateVirtualMFADeviceCommand , CreateVirtualMFADeviceCommandInput , CreateVirtualMFADeviceCommandOutput , } from "./commands/CreateVirtualMFADeviceCommand" ; import { DeactivateMFADeviceCommand , DeactivateMFADeviceCommandInput , DeactivateMFADeviceCommandOutput , } from "./commands/DeactivateMFADeviceCommand" ; import { DeleteAccessKeyCommand , DeleteAccessKeyCommandInput , DeleteAccessKeyCommandOutput , } from "./commands/DeleteAccessKeyCommand" ; import { DeleteAccountAliasCommand , DeleteAccountAliasCommandInput , DeleteAccountAliasCommandOutput , } from "./commands/DeleteAccountAliasCommand" ; import { DeleteAccountPasswordPolicyCommand , DeleteAccountPasswordPolicyCommandInput , DeleteAccountPasswordPolicyCommandOutput , } from "./commands/DeleteAccountPasswordPolicyCommand" ; import { DeleteGroupCommand , DeleteGroupCommandInput , DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand" ; import { DeleteGroupPolicyCommand , DeleteGroupPolicyCommandInput , DeleteGroupPolicyCommandOutput , } from "./commands/DeleteGroupPolicyCommand" ; import { DeleteInstanceProfileCommand , DeleteInstanceProfileCommandInput , DeleteInstanceProfileCommandOutput , } from "./commands/DeleteInstanceProfileCommand" ; import { DeleteLoginProfileCommand , DeleteLoginProfileCommandInput , DeleteLoginProfileCommandOutput , } from "./commands/DeleteLoginProfileCommand" ; import { DeleteOpenIDConnectProviderCommand , DeleteOpenIDConnectProviderCommandInput , DeleteOpenIDConnectProviderCommandOutput , } from "./commands/DeleteOpenIDConnectProviderCommand" ; import { DeletePolicyCommand , DeletePolicyCommandInput , DeletePolicyCommandOutput , } from "./commands/DeletePolicyCommand" ; import { DeletePolicyVersionCommand , DeletePolicyVersionCommandInput , DeletePolicyVersionCommandOutput , } from "./commands/DeletePolicyVersionCommand" ; import { DeleteRoleCommand , DeleteRoleCommandInput , DeleteRoleCommandOutput } from "./commands/DeleteRoleCommand" ; import { DeleteRolePermissionsBoundaryCommand , DeleteRolePermissionsBoundaryCommandInput , DeleteRolePermissionsBoundaryCommandOutput , } from "./commands/DeleteRolePermissionsBoundaryCommand" ; import { DeleteRolePolicyCommand , DeleteRolePolicyCommandInput , DeleteRolePolicyCommandOutput , } from "./commands/DeleteRolePolicyCommand" ; import { DeleteSAMLProviderCommand , DeleteSAMLProviderCommandInput , DeleteSAMLProviderCommandOutput , } from "./commands/DeleteSAMLProviderCommand" ; import { DeleteServerCertificateCommand , DeleteServerCertificateCommandInput , DeleteServerCertificateCommandOutput , } from "./commands/DeleteServerCertificateCommand" ; import { DeleteServiceLinkedRoleCommand , DeleteServiceLinkedRoleCommandInput , DeleteServiceLinkedRoleCommandOutput , } from "./commands/DeleteServiceLinkedRoleCommand" ; import { DeleteServiceSpecificCredentialCommand , DeleteServiceSpecificCredentialCommandInput , DeleteServiceSpecificCredentialCommandOutput , } from "./commands/DeleteServiceSpecificCredentialCommand" ; import { DeleteSigningCertificateCommand , DeleteSigningCertificateCommandInput , DeleteSigningCertificateCommandOutput , } from "./commands/DeleteSigningCertificateCommand" ; import { DeleteSSHPublicKeyCommand , DeleteSSHPublicKeyCommandInput , DeleteSSHPublicKeyCommandOutput , } from "./commands/DeleteSSHPublicKeyCommand" ; import { DeleteUserCommand , DeleteUserCommandInput , DeleteUserCommandOutput } from "./commands/DeleteUserCommand" ; import { DeleteUserPermissionsBoundaryCommand , DeleteUserPermissionsBoundaryCommandInput , DeleteUserPermissionsBoundaryCommandOutput , } from "./commands/DeleteUserPermissionsBoundaryCommand" ; import { DeleteUserPolicyCommand , DeleteUserPolicyCommandInput , DeleteUserPolicyCommandOutput , } from "./commands/DeleteUserPolicyCommand" ; import { DeleteVirtualMFADeviceCommand , DeleteVirtualMFADeviceCommandInput , DeleteVirtualMFADeviceCommandOutput , } from "./commands/DeleteVirtualMFADeviceCommand" ; import { DetachGroupPolicyCommand , DetachGroupPolicyCommandInput , DetachGroupPolicyCommandOutput , } from "./commands/DetachGroupPolicyCommand" ; import { DetachRolePolicyCommand , DetachRolePolicyCommandInput , DetachRolePolicyCommandOutput , } from "./commands/DetachRolePolicyCommand" ; import { DetachUserPolicyCommand , DetachUserPolicyCommandInput , DetachUserPolicyCommandOutput , } from "./commands/DetachUserPolicyCommand" ; import { EnableMFADeviceCommand , EnableMFADeviceCommandInput , EnableMFADeviceCommandOutput , } from "./commands/EnableMFADeviceCommand" ; import { GenerateCredentialReportCommand , GenerateCredentialReportCommandInput , GenerateCredentialReportCommandOutput , } from "./commands/GenerateCredentialReportCommand" ; import { GenerateOrganizationsAccessReportCommand , GenerateOrganizationsAccessReportCommandInput , GenerateOrganizationsAccessReportCommandOutput , } from "./commands/GenerateOrganizationsAccessReportCommand" ; import { GenerateServiceLastAccessedDetailsCommand , GenerateServiceLastAccessedDetailsCommandInput , GenerateServiceLastAccessedDetailsCommandOutput , } from "./commands/GenerateServiceLastAccessedDetailsCommand" ; import { GetAccessKeyLastUsedCommand , GetAccessKeyLastUsedCommandInput , GetAccessKeyLastUsedCommandOutput , } from "./commands/GetAccessKeyLastUsedCommand" ; import { GetAccountAuthorizationDetailsCommand , GetAccountAuthorizationDetailsCommandInput , GetAccountAuthorizationDetailsCommandOutput , } from "./commands/GetAccountAuthorizationDetailsCommand" ; import { GetAccountPasswordPolicyCommand , GetAccountPasswordPolicyCommandInput , GetAccountPasswordPolicyCommandOutput , } from "./commands/GetAccountPasswordPolicyCommand" ; import { GetAccountSummaryCommand , GetAccountSummaryCommandInput , GetAccountSummaryCommandOutput , } from "./commands/GetAccountSummaryCommand" ; import { GetContextKeysForCustomPolicyCommand , GetContextKeysForCustomPolicyCommandInput , GetContextKeysForCustomPolicyCommandOutput , } from "./commands/GetContextKeysForCustomPolicyCommand" ; import { GetContextKeysForPrincipalPolicyCommand , GetContextKeysForPrincipalPolicyCommandInput , GetContextKeysForPrincipalPolicyCommandOutput , } from "./commands/GetContextKeysForPrincipalPolicyCommand" ; import { GetCredentialReportCommand , GetCredentialReportCommandInput , GetCredentialReportCommandOutput , } from "./commands/GetCredentialReportCommand" ; import { GetGroupCommand , GetGroupCommandInput , GetGroupCommandOutput } from "./commands/GetGroupCommand" ; import { GetGroupPolicyCommand , GetGroupPolicyCommandInput , GetGroupPolicyCommandOutput , } from "./commands/GetGroupPolicyCommand" ; import { GetInstanceProfileCommand , GetInstanceProfileCommandInput , GetInstanceProfileCommandOutput , } from "./commands/GetInstanceProfileCommand" ; import { GetLoginProfileCommand , GetLoginProfileCommandInput , GetLoginProfileCommandOutput , } from "./commands/GetLoginProfileCommand" ; import { GetOpenIDConnectProviderCommand , GetOpenIDConnectProviderCommandInput , GetOpenIDConnectProviderCommandOutput , } from "./commands/GetOpenIDConnectProviderCommand" ; import { GetOrganizationsAccessReportCommand , GetOrganizationsAccessReportCommandInput , GetOrganizationsAccessReportCommandOutput , } from "./commands/GetOrganizationsAccessReportCommand" ; import { GetPolicyCommand , GetPolicyCommandInput , GetPolicyCommandOutput } from "./commands/GetPolicyCommand" ; import { GetPolicyVersionCommand , GetPolicyVersionCommandInput , GetPolicyVersionCommandOutput , } from "./commands/GetPolicyVersionCommand" ; import { GetRoleCommand , GetRoleCommandInput , GetRoleCommandOutput } from "./commands/GetRoleCommand" ; import { GetRolePolicyCommand , GetRolePolicyCommandInput , GetRolePolicyCommandOutput , } from "./commands/GetRolePolicyCommand" ; import { GetSAMLProviderCommand , GetSAMLProviderCommandInput , GetSAMLProviderCommandOutput , } from "./commands/GetSAMLProviderCommand" ; import { GetServerCertificateCommand , GetServerCertificateCommandInput , GetServerCertificateCommandOutput , } from "./commands/GetServerCertificateCommand" ; import { GetServiceLastAccessedDetailsCommand , GetServiceLastAccessedDetailsCommandInput , GetServiceLastAccessedDetailsCommandOutput , } from "./commands/GetServiceLastAccessedDetailsCommand" ; import { GetServiceLastAccessedDetailsWithEntitiesCommand , GetServiceLastAccessedDetailsWithEntitiesCommandInput , GetServiceLastAccessedDetailsWithEntitiesCommandOutput , } from "./commands/GetServiceLastAccessedDetailsWithEntitiesCommand" ; import { GetServiceLinkedRoleDeletionStatusCommand , GetServiceLinkedRoleDeletionStatusCommandInput , GetServiceLinkedRoleDeletionStatusCommandOutput , } from "./commands/GetServiceLinkedRoleDeletionStatusCommand" ; import { GetSSHPublicKeyCommand , GetSSHPublicKeyCommandInput , GetSSHPublicKeyCommandOutput , } from "./commands/GetSSHPublicKeyCommand" ; import { GetUserCommand , GetUserCommandInput , GetUserCommandOutput } from "./commands/GetUserCommand" ; import { GetUserPolicyCommand , GetUserPolicyCommandInput , GetUserPolicyCommandOutput , } from "./commands/GetUserPolicyCommand" ; import { ListAccessKeysCommand , ListAccessKeysCommandInput , ListAccessKeysCommandOutput , } from "./commands/ListAccessKeysCommand" ; import { ListAccountAliasesCommand , ListAccountAliasesCommandInput , ListAccountAliasesCommandOutput , } from "./commands/ListAccountAliasesCommand" ; import { ListAttachedGroupPoliciesCommand , ListAttachedGroupPoliciesCommandInput , ListAttachedGroupPoliciesCommandOutput , } from "./commands/ListAttachedGroupPoliciesCommand" ; import { ListAttachedRolePoliciesCommand , ListAttachedRolePoliciesCommandInput , ListAttachedRolePoliciesCommandOutput , } from "./commands/ListAttachedRolePoliciesCommand" ; import { ListAttachedUserPoliciesCommand , ListAttachedUserPoliciesCommandInput , ListAttachedUserPoliciesCommandOutput , } from "./commands/ListAttachedUserPoliciesCommand" ; import { ListEntitiesForPolicyCommand , ListEntitiesForPolicyCommandInput , ListEntitiesForPolicyCommandOutput , } from "./commands/ListEntitiesForPolicyCommand" ; import { ListGroupPoliciesCommand , ListGroupPoliciesCommandInput , ListGroupPoliciesCommandOutput , } from "./commands/ListGroupPoliciesCommand" ; import { ListGroupsCommand , ListGroupsCommandInput , ListGroupsCommandOutput } from "./commands/ListGroupsCommand" ; import { ListGroupsForUserCommand , ListGroupsForUserCommandInput , ListGroupsForUserCommandOutput , } from "./commands/ListGroupsForUserCommand" ; import { ListInstanceProfilesCommand , ListInstanceProfilesCommandInput , ListInstanceProfilesCommandOutput , } from "./commands/ListInstanceProfilesCommand" ; import { ListInstanceProfilesForRoleCommand , ListInstanceProfilesForRoleCommandInput , ListInstanceProfilesForRoleCommandOutput , } from "./commands/ListInstanceProfilesForRoleCommand" ; import { ListInstanceProfileTagsCommand , ListInstanceProfileTagsCommandInput , ListInstanceProfileTagsCommandOutput , } from "./commands/ListInstanceProfileTagsCommand" ; import { ListMFADevicesCommand , ListMFADevicesCommandInput , ListMFADevicesCommandOutput , } from "./commands/ListMFADevicesCommand" ; import { ListMFADeviceTagsCommand , ListMFADeviceTagsCommandInput , ListMFADeviceTagsCommandOutput , } from "./commands/ListMFADeviceTagsCommand" ; import { ListOpenIDConnectProvidersCommand , ListOpenIDConnectProvidersCommandInput , ListOpenIDConnectProvidersCommandOutput , } from "./commands/ListOpenIDConnectProvidersCommand" ; import { ListOpenIDConnectProviderTagsCommand , ListOpenIDConnectProviderTagsCommandInput , ListOpenIDConnectProviderTagsCommandOutput , } from "./commands/ListOpenIDConnectProviderTagsCommand" ; import { ListPoliciesCommand , ListPoliciesCommandInput , ListPoliciesCommandOutput , } from "./commands/ListPoliciesCommand" ; import { ListPoliciesGrantingServiceAccessCommand , ListPoliciesGrantingServiceAccessCommandInput , ListPoliciesGrantingServiceAccessCommandOutput , } from "./commands/ListPoliciesGrantingServiceAccessCommand" ; import { ListPolicyTagsCommand , ListPolicyTagsCommandInput , ListPolicyTagsCommandOutput , } from "./commands/ListPolicyTagsCommand" ; import { ListPolicyVersionsCommand , ListPolicyVersionsCommandInput , ListPolicyVersionsCommandOutput , } from "./commands/ListPolicyVersionsCommand" ; import { ListRolePoliciesCommand , ListRolePoliciesCommandInput , ListRolePoliciesCommandOutput , } from "./commands/ListRolePoliciesCommand" ; import { ListRolesCommand , ListRolesCommandInput , ListRolesCommandOutput } from "./commands/ListRolesCommand" ; import { ListRoleTagsCommand , ListRoleTagsCommandInput , ListRoleTagsCommandOutput , } from "./commands/ListRoleTagsCommand" ; import { ListSAMLProvidersCommand , ListSAMLProvidersCommandInput , ListSAMLProvidersCommandOutput , } from "./commands/ListSAMLProvidersCommand" ; import { ListSAMLProviderTagsCommand , ListSAMLProviderTagsCommandInput , ListSAMLProviderTagsCommandOutput , } from "./commands/ListSAMLProviderTagsCommand" ; import { ListServerCertificatesCommand , ListServerCertificatesCommandInput , ListServerCertificatesCommandOutput , } from "./commands/ListServerCertificatesCommand" ; import { ListServerCertificateTagsCommand , ListServerCertificateTagsCommandInput , ListServerCertificateTagsCommandOutput , } from "./commands/ListServerCertificateTagsCommand" ; import { ListServiceSpecificCredentialsCommand , ListServiceSpecificCredentialsCommandInput , ListServiceSpecificCredentialsCommandOutput , } from "./commands/ListServiceSpecificCredentialsCommand" ; import { ListSigningCertificatesCommand , ListSigningCertificatesCommandInput , ListSigningCertificatesCommandOutput , } from "./commands/ListSigningCertificatesCommand" ; import { ListSSHPublicKeysCommand , ListSSHPublicKeysCommandInput , ListSSHPublicKeysCommandOutput , } from "./commands/ListSSHPublicKeysCommand" ; import { ListUserPoliciesCommand , ListUserPoliciesCommandInput , ListUserPoliciesCommandOutput , } from "./commands/ListUserPoliciesCommand" ; import { ListUsersCommand , ListUsersCommandInput , ListUsersCommandOutput } from "./commands/ListUsersCommand" ; import { ListUserTagsCommand , ListUserTagsCommandInput , ListUserTagsCommandOutput , } from "./commands/ListUserTagsCommand" ; import { ListVirtualMFADevicesCommand , ListVirtualMFADevicesCommandInput , ListVirtualMFADevicesCommandOutput , } from "./commands/ListVirtualMFADevicesCommand" ; import { PutGroupPolicyCommand , PutGroupPolicyCommandInput , PutGroupPolicyCommandOutput , } from "./commands/PutGroupPolicyCommand" ; import { PutRolePermissionsBoundaryCommand , PutRolePermissionsBoundaryCommandInput , PutRolePermissionsBoundaryCommandOutput , } from "./commands/PutRolePermissionsBoundaryCommand" ; import { PutRolePolicyCommand , PutRolePolicyCommandInput , PutRolePolicyCommandOutput , } from "./commands/PutRolePolicyCommand" ; import { PutUserPermissionsBoundaryCommand , PutUserPermissionsBoundaryCommandInput , PutUserPermissionsBoundaryCommandOutput , } from "./commands/PutUserPermissionsBoundaryCommand" ; import { PutUserPolicyCommand , PutUserPolicyCommandInput , PutUserPolicyCommandOutput , } from "./commands/PutUserPolicyCommand" ; import { RemoveClientIDFromOpenIDConnectProviderCommand , RemoveClientIDFromOpenIDConnectProviderCommandInput , RemoveClientIDFromOpenIDConnectProviderCommandOutput , } from "./commands/RemoveClientIDFromOpenIDConnectProviderCommand" ; import { RemoveRoleFromInstanceProfileCommand , RemoveRoleFromInstanceProfileCommandInput , RemoveRoleFromInstanceProfileCommandOutput , } from "./commands/RemoveRoleFromInstanceProfileCommand" ; import { RemoveUserFromGroupCommand , RemoveUserFromGroupCommandInput , RemoveUserFromGroupCommandOutput , } from "./commands/RemoveUserFromGroupCommand" ; import { ResetServiceSpecificCredentialCommand , ResetServiceSpecificCredentialCommandInput , ResetServiceSpecificCredentialCommandOutput , } from "./commands/ResetServiceSpecificCredentialCommand" ; import { ResyncMFADeviceCommand , ResyncMFADeviceCommandInput , ResyncMFADeviceCommandOutput , } from "./commands/ResyncMFADeviceCommand" ; import { SetDefaultPolicyVersionCommand , SetDefaultPolicyVersionCommandInput , SetDefaultPolicyVersionCommandOutput , } from "./commands/SetDefaultPolicyVersionCommand" ; import { SetSecurityTokenServicePreferencesCommand , SetSecurityTokenServicePreferencesCommandInput , SetSecurityTokenServicePreferencesCommandOutput , } from "./commands/SetSecurityTokenServicePreferencesCommand" ; import { SimulateCustomPolicyCommand , SimulateCustomPolicyCommandInput , SimulateCustomPolicyCommandOutput , } from "./commands/SimulateCustomPolicyCommand" ; import { SimulatePrincipalPolicyCommand , SimulatePrincipalPolicyCommandInput , SimulatePrincipalPolicyCommandOutput , } from "./commands/SimulatePrincipalPolicyCommand" ; import { TagInstanceProfileCommand , TagInstanceProfileCommandInput , TagInstanceProfileCommandOutput , } from "./commands/TagInstanceProfileCommand" ; import { TagMFADeviceCommand , TagMFADeviceCommandInput , TagMFADeviceCommandOutput , } from "./commands/TagMFADeviceCommand" ; import { TagOpenIDConnectProviderCommand , TagOpenIDConnectProviderCommandInput , TagOpenIDConnectProviderCommandOutput , } from "./commands/TagOpenIDConnectProviderCommand" ; import { TagPolicyCommand , TagPolicyCommandInput , TagPolicyCommandOutput } from "./commands/TagPolicyCommand" ; import { TagRoleCommand , TagRoleCommandInput , TagRoleCommandOutput } from "./commands/TagRoleCommand" ; import { TagSAMLProviderCommand , TagSAMLProviderCommandInput , TagSAMLProviderCommandOutput , } from "./commands/TagSAMLProviderCommand" ; import { TagServerCertificateCommand , TagServerCertificateCommandInput , TagServerCertificateCommandOutput , } from "./commands/TagServerCertificateCommand" ; import { TagUserCommand , TagUserCommandInput , TagUserCommandOutput } from "./commands/TagUserCommand" ; import { UntagInstanceProfileCommand , UntagInstanceProfileCommandInput , UntagInstanceProfileCommandOutput , } from "./commands/UntagInstanceProfileCommand" ; import { UntagMFADeviceCommand , UntagMFADeviceCommandInput , UntagMFADeviceCommandOutput , } from "./commands/UntagMFADeviceCommand" ; import { UntagOpenIDConnectProviderCommand , UntagOpenIDConnectProviderCommandInput , UntagOpenIDConnectProviderCommandOutput , } from "./commands/UntagOpenIDConnectProviderCommand" ; import { UntagPolicyCommand , UntagPolicyCommandInput , UntagPolicyCommandOutput } from "./commands/UntagPolicyCommand" ; import { UntagRoleCommand , UntagRoleCommandInput , UntagRoleCommandOutput } from "./commands/UntagRoleCommand" ; import { UntagSAMLProviderCommand , UntagSAMLProviderCommandInput , UntagSAMLProviderCommandOutput , } from "./commands/UntagSAMLProviderCommand" ; import { UntagServerCertificateCommand , UntagServerCertificateCommandInput , UntagServerCertificateCommandOutput , } from "./commands/UntagServerCertificateCommand" ; import { UntagUserCommand , UntagUserCommandInput , UntagUserCommandOutput } from "./commands/UntagUserCommand" ; import { UpdateAccessKeyCommand , UpdateAccessKeyCommandInput , UpdateAccessKeyCommandOutput , } from "./commands/UpdateAccessKeyCommand" ; import { UpdateAccountPasswordPolicyCommand , UpdateAccountPasswordPolicyCommandInput , UpdateAccountPasswordPolicyCommandOutput , } from "./commands/UpdateAccountPasswordPolicyCommand" ; import { UpdateAssumeRolePolicyCommand , UpdateAssumeRolePolicyCommandInput , UpdateAssumeRolePolicyCommandOutput , } from "./commands/UpdateAssumeRolePolicyCommand" ; import { UpdateGroupCommand , UpdateGroupCommandInput , UpdateGroupCommandOutput } from "./commands/UpdateGroupCommand" ; import { UpdateLoginProfileCommand , UpdateLoginProfileCommandInput , UpdateLoginProfileCommandOutput , } from "./commands/UpdateLoginProfileCommand" ; import { UpdateOpenIDConnectProviderThumbprintCommand , UpdateOpenIDConnectProviderThumbprintCommandInput , UpdateOpenIDConnectProviderThumbprintCommandOutput , } from "./commands/UpdateOpenIDConnectProviderThumbprintCommand" ; import { UpdateRoleCommand , UpdateRoleCommandInput , UpdateRoleCommandOutput } from "./commands/UpdateRoleCommand" ; import { UpdateRoleDescriptionCommand , UpdateRoleDescriptionCommandInput , UpdateRoleDescriptionCommandOutput , } from "./commands/UpdateRoleDescriptionCommand" ; import { UpdateSAMLProviderCommand , UpdateSAMLProviderCommandInput , UpdateSAMLProviderCommandOutput , } from "./commands/UpdateSAMLProviderCommand" ; import { UpdateServerCertificateCommand , UpdateServerCertificateCommandInput , UpdateServerCertificateCommandOutput , } from "./commands/UpdateServerCertificateCommand" ; import { UpdateServiceSpecificCredentialCommand , UpdateServiceSpecificCredentialCommandInput , UpdateServiceSpecificCredentialCommandOutput , } from "./commands/UpdateServiceSpecificCredentialCommand" ; import { UpdateSigningCertificateCommand , UpdateSigningCertificateCommandInput , UpdateSigningCertificateCommandOutput , } from "./commands/UpdateSigningCertificateCommand" ; import { UpdateSSHPublicKeyCommand , UpdateSSHPublicKeyCommandInput , UpdateSSHPublicKeyCommandOutput , } from "./commands/UpdateSSHPublicKeyCommand" ; import { UpdateUserCommand , UpdateUserCommandInput , UpdateUserCommandOutput } from "./commands/UpdateUserCommand" ; import { UploadServerCertificateCommand , UploadServerCertificateCommandInput , UploadServerCertificateCommandOutput , } from "./commands/UploadServerCertificateCommand" ; import { UploadSigningCertificateCommand , UploadSigningCertificateCommandInput , UploadSigningCertificateCommandOutput , } from "./commands/UploadSigningCertificateCommand" ; import { UploadSSHPublicKeyCommand , UploadSSHPublicKeyCommandInput , UploadSSHPublicKeyCommandOutput , } from "./commands/UploadSSHPublicKeyCommand" ; import { IAMClient } from "./IAMClient" ; /**
 * <fullname>Identity and Access Management</fullname>
 *          <p>Identity and Access Management (IAM) is a web service for securely controlling
 *       access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials
 *       such as access keys, and permissions that control which Amazon Web Services resources users and
 *       applications can access. For more information about IAM, see <a href="http://aws.amazon.com/iam/">Identity and Access Management (IAM)</a> and the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/">Identity and Access Management User Guide</a>.</p>
 */ export class IAM extends IAMClient { /**
     * <p>Adds a new client ID (also known as audience) to the list of client IDs already
     *             registered for the specified IAM OpenID Connect (OIDC) provider resource.</p>
     *         <p>This operation is idempotent; it does not fail or return an error if you add an
     *             existing client ID to the provider.</p>
     */ public addClientIDToOpenIDConnectProvider ( args , options ? ) ; public addClientIDToOpenIDConnectProvider ( args , cb ) ; public addClientIDToOpenIDConnectProvider ( args , options , cb ) ; public addClientIDToOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new AddClientIDToOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds the specified IAM role to the specified instance profile. An instance profile
     *             can contain only one role, and this quota cannot be increased. You can remove the
     *             existing role and then add a different role to an instance profile. You must then wait
     *             for the change to appear across all of Amazon Web Services because of <a href="https://en.wikipedia.org/wiki/Eventual_consistency">eventual
     *                 consistency</a>. To force the change, you must <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateIamInstanceProfile.html">disassociate the instance profile</a> and then <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateIamInstanceProfile.html">associate the
     *                 instance profile</a>, or you can stop your instance and then restart it.</p>
     *         <note>
     *             <p>The caller of this operation must be granted the <code>PassRole</code> permission
     *                 on the IAM role by a permissions policy.</p>
     *         </note>
     *         <p>For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>. For more
     *             information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
     *             profiles</a>.</p>
     */ public addRoleToInstanceProfile ( args , options ? ) ; public addRoleToInstanceProfile ( args , cb ) ; public addRoleToInstanceProfile ( args , options , cb ) ; public addRoleToInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new AddRoleToInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds the specified user to the specified group.</p>
     */ public addUserToGroup ( args , options ? ) ; public addUserToGroup ( args , cb ) ; public addUserToGroup ( args , options , cb ) ; public addUserToGroup ( args , optionsOrCb ? , cb ? ) { const command = new AddUserToGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches the specified managed policy to the specified IAM group.</p>
     *         <p>You use this operation to attach a managed policy to a group. To embed an inline
     *             policy in a group, use <a>PutGroupPolicy</a>.</p>
     *         <p>As a best practice, you can validate your IAM policies.
     *      To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
     *             in the <i>IAM User Guide</i>.</p>
     *         <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public attachGroupPolicy ( args , options ? ) ; public attachGroupPolicy ( args , cb ) ; public attachGroupPolicy ( args , options , cb ) ; public attachGroupPolicy ( args , optionsOrCb ? , cb ? ) { const command = new AttachGroupPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches the specified managed policy to the specified IAM role. When you attach a
     *             managed policy to a role, the managed policy becomes part of the role's permission
     *             (access) policy.</p>
     *         <note>
     *             <p>You cannot use a managed policy as the role's trust policy. The role's trust
     *                 policy is created at the same time as the role, using <a>CreateRole</a>.
     *                 You can update a role's trust policy using <a>UpdateAssumeRolePolicy</a>.</p>
     *         </note>
     *         <p>Use this operation to attach a <i>managed</i> policy to a role. To embed
     *             an inline policy in a role, use <a>PutRolePolicy</a>. For more information
     *             about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>As a best practice, you can validate your IAM policies.
     *      To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
     *             in the <i>IAM User Guide</i>.</p>
     */ public attachRolePolicy ( args , options ? ) ; public attachRolePolicy ( args , cb ) ; public attachRolePolicy ( args , options , cb ) ; public attachRolePolicy ( args , optionsOrCb ? , cb ? ) { const command = new AttachRolePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Attaches the specified managed policy to the specified user.</p>
     *         <p>You use this operation to attach a <i>managed</i> policy to a user. To
     *             embed an inline policy in a user, use <a>PutUserPolicy</a>.</p>
     *         <p>As a best practice, you can validate your IAM policies.
     *      To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
     *             in the <i>IAM User Guide</i>.</p>
     *         <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public attachUserPolicy ( args , options ? ) ; public attachUserPolicy ( args , cb ) ; public attachUserPolicy ( args , options , cb ) ; public attachUserPolicy ( args , optionsOrCb ? , cb ? ) { const command = new AttachUserPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the password of the IAM user who is calling this operation. This operation
     *
     *             can be performed using the CLI, the Amazon Web Services API, or the <b>My
     *                 Security Credentials</b> page in the Amazon Web Services Management Console. The Amazon Web Services account root user
     *             password is not affected by this operation.</p>
     *         <p>Use <a>UpdateLoginProfile</a> to use the CLI, the Amazon Web Services API, or the
     *                 <b>Users</b> page in the IAM console to change the
     *            password for any IAM user. For more information about modifying passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing
     *                 passwords</a> in the <i>IAM User Guide</i>.</p>
     */ public changePassword ( args , options ? ) ; public changePassword ( args , cb ) ; public changePassword ( args , options , cb ) ; public changePassword ( args , optionsOrCb ? , cb ? ) { const command = new ChangePasswordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Creates a new Amazon Web Services secret access key and corresponding Amazon Web Services access key ID for the
     *             specified user. The default status for new keys is <code>Active</code>.</p>
     *         <p>If you do not specify a user name, IAM determines the user name implicitly based on
     *             the Amazon Web Services access key ID signing the request. This operation works for access keys under
     *             the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root
     *             user credentials. This is true even if the Amazon Web Services account has no associated users.</p>
     *         <p> For information about quotas on the number of keys you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
     *                 quotas</a> in the <i>IAM User Guide</i>.</p>
     *         <important>
     *             <p>To ensure the security of your Amazon Web Services account, the secret access key is accessible
     *                 only during key and user creation. You must save the key (for example, in a text
     *                 file) if you want to be able to access it again. If a secret key is lost, you can
     *                 delete the access keys for the associated user and then create new keys.</p>
     *         </important>
     */ public createAccessKey ( args , options ? ) ; public createAccessKey ( args , cb ) ; public createAccessKey ( args , options , cb ) ; public createAccessKey ( args , optionsOrCb ? , cb ? ) { const command = new CreateAccessKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account
     *             alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an
     *                 alias for your Amazon Web Services account ID</a> in the
     *             <i>IAM User Guide</i>.</p>
     */ public createAccountAlias ( args , options ? ) ; public createAccountAlias ( args , cb ) ; public createAccountAlias ( args , options , cb ) ; public createAccountAlias ( args , optionsOrCb ? , cb ? ) { const command = new CreateAccountAliasCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new group.</p>
     *         <p> For information about the number of groups you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
     *                 quotas</a> in the <i>IAM User Guide</i>.</p>
     */ public createGroup ( args , options ? ) ; public createGroup ( args , cb ) ; public createGroup ( args , options , cb ) ; public createGroup ( args , optionsOrCb ? , cb ? ) { const command = new CreateGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Creates a new instance profile. For information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html">Using
     *                 roles for applications on Amazon EC2</a> in the
     *                 <i>IAM User Guide</i>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#ec2-instance-profile">Instance profiles</a> in the <i>Amazon EC2 User Guide</i>.</p>
     *         <p> For information about the number of instance profiles you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM object
     *                 quotas</a> in the <i>IAM User Guide</i>.</p>
     */ public createInstanceProfile ( args , options ? ) ; public createInstanceProfile ( args , cb ) ; public createInstanceProfile ( args , options , cb ) ; public createInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new CreateInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a password for the specified IAM user. A password allows an IAM user to
     *             access Amazon Web Services services through the Amazon Web Services Management Console.</p>
     *         <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b> page in the IAM console to create a password for any IAM user.
     *             Use <a>ChangePassword</a> to update your own existing password in the
     *                 <b>My Security Credentials</b> page in the
     *             Amazon Web Services Management Console.</p>
     *         <p>For more information about managing passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public createLoginProfile ( args , options ? ) ; public createLoginProfile ( args , cb ) ; public createLoginProfile ( args , options , cb ) ; public createLoginProfile ( args , optionsOrCb ? , cb ? ) { const command = new CreateLoginProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an IAM entity to describe an identity provider (IdP) that supports <a href="http://openid.net/connect/">OpenID Connect (OIDC)</a>.</p>
     *         <p>The OIDC provider that you create with this operation can be used as a principal in a
     *             role's trust policy. Such a policy establishes a trust relationship between Amazon Web Services and
     *             the OIDC provider.</p>
     *         <p>If you are using an OIDC identity provider from Google, Facebook, or Amazon Cognito, you don't
     *             need to create a separate IAM identity provider. These OIDC identity providers are
     *             already built-in to Amazon Web Services and are available for your use. Instead, you can move directly
     *             to creating new roles using your identity provider. To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html">Creating
     *                 a role for web identity or OpenID connect federation</a> in the <i>IAM
     *                 User Guide</i>.</p>
     *         <p>When you create the IAM OIDC provider, you specify the following:</p>
     *         <ul>
     *             <li>
     *                 <p>The URL of the OIDC identity provider (IdP) to trust</p>
     *             </li>
     *             <li>
     *                 <p>A list of client IDs (also known as audiences) that identify the application
     *                     or applications  allowed to authenticate using the OIDC provider</p>
     *             </li>
     *             <li>
     *                 <p>A list of thumbprints of one or more server certificates that the IdP
     *                     uses</p>
     *             </li>
     *          </ul>
     *         <p>You get all of this information from the OIDC IdP you want to use to access
     *             Amazon Web Services.</p>
     *         <note>
     *             <p>Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our
     *             library of trusted certificate authorities (CAs) instead of using a certificate
     *             thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, and
     *             those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In these
     *             cases, your legacy thumbprint remains in your configuration, but is no longer used for validation.</p>
     *          </note>
     *         <note>
     *             <p>The trust for the OIDC provider is derived from the IAM provider that this
     *                 operation creates. Therefore, it is best to limit access to the <a>CreateOpenIDConnectProvider</a> operation to highly privileged
     *                 users.</p>
     *         </note>
     */ public createOpenIDConnectProvider ( args , options ? ) ; public createOpenIDConnectProvider ( args , cb ) ; public createOpenIDConnectProvider ( args , options , cb ) ; public createOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new CreateOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new managed policy for your Amazon Web Services account.</p>
     *         <p>This operation creates a policy version with a version identifier of <code>v1</code>
     *             and sets v1 as the policy's default version. For more information about policy versions,
     *             see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed policies</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         <p>As a best practice, you can validate your IAM policies.
     *      To learn more, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_policy-validator.html">Validating IAM policies</a>
     *             in the <i>IAM User Guide</i>.</p>
     *         <p>For more information about managed policies in general, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     */ public createPolicy ( args , options ? ) ; public createPolicy ( args , cb ) ; public createPolicy ( args , options , cb ) ; public createPolicy ( args , optionsOrCb ? , cb ? ) { const command = new CreatePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new version of the specified managed policy. To update a managed policy, you
     *             create a new policy version. A managed policy can have up to five versions. If the
     *             policy has five versions, you must delete an existing version using <a>DeletePolicyVersion</a> before you create a new version.</p>
     *         <p>Optionally, you can set the new version as the policy's default version. The default
     *             version is the version that is in effect for the IAM users, groups, and roles to which
     *             the policy is attached.</p>
     *         <p>For more information about managed policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public createPolicyVersion ( args , options ? ) ; public createPolicyVersion ( args , cb ) ; public createPolicyVersion ( args , options , cb ) ; public createPolicyVersion ( args , optionsOrCb ? , cb ? ) { const command = new CreatePolicyVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new role for your Amazon Web Services account. For more information about roles, see
     *                 <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">IAM
     *                 roles</a>. For information about quotas for role names and the number of roles
     *             you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public createRole ( args , options ? ) ; public createRole ( args , cb ) ; public createRole ( args , options , cb ) ; public createRole ( args , optionsOrCb ? , cb ? ) { const command = new CreateRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an IAM resource that describes an identity provider (IdP) that supports SAML
     *             2.0.</p>
     *         <p>The SAML provider resource that you create with this operation can be used as a
     *             principal in an IAM role's trust policy. Such a policy can enable federated users who
     *             sign in using the SAML IdP to assume the role. You can create an IAM role that
     *             supports Web-based single sign-on (SSO) to the Amazon Web Services Management Console or one that supports API access
     *             to Amazon Web Services.</p>
     *         <p>When you create the SAML provider resource, you upload a SAML metadata document that
     *             you get from your IdP. That document includes the issuer's name, expiration information,
     *             and keys that can be used to validate the SAML authentication response (assertions) that
     *             the IdP sends. You must generate the metadata document using the identity management
     *             software that is used as your organization's IdP.</p>
     *         <note>
     *             <p> This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
     *         </note>
     *         <p> For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-saml.html">Enabling SAML 2.0
     *                 federated users to access the Amazon Web Services Management Console</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html">About SAML 2.0-based
     *                 federation</a> in the <i>IAM User Guide</i>.</p>
     */ public createSAMLProvider ( args , options ? ) ; public createSAMLProvider ( args , cb ) ; public createSAMLProvider ( args , options , cb ) ; public createSAMLProvider ( args , optionsOrCb ? , cb ? ) { const command = new CreateSAMLProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an IAM role that is linked to a specific Amazon Web Services service. The service controls
     *             the attached policies and when the role can be deleted. This helps ensure that the
     *             service is not broken by an unexpectedly changed or deleted role, which could put your
     *             Amazon Web Services resources into an unknown state. Allowing the service to control the role helps
     *             improve service stability and proper cleanup when a service and its role are no longer
     *             needed. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html">Using service-linked
     *                 roles</a> in the <i>IAM User Guide</i>. </p>
     *         <p>To attach a policy to this service-linked role, you must make the request using the
     *             Amazon Web Services service that depends on this role.</p>
     */ public createServiceLinkedRole ( args , options ? ) ; public createServiceLinkedRole ( args , cb ) ; public createServiceLinkedRole ( args , options , cb ) ; public createServiceLinkedRole ( args , optionsOrCb ? , cb ? ) { const command = new CreateServiceLinkedRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Generates a set of credentials consisting of a user name and password that can be used
     *             to access the service specified in the request. These credentials are generated by
     *             IAM, and can be used only for the specified service. </p>
     *         <p>You can have a maximum of two sets of service-specific credentials for each supported
     *             service per user.</p>
     *         <p>You can create service-specific credentials for CodeCommit and Amazon Keyspaces (for Apache
     *             Cassandra).</p>
     *         <p>You can reset the password to a new service-generated value by calling <a>ResetServiceSpecificCredential</a>.</p>
     *         <p>For more information about service-specific credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html">Using IAM
     *                 with CodeCommit: Git credentials, SSH keys, and Amazon Web Services access keys</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public createServiceSpecificCredential ( args , options ? ) ; public createServiceSpecificCredential ( args , cb ) ; public createServiceSpecificCredential ( args , options , cb ) ; public createServiceSpecificCredential ( args , optionsOrCb ? , cb ? ) { const command = new CreateServiceSpecificCredentialCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new IAM user for your Amazon Web Services account.</p>
     *         <p> For information about quotas for the number of IAM users you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
     *                 quotas</a> in the <i>IAM User Guide</i>.</p>
     */ public createUser ( args , options ? ) ; public createUser ( args , cb ) ; public createUser ( args , options , cb ) ; public createUser ( args , optionsOrCb ? , cb ? ) { const command = new CreateUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a new virtual MFA device for the Amazon Web Services account. After creating the virtual
     *             MFA, use <a>EnableMFADevice</a> to attach the MFA device to an IAM user.
     *             For more information about creating and working with virtual MFA devices, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html">Using a virtual MFA
     *                 device</a> in the <i>IAM User Guide</i>.</p>
     *         <p>For information about the maximum number of MFA devices you can create, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
     *                 quotas</a> in the <i>IAM User Guide</i>.</p>
     *         <important>
     *             <p>The seed information contained in the QR code and the Base32 string should be
     *                 treated like any other secret access information. In other words, protect the seed
     *                 information as you would your Amazon Web Services access keys or your passwords. After you
     *                 provision your virtual device, you should ensure that the information is destroyed
     *                 following secure procedures.</p>
     *         </important>
     */ public createVirtualMFADevice ( args , options ? ) ; public createVirtualMFADevice ( args , cb ) ; public createVirtualMFADevice ( args , options , cb ) ; public createVirtualMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new CreateVirtualMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deactivates the specified MFA device and removes it from association with the user
     *             name for which it was originally enabled.</p>
     *         <p>For more information about creating and working with virtual MFA devices, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html">Enabling a virtual
     *                 multi-factor authentication (MFA) device</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public deactivateMFADevice ( args , options ? ) ; public deactivateMFADevice ( args , cb ) ; public deactivateMFADevice ( args , options , cb ) ; public deactivateMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new DeactivateMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the access key pair associated with the specified IAM user.</p>
     *         <p>If you do not specify a user name, IAM determines the user name implicitly based on
     *             the Amazon Web Services access key ID signing the request. This operation works for access keys under
     *             the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root
     *             user credentials even if the Amazon Web Services account has no associated users.</p>
     */ public deleteAccessKey ( args , options ? ) ; public deleteAccessKey ( args , cb ) ; public deleteAccessKey ( args , options , cb ) ; public deleteAccessKey ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAccessKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services
     *             account alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an alias for your Amazon Web Services account ID</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public deleteAccountAlias ( args , options ? ) ; public deleteAccountAlias ( args , cb ) ; public deleteAccountAlias ( args , options , cb ) ; public deleteAccountAlias ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAccountAliasCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the password policy for the Amazon Web Services account. There are no parameters.</p>
     */ public deleteAccountPasswordPolicy ( args , options ? ) ; public deleteAccountPasswordPolicy ( args , cb ) ; public deleteAccountPasswordPolicy ( args , options , cb ) ; public deleteAccountPasswordPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAccountPasswordPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified IAM group. The group must not contain any users or have any
     *             attached policies.</p>
     */ public deleteGroup ( args , options ? ) ; public deleteGroup ( args , cb ) ; public deleteGroup ( args , options , cb ) ; public deleteGroup ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified inline policy that is embedded in the specified IAM
     *             group.</p>
     *         <p>A group can also have managed policies attached to it. To detach a managed policy from
     *             a group, use <a>DetachGroupPolicy</a>. For more information about policies,
     *             refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public deleteGroupPolicy ( args , options ? ) ; public deleteGroupPolicy ( args , cb ) ; public deleteGroupPolicy ( args , options , cb ) ; public deleteGroupPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteGroupPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified instance profile. The instance profile must not have an
     *             associated role.</p>
     *         <important>
     *             <p>Make sure that you do not have any Amazon EC2 instances running with the instance
     *                 profile you are about to delete. Deleting a role or instance profile that is
     *                 associated with a running instance will break any applications running on the
     *                 instance.</p>
     *         </important>
     *         <p>For more information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
     *             profiles</a>.</p>
     */ public deleteInstanceProfile ( args , options ? ) ; public deleteInstanceProfile ( args , cb ) ; public deleteInstanceProfile ( args , options , cb ) ; public deleteInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new DeleteInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the password for the specified IAM user, which terminates the user's ability
     *             to access Amazon Web Services services through the Amazon Web Services Management Console.</p>
     *         <p>You can use the CLI, the Amazon Web Services API, or the <b>Users</b> page in the IAM console to delete a password for any IAM user.
     *             You can use <a>ChangePassword</a> to update, but not delete, your own
     *             password in the <b>My Security Credentials</b> page in the
     *             Amazon Web Services Management Console.</p>
     *         <important>
     *             <p> Deleting a user's password does not prevent a user from accessing Amazon Web Services through
     *                 the command line interface or the API. To prevent all user access, you must also
     *                 either make any access keys inactive or delete them. For more information about
     *                 making keys inactive or deleting them, see <a>UpdateAccessKey</a> and
     *                     <a>DeleteAccessKey</a>. </p>
     *         </important>
     */ public deleteLoginProfile ( args , options ? ) ; public deleteLoginProfile ( args , cb ) ; public deleteLoginProfile ( args , options , cb ) ; public deleteLoginProfile ( args , optionsOrCb ? , cb ? ) { const command = new DeleteLoginProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes an OpenID Connect identity provider (IdP) resource object in IAM.</p>
     *         <p>Deleting an IAM OIDC provider resource does not update any roles that reference the
     *             provider as a principal in their trust policies. Any attempt to assume a role that
     *             references a deleted provider fails.</p>
     *         <p>This operation is idempotent; it does not fail or return an error if you call the
     *             operation for a provider that does not exist.</p>
     */ public deleteOpenIDConnectProvider ( args , options ? ) ; public deleteOpenIDConnectProvider ( args , cb ) ; public deleteOpenIDConnectProvider ( args , options , cb ) ; public deleteOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new DeleteOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified managed policy.</p>
     *         <p>Before you can delete a managed policy, you must first detach the policy from all
     *             users, groups, and roles that it is attached to. In addition, you must delete all the
     *             policy's versions. The following steps describe the process for deleting a managed
     *             policy:</p>
     *         <ul>
     *             <li>
     *                 <p>Detach the policy from all users, groups, and roles that the policy is
     *                     attached to, using <a>DetachUserPolicy</a>, <a>DetachGroupPolicy</a>, or <a>DetachRolePolicy</a>. To
     *                     list all the users, groups, and roles that a policy is attached to, use <a>ListEntitiesForPolicy</a>.</p>
     *             </li>
     *             <li>
     *                 <p>Delete all versions of the policy using <a>DeletePolicyVersion</a>.
     *                     To list the policy's versions, use <a>ListPolicyVersions</a>. You
     *                     cannot use <a>DeletePolicyVersion</a> to delete the version that is
     *                     marked as the default version. You delete the policy's default version in the
     *                     next step of the process.</p>
     *             </li>
     *             <li>
     *                 <p>Delete the policy (this automatically deletes the policy's default version)
     *                     using this operation.</p>
     *             </li>
     *          </ul>
     *         <p>For information about managed policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public deletePolicy ( args , options ? ) ; public deletePolicy ( args , cb ) ; public deletePolicy ( args , options , cb ) ; public deletePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeletePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified version from the specified managed policy.</p>
     *         <p>You cannot delete the default version from a policy using this operation. To delete
     *             the default version from a policy, use <a>DeletePolicy</a>. To find out which
     *             version of a policy is marked as the default version, use <a>ListPolicyVersions</a>.</p>
     *         <p>For information about versions for managed policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public deletePolicyVersion ( args , options ? ) ; public deletePolicyVersion ( args , cb ) ; public deletePolicyVersion ( args , options , cb ) ; public deletePolicyVersion ( args , optionsOrCb ? , cb ? ) { const command = new DeletePolicyVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified role. The role must not have any policies attached. For more
     *             information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>.</p>
     *         <important>
     *             <p>Make sure that you do not have any Amazon EC2 instances running with the role you
     *                 are about to delete. Deleting a role or instance profile that is associated with a
     *                 running instance will break any applications running on the instance.</p>
     *         </important>
     */ public deleteRole ( args , options ? ) ; public deleteRole ( args , cb ) ; public deleteRole ( args , options , cb ) ; public deleteRole ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the permissions boundary for the specified IAM role. </p>
     *         <important>
     *             <p>Deleting the permissions boundary for a role might increase its permissions. For
     *                 example, it might allow anyone who assumes the role to perform all the actions
     *                 granted in its permissions policies. </p>
     *         </important>
     */ public deleteRolePermissionsBoundary ( args , options ? ) ; public deleteRolePermissionsBoundary ( args , cb ) ; public deleteRolePermissionsBoundary ( args , options , cb ) ; public deleteRolePermissionsBoundary ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRolePermissionsBoundaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified inline policy that is embedded in the specified IAM
     *             role.</p>
     *         <p>A role can also have managed policies attached to it. To detach a managed policy from
     *             a role, use <a>DetachRolePolicy</a>. For more information about policies,
     *             refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public deleteRolePolicy ( args , options ? ) ; public deleteRolePolicy ( args , cb ) ; public deleteRolePolicy ( args , options , cb ) ; public deleteRolePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteRolePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a SAML provider resource in IAM.</p>
     *         <p>Deleting the provider resource from IAM does not update any roles that reference the
     *             SAML provider resource's ARN as a principal in their trust policies. Any attempt to
     *             assume a role that references a non-existent provider resource ARN fails.</p>
     *         <note>
     *             <p> This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
     *         </note>
     */ public deleteSAMLProvider ( args , options ? ) ; public deleteSAMLProvider ( args , cb ) ; public deleteSAMLProvider ( args , options , cb ) ; public deleteSAMLProvider ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSAMLProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified server certificate.</p>
     *         <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
     *                 with server certificates</a> in the <i>IAM User Guide</i>. This
     *             topic also includes a list of Amazon Web Services services that can use the server certificates that
     *             you manage with IAM.</p>
     *         <important>
     *             <p> If you are using a server certificate with Elastic Load Balancing, deleting the
     *                 certificate could have implications for your application. If Elastic Load Balancing
     *                 doesn't detect the deletion of bound certificates, it may continue to use the
     *                 certificates. This could cause Elastic Load Balancing to stop accepting traffic. We
     *                 recommend that you remove the reference to the certificate from Elastic Load
     *                 Balancing before using this command to delete the certificate. For more information,
     *                 see <a href="https://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DeleteLoadBalancerListeners.html">DeleteLoadBalancerListeners</a> in the <i>Elastic Load Balancing API
     *                     Reference</i>.</p>
     *         </important>
     */ public deleteServerCertificate ( args , options ? ) ; public deleteServerCertificate ( args , cb ) ; public deleteServerCertificate ( args , options , cb ) ; public deleteServerCertificate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServerCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Submits a service-linked role deletion request and returns a
     *                 <code>DeletionTaskId</code>, which you can use to check the status of the deletion.
     *             Before you call this operation, confirm that the role has no active sessions and that
     *             any resources used by the role in the linked service are deleted. If you call this
     *             operation more than once for the same service-linked role and an earlier deletion task
     *             is not complete, then the <code>DeletionTaskId</code> of the earlier request is
     *             returned.</p>
     *         <p>If you submit a deletion request for a service-linked role whose linked service is
     *             still accessing a resource, then the deletion task fails. If it fails, the <a>GetServiceLinkedRoleDeletionStatus</a> operation returns the reason for the
     *             failure, usually including the resources that must be deleted. To delete the
     *             service-linked role, you must first remove those resources from the linked service and
     *             then submit the deletion request again. Resources are specific to the service that is
     *             linked to the role. For more information about removing resources from a service, see
     *             the <a href="http://docs.aws.amazon.com/">Amazon Web Services documentation</a> for your
     *             service.</p>
     *         <p>For more information about service-linked roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role">Roles terms and concepts: Amazon Web Services service-linked role</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public deleteServiceLinkedRole ( args , options ? ) ; public deleteServiceLinkedRole ( args , cb ) ; public deleteServiceLinkedRole ( args , options , cb ) ; public deleteServiceLinkedRole ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServiceLinkedRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified service-specific credential.</p>
     */ public deleteServiceSpecificCredential ( args , options ? ) ; public deleteServiceSpecificCredential ( args , cb ) ; public deleteServiceSpecificCredential ( args , options , cb ) ; public deleteServiceSpecificCredential ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServiceSpecificCredentialCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a signing certificate associated with the specified IAM user.</p>
     *         <p>If you do not specify a user name, IAM determines the user name implicitly based on
     *             the Amazon Web Services access key ID signing the request. This operation works for access keys under
     *             the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root
     *             user credentials even if the Amazon Web Services account has no associated IAM users.</p>
     */ public deleteSigningCertificate ( args , options ? ) ; public deleteSigningCertificate ( args , cb ) ; public deleteSigningCertificate ( args , options , cb ) ; public deleteSigningCertificate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSigningCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified SSH public key.</p>
     *         <p>The SSH public key deleted by this operation is used only for authenticating the
     *             associated IAM user to an CodeCommit repository. For more information about using SSH keys
     *             to authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for
     *                 SSH connections</a> in the <i>CodeCommit User Guide</i>.</p>
     */ public deleteSSHPublicKey ( args , options ? ) ; public deleteSSHPublicKey ( args , cb ) ; public deleteSSHPublicKey ( args , options , cb ) ; public deleteSSHPublicKey ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSSHPublicKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified IAM user. Unlike the Amazon Web Services Management Console, when you delete a user
     *             programmatically, you must delete the items attached to the user manually, or the
     *             deletion fails. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_deleting_cli">Deleting an IAM
     *                 user</a>. Before attempting to delete a user, remove the following items:</p>
     *         <ul>
     *             <li>
     *                 <p>Password (<a>DeleteLoginProfile</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Access keys (<a>DeleteAccessKey</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Signing certificate (<a>DeleteSigningCertificate</a>)</p>
     *             </li>
     *             <li>
     *                 <p>SSH public key (<a>DeleteSSHPublicKey</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Git credentials (<a>DeleteServiceSpecificCredential</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Multi-factor authentication (MFA) device (<a>DeactivateMFADevice</a>, <a>DeleteVirtualMFADevice</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Inline policies (<a>DeleteUserPolicy</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Attached managed policies (<a>DetachUserPolicy</a>)</p>
     *             </li>
     *             <li>
     *                 <p>Group memberships (<a>RemoveUserFromGroup</a>)</p>
     *             </li>
     *          </ul>
     */ public deleteUser ( args , options ? ) ; public deleteUser ( args , cb ) ; public deleteUser ( args , options , cb ) ; public deleteUser ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the permissions boundary for the specified IAM user.</p>
     *         <important>
     *             <p>Deleting the permissions boundary for a user might increase its permissions by
     *                 allowing the user to perform all the actions granted in its permissions policies.
     *             </p>
     *         </important>
     */ public deleteUserPermissionsBoundary ( args , options ? ) ; public deleteUserPermissionsBoundary ( args , cb ) ; public deleteUserPermissionsBoundary ( args , options , cb ) ; public deleteUserPermissionsBoundary ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserPermissionsBoundaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified inline policy that is embedded in the specified IAM
     *             user.</p>
     *         <p>A user can also have managed policies attached to it. To detach a managed policy from
     *             a user, use <a>DetachUserPolicy</a>. For more information about policies,
     *             refer to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public deleteUserPolicy ( args , options ? ) ; public deleteUserPolicy ( args , cb ) ; public deleteUserPolicy ( args , options , cb ) ; public deleteUserPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteUserPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a virtual MFA device.</p>
     *         <note>
     *             <p> You must deactivate a user's virtual MFA device before you can delete it. For
     *                 information about deactivating MFA devices, see <a>DeactivateMFADevice</a>. </p>
     *         </note>
     */ public deleteVirtualMFADevice ( args , options ? ) ; public deleteVirtualMFADevice ( args , cb ) ; public deleteVirtualMFADevice ( args , options , cb ) ; public deleteVirtualMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVirtualMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified managed policy from the specified IAM group.</p>
     *         <p>A group can also have inline policies embedded with it. To delete an inline policy,
     *             use <a>DeleteGroupPolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     */ public detachGroupPolicy ( args , options ? ) ; public detachGroupPolicy ( args , cb ) ; public detachGroupPolicy ( args , options , cb ) ; public detachGroupPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DetachGroupPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified managed policy from the specified role.</p>
     *         <p>A role can also have inline policies embedded with it. To delete an inline policy, use
     *                 <a>DeleteRolePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     */ public detachRolePolicy ( args , options ? ) ; public detachRolePolicy ( args , cb ) ; public detachRolePolicy ( args , options , cb ) ; public detachRolePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DetachRolePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified managed policy from the specified user.</p>
     *         <p>A user can also have inline policies embedded with it. To delete an inline policy, use
     *                 <a>DeleteUserPolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     */ public detachUserPolicy ( args , options ? ) ; public detachUserPolicy ( args , cb ) ; public detachUserPolicy ( args , options , cb ) ; public detachUserPolicy ( args , optionsOrCb ? , cb ? ) { const command = new DetachUserPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Enables the specified MFA device and associates it with the specified IAM user. When
     *             enabled, the MFA device is required for every subsequent login by the IAM user
     *             associated with the device.</p>
     */ public enableMFADevice ( args , options ? ) ; public enableMFADevice ( args , cb ) ; public enableMFADevice ( args , options , cb ) ; public enableMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new EnableMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Generates a credential report for the Amazon Web Services account. For more information about the
     *             credential report, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in
     *             the <i>IAM User Guide</i>.</p>
     */ public generateCredentialReport ( args , options ? ) ; public generateCredentialReport ( args , cb ) ; public generateCredentialReport ( args , options , cb ) ; public generateCredentialReport ( args , optionsOrCb ? , cb ? ) { const command = new GenerateCredentialReportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Generates a report for service last accessed data for Organizations. You can generate a
     *             report for any entities (organization root, organizational unit, or account) or policies
     *             in your organization.</p>
     *         <p>To call this operation, you must be signed in using your Organizations management account
     *             credentials. You can use your long-term IAM user or root user credentials, or
     *             temporary credentials from assuming an IAM role. SCPs must be enabled for your
     *             organization root. You must have the required IAM and Organizations permissions. For more
     *             information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Refining permissions using
     *                 service last accessed data</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <p>You can generate a service last accessed data report for entities by specifying only
     *             the entity's path. This data includes a list of services that are allowed by any service
     *             control policies (SCPs) that apply to the entity.</p>
     *         <p>You can generate a service last accessed data report for a policy by specifying an
     *             entity's path and an optional Organizations policy ID. This data includes a list of services that
     *             are allowed by the specified SCP.</p>
     *         <p>For each service in both report types, the data includes the most recent account
     *             activity that the policy allows to account principals in the entity or the entity's
     *             children. For important information about the data, reporting period, permissions
     *             required, troubleshooting, and supported Regions see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using
     *                 service last accessed data</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <important>
     *             <p>The data includes all attempts to access Amazon Web Services, not just the successful ones. This
     *                 includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any
     *                 of the SDKs, or any of the command line tools. An unexpected entry in the service
     *                 last accessed data does not mean that an account has been compromised, because the
     *                 request might have been denied. Refer to your CloudTrail logs as the authoritative
     *                 source for information about all API calls and whether they were successful or
     *                 denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging IAM events with
     *                     CloudTrail</a> in the <i>IAM User Guide</i>.</p>
     *         </important>
     *         <p>This operation returns a <code>JobId</code>. Use this parameter in the <code>
     *                <a>GetOrganizationsAccessReport</a>
     *             </code> operation to check the status of
     *             the report generation. To check the status of this request, use the <code>JobId</code>
     *             parameter in the <code>
     *                <a>GetOrganizationsAccessReport</a>
     *             </code> operation
     *             and test the <code>JobStatus</code> response parameter. When the job is complete, you
     *             can retrieve the report.</p>
     *         <p>To generate a service last accessed data report for entities, specify an entity path
     *             without specifying the optional Organizations policy ID. The type of entity that you specify
     *             determines the data returned in the report.</p>
     *         <ul>
     *             <li>
     *                 <p>
     *                   <b>Root</b> – When you specify the
     *                     organizations root as the entity, the resulting report lists all of the services
     *                     allowed by SCPs that are attached to your root. For each service, the report
     *                     includes data for all accounts in your organization except the
     *                     management account, because the management account is not limited by SCPs.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>OU</b> – When you specify an
     *                     organizational unit (OU) as the entity, the resulting report lists all of the
     *                     services allowed by SCPs that are attached to the OU and its parents. For each
     *                     service, the report includes data for all accounts in the OU or its children.
     *                     This data excludes the management account, because the management account is not
     *                     limited by SCPs.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>management account</b> – When you specify the
     *                     management account, the resulting report lists all Amazon Web Services services, because the
     *                     management account is not limited by SCPs. For each service, the report includes
     *                     data for only the management account.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Account</b> – When you specify another
     *                     account as the entity, the resulting report lists all of the services allowed by
     *                     SCPs that are attached to the account and its parents. For each service, the
     *                     report includes data for only the specified account.</p>
     *             </li>
     *          </ul>
     *         <p>To generate a service last accessed data report for policies, specify an entity path
     *             and the optional Organizations policy ID. The type of entity that you specify determines the data
     *             returned for each service.</p>
     *         <ul>
     *             <li>
     *                 <p>
     *                   <b>Root</b> – When you specify the root
     *                     entity and a policy ID, the resulting report lists all of the services that are
     *                     allowed by the specified SCP. For each service, the report includes data for all
     *                     accounts in your organization to which the SCP applies. This data excludes the
     *                     management account, because the management account is not limited by SCPs. If the
     *                     SCP is not attached to any entities in the organization, then the report will
     *                     return a list of services with no data.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>OU</b> – When you specify an OU entity and
     *                     a policy ID, the resulting report lists all of the services that are allowed by
     *                     the specified SCP. For each service, the report includes data for all accounts
     *                     in the OU or its children to which the SCP applies. This means that other
     *                     accounts outside the OU that are affected by the SCP might not be included in
     *                     the data. This data excludes the management account, because the
     *                     management account is not limited by SCPs. If the SCP is not attached to the OU
     *                     or one of its children, the report will return a list of services with no
     *                     data.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>management account</b> – When you specify the
     *                     management account, the resulting report lists all Amazon Web Services services, because the
     *                     management account is not limited by SCPs. If you specify a policy ID in the CLI
     *                     or API, the policy is ignored. For each service, the report includes data for
     *                     only the management account.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Account</b> – When you specify another
     *                     account entity and a policy ID, the resulting report lists all of the services
     *                     that are allowed by the specified SCP. For each service, the report includes
     *                     data for only the specified account. This means that other accounts in the
     *                     organization that are affected by the SCP might not be included in the data. If
     *                     the SCP is not attached to the account, the report will return a list of
     *                     services with no data.</p>
     *             </li>
     *          </ul>
     *         <note>
     *             <p>Service last accessed data does not use other policy types when determining
     *                 whether a principal could access a service. These other policy types include
     *                 identity-based policies, resource-based policies, access control lists, IAM
     *                 permissions boundaries, and STS assume role policies. It only applies SCP logic.
     *                 For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         </note>
     *         <p>For more information about service last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing policy scope by
     *                 viewing user activity</a> in the <i>IAM User Guide</i>.</p>
     */ public generateOrganizationsAccessReport ( args , options ? ) ; public generateOrganizationsAccessReport ( args , cb ) ; public generateOrganizationsAccessReport ( args , options , cb ) ; public generateOrganizationsAccessReport ( args , optionsOrCb ? , cb ? ) { const command = new GenerateOrganizationsAccessReportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Generates a report that includes details about when an IAM resource (user, group,
     *             role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity
     *             usually appears within four hours. IAM reports activity for the last 365 days, or less
     *             if your Region began supporting this feature within the last year. For more information,
     *             see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period">Regions where data is tracked</a>.</p>
     *         <important>
     *             <p>The service last accessed data includes all attempts to access an Amazon Web Services API, not
     *                 just the successful ones. This includes all attempts that were made using the
     *                 Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools.
     *                 An unexpected entry in the service last accessed data does not mean that your
     *                 account has been compromised, because the request might have been denied. Refer to
     *                 your CloudTrail logs as the authoritative source for information about all API calls
     *                 and whether they were successful or denied access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">Logging
     *                     IAM events with CloudTrail</a> in the
     *                     <i>IAM User Guide</i>.</p>
     *         </important>
     *         <p>The <code>GenerateServiceLastAccessedDetails</code> operation returns a
     *                 <code>JobId</code>. Use this parameter in the following operations to retrieve the
     *             following details from your report: </p>
     *         <ul>
     *             <li>
     *                 <p>
     *                   <a>GetServiceLastAccessedDetails</a> – Use this operation
     *                     for users, groups, roles, or policies to list every Amazon Web Services service that the
     *                     resource could access using permissions policies. For each service, the response
     *                     includes information about the most recent access attempt.</p>
     *                 <p>The <code>JobId</code> returned by
     *                         <code>GenerateServiceLastAccessedDetail</code> must be used by the same role
     *                     within a session, or by the same user when used to call
     *                         <code>GetServiceLastAccessedDetail</code>.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <a>GetServiceLastAccessedDetailsWithEntities</a> – Use this
     *                     operation for groups and policies to list information about the associated
     *                     entities (users or roles) that attempted to access a specific Amazon Web Services service.
     *                 </p>
     *             </li>
     *          </ul>
     *         <p>To check the status of the <code>GenerateServiceLastAccessedDetails</code> request,
     *             use the <code>JobId</code> parameter in the same operations and test the
     *                 <code>JobStatus</code> response parameter.</p>
     *         <p>For additional information about the permissions policies that allow an identity
     *             (user, group, or role) to access specific services, use the <a>ListPoliciesGrantingServiceAccess</a> operation.</p>
     *         <note>
     *             <p>Service last accessed data does not use other policy types when determining
     *                 whether a resource could access a service. These other policy types include
     *                 resource-based policies, access control lists, Organizations policies, IAM
     *                 permissions boundaries, and STS assume role policies. It only applies
     *                 permissions policy logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         </note>
     *         <p>For more information about service and action last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using service last accessed data</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public generateServiceLastAccessedDetails ( args , options ? ) ; public generateServiceLastAccessedDetails ( args , cb ) ; public generateServiceLastAccessedDetails ( args , options , cb ) ; public generateServiceLastAccessedDetails ( args , optionsOrCb ? , cb ? ) { const command = new GenerateServiceLastAccessedDetailsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about when the specified access key was last used. The
     *             information includes the date and time of last use, along with the Amazon Web Services service and
     *             Region that were specified in the last request made with that key.</p>
     */ public getAccessKeyLastUsed ( args , options ? ) ; public getAccessKeyLastUsed ( args , cb ) ; public getAccessKeyLastUsed ( args , options , cb ) ; public getAccessKeyLastUsed ( args , optionsOrCb ? , cb ? ) { const command = new GetAccessKeyLastUsedCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services
     *             account, including their relationships to one another. Use this operation to obtain a
     *             snapshot of the configuration of IAM permissions (users, groups, roles, and policies)
     *             in your account.</p>
     *         <note>
     *             <p>Policies returned by this operation are URL-encoded compliant
     *     with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
     *     decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
     *     can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
     *     the Java SDK. Other languages and SDKs provide similar functionality.</p>
     *          </note>
     *         <p>You can optionally filter the results using the <code>Filter</code> parameter. You can
     *             paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public getAccountAuthorizationDetails ( args , options ? ) ; public getAccountAuthorizationDetails ( args , cb ) ; public getAccountAuthorizationDetails ( args , options , cb ) ; public getAccountAuthorizationDetails ( args , optionsOrCb ? , cb ? ) { const command = new GetAccountAuthorizationDetailsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the password policy for the Amazon Web Services account. This tells you the complexity
     *             requirements and mandatory rotation periods for the IAM user passwords in your account.
     *             For more information about using a password policy, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html">Managing an IAM password
     *                 policy</a>.</p>
     */ public getAccountPasswordPolicy ( args , options ? ) ; public getAccountPasswordPolicy ( args , cb ) ; public getAccountPasswordPolicy ( args , options , cb ) ; public getAccountPasswordPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetAccountPasswordPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about IAM entity usage and IAM quotas in the Amazon Web Services
     *             account.</p>
     *         <p> For information about IAM quotas, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public getAccountSummary ( args , options ? ) ; public getAccountSummary ( args , cb ) ; public getAccountSummary ( args , options , cb ) ; public getAccountSummary ( args , optionsOrCb ? , cb ? ) { const command = new GetAccountSummaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a list of all of the context keys referenced in the input policies. The policies
     *             are supplied as a list of one or more strings. To get the context keys from policies
     *             associated with an IAM user, group, or role, use <a>GetContextKeysForPrincipalPolicy</a>.</p>
     *         <p>Context keys are variables maintained by Amazon Web Services and its services that provide details
     *             about the context of an API query request. Context keys can be evaluated by testing
     *             against a value specified in an IAM policy. Use
     *                 <code>GetContextKeysForCustomPolicy</code> to understand what key names and values
     *             you must supply when you call <a>SimulateCustomPolicy</a>. Note that all
     *             parameters are shown in unencoded form here for clarity but must be URL encoded to be
     *             included as a part of a real HTML request.</p>
     */ public getContextKeysForCustomPolicy ( args , options ? ) ; public getContextKeysForCustomPolicy ( args , cb ) ; public getContextKeysForCustomPolicy ( args , options , cb ) ; public getContextKeysForCustomPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetContextKeysForCustomPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Gets a list of all of the context keys referenced in all the IAM policies that are
     *             attached to the specified IAM entity. The entity can be an IAM user, group, or role.
     *             If you specify a user, then the request also includes all of the policies attached to
     *             groups that the user is a member of.</p>
     *         <p>You can optionally include a list of one or more additional policies, specified as
     *             strings. If you want to include <i>only</i> a list of policies by string,
     *             use <a>GetContextKeysForCustomPolicy</a> instead.</p>
     *         <p>
     *             <b>Note:</b> This operation discloses information about the
     *             permissions granted to other users. If you do not want users to see other user's
     *             permissions, then consider allowing them to use <a>GetContextKeysForCustomPolicy</a> instead.</p>
     *         <p>Context keys are variables maintained by Amazon Web Services and its services that provide details
     *             about the context of an API query request. Context keys can be evaluated by testing
     *             against a value in an IAM policy. Use <a>GetContextKeysForPrincipalPolicy</a> to understand what key names and values you must supply when you call <a>SimulatePrincipalPolicy</a>.</p>
     */ public getContextKeysForPrincipalPolicy ( args , options ? ) ; public getContextKeysForPrincipalPolicy ( args , cb ) ; public getContextKeysForPrincipalPolicy ( args , options , cb ) ; public getContextKeysForPrincipalPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetContextKeysForPrincipalPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves a credential report for the Amazon Web Services account. For more information about the
     *             credential report, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html">Getting credential reports</a> in
     *             the <i>IAM User Guide</i>.</p>
     */ public getCredentialReport ( args , options ? ) ; public getCredentialReport ( args , cb ) ; public getCredentialReport ( args , options , cb ) ; public getCredentialReport ( args , optionsOrCb ? , cb ? ) { const command = new GetCredentialReportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Returns a list of IAM users that are in the specified IAM group. You can paginate
     *             the results using the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
     */ public getGroup ( args , options ? ) ; public getGroup ( args , cb ) ; public getGroup ( args , options , cb ) ; public getGroup ( args , optionsOrCb ? , cb ? ) { const command = new GetGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the specified inline policy document that is embedded in the specified IAM
     *             group.</p>
     *         <note>
     *             <p>Policies returned by this operation are URL-encoded compliant
     *     with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
     *     decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
     *     can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
     *     the Java SDK. Other languages and SDKs provide similar functionality.</p>
     *          </note>
     *         <p>An IAM group can also have managed policies attached to it. To retrieve a managed
     *             policy document that is attached to a group, use <a>GetPolicy</a> to
     *             determine the policy's default version, then use <a>GetPolicyVersion</a> to
     *             retrieve the policy document.</p>
     *         <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public getGroupPolicy ( args , options ? ) ; public getGroupPolicy ( args , cb ) ; public getGroupPolicy ( args , options , cb ) ; public getGroupPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetGroupPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves information about the specified instance profile, including the instance
     *             profile's path, GUID, ARN, and role. For more information about instance profiles, see
     *                 <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About
     *                 instance profiles</a> in the <i>IAM User Guide</i>.</p>
     */ public getInstanceProfile ( args , options ? ) ; public getInstanceProfile ( args , cb ) ; public getInstanceProfile ( args , options , cb ) ; public getInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new GetInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the user name for the specified IAM user. A login profile is created when
     *             you create a password for the user to access the Amazon Web Services Management Console. If the user does not exist
     *             or does not have a password, the operation returns a 404 (<code>NoSuchEntity</code>)
     *             error.</p>
     *         <p>If you create an IAM user with access to the console, the <code>CreateDate</code>
     *             reflects the date you created the initial password for the user.</p>
     *         <p>If you create an IAM user with programmatic access, and then later add a password
     *             for the user to access the Amazon Web Services Management Console, the <code>CreateDate</code> reflects the initial
     *             password creation date. A user with programmatic access does not have a login profile
     *             unless you create a password for the user to access the Amazon Web Services Management Console.</p>
     */ public getLoginProfile ( args , options ? ) ; public getLoginProfile ( args , cb ) ; public getLoginProfile ( args , options , cb ) ; public getLoginProfile ( args , optionsOrCb ? , cb ? ) { const command = new GetLoginProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the specified OpenID Connect (OIDC) provider resource object
     *             in IAM.</p>
     */ public getOpenIDConnectProvider ( args , options ? ) ; public getOpenIDConnectProvider ( args , cb ) ; public getOpenIDConnectProvider ( args , options , cb ) ; public getOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new GetOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the service last accessed data report for Organizations that was previously
     *             generated using the <code>
     *                <a>GenerateOrganizationsAccessReport</a>
     *             </code>
     *             operation. This operation retrieves the status of your report job and the report
     *             contents.</p>
     *         <p>Depending on the parameters that you passed when you generated the report, the data
     *             returned could include different information. For details, see <a>GenerateOrganizationsAccessReport</a>.</p>
     *         <p>To call this operation, you must be signed in to the management account in your
     *             organization. SCPs must be enabled for your organization root. You must have permissions
     *             to perform this operation. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Refining permissions using
     *                 service last accessed data</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <p>For each service that principals in an account (root users, IAM users, or IAM
     *             roles) could access using SCPs, the operation returns details about the most recent
     *             access attempt. If there was no attempt, the service is listed without details about the
     *             most recent attempt to access the service. If the operation fails, it returns the reason
     *             that it failed.</p>
     *         <p>By default, the list is sorted by service namespace.</p>
     */ public getOrganizationsAccessReport ( args , options ? ) ; public getOrganizationsAccessReport ( args , cb ) ; public getOrganizationsAccessReport ( args , options , cb ) ; public getOrganizationsAccessReport ( args , optionsOrCb ? , cb ? ) { const command = new GetOrganizationsAccessReportCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the specified managed policy, including the policy's
     *             default version and the total number of IAM users, groups, and roles to which the
     *             policy is attached. To retrieve the list of the specific users, groups, and roles that
     *             the policy is attached to, use <a>ListEntitiesForPolicy</a>. This operation
     *             returns metadata about the policy. To retrieve the actual policy document for a specific
     *             version of the policy, use <a>GetPolicyVersion</a>.</p>
     *         <p>This operation retrieves information about managed policies. To retrieve information
     *             about an inline policy that is embedded with an IAM user, group, or role, use <a>GetUserPolicy</a>, <a>GetGroupPolicy</a>, or <a>GetRolePolicy</a>.</p>
     *         <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public getPolicy ( args , options ? ) ; public getPolicy ( args , cb ) ; public getPolicy ( args , options , cb ) ; public getPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the specified version of the specified managed policy,
     *             including the policy document.</p>
     *         <note>
     *             <p>Policies returned by this operation are URL-encoded compliant
     *     with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
     *     decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
     *     can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
     *     the Java SDK. Other languages and SDKs provide similar functionality.</p>
     *          </note>
     *         <p>To list the available versions for a policy, use <a>ListPolicyVersions</a>.</p>
     *         <p>This operation retrieves information about managed policies. To retrieve information
     *             about an inline policy that is embedded in a user, group, or role, use <a>GetUserPolicy</a>, <a>GetGroupPolicy</a>, or <a>GetRolePolicy</a>.</p>
     *         <p>For more information about the types of policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>For more information about managed policy versions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for managed
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public getPolicyVersion ( args , options ? ) ; public getPolicyVersion ( args , cb ) ; public getPolicyVersion ( args , options , cb ) ; public getPolicyVersion ( args , optionsOrCb ? , cb ? ) { const command = new GetPolicyVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the specified role, including the role's path, GUID, ARN,
     *             and the role's trust policy that grants permission to assume the role. For more
     *             information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>.</p>
     *         <note>
     *             <p>Policies returned by this operation are URL-encoded compliant
     *     with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
     *     decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
     *     can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
     *     the Java SDK. Other languages and SDKs provide similar functionality.</p>
     *          </note>
     */ public getRole ( args , options ? ) ; public getRole ( args , cb ) ; public getRole ( args , options , cb ) ; public getRole ( args , optionsOrCb ? , cb ? ) { const command = new GetRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the specified inline policy document that is embedded with the specified
     *             IAM role.</p>
     *         <note>
     *             <p>Policies returned by this operation are URL-encoded compliant
     *     with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
     *     decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
     *     can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
     *     the Java SDK. Other languages and SDKs provide similar functionality.</p>
     *          </note>
     *         <p>An IAM role can also have managed policies attached to it. To retrieve a managed
     *             policy document that is attached to a role, use <a>GetPolicy</a> to determine
     *             the policy's default version, then use <a>GetPolicyVersion</a> to retrieve
     *             the policy document.</p>
     *         <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">Using roles to delegate permissions and
     *                 federate identities</a>.</p>
     */ public getRolePolicy ( args , options ? ) ; public getRolePolicy ( args , cb ) ; public getRolePolicy ( args , options , cb ) ; public getRolePolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetRolePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the SAML provider metadocument that was uploaded when the IAM SAML provider
     *             resource object was created or updated.</p>
     *         <note>
     *             <p>This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
     *         </note>
     */ public getSAMLProvider ( args , options ? ) ; public getSAMLProvider ( args , cb ) ; public getSAMLProvider ( args , options , cb ) ; public getSAMLProvider ( args , optionsOrCb ? , cb ? ) { const command = new GetSAMLProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the specified server certificate stored in IAM.</p>
     *         <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
     *                 with server certificates</a> in the <i>IAM User Guide</i>. This
     *             topic includes a list of Amazon Web Services services that can use the server certificates that you
     *             manage with IAM.</p>
     */ public getServerCertificate ( args , options ? ) ; public getServerCertificate ( args , cb ) ; public getServerCertificate ( args , options , cb ) ; public getServerCertificate ( args , optionsOrCb ? , cb ? ) { const command = new GetServerCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves a service last accessed report that was created using the
     *                 <code>GenerateServiceLastAccessedDetails</code> operation. You can use the
     *                 <code>JobId</code> parameter in <code>GetServiceLastAccessedDetails</code> to
     *             retrieve the status of your report job. When the report is complete, you can retrieve
     *             the generated report. The report includes a list of Amazon Web Services services that the resource
     *             (user, group, role, or managed policy) can access.</p>
     *         <note>
     *             <p>Service last accessed data does not use other policy types when determining
     *                 whether a resource could access a service. These other policy types include
     *                 resource-based policies, access control lists, Organizations policies, IAM
     *                 permissions boundaries, and STS assume role policies. It only applies
     *                 permissions policy logic. For more about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         </note>
     *         <p>For each service that the resource could access using permissions policies, the
     *             operation returns details about the most recent access attempt. If there was no attempt,
     *             the service is listed without details about the most recent attempt to access the
     *             service. If the operation fails, the <code>GetServiceLastAccessedDetails</code>
     *             operation returns the reason that it failed.</p>
     *         <p>The <code>GetServiceLastAccessedDetails</code> operation returns a list of services.
     *             This list includes the number of entities that have attempted to access the service and
     *             the date and time of the last attempt. It also returns the ARN of the following entity,
     *             depending on the resource ARN that you used to generate the report:</p>
     *         <ul>
     *             <li>
     *                 <p>
     *                   <b>User</b> – Returns the user ARN that you
     *                     used to generate the report</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Group</b> – Returns the ARN of the group
     *                     member (user) that last attempted to access the service</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Role</b> – Returns the role ARN that you
     *                     used to generate the report</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Policy</b> – Returns the ARN of the user
     *                     or role that last used the policy to attempt to access the service</p>
     *             </li>
     *          </ul>
     *         <p>By default, the list is sorted by service namespace.</p>
     *         <p>If you specified <code>ACTION_LEVEL</code> granularity when you generated the report,
     *             this operation returns service and action last accessed data. This includes the most
     *             recent access attempt for each tracked action within a service. Otherwise, this
     *             operation returns only service data.</p>
     *         <p>For more information about service and action last accessed data, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html">Reducing permissions using service last accessed data</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public getServiceLastAccessedDetails ( args , options ? ) ; public getServiceLastAccessedDetails ( args , cb ) ; public getServiceLastAccessedDetails ( args , options , cb ) ; public getServiceLastAccessedDetails ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceLastAccessedDetailsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>After you generate a group or policy report using the
     *                 <code>GenerateServiceLastAccessedDetails</code> operation, you can use the
     *                 <code>JobId</code> parameter in
     *                 <code>GetServiceLastAccessedDetailsWithEntities</code>. This operation retrieves the
     *             status of your report job and a list of entities that could have used group or policy
     *             permissions to access the specified service.</p>
     *         <ul>
     *             <li>
     *                 <p>
     *                   <b>Group</b> – For a group report, this
     *                     operation returns a list of users in the group that could have used the group’s
     *                     policies in an attempt to access the service.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Policy</b> – For a policy report, this
     *                     operation returns a list of entities (users or roles) that could have used the
     *                     policy in an attempt to access the service.</p>
     *             </li>
     *          </ul>
     *         <p>You can also use this operation for user or role reports to retrieve details about
     *             those entities.</p>
     *         <p>If the operation fails, the <code>GetServiceLastAccessedDetailsWithEntities</code>
     *             operation returns the reason that it failed.</p>
     *         <p>By default, the list of associated entities is sorted by date, with the most recent
     *             access listed first.</p>
     */ public getServiceLastAccessedDetailsWithEntities ( args , options ? ) ; public getServiceLastAccessedDetailsWithEntities ( args , cb ) ; public getServiceLastAccessedDetailsWithEntities ( args , options , cb ) ; public getServiceLastAccessedDetailsWithEntities ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceLastAccessedDetailsWithEntitiesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the status of your service-linked role deletion. After you use <a>DeleteServiceLinkedRole</a> to submit a service-linked role for deletion,
     *             you can use the <code>DeletionTaskId</code> parameter in
     *                 <code>GetServiceLinkedRoleDeletionStatus</code> to check the status of the deletion.
     *             If the deletion fails, this operation returns the reason that it failed, if that
     *             information is returned by the service.</p>
     */ public getServiceLinkedRoleDeletionStatus ( args , options ? ) ; public getServiceLinkedRoleDeletionStatus ( args , cb ) ; public getServiceLinkedRoleDeletionStatus ( args , options , cb ) ; public getServiceLinkedRoleDeletionStatus ( args , optionsOrCb ? , cb ? ) { const command = new GetServiceLinkedRoleDeletionStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the specified SSH public key, including metadata about the key.</p>
     *         <p>The SSH public key retrieved by this operation is used only for authenticating the
     *             associated IAM user to an CodeCommit repository. For more information about using SSH keys
     *             to authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for SSH
     *                 connections</a> in the <i>CodeCommit User Guide</i>.</p>
     */ public getSSHPublicKey ( args , options ? ) ; public getSSHPublicKey ( args , cb ) ; public getSSHPublicKey ( args , options , cb ) ; public getSSHPublicKey ( args , optionsOrCb ? , cb ? ) { const command = new GetSSHPublicKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves information about the specified IAM user, including the user's creation
     *             date, path, unique ID, and ARN.</p>
     *         <p>If you do not specify a user name, IAM determines the user name implicitly based on
     *             the Amazon Web Services access key ID used to sign the request to this operation.</p>
     */ public getUser ( args , options ? ) ; public getUser ( args , cb ) ; public getUser ( args , options , cb ) ; public getUser ( args , optionsOrCb ? , cb ? ) { const command = new GetUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the specified inline policy document that is embedded in the specified IAM
     *             user.</p>
     *         <note>
     *             <p>Policies returned by this operation are URL-encoded compliant
     *     with <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>. You can use a URL
     *     decoding method to convert the policy back to plain JSON text. For example, if you use Java, you
     *     can use the <code>decode</code> method of the <code>java.net.URLDecoder</code> utility class in
     *     the Java SDK. Other languages and SDKs provide similar functionality.</p>
     *          </note>
     *         <p>An IAM user can also have managed policies attached to it. To retrieve a managed
     *             policy document that is attached to a user, use <a>GetPolicy</a> to determine
     *             the policy's default version. Then use <a>GetPolicyVersion</a> to retrieve
     *             the policy document.</p>
     *         <p>For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public getUserPolicy ( args , options ? ) ; public getUserPolicy ( args , cb ) ; public getUserPolicy ( args , options , cb ) ; public getUserPolicy ( args , optionsOrCb ? , cb ? ) { const command = new GetUserPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the access key IDs associated with the specified IAM user.
     *             If there is none, the operation returns an empty list.</p>
     *         <p>Although each user is limited to a small number of keys, you can still paginate the
     *             results using the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
     *         <p>If the <code>UserName</code> field is not specified, the user name is determined
     *             implicitly based on the Amazon Web Services access key ID used to sign the request. This operation
     *             works for access keys under the Amazon Web Services account. Consequently, you can use this operation
     *             to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no
     *             associated users.</p>
     *         <note>
     *             <p>To ensure the security of your Amazon Web Services account, the secret access key is accessible
     *                 only during key and user creation.</p>
     *         </note>
     */ public listAccessKeys ( args , options ? ) ; public listAccessKeys ( args , cb ) ; public listAccessKeys ( args , options , cb ) ; public listAccessKeys ( args , optionsOrCb ? , cb ? ) { const command = new ListAccessKeysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only
     *             one). For information about using an Amazon Web Services account alias, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html">Using an alias for your
     *                 Amazon Web Services account ID</a> in the <i>IAM User Guide</i>.</p>
     */ public listAccountAliases ( args , options ? ) ; public listAccountAliases ( args , cb ) ; public listAccountAliases ( args , options , cb ) ; public listAccountAliases ( args , optionsOrCb ? , cb ? ) { const command = new ListAccountAliasesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all managed policies that are attached to the specified IAM group.</p>
     *         <p>An IAM group can also have inline policies embedded with it. To list the inline
     *             policies for a group, use <a>ListGroupPolicies</a>. For information about
     *             policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters. You can use the <code>PathPrefix</code> parameter to limit the list of
     *             policies to only those matching the specified path prefix. If there are no policies
     *             attached to the specified group (or none that match the specified path prefix), the
     *             operation returns an empty list.</p>
     */ public listAttachedGroupPolicies ( args , options ? ) ; public listAttachedGroupPolicies ( args , cb ) ; public listAttachedGroupPolicies ( args , options , cb ) ; public listAttachedGroupPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListAttachedGroupPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all managed policies that are attached to the specified IAM role.</p>
     *         <p>An IAM role can also have inline policies embedded with it. To list the inline
     *             policies for a role, use <a>ListRolePolicies</a>. For information about
     *             policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters. You can use the <code>PathPrefix</code> parameter to limit the list of
     *             policies to only those matching the specified path prefix. If there are no policies
     *             attached to the specified role (or none that match the specified path prefix), the
     *             operation returns an empty list.</p>
     */ public listAttachedRolePolicies ( args , options ? ) ; public listAttachedRolePolicies ( args , cb ) ; public listAttachedRolePolicies ( args , options , cb ) ; public listAttachedRolePolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListAttachedRolePoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all managed policies that are attached to the specified IAM user.</p>
     *         <p>An IAM user can also have inline policies embedded with it. To list the inline
     *             policies for a user, use <a>ListUserPolicies</a>. For information about
     *             policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters. You can use the <code>PathPrefix</code> parameter to limit the list of
     *             policies to only those matching the specified path prefix. If there are no policies
     *             attached to the specified group (or none that match the specified path prefix), the
     *             operation returns an empty list.</p>
     */ public listAttachedUserPolicies ( args , options ? ) ; public listAttachedUserPolicies ( args , cb ) ; public listAttachedUserPolicies ( args , options , cb ) ; public listAttachedUserPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListAttachedUserPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all IAM users, groups, and roles that the specified managed policy is attached
     *             to.</p>
     *         <p>You can use the optional <code>EntityFilter</code> parameter to limit the results to a
     *             particular type of entity (users, groups, or roles). For example, to list only the roles
     *             that are attached to the specified policy, set <code>EntityFilter</code> to
     *                 <code>Role</code>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listEntitiesForPolicy ( args , options ? ) ; public listEntitiesForPolicy ( args , cb ) ; public listEntitiesForPolicy ( args , options , cb ) ; public listEntitiesForPolicy ( args , optionsOrCb ? , cb ? ) { const command = new ListEntitiesForPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the names of the inline policies that are embedded in the specified IAM
     *             group.</p>
     *         <p>An IAM group can also have managed policies attached to it. To list the managed
     *             policies that are attached to a group, use <a>ListAttachedGroupPolicies</a>.
     *             For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters. If there are no inline policies embedded with the specified group, the
     *             operation returns an empty list.</p>
     */ public listGroupPolicies ( args , options ? ) ; public listGroupPolicies ( args , cb ) ; public listGroupPolicies ( args , options , cb ) ; public listGroupPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListGroupPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the IAM groups that have the specified path prefix.</p>
     *         <p> You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listGroups ( args , options ? ) ; public listGroups ( args , cb ) ; public listGroups ( args , options , cb ) ; public listGroups ( args , optionsOrCb ? , cb ? ) { const command = new ListGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the IAM groups that the specified IAM user belongs to.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listGroupsForUser ( args , options ? ) ; public listGroupsForUser ( args , cb ) ; public listGroupsForUser ( args , options , cb ) ; public listGroupsForUser ( args , optionsOrCb ? , cb ? ) { const command = new ListGroupsForUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the instance profiles that have the specified path prefix. If there are none,
     *             the operation returns an empty list. For more information about instance profiles, see
     *                 <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About
     *                 instance profiles</a>.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an instance profile, see <a>GetInstanceProfile</a>.</p>
     *         </note>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listInstanceProfiles ( args , options ? ) ; public listInstanceProfiles ( args , cb ) ; public listInstanceProfiles ( args , options , cb ) ; public listInstanceProfiles ( args , optionsOrCb ? , cb ? ) { const command = new ListInstanceProfilesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the instance profiles that have the specified associated IAM role. If there
     *             are none, the operation returns an empty list. For more information about instance
     *             profiles, go to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
     *             profiles</a>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listInstanceProfilesForRole ( args , options ? ) ; public listInstanceProfilesForRole ( args , cb ) ; public listInstanceProfilesForRole ( args , options , cb ) ; public listInstanceProfilesForRole ( args , optionsOrCb ? , cb ? ) { const command = new ListInstanceProfilesForRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified IAM instance profile. The returned list of tags is sorted by tag key.
     *       For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listInstanceProfileTags ( args , options ? ) ; public listInstanceProfileTags ( args , cb ) ; public listInstanceProfileTags ( args , options , cb ) ; public listInstanceProfileTags ( args , optionsOrCb ? , cb ? ) { const command = new ListInstanceProfileTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the MFA devices for an IAM user. If the request includes a IAM user name,
     *             then this operation lists all the MFA devices associated with the specified user. If you
     *             do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services
     *             access key ID signing the request for this operation.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listMFADevices ( args , options ? ) ; public listMFADevices ( args , cb ) ; public listMFADevices ( args , options , cb ) ; public listMFADevices ( args , optionsOrCb ? , cb ? ) { const command = new ListMFADevicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified IAM virtual multi-factor authentication (MFA) device. The returned list of tags is
     *       sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listMFADeviceTags ( args , options ? ) ; public listMFADeviceTags ( args , cb ) ; public listMFADeviceTags ( args , options , cb ) ; public listMFADeviceTags ( args , optionsOrCb ? , cb ? ) { const command = new ListMFADeviceTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists information about the IAM OpenID Connect (OIDC) provider resource objects
     *             defined in the Amazon Web Services account.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for an OIDC provider, see <a>GetOpenIDConnectProvider</a>.</p>
     *         </note>
     */ public listOpenIDConnectProviders ( args , options ? ) ; public listOpenIDConnectProviders ( args , cb ) ; public listOpenIDConnectProviders ( args , options , cb ) ; public listOpenIDConnectProviders ( args , optionsOrCb ? , cb ? ) { const command = new ListOpenIDConnectProvidersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified OpenID Connect (OIDC)-compatible
     *       identity provider. The returned list of tags is sorted by tag key. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html">About web identity
     *       federation</a>.</p>
     *          <p>For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listOpenIDConnectProviderTags ( args , options ? ) ; public listOpenIDConnectProviderTags ( args , cb ) ; public listOpenIDConnectProviderTags ( args , options , cb ) ; public listOpenIDConnectProviderTags ( args , optionsOrCb ? , cb ? ) { const command = new ListOpenIDConnectProviderTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the managed policies that are available in your Amazon Web Services account, including
     *             your own customer-defined managed policies and all Amazon Web Services managed policies.</p>
     *         <p>You can filter the list of policies that is returned using the optional
     *                 <code>OnlyAttached</code>, <code>Scope</code>, and <code>PathPrefix</code>
     *             parameters. For example, to list only the customer managed policies in your Amazon Web Services
     *             account, set <code>Scope</code> to <code>Local</code>. To list only Amazon Web Services managed
     *             policies, set <code>Scope</code> to <code>AWS</code>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     *         <p>For more information about managed policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a customer manged policy, see
     *                     <a>GetPolicy</a>.</p>
     *         </note>
     */ public listPolicies ( args , options ? ) ; public listPolicies ( args , cb ) ; public listPolicies ( args , options , cb ) ; public listPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves a list of policies that the IAM identity (user, group, or role) can use to
     *             access each specified service.</p>
     *         <note>
     *             <p>This operation does not use other policy types when determining whether a resource
     *                 could access a service. These other policy types include resource-based policies,
     *                 access control lists, Organizations policies, IAM permissions boundaries, and
     *                 STS assume role policies. It only applies permissions policy logic. For more
     *                 about the evaluation of policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics">Evaluating policies</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         </note>
     *         <p>The list of policies returned by the operation depends on the ARN of the identity that
     *             you provide.</p>
     *         <ul>
     *             <li>
     *                 <p>
     *                   <b>User</b> – The list of policies includes
     *                     the managed and inline policies that are attached to the user directly. The list
     *                     also includes any additional managed and inline policies that are attached to
     *                     the group to which the user belongs. </p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Group</b> – The list of policies includes
     *                     only the managed and inline policies that are attached to the group directly.
     *                     Policies that are attached to the group’s user are not included.</p>
     *             </li>
     *             <li>
     *                 <p>
     *                   <b>Role</b> – The list of policies includes
     *                     only the managed and inline policies that are attached to the role.</p>
     *             </li>
     *          </ul>
     *         <p>For each managed policy, this operation returns the ARN and policy name. For each
     *             inline policy, it returns the policy name and the entity to which it is attached. Inline
     *             policies do not have an ARN. For more information about these policy types, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html">Managed policies and inline policies</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         <p>Policies that are attached to users and roles as permissions boundaries are not
     *             returned. To view which managed policy is currently used to set the permissions boundary
     *             for a user or role, use the <a>GetUser</a> or <a>GetRole</a>
     *             operations.</p>
     */ public listPoliciesGrantingServiceAccess ( args , options ? ) ; public listPoliciesGrantingServiceAccess ( args , cb ) ; public listPoliciesGrantingServiceAccess ( args , options , cb ) ; public listPoliciesGrantingServiceAccess ( args , optionsOrCb ? , cb ? ) { const command = new ListPoliciesGrantingServiceAccessCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified IAM customer managed policy.
     *       The returned list of tags is sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listPolicyTags ( args , options ? ) ; public listPolicyTags ( args , cb ) ; public listPolicyTags ( args , options , cb ) ; public listPolicyTags ( args , optionsOrCb ? , cb ? ) { const command = new ListPolicyTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists information about the versions of the specified managed policy, including the
     *             version that is currently set as the policy's default version.</p>
     *         <p>For more information about managed policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public listPolicyVersions ( args , options ? ) ; public listPolicyVersions ( args , cb ) ; public listPolicyVersions ( args , options , cb ) ; public listPolicyVersions ( args , optionsOrCb ? , cb ? ) { const command = new ListPolicyVersionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the names of the inline policies that are embedded in the specified IAM
     *             role.</p>
     *         <p>An IAM role can also have managed policies attached to it. To list the managed
     *             policies that are attached to a role, use <a>ListAttachedRolePolicies</a>.
     *             For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters. If there are no inline policies embedded with the specified role, the
     *             operation returns an empty list.</p>
     */ public listRolePolicies ( args , options ? ) ; public listRolePolicies ( args , cb ) ; public listRolePolicies ( args , options , cb ) ; public listRolePolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListRolePoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the IAM roles that have the specified path prefix. If there are none, the
     *             operation returns an empty list. For more information about roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with
     *                 roles</a>.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a role, see <a>GetRole</a>.</p>
     *         </note>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listRoles ( args , options ? ) ; public listRoles ( args , cb ) ; public listRoles ( args , options , cb ) ; public listRoles ( args , optionsOrCb ? , cb ? ) { const command = new ListRolesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified role. The returned list of tags is
     *       sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listRoleTags ( args , options ? ) ; public listRoleTags ( args , cb ) ; public listRoleTags ( args , options , cb ) ; public listRoleTags ( args , optionsOrCb ? , cb ? ) { const command = new ListRoleTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the SAML provider resource objects defined in IAM in the account.
     *             IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a SAML provider, see <a>GetSAMLProvider</a>.</p>
     *         <important>
     *             <p> This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
     *         </important>
     */ public listSAMLProviders ( args , options ? ) ; public listSAMLProviders ( args , cb ) ; public listSAMLProviders ( args , options , cb ) ; public listSAMLProviders ( args , optionsOrCb ? , cb ? ) { const command = new ListSAMLProvidersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified Security Assertion Markup Language
     *       (SAML) identity provider. The returned list of tags is sorted by tag key. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html">About SAML 2.0-based
     *       federation</a>.</p>
     *          <p>For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listSAMLProviderTags ( args , options ? ) ; public listSAMLProviderTags ( args , cb ) ; public listSAMLProviderTags ( args , options , cb ) ; public listSAMLProviderTags ( args , optionsOrCb ? , cb ? ) { const command = new ListSAMLProviderTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the server certificates stored in IAM that have the specified path prefix. If
     *             none exist, the operation returns an empty list.</p>
     *         <p> You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     *         <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
     *                 with server certificates</a> in the <i>IAM User Guide</i>. This
     *             topic also includes a list of Amazon Web Services services that can use the server certificates that
     *             you manage with IAM.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a servercertificate, see <a>GetServerCertificate</a>.</p>
     *         </note>
     */ public listServerCertificates ( args , options ? ) ; public listServerCertificates ( args , cb ) ; public listServerCertificates ( args , options , cb ) ; public listServerCertificates ( args , optionsOrCb ? , cb ? ) { const command = new ListServerCertificatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified IAM server certificate. The
     *       returned list of tags is sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *          <note>
     *             <p>For certificates in a Region supported by Certificate Manager (ACM), we
     *         recommend that you don't use IAM server certificates. Instead, use ACM to provision,
     *         manage, and deploy your server certificates. For more information about IAM server
     *         certificates, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working with server
     *           certificates</a> in the <i>IAM User Guide</i>.</p>
     *          </note>
     */ public listServerCertificateTags ( args , options ? ) ; public listServerCertificateTags ( args , cb ) ; public listServerCertificateTags ( args , options , cb ) ; public listServerCertificateTags ( args , optionsOrCb ? , cb ? ) { const command = new ListServerCertificateTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the service-specific credentials associated with the
     *             specified IAM user. If none exists, the operation returns an empty list. The
     *             service-specific credentials returned by this operation are used only for authenticating
     *             the IAM user to a specific service. For more information about using service-specific
     *             credentials to authenticate to an Amazon Web Services service, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html">Set up service-specific credentials</a>
     *             in the CodeCommit User Guide.</p>
     */ public listServiceSpecificCredentials ( args , options ? ) ; public listServiceSpecificCredentials ( args , cb ) ; public listServiceSpecificCredentials ( args , options , cb ) ; public listServiceSpecificCredentials ( args , optionsOrCb ? , cb ? ) { const command = new ListServiceSpecificCredentialsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the signing certificates associated with the specified IAM
     *             user. If none exists, the operation returns an empty list.</p>
     *         <p>Although each user is limited to a small number of signing certificates, you can still
     *             paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     *         <p>If the <code>UserName</code> field is not specified, the user name is determined
     *             implicitly based on the Amazon Web Services access key ID used to sign the request for this operation.
     *             This operation works for access keys under the Amazon Web Services account. Consequently, you can use
     *             this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account
     *             has no associated users.</p>
     */ public listSigningCertificates ( args , options ? ) ; public listSigningCertificates ( args , cb ) ; public listSigningCertificates ( args , options , cb ) ; public listSigningCertificates ( args , optionsOrCb ? , cb ? ) { const command = new ListSigningCertificatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the SSH public keys associated with the specified IAM
     *             user. If none exists, the operation returns an empty list.</p>
     *         <p>The SSH public keys returned by this operation are used only for authenticating the
     *             IAM user to an CodeCommit repository. For more information about using SSH keys to
     *             authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for
     *                 SSH connections</a> in the <i>CodeCommit User Guide</i>.</p>
     *         <p>Although each user is limited to a small number of keys, you can still paginate the
     *             results using the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
     */ public listSSHPublicKeys ( args , options ? ) ; public listSSHPublicKeys ( args , cb ) ; public listSSHPublicKeys ( args , options , cb ) ; public listSSHPublicKeys ( args , optionsOrCb ? , cb ? ) { const command = new ListSSHPublicKeysCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the names of the inline policies embedded in the specified IAM user.</p>
     *         <p>An IAM user can also have managed policies attached to it. To list the managed
     *             policies that are attached to a user, use <a>ListAttachedUserPolicies</a>.
     *             For more information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters. If there are no inline policies embedded with the specified user, the
     *             operation returns an empty list.</p>
     */ public listUserPolicies ( args , options ? ) ; public listUserPolicies ( args , cb ) ; public listUserPolicies ( args , options , cb ) ; public listUserPolicies ( args , optionsOrCb ? , cb ? ) { const command = new ListUserPoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the IAM users that have the specified path prefix. If no path prefix is
     *             specified, the operation returns all users in the Amazon Web Services account. If there are none, the
     *             operation returns an empty list.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a user, see <a>GetUser</a>.</p>
     *         </note>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listUsers ( args , options ? ) ; public listUsers ( args , cb ) ; public listUsers ( args , options , cb ) ; public listUsers ( args , optionsOrCb ? , cb ? ) { const command = new ListUsersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified IAM user. The returned list of tags is sorted by tag key. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public listUserTags ( args , options ? ) ; public listUserTags ( args , cb ) ; public listUserTags ( args , options , cb ) ; public listUserTags ( args , optionsOrCb ? , cb ? ) { const command = new ListUserTagsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the virtual MFA devices defined in the Amazon Web Services account by assignment status. If
     *             you do not specify an assignment status, the operation returns a list of all virtual MFA
     *             devices. Assignment status can be <code>Assigned</code>, <code>Unassigned</code>, or
     *                 <code>Any</code>.</p>
     *         <note>
     *             <p>IAM resource-listing operations return a subset of the available
     *    attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a virtual MFA device, see
     *                     <a>ListVirtualMFADevices</a>.</p>
     *         </note>
     *         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
     *             parameters.</p>
     */ public listVirtualMFADevices ( args , options ? ) ; public listVirtualMFADevices ( args , cb ) ; public listVirtualMFADevices ( args , options , cb ) ; public listVirtualMFADevices ( args , optionsOrCb ? , cb ? ) { const command = new ListVirtualMFADevicesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates an inline policy document that is embedded in the specified IAM
     *             group.</p>
     *         <p>A user can also have managed policies attached to it. To attach a managed policy to a
     *             group, use <a>AttachGroupPolicy</a>. To create a new managed policy, use
     *                 <a>CreatePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <p>For information about the maximum number of inline policies that you can embed in a
     *             group, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the <i>IAM User Guide</i>.</p>
     *         <note>
     *             <p>Because policy documents can be large, you should use POST rather than GET when
     *                 calling <code>PutGroupPolicy</code>. For general information about using the Query
     *                 API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query requests</a> in the
     *                     <i>IAM User Guide</i>.</p>
     *         </note>
     */ public putGroupPolicy ( args , options ? ) ; public putGroupPolicy ( args , cb ) ; public putGroupPolicy ( args , options , cb ) ; public putGroupPolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutGroupPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates the policy that is specified as the IAM role's permissions boundary.
     *             You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for
     *             a role. Use the boundary to control the maximum permissions that the role can have.
     *             Setting a permissions boundary is an advanced feature that can affect the permissions
     *             for the role.</p>
     *         <p>You cannot set the boundary for a service-linked role. </p>
     *         <important>
     *             <p>Policies used as permissions boundaries do not provide permissions. You must also
     *                 attach a permissions policy to the role. To learn how the effective permissions for
     *                 a role are evaluated, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html">IAM JSON policy
     *                     evaluation logic</a> in the IAM User Guide. </p>
     *         </important>
     */ public putRolePermissionsBoundary ( args , options ? ) ; public putRolePermissionsBoundary ( args , cb ) ; public putRolePermissionsBoundary ( args , options , cb ) ; public putRolePermissionsBoundary ( args , optionsOrCb ? , cb ? ) { const command = new PutRolePermissionsBoundaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates an inline policy document that is embedded in the specified IAM
     *             role.</p>
     *         <p>When you embed an inline policy in a role, the inline policy is used as part of the
     *             role's access (permissions) policy. The role's trust policy is created at the same time
     *             as the role, using <a>CreateRole</a>. You can update a role's trust policy
     *             using <a>UpdateAssumeRolePolicy</a>. For more information about IAM roles,
     *             see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">Using roles to
     *                 delegate permissions and federate identities</a>.</p>
     *         <p>A role can also have a managed policy attached to it. To attach a managed policy to a
     *             role, use <a>AttachRolePolicy</a>. To create a new managed policy, use <a>CreatePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <p>For information about the maximum number of inline policies that you can embed with a
     *             role, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the <i>IAM User Guide</i>.</p>
     *         <note>
     *             <p>Because policy documents can be large, you should use POST rather than GET when
     *                 calling <code>PutRolePolicy</code>. For general information about using the Query
     *                 API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query requests</a> in the
     *                     <i>IAM User Guide</i>.</p>
     *         </note>
     */ public putRolePolicy ( args , options ? ) ; public putRolePolicy ( args , cb ) ; public putRolePolicy ( args , options , cb ) ; public putRolePolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutRolePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates the policy that is specified as the IAM user's permissions boundary.
     *             You can use an Amazon Web Services managed policy or a customer managed policy to set the boundary for
     *             a user. Use the boundary to control the maximum permissions that the user can have.
     *             Setting a permissions boundary is an advanced feature that can affect the permissions
     *             for the user.</p>
     *         <important>
     *             <p>Policies that are used as permissions boundaries do not provide permissions. You
     *                 must also attach a permissions policy to the user. To learn how the effective
     *                 permissions for a user are evaluated, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html">IAM JSON policy
     *                     evaluation logic</a> in the IAM User Guide. </p>
     *         </important>
     */ public putUserPermissionsBoundary ( args , options ? ) ; public putUserPermissionsBoundary ( args , cb ) ; public putUserPermissionsBoundary ( args , options , cb ) ; public putUserPermissionsBoundary ( args , optionsOrCb ? , cb ? ) { const command = new PutUserPermissionsBoundaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds or updates an inline policy document that is embedded in the specified IAM
     *             user.</p>
     *         <p>An IAM user can also have a managed policy attached to it. To attach a managed
     *             policy to a user, use <a>AttachUserPolicy</a>. To create a new managed
     *             policy, use <a>CreatePolicy</a>. For information about policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed
     *                 policies and inline policies</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <p>For information about the maximum number of inline policies that you can embed in a
     *             user, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS quotas</a> in the <i>IAM User Guide</i>.</p>
     *         <note>
     *             <p>Because policy documents can be large, you should use POST rather than GET when
     *                 calling <code>PutUserPolicy</code>. For general information about using the Query
     *                 API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query requests</a> in the
     *                     <i>IAM User Guide</i>.</p>
     *         </note>
     */ public putUserPolicy ( args , options ? ) ; public putUserPolicy ( args , cb ) ; public putUserPolicy ( args , options , cb ) ; public putUserPolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutUserPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified client ID (also known as audience) from the list of client IDs
     *             registered for the specified IAM OpenID Connect (OIDC) provider resource
     *             object.</p>
     *         <p>This operation is idempotent; it does not fail or return an error if you try to remove
     *             a client ID that does not exist.</p>
     */ public removeClientIDFromOpenIDConnectProvider ( args , options ? ) ; public removeClientIDFromOpenIDConnectProvider ( args , cb ) ; public removeClientIDFromOpenIDConnectProvider ( args , options , cb ) ; public removeClientIDFromOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new RemoveClientIDFromOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified IAM role from the specified EC2 instance profile.</p>
     *         <important>
     *             <p>Make sure that you do not have any Amazon EC2 instances running with the role you
     *                 are about to remove from the instance profile. Removing a role from an instance
     *                 profile that is associated with a running instance might break any applications
     *                 running on the instance.</p>
     *         </important>
     *         <p> For more information about IAM roles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html">Working with roles</a>. For more
     *             information about instance profiles, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About instance
     *             profiles</a>.</p>
     */ public removeRoleFromInstanceProfile ( args , options ? ) ; public removeRoleFromInstanceProfile ( args , cb ) ; public removeRoleFromInstanceProfile ( args , options , cb ) ; public removeRoleFromInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new RemoveRoleFromInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified user from the specified group.</p>
     */ public removeUserFromGroup ( args , options ? ) ; public removeUserFromGroup ( args , cb ) ; public removeUserFromGroup ( args , options , cb ) ; public removeUserFromGroup ( args , optionsOrCb ? , cb ? ) { const command = new RemoveUserFromGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Resets the password for a service-specific credential. The new password is Amazon Web Services
     *             generated and cryptographically strong. It cannot be configured by the user. Resetting
     *             the password immediately invalidates the previous password associated with this
     *             user.</p>
     */ public resetServiceSpecificCredential ( args , options ? ) ; public resetServiceSpecificCredential ( args , cb ) ; public resetServiceSpecificCredential ( args , options , cb ) ; public resetServiceSpecificCredential ( args , optionsOrCb ? , cb ? ) { const command = new ResetServiceSpecificCredentialCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services
     *             servers.</p>
     *         <p>For more information about creating and working with virtual MFA devices, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html">Using a virtual MFA
     *                 device</a> in the <i>IAM User Guide</i>.</p>
     */ public resyncMFADevice ( args , options ? ) ; public resyncMFADevice ( args , cb ) ; public resyncMFADevice ( args , options , cb ) ; public resyncMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new ResyncMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the specified version of the specified policy as the policy's default (operative)
     *             version.</p>
     *         <p>This operation affects all users, groups, and roles that the policy is attached to. To
     *             list the users, groups, and roles that the policy is attached to, use <a>ListEntitiesForPolicy</a>.</p>
     *         <p>For information about managed policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html">Managed policies and inline
     *                 policies</a> in the <i>IAM User Guide</i>.</p>
     */ public setDefaultPolicyVersion ( args , options ? ) ; public setDefaultPolicyVersion ( args , cb ) ; public setDefaultPolicyVersion ( args , options , cb ) ; public setDefaultPolicyVersion ( args , optionsOrCb ? , cb ? ) { const command = new SetDefaultPolicyVersionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the specified version of the global endpoint token as the token version used for
     *             the Amazon Web Services account.</p>
     *         <p>By default, Security Token Service (STS) is available as a global service, and all STS requests
     *             go to a single endpoint at <code>https://sts.amazonaws.com</code>. Amazon Web Services recommends
     *             using Regional STS endpoints to reduce latency, build in redundancy, and increase
     *             session token availability. For information about Regional endpoints for STS, see
     *           <a href="https://docs.aws.amazon.com/general/latest/gr/sts.html">Security Token Service
     *                 endpoints and quotas</a> in the <i>Amazon Web Services General Reference</i>.</p>
     *         <p>If you make an STS call to the global endpoint, the resulting session tokens might
     *             be valid in some Regions but not others. It depends on the version that is set in this
     *             operation. Version 1 tokens are valid only in Amazon Web Services Regions that are
     *             available by default. These tokens do not work in manually enabled Regions, such as Asia
     *             Pacific (Hong Kong). Version 2 tokens are valid in all Regions. However, version 2
     *             tokens are longer and might affect systems where you temporarily store tokens. For
     *             information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
     *                 deactivating STS in an Amazon Web Services Region</a> in the
     *                 <i>IAM User Guide</i>.</p>
     *         <p>To view the current session token version, see the
     *                 <code>GlobalEndpointTokenVersion</code> entry in the response of the <a>GetAccountSummary</a> operation.</p>
     */ public setSecurityTokenServicePreferences ( args , options ? ) ; public setSecurityTokenServicePreferences ( args , cb ) ; public setSecurityTokenServicePreferences ( args , options , cb ) ; public setSecurityTokenServicePreferences ( args , optionsOrCb ? , cb ? ) { const command = new SetSecurityTokenServicePreferencesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Simulate how a set of IAM policies and optionally a resource-based policy works with
     *             a list of API operations and Amazon Web Services resources to determine the policies' effective
     *             permissions. The policies are provided as strings.</p>
     *         <p>The simulation does not perform the API operations; it only checks the authorization
     *             to determine if the simulated policies allow or deny the operations. You can simulate
     *             resources that don't exist in your account.</p>
     *         <p>If you want to simulate existing policies that are attached to an IAM user, group,
     *             or role, use <a>SimulatePrincipalPolicy</a> instead.</p>
     *         <p>Context keys are variables that are maintained by Amazon Web Services and its services and which
     *             provide details about the context of an API query request. You can use the
     *                 <code>Condition</code> element of an IAM policy to evaluate context keys. To get
     *             the list of context keys that the policies require for correct simulation, use <a>GetContextKeysForCustomPolicy</a>.</p>
     *         <p>If the output is long, you can use <code>MaxItems</code> and <code>Marker</code>
     *             parameters to paginate the results.</p>
     *         <p>For more information about using the policy simulator, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html">Testing IAM policies
     *                 with the IAM policy simulator </a>in the
     *             <i>IAM User Guide</i>.</p>
     */ public simulateCustomPolicy ( args , options ? ) ; public simulateCustomPolicy ( args , cb ) ; public simulateCustomPolicy ( args , options , cb ) ; public simulateCustomPolicy ( args , optionsOrCb ? , cb ? ) { const command = new SimulateCustomPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Simulate how a set of IAM policies attached to an IAM entity works with a list of
     *             API operations and Amazon Web Services resources to determine the policies' effective permissions. The
     *             entity can be an IAM user, group, or role. If you specify a user, then the simulation
     *             also includes all of the policies that are attached to groups that the user belongs to.
     *             You can simulate resources that don't exist in your account.</p>
     *         <p>You can optionally include a list of one or more additional policies specified as
     *             strings to include in the simulation. If you want to simulate only policies specified as
     *             strings, use <a>SimulateCustomPolicy</a> instead.</p>
     *         <p>You can also optionally include one resource-based policy to be evaluated with each of
     *             the resources included in the simulation.</p>
     *         <p>The simulation does not perform the API operations; it only checks the authorization
     *             to determine if the simulated policies allow or deny the operations.</p>
     *         <p>
     *             <b>Note:</b> This operation discloses information about the
     *             permissions granted to other users. If you do not want users to see other user's
     *             permissions, then consider allowing them to use <a>SimulateCustomPolicy</a>
     *             instead.</p>
     *         <p>Context keys are variables maintained by Amazon Web Services and its services that provide details
     *             about the context of an API query request. You can use the <code>Condition</code>
     *             element of an IAM policy to evaluate context keys. To get the list of context keys
     *             that the policies require for correct simulation, use <a>GetContextKeysForPrincipalPolicy</a>.</p>
     *         <p>If the output is long, you can use the <code>MaxItems</code> and <code>Marker</code>
     *             parameters to paginate the results.</p>
     *         <p>For more information about using the policy simulator, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_testing-policies.html">Testing IAM policies
     *                 with the IAM policy simulator </a>in the
     *             <i>IAM User Guide</i>.</p>
     */ public simulatePrincipalPolicy ( args , options ? ) ; public simulatePrincipalPolicy ( args , cb ) ; public simulatePrincipalPolicy ( args , options , cb ) ; public simulatePrincipalPolicy ( args , optionsOrCb ? , cb ? ) { const command = new SimulatePrincipalPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an IAM instance profile. If a tag with the same key name
     *       already exists, then that tag is overwritten with the new value.</p>
     *          <p>Each tag consists of a key name and an associated value. By assigning tags to your resources, you can do the
     *       following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only an IAM instance
     *           profile that has a specified tag attached. For examples of policies that show how to use
     *           tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *             <i>IAM User Guide</i>.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     */ public tagInstanceProfile ( args , options ? ) ; public tagInstanceProfile ( args , cb ) ; public tagInstanceProfile ( args , options , cb ) ; public tagInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new TagInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an IAM virtual multi-factor authentication (MFA) device. If
     *       a tag with the same key name already exists, then that tag is overwritten with the new
     *       value.</p>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only an IAM virtual
     *           MFA device that has a specified tag attached. For examples of policies that show how to
     *           use tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *             <i>IAM User Guide</i>.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     */ public tagMFADevice ( args , options ? ) ; public tagMFADevice ( args , cb ) ; public tagMFADevice ( args , options , cb ) ; public tagMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new TagMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an OpenID Connect (OIDC)-compatible identity provider. For
     *       more information about these providers, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html">About web identity federation</a>. If
     *       a tag with the same key name already exists, then that tag is overwritten with the new
     *       value.</p>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only an OIDC provider
     *           that has a specified tag attached. For examples of policies that show how to use tags to
     *           control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *           <i>IAM User Guide</i>.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     */ public tagOpenIDConnectProvider ( args , options ? ) ; public tagOpenIDConnectProvider ( args , cb ) ; public tagOpenIDConnectProvider ( args , options , cb ) ; public tagOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new TagOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an IAM customer managed policy. If a tag with the same key
     *       name already exists, then that tag is overwritten with the new value.</p>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only an IAM customer
     *           managed policy that has a specified tag attached. For examples of policies that show how
     *           to use tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *             <i>IAM User Guide</i>.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     */ public tagPolicy ( args , options ? ) ; public tagPolicy ( args , cb ) ; public tagPolicy ( args , options , cb ) ; public tagPolicy ( args , optionsOrCb ? , cb ? ) { const command = new TagPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an IAM role. The role can be a regular role or a
     *       service-linked role. If a tag with the same key name already exists, then that tag is
     *       overwritten with the new value.</p>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only an IAM role
     *           that has a specified tag attached. You can also restrict access to only those resources
     *           that have a certain tag attached. For examples of policies that show how to use tags to
     *           control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *           <i>IAM User Guide</i>.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Cost allocation</b> - Use tags to help track which
     *           individuals and teams are using which Amazon Web Services resources.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     *          <p>For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM identities</a> in the
     *         <i>IAM User Guide</i>.</p>
     */ public tagRole ( args , options ? ) ; public tagRole ( args , cb ) ; public tagRole ( args , options , cb ) ; public tagRole ( args , optionsOrCb ? , cb ? ) { const command = new TagRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to a Security Assertion Markup Language (SAML) identity provider.
     *       For more information about these providers, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html">About SAML 2.0-based federation </a>.
     *       If a tag with the same key name already exists, then that tag is overwritten with the new
     *       value.</p>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only a SAML identity
     *           provider that has a specified tag attached. For examples of policies that show how to use
     *           tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *             <i>IAM User Guide</i>.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     */ public tagSAMLProvider ( args , options ? ) ; public tagSAMLProvider ( args , cb ) ; public tagSAMLProvider ( args , options , cb ) ; public tagSAMLProvider ( args , optionsOrCb ? , cb ? ) { const command = new TagSAMLProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an IAM server certificate. If a tag with the same key name
     *       already exists, then that tag is overwritten with the new value.</p>
     *          <note>
     *             <p>For certificates in a Region supported by Certificate Manager (ACM), we
     *         recommend that you don't use IAM server certificates. Instead, use ACM to provision,
     *         manage, and deploy your server certificates. For more information about IAM server
     *         certificates, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working with server
     *           certificates</a> in the <i>IAM User Guide</i>.</p>
     *          </note>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only a server
     *           certificate that has a specified tag attached. For examples of policies that show how to
     *           use tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *             <i>IAM User Guide</i>.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Cost allocation</b> - Use tags to help track which
     *           individuals and teams are using which Amazon Web Services resources.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     */ public tagServerCertificate ( args , options ? ) ; public tagServerCertificate ( args , cb ) ; public tagServerCertificate ( args , options , cb ) ; public tagServerCertificate ( args , optionsOrCb ? , cb ? ) { const command = new TagServerCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds one or more tags to an IAM user. If a tag with the same key name already exists,
     *       then that tag is overwritten with the new value.</p>
     *          <p>A tag consists of a key name and an associated value. By assigning tags to your
     *       resources, you can do the following:</p>
     *          <ul>
     *             <li>
     *                <p>
     *                   <b>Administrative grouping and discovery</b> - Attach
     *           tags to resources to aid in organization and search. For example, you could search for all
     *           resources with the key name <i>Project</i> and the value
     *             <i>MyImportantProject</i>. Or search for all resources with the key name
     *             <i>Cost Center</i> and the value <i>41200</i>. </p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Access control</b> - Include tags in IAM user-based
     *           and resource-based policies. You can use tags to restrict access to only an IAM
     *           requesting user that has a specified tag attached. You can also restrict access to only
     *           those resources that have a certain tag attached. For examples of policies that show how
     *           to use tags to control access, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html">Control access using IAM tags</a> in the
     *             <i>IAM User Guide</i>.</p>
     *             </li>
     *             <li>
     *                <p>
     *                   <b>Cost allocation</b> - Use tags to help track which
     *           individuals and teams are using which Amazon Web Services resources.</p>
     *             </li>
     *          </ul>
     *          <note>
     *             <ul>
     *                <li>
     *                   <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request
     *    fails and the resource is not created. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *                </li>
     *                <li>
     *                   <p>Amazon Web Services always interprets the tag <code>Value</code> as a single string. If you
     *             need to store an array, you can store comma-separated values in the string. However, you
     *             must interpret the value in your code.</p>
     *                </li>
     *             </ul>
     *          </note>
     *          <p>For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM identities</a> in the
     *         <i>IAM User Guide</i>.</p>
     */ public tagUser ( args , options ? ) ; public tagUser ( args , cb ) ; public tagUser ( args , options , cb ) ; public tagUser ( args , optionsOrCb ? , cb ? ) { const command = new TagUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the IAM instance profile. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagInstanceProfile ( args , options ? ) ; public untagInstanceProfile ( args , cb ) ; public untagInstanceProfile ( args , options , cb ) ; public untagInstanceProfile ( args , optionsOrCb ? , cb ? ) { const command = new UntagInstanceProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the IAM virtual multi-factor authentication (MFA)
     *       device. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagMFADevice ( args , options ? ) ; public untagMFADevice ( args , cb ) ; public untagMFADevice ( args , options , cb ) ; public untagMFADevice ( args , optionsOrCb ? , cb ? ) { const command = new UntagMFADeviceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the specified OpenID Connect (OIDC)-compatible identity
     *       provider in IAM. For more information about OIDC providers, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html">About web identity federation</a>.
     *       For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagOpenIDConnectProvider ( args , options ? ) ; public untagOpenIDConnectProvider ( args , cb ) ; public untagOpenIDConnectProvider ( args , options , cb ) ; public untagOpenIDConnectProvider ( args , optionsOrCb ? , cb ? ) { const command = new UntagOpenIDConnectProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the customer managed policy. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagPolicy ( args , options ? ) ; public untagPolicy ( args , cb ) ; public untagPolicy ( args , options , cb ) ; public untagPolicy ( args , optionsOrCb ? , cb ? ) { const command = new UntagPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the role. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagRole ( args , options ? ) ; public untagRole ( args , cb ) ; public untagRole ( args , options , cb ) ; public untagRole ( args , optionsOrCb ? , cb ? ) { const command = new UntagRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the specified Security Assertion Markup Language (SAML)
     *       identity provider in IAM. For more information about these providers, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc.html">About web identity
     *         federation</a>. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagSAMLProvider ( args , options ? ) ; public untagSAMLProvider ( args , cb ) ; public untagSAMLProvider ( args , options , cb ) ; public untagSAMLProvider ( args , optionsOrCb ? , cb ? ) { const command = new UntagSAMLProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the IAM server certificate.
     *       For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     *          <note>
     *             <p>For certificates in a Region supported by Certificate Manager (ACM), we
     *         recommend that you don't use IAM server certificates. Instead, use ACM to provision,
     *         manage, and deploy your server certificates. For more information about IAM server
     *         certificates, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working with server
     *           certificates</a> in the <i>IAM User Guide</i>.</p>
     *          </note>
     */ public untagServerCertificate ( args , options ? ) ; public untagServerCertificate ( args , cb ) ; public untagServerCertificate ( args , options , cb ) ; public untagServerCertificate ( args , optionsOrCb ? , cb ? ) { const command = new UntagServerCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes the specified tags from the user. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the
     *       <i>IAM User Guide</i>.</p>
     */ public untagUser ( args , options ? ) ; public untagUser ( args , cb ) ; public untagUser ( args , options , cb ) ; public untagUser ( args , optionsOrCb ? , cb ? ) { const command = new UntagUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the status of the specified access key from Active to Inactive, or vice versa.
     *             This operation can be used to disable a user's key as part of a key rotation
     *             workflow.</p>
     *         <p>If the <code>UserName</code> is not specified, the user name is determined implicitly
     *             based on the Amazon Web Services access key ID used to sign the request. This operation works for
     *             access keys under the Amazon Web Services account. Consequently, you can use this operation to manage
     *             Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated
     *             users.</p>
     *         <p>For information about rotating keys, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingCredentials.html">Managing keys and certificates</a>
     *             in the <i>IAM User Guide</i>.</p>
     */ public updateAccessKey ( args , options ? ) ; public updateAccessKey ( args , cb ) ; public updateAccessKey ( args , options , cb ) ; public updateAccessKey ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAccessKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the password policy settings for the Amazon Web Services account.</p>
     *         <note>
     *             <ul>
     *                <li>
     *                     <p>This operation does not support partial updates. No parameters are
     *                         required, but if you do not specify a parameter, that parameter's value
     *                         reverts to its default value. See the <b>Request
     *                             Parameters</b> section for each parameter's default value. Also
     *                         note that some parameters do not allow the default parameter to be
     *                         explicitly set. Instead, to invoke the default value, do not include that
     *                         parameter when you invoke the operation.</p>
     *                 </li>
     *             </ul>
     *         </note>
     *         <p> For more information about using a password policy, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html">Managing an IAM password
     *                 policy</a> in the <i>IAM User Guide</i>.</p>
     */ public updateAccountPasswordPolicy ( args , options ? ) ; public updateAccountPasswordPolicy ( args , cb ) ; public updateAccountPasswordPolicy ( args , options , cb ) ; public updateAccountPasswordPolicy ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAccountPasswordPolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the policy that grants an IAM entity permission to assume a role. This is
     *             typically referred to as the "role trust policy". For more information about roles, see
     *                 <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html">Using roles to
     *                 delegate permissions and federate identities</a>.</p>
     */ public updateAssumeRolePolicy ( args , options ? ) ; public updateAssumeRolePolicy ( args , cb ) ; public updateAssumeRolePolicy ( args , options , cb ) ; public updateAssumeRolePolicy ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAssumeRolePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the name and/or the path of the specified IAM group.</p>
     *         <important>
     *             <p> You should understand the implications of changing a group's path or name. For
     *                 more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_WorkingWithGroupsAndUsers.html">Renaming users and
     *                     groups</a> in the <i>IAM User Guide</i>.</p>
     *         </important>
     *         <note>
     *             <p>The person making the request (the principal), must have permission to change the
     *                 role group with the old name and the new name. For example, to change the group
     *                 named <code>Managers</code> to <code>MGRs</code>, the principal must have a policy
     *                 that allows them to update both groups. If the principal has permission to update
     *                 the <code>Managers</code> group, but not the <code>MGRs</code> group, then the
     *                 update fails. For more information about permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management</a>.
     *             </p>
     *         </note>
     */ public updateGroup ( args , options ? ) ; public updateGroup ( args , cb ) ; public updateGroup ( args , options , cb ) ; public updateGroup ( args , optionsOrCb ? , cb ? ) { const command = new UpdateGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the password for the specified IAM user. You can use the CLI,
     *             the Amazon Web Services API, or the <b>Users</b> page in the IAM console
     *             to change the password for any IAM user. Use <a>ChangePassword</a> to
     *             change your own password in the <b>My Security Credentials</b>
     *             page in the Amazon Web Services Management Console.</p>
     *         <p>For more information about modifying passwords, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingLogins.html">Managing passwords</a> in the
     *                 <i>IAM User Guide</i>.</p>
     */ public updateLoginProfile ( args , options ? ) ; public updateLoginProfile ( args , cb ) ; public updateLoginProfile ( args , options , cb ) ; public updateLoginProfile ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLoginProfileCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Replaces the existing list of server certificate thumbprints associated with an OpenID
     *             Connect (OIDC) provider resource object with a new list of thumbprints.</p>
     *         <p>The list that you pass with this operation completely replaces the existing list of
     *             thumbprints. (The lists are not merged.)</p>
     *         <p>Typically, you need to update a thumbprint only when the identity provider
     *             certificate changes, which occurs rarely. However, if the provider's certificate
     *                 <i>does</i> change, any attempt to assume an IAM role that specifies
     *             the OIDC provider as a principal fails until the certificate thumbprint is
     *             updated.</p>
     *         <note>
     *             <p>Amazon Web Services secures communication with some OIDC identity providers (IdPs) through our
     *             library of trusted certificate authorities (CAs) instead of using a certificate
     *             thumbprint to verify your IdP server certificate. These OIDC IdPs include Google, and
     *             those that use an Amazon S3 bucket to host a JSON Web Key Set (JWKS) endpoint. In these
     *             cases, your legacy thumbprint remains in your configuration, but is no longer used for validation.</p>
     *          </note>
     *         <note>
     *             <p>Trust for the OIDC provider is derived from the provider certificate and is
     *                 validated by the thumbprint. Therefore, it is best to limit access to the
     *                     <code>UpdateOpenIDConnectProviderThumbprint</code> operation to highly
     *                 privileged users.</p>
     *         </note>
     */ public updateOpenIDConnectProviderThumbprint ( args , options ? ) ; public updateOpenIDConnectProviderThumbprint ( args , cb ) ; public updateOpenIDConnectProviderThumbprint ( args , options , cb ) ; public updateOpenIDConnectProviderThumbprint ( args , optionsOrCb ? , cb ? ) { const command = new UpdateOpenIDConnectProviderThumbprintCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the description or maximum session duration setting of a role.</p>
     */ public updateRole ( args , options ? ) ; public updateRole ( args , cb ) ; public updateRole ( args , options , cb ) ; public updateRole ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRoleCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Use <a>UpdateRole</a> instead.</p>
     *         <p>Modifies only the description of a role. This operation performs the same function as
     *             the <code>Description</code> parameter in the <code>UpdateRole</code> operation.</p>
     */ public updateRoleDescription ( args , options ? ) ; public updateRoleDescription ( args , cb ) ; public updateRoleDescription ( args , options , cb ) ; public updateRoleDescription ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRoleDescriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the metadata document for an existing SAML provider resource object.</p>
     *         <note>
     *             <p>This operation requires <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
     *         </note>
     */ public updateSAMLProvider ( args , options ? ) ; public updateSAMLProvider ( args , cb ) ; public updateSAMLProvider ( args , options , cb ) ; public updateSAMLProvider ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSAMLProviderCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the name and/or the path of the specified server certificate stored in
     *             IAM.</p>
     *         <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
     *                 with server certificates</a> in the <i>IAM User Guide</i>. This
     *             topic also includes a list of Amazon Web Services services that can use the server certificates that
     *             you manage with IAM.</p>
     *         <important>
     *             <p>You should understand the implications of changing a server certificate's path or
     *                 name. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs_manage.html#RenamingServerCerts">Renaming a server certificate</a> in the
     *                     <i>IAM User Guide</i>.</p>
     *         </important>
     *         <note>
     *             <p>The person making the request (the principal), must have permission to change the
     *                 server certificate with the old name and the new name. For example, to change the
     *                 certificate named <code>ProductionCert</code> to <code>ProdCert</code>, the
     *                 principal must have a policy that allows them to update both certificates. If the
     *                 principal has permission to update the <code>ProductionCert</code> group, but not
     *                 the <code>ProdCert</code> certificate, then the update fails. For more information
     *                 about permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management</a> in the <i>IAM User Guide</i>.</p>
     *         </note>
     */ public updateServerCertificate ( args , options ? ) ; public updateServerCertificate ( args , cb ) ; public updateServerCertificate ( args , options , cb ) ; public updateServerCertificate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServerCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the status of a service-specific credential to <code>Active</code> or
     *                 <code>Inactive</code>. Service-specific credentials that are inactive cannot be used
     *             for authentication to the service. This operation can be used to disable a user's
     *             service-specific credential as part of a credential rotation work flow.</p>
     */ public updateServiceSpecificCredential ( args , options ? ) ; public updateServiceSpecificCredential ( args , cb ) ; public updateServiceSpecificCredential ( args , options , cb ) ; public updateServiceSpecificCredential ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServiceSpecificCredentialCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Changes the status of the specified user signing certificate from active to disabled,
     *             or vice versa. This operation can be used to disable an IAM user's signing certificate
     *             as part of a certificate rotation work flow.</p>
     *         <p>If the <code>UserName</code> field is not specified, the user name is determined
     *             implicitly based on the Amazon Web Services access key ID used to sign the request. This operation
     *             works for access keys under the Amazon Web Services account. Consequently, you can use this operation
     *             to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no
     *             associated users.</p>
     */ public updateSigningCertificate ( args , options ? ) ; public updateSigningCertificate ( args , cb ) ; public updateSigningCertificate ( args , options , cb ) ; public updateSigningCertificate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSigningCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Sets the status of an IAM user's SSH public key to active or inactive. SSH public
     *             keys that are inactive cannot be used for authentication. This operation can be used to
     *             disable a user's SSH public key as part of a key rotation work flow.</p>
     *         <p>The SSH public key affected by this operation is used only for authenticating the
     *             associated IAM user to an CodeCommit repository. For more information about using SSH keys
     *             to authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for
     *                 SSH connections</a> in the <i>CodeCommit User Guide</i>.</p>
     */ public updateSSHPublicKey ( args , options ? ) ; public updateSSHPublicKey ( args , cb ) ; public updateSSHPublicKey ( args , options , cb ) ; public updateSSHPublicKey ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSSHPublicKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the name and/or the path of the specified IAM user.</p>
     *         <important>
     *             <p> You should understand the implications of changing an IAM user's path or name.
     *                 For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_renaming">Renaming an IAM
     *                     user</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_manage_rename.html">Renaming an IAM
     *                     group</a> in the <i>IAM User Guide</i>.</p>
     *         </important>
     *         <note>
     *             <p> To change a user name, the requester must have appropriate permissions on both
     *                 the source object and the target object. For example, to change Bob to Robert, the
     *                 entity making the request must have permission on Bob and Robert, or must have
     *                 permission on all (*). For more information about permissions, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/PermissionsAndPolicies.html">Permissions and policies</a>. </p>
     *         </note>
     */ public updateUser ( args , options ? ) ; public updateUser ( args , cb ) ; public updateUser ( args , options , cb ) ; public updateUser ( args , optionsOrCb ? , cb ? ) { const command = new UpdateUserCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Uploads a server certificate entity for the Amazon Web Services account. The server certificate
     *             entity includes a public key certificate, a private key, and an optional certificate
     *             chain, which should all be PEM-encoded.</p>
     *         <p>We recommend that you use <a href="https://docs.aws.amazon.com/acm/">Certificate Manager</a> to provision, manage, and deploy your server certificates. With ACM
     *             you can request a certificate, deploy it to Amazon Web Services resources, and let ACM handle
     *             certificate renewals for you. Certificates provided by ACM are free. For more
     *             information about using ACM, see the <a href="https://docs.aws.amazon.com/acm/latest/userguide/">Certificate Manager User Guide</a>.</p>
     *         <p>For more information about working with server certificates, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Working
     *                 with server certificates</a> in the <i>IAM User Guide</i>. This
     *             topic includes a list of Amazon Web Services services that can use the server certificates that you
     *             manage with IAM.</p>
     *         <p>For information about the number of server certificates you can upload, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html">IAM and STS
     *                 quotas</a> in the <i>IAM User Guide</i>.</p>
     *         <note>
     *             <p>Because the body of the public key certificate, private key, and the certificate
     *                 chain can be large, you should use POST rather than GET when calling
     *                     <code>UploadServerCertificate</code>. For information about setting up
     *                 signatures and authorization through the API, see <a href="https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html">Signing Amazon Web Services API
     *                     requests</a> in the <i>Amazon Web Services General Reference</i>. For general
     *                 information about using the Query API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/programming.html">Calling the API by making HTTP query
     *                     requests</a> in the <i>IAM User Guide</i>.</p>
     *         </note>
     */ public uploadServerCertificate ( args , options ? ) ; public uploadServerCertificate ( args , cb ) ; public uploadServerCertificate ( args , options , cb ) ; public uploadServerCertificate ( args , optionsOrCb ? , cb ? ) { const command = new UploadServerCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Uploads an X.509 signing certificate and associates it with the specified IAM user.
     *             Some Amazon Web Services services require you to use certificates to validate requests that are signed
     *             with a corresponding private key. When you upload the certificate, its default status is
     *                 <code>Active</code>.</p>
     *         <p>For information about when you would use an X.509 signing certificate, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html">Managing
     *                 server certificates in IAM</a> in the
     *             <i>IAM User Guide</i>.</p>
     *         <p>If the <code>UserName</code> is not specified, the IAM user name is determined
     *             implicitly based on the Amazon Web Services access key ID used to sign the request. This operation
     *             works for access keys under the Amazon Web Services account. Consequently, you can use this operation
     *             to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no
     *             associated users.</p>
     *         <note>
     *             <p>Because the body of an X.509 certificate can be large, you should use POST rather
     *                 than GET when calling <code>UploadSigningCertificate</code>. For information about
     *                 setting up signatures and authorization through the API, see <a href="https://docs.aws.amazon.com/general/latest/gr/signing_aws_api_requests.html">Signing
     *                     Amazon Web Services API requests</a> in the <i>Amazon Web Services General Reference</i>. For
     *                 general information about using the Query API with IAM, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/IAM_UsingQueryAPI.html">Making query
     *                     requests</a> in the <i>IAM User Guide</i>.</p>
     *         </note>
     */ public uploadSigningCertificate ( args , options ? ) ; public uploadSigningCertificate ( args , cb ) ; public uploadSigningCertificate ( args , options , cb ) ; public uploadSigningCertificate ( args , optionsOrCb ? , cb ? ) { const command = new UploadSigningCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Uploads an SSH public key and associates it with the specified IAM user.</p>
     *         <p>The SSH public key uploaded by this operation can be used only for authenticating the
     *             associated IAM user to an CodeCommit repository. For more information about using SSH keys
     *             to authenticate to an CodeCommit repository, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html">Set up CodeCommit for
     *                 SSH connections</a> in the <i>CodeCommit User Guide</i>.</p>
     */ public uploadSSHPublicKey ( args , options ? ) ; public uploadSSHPublicKey ( args , cb ) ; public uploadSSHPublicKey ( args , options , cb ) ; public uploadSSHPublicKey ( args , optionsOrCb ? , cb ? ) { const command = new UploadSSHPublicKeyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }