amazonka-iam-1.6.0: Amazon Identity and Access Management SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

# Creating a Request

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 of 6 .
• 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 of false . 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 of 0 . 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 of false . 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 of 0 . 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 of false . 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: !  # $% ^ &amp; * ( ) _ + - = [ ] { } | ' 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 of false . 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 of false . The result is that IAM users in the account do not automatically have permissions to change their own password. See: updateAccountPasswordPolicy smart constructor. Instances  Source # Methods Source # Methodsgfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAccountPasswordPolicy -> c UpdateAccountPasswordPolicy #gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAccountPasswordPolicy #dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAccountPasswordPolicy) #dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAccountPasswordPolicy) #gmapT :: (forall b. Data b => b -> b) -> UpdateAccountPasswordPolicy -> UpdateAccountPasswordPolicy #gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAccountPasswordPolicy -> r #gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAccountPasswordPolicy -> r #gmapQ :: (forall d. Data d => d -> u) -> UpdateAccountPasswordPolicy -> [u] #gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAccountPasswordPolicy -> u #gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAccountPasswordPolicy -> m UpdateAccountPasswordPolicy #gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAccountPasswordPolicy -> m UpdateAccountPasswordPolicy #gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAccountPasswordPolicy -> m UpdateAccountPasswordPolicy # Source # Source # Methods Source # Associated Types Methods Source # Methods Source # Methods Source # Associated Types Methods Source # Methods Source # Methods Source # Methods Source # type Rep UpdateAccountPasswordPolicy = D1 * (MetaData "UpdateAccountPasswordPolicy" "Network.AWS.IAM.UpdateAccountPasswordPolicy" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "UpdateAccountPasswordPolicy'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uappMinimumPasswordLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_uappRequireNumbers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uappPasswordReusePrevention") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_uappRequireLowercaseCharacters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uappMaxPasswordAge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_uappHardExpiry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uappRequireSymbols") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uappRequireUppercaseCharacters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_uappAllowUsersToChangePassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))))))) Source # # Request Lenses 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 . 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. 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. 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. 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. 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. Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: !  #$ % ^ &amp; * ( ) _ + - = [ ] { } | ' 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.

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.

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

Creates a value of UpdateAccountPasswordPolicyResponse with the minimum fields required to make a request.

See: updateAccountPasswordPolicyResponse smart constructor.

Instances