Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes the password for the specified IAM user, For more information, see Managing passwords for IAM users.
You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to delete a password for any IAM user. You can use ChangePassword to update, but not delete, your own password in the __My Security Credentials__ page in the Amazon Web Services Management Console.
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 UpdateAccessKey and DeleteAccessKey.
Synopsis
Creating a Request
data DeleteLoginProfile Source #
See: newDeleteLoginProfile
smart constructor.
DeleteLoginProfile' | |
|
Instances
newDeleteLoginProfile Source #
Create a value of DeleteLoginProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteLoginProfile
, deleteLoginProfile_userName
- The name of the user whose password you want to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Request Lenses
deleteLoginProfile_userName :: Lens' DeleteLoginProfile Text Source #
The name of the user whose password you want to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Destructuring the Response
data DeleteLoginProfileResponse Source #
See: newDeleteLoginProfileResponse
smart constructor.
Instances
newDeleteLoginProfileResponse :: DeleteLoginProfileResponse Source #
Create a value of DeleteLoginProfileResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.