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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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, 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. 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

Eq UpdateLoginProfile Source # 
Data UpdateLoginProfile Source # 

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 #

Show UpdateLoginProfile Source # 
Generic UpdateLoginProfile Source # 
Hashable UpdateLoginProfile Source # 
NFData UpdateLoginProfile Source # 

Methods

rnf :: UpdateLoginProfile -> () #

AWSRequest UpdateLoginProfile Source # 
ToHeaders UpdateLoginProfile Source # 
ToPath UpdateLoginProfile Source # 
ToQuery UpdateLoginProfile Source # 
type Rep UpdateLoginProfile Source # 
type Rep UpdateLoginProfile = D1 * (MetaData "UpdateLoginProfile" "Network.AWS.IAM.UpdateLoginProfile" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" 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 Source # 

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.

Instances

Eq UpdateLoginProfileResponse Source # 
Data UpdateLoginProfileResponse Source # 

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 Source # 
Show UpdateLoginProfileResponse Source # 
Generic UpdateLoginProfileResponse Source # 
NFData UpdateLoginProfileResponse Source # 
type Rep UpdateLoginProfileResponse Source # 
type Rep UpdateLoginProfileResponse = D1 * (MetaData "UpdateLoginProfileResponse" "Network.AWS.IAM.UpdateLoginProfile" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "UpdateLoginProfileResponse'" PrefixI False) (U1 *))