Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Changes the password for the specified IAM user.
IAM users can change their own passwords by calling ChangePassword
. For more information about modifying passwords, see Managing Passwords in the IAM User Guide .
Synopsis
- updateLoginProfile :: Text -> UpdateLoginProfile
- data UpdateLoginProfile
- ulpPassword :: Lens' UpdateLoginProfile (Maybe Text)
- ulpPasswordResetRequired :: Lens' UpdateLoginProfile (Maybe Bool)
- ulpUserName :: Lens' UpdateLoginProfile Text
- updateLoginProfileResponse :: UpdateLoginProfileResponse
- data UpdateLoginProfileResponse
Creating a Request
Creates a value of UpdateLoginProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ulpPassword
- The new password for the specified IAM user. The regex pattern used to validate this parameter is a string of characters consisting of the following: * Any printable ASCII character ranging from the space character (u0020) through the end of the ASCII character range * The printable characters in the Basic Latin and Latin-1 Supplement character set (through u00FF) * The special characters tab (u0009), line feed (u000A), and carriage return (u000D) However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, seeUpdateAccountPasswordPolicy
.ulpPasswordResetRequired
- Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.ulpUserName
- The name of the user whose password you want to update. This parameter allows (per 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: _+=,.@-
data UpdateLoginProfile Source #
See: updateLoginProfile
smart constructor.
Instances
Request Lenses
ulpPassword :: Lens' UpdateLoginProfile (Maybe Text) Source #
The new password for the specified IAM user. The regex pattern used to validate this parameter is a string of characters consisting of the following: * Any printable ASCII character ranging from the space character (u0020) through the end of the ASCII character range * The printable characters in the Basic Latin and Latin-1 Supplement character set (through u00FF) * The special characters tab (u0009), line feed (u000A), and carriage return (u000D) However, the format can be further restricted by the account administrator by setting a password policy on the AWS account. For more information, see UpdateAccountPasswordPolicy
.
ulpPasswordResetRequired :: Lens' UpdateLoginProfile (Maybe Bool) Source #
Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
ulpUserName :: Lens' UpdateLoginProfile Text Source #
The name of the user whose password you want to update. This parameter allows (per 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
updateLoginProfileResponse :: UpdateLoginProfileResponse Source #
Creates a value of UpdateLoginProfileResponse
with the minimum fields required to make a request.
data UpdateLoginProfileResponse Source #
See: updateLoginProfileResponse
smart constructor.