amazonka-iam-1.4.3: 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 user.

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:

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 #

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

Methods

rnf :: UpdateLoginProfile -> () #

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

ulpPasswordResetRequired :: Lens' UpdateLoginProfile (Maybe Bool) Source #

Require the specified 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.

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.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "UpdateLoginProfileResponse'" PrefixI False) U1)