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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.UpdateLoginProfile

Contents

Description

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

Creating a Request

updateLoginProfile #

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 for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (u0020) through end of the ASCII character range (u00FF). It also includes 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 - 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. The regex pattern for this parameter is 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 #

See: updateLoginProfile smart constructor.

Instances

Eq UpdateLoginProfile # 
Data UpdateLoginProfile # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateLoginProfile -> c UpdateLoginProfile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateLoginProfile #

toConstr :: UpdateLoginProfile -> Constr #

dataTypeOf :: UpdateLoginProfile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateLoginProfile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateLoginProfile) #

gmapT :: (forall b. Data b => b -> b) -> UpdateLoginProfile -> UpdateLoginProfile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateLoginProfile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateLoginProfile -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateLoginProfile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateLoginProfile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateLoginProfile -> m UpdateLoginProfile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateLoginProfile -> m UpdateLoginProfile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateLoginProfile -> m UpdateLoginProfile #

Read UpdateLoginProfile # 
Show UpdateLoginProfile # 
Generic UpdateLoginProfile # 
Hashable UpdateLoginProfile # 
NFData UpdateLoginProfile # 

Methods

rnf :: UpdateLoginProfile -> () #

AWSRequest UpdateLoginProfile # 
ToQuery UpdateLoginProfile # 
ToPath UpdateLoginProfile # 
ToHeaders UpdateLoginProfile # 
type Rep UpdateLoginProfile # 
type Rep UpdateLoginProfile = D1 (MetaData "UpdateLoginProfile" "Network.AWS.IAM.UpdateLoginProfile" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "UpdateLoginProfile'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ulpPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ulpPasswordResetRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ulpUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateLoginProfile # 

Request Lenses

ulpPassword :: Lens' UpdateLoginProfile (Maybe Text) #

The new password for the specified IAM user. The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (u0020) through end of the ASCII character range (u00FF). It also includes 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) #

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 #

The name of the user whose password you want to update. The regex pattern for this parameter is 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 #

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

data UpdateLoginProfileResponse #

See: updateLoginProfileResponse smart constructor.

Instances

Eq UpdateLoginProfileResponse # 
Data UpdateLoginProfileResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateLoginProfileResponse -> c UpdateLoginProfileResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateLoginProfileResponse #

toConstr :: UpdateLoginProfileResponse -> Constr #

dataTypeOf :: UpdateLoginProfileResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateLoginProfileResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateLoginProfileResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateLoginProfileResponse -> UpdateLoginProfileResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateLoginProfileResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateLoginProfileResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateLoginProfileResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateLoginProfileResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateLoginProfileResponse -> m UpdateLoginProfileResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateLoginProfileResponse -> m UpdateLoginProfileResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateLoginProfileResponse -> m UpdateLoginProfileResponse #

Read UpdateLoginProfileResponse # 
Show UpdateLoginProfileResponse # 
Generic UpdateLoginProfileResponse # 
NFData UpdateLoginProfileResponse # 
type Rep UpdateLoginProfileResponse # 
type Rep UpdateLoginProfileResponse = D1 (MetaData "UpdateLoginProfileResponse" "Network.AWS.IAM.UpdateLoginProfile" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "UpdateLoginProfileResponse'" PrefixI False) U1)