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 |
Updates the password policy settings for the AWS account.
For more information about using a password policy, see Managing an IAM Password Policy in the IAM User Guide .
Synopsis
- updateAccountPasswordPolicy :: UpdateAccountPasswordPolicy
- data UpdateAccountPasswordPolicy
- uappMinimumPasswordLength :: Lens' UpdateAccountPasswordPolicy (Maybe Natural)
- uappRequireNumbers :: Lens' UpdateAccountPasswordPolicy (Maybe Bool)
- uappPasswordReusePrevention :: Lens' UpdateAccountPasswordPolicy (Maybe Natural)
- uappRequireLowercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool)
- uappMaxPasswordAge :: Lens' UpdateAccountPasswordPolicy (Maybe Natural)
- uappHardExpiry :: Lens' UpdateAccountPasswordPolicy (Maybe Bool)
- uappRequireSymbols :: Lens' UpdateAccountPasswordPolicy (Maybe Bool)
- uappRequireUppercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool)
- uappAllowUsersToChangePassword :: Lens' UpdateAccountPasswordPolicy (Maybe Bool)
- updateAccountPasswordPolicyResponse :: UpdateAccountPasswordPolicyResponse
- data UpdateAccountPasswordPolicyResponse
Creating a Request
updateAccountPasswordPolicy :: UpdateAccountPasswordPolicy Source #
Creates a value of UpdateAccountPasswordPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uappMinimumPasswordLength
- The minimum number of characters allowed in an IAM user password. If you do not specify a value for this parameter, then the operation uses the default value of6
.uappRequireNumbers
- Specifies whether IAM user passwords must contain at least one numeric character (0 to 9). If you do not specify a value for this parameter, then the operation uses the default value offalse
. The result is that passwords do not require at least one numeric character.uappPasswordReusePrevention
- Specifies the number of previous passwords that IAM users are prevented from reusing. If you do not specify a value for this parameter, then the operation uses the default value of0
. The result is that IAM users are not prevented from reusing previous passwords.uappRequireLowercaseCharacters
- Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). If you do not specify a value for this parameter, then the operation uses the default value offalse
. The result is that passwords do not require at least one lowercase character.uappMaxPasswordAge
- The number of days that an IAM user password is valid. If you do not specify a value for this parameter, then the operation uses the default value of0
. The result is that IAM user passwords never expire.uappHardExpiry
- Prevents IAM users from setting a new password after their password has expired. The IAM user cannot be accessed until an administrator resets the password. If you do not specify a value for this parameter, then the operation uses the default value offalse
. The result is that IAM users can change their passwords after they expire and continue to sign in as the user.uappRequireSymbols
- Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: !# $ % ^ & * ( ) _ + - = [ ] { } | ' If you do not specify a value for this parameter, then the operation uses the default value of
false@ . The result is that passwords do not require at least one symbol character.uappRequireUppercaseCharacters
- Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). If you do not specify a value for this parameter, then the operation uses the default value offalse
. The result is that passwords do not require at least one uppercase character.uappAllowUsersToChangePassword
- Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see Letting IAM Users Change Their Own Passwords in the IAM User Guide . If you do not specify a value for this parameter, then the operation uses the default value offalse
. The result is that IAM users in the account do not automatically have permissions to change their own password.
data UpdateAccountPasswordPolicy Source #
See: updateAccountPasswordPolicy
smart constructor.
Instances
Request Lenses
uappMinimumPasswordLength :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) Source #
The minimum number of characters allowed in an IAM user password. If you do not specify a value for this parameter, then the operation uses the default value of 6
.
uappRequireNumbers :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) Source #
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9). If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one numeric character.
uappPasswordReusePrevention :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) Source #
Specifies the number of previous passwords that IAM users are prevented from reusing. If you do not specify a value for this parameter, then the operation uses the default value of 0
. The result is that IAM users are not prevented from reusing previous passwords.
uappRequireLowercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) Source #
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one lowercase character.
uappMaxPasswordAge :: Lens' UpdateAccountPasswordPolicy (Maybe Natural) Source #
The number of days that an IAM user password is valid. If you do not specify a value for this parameter, then the operation uses the default value of 0
. The result is that IAM user passwords never expire.
uappHardExpiry :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) Source #
Prevents IAM users from setting a new password after their password has expired. The IAM user cannot be accessed until an administrator resets the password. If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users can change their passwords after they expire and continue to sign in as the user.
uappRequireSymbols :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) Source #
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: ! # $ % ^ & * ( ) _ + - = [ ] { } | ' If you do not specify a value for this parameter, then the operation uses the default value of
false@ . The result is that passwords do not require at least one symbol character.
uappRequireUppercaseCharacters :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) Source #
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one uppercase character.
uappAllowUsersToChangePassword :: Lens' UpdateAccountPasswordPolicy (Maybe Bool) Source #
Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see Letting IAM Users Change Their Own Passwords in the IAM User Guide . If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users in the account do not automatically have permissions to change their own password.
Destructuring the Response
updateAccountPasswordPolicyResponse :: UpdateAccountPasswordPolicyResponse Source #
Creates a value of UpdateAccountPasswordPolicyResponse
with the minimum fields required to make a request.
data UpdateAccountPasswordPolicyResponse Source #
See: updateAccountPasswordPolicyResponse
smart constructor.