amazonka-iam-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Data UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.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 #

Show UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Generic UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Associated Types

type Rep UpdateLoginProfile :: Type -> Type #

Hashable UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

AWSRequest UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Associated Types

type Rs UpdateLoginProfile :: Type #

ToHeaders UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

ToPath UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

ToQuery UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

NFData UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Methods

rnf :: UpdateLoginProfile -> () #

type Rep UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

type Rep UpdateLoginProfile = D1 (MetaData "UpdateLoginProfile" "Network.AWS.IAM.UpdateLoginProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateLoginProfile'" PrefixI True) (S1 (MetaSel (Just "_ulpPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 (MetaSel (Just "_ulpPasswordResetRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ulpUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Data UpdateLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Show UpdateLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Generic UpdateLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

Associated Types

type Rep UpdateLoginProfileResponse :: Type -> Type #

NFData UpdateLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

type Rep UpdateLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateLoginProfile

type Rep UpdateLoginProfileResponse = D1 (MetaData "UpdateLoginProfileResponse" "Network.AWS.IAM.UpdateLoginProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateLoginProfileResponse'" PrefixI False) (U1 :: Type -> Type))