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

Contents

Description

Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in the IAM User Guide .

Synopsis

Creating a Request

createLoginProfile #

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

Use one of the following lenses to modify other fields as desired:

  • clpPasswordResetRequired - Specifies whether the user is required to set a new password on next sign-in.
  • clpUserName - The name of the IAM user to create a password for. The user must already exist. 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: =,.@-
  • clpPassword - The new password for the user. The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space (u0020) through the end of the ASCII character range (u00FF). You can also include the tab (u0009), line feed (u000A), and carriage return (u000D) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.

data CreateLoginProfile #

See: createLoginProfile smart constructor.

Instances

Eq CreateLoginProfile # 
Data CreateLoginProfile # 

Methods

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

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

toConstr :: CreateLoginProfile -> Constr #

dataTypeOf :: CreateLoginProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateLoginProfile # 
Show CreateLoginProfile # 
Generic CreateLoginProfile # 
Hashable CreateLoginProfile # 
NFData CreateLoginProfile # 

Methods

rnf :: CreateLoginProfile -> () #

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

Request Lenses

clpPasswordResetRequired :: Lens' CreateLoginProfile (Maybe Bool) #

Specifies whether the user is required to set a new password on next sign-in.

clpUserName :: Lens' CreateLoginProfile Text #

The name of the IAM user to create a password for. The user must already exist. 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: =,.@-

clpPassword :: Lens' CreateLoginProfile Text #

The new password for the user. The regex pattern for this parameter is a string of characters consisting of almost any printable ASCII character from the space (u0020) through the end of the ASCII character range (u00FF). You can also include the tab (u0009), line feed (u000A), and carriage return (u000D) characters. Although any of these characters are valid in a password, note that many tools, such as the AWS Management Console, might restrict the ability to enter certain characters because they have special meaning within that tool.

Destructuring the Response

createLoginProfileResponse #

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

Use one of the following lenses to modify other fields as desired:

data CreateLoginProfileResponse #

Contains the response to a successful CreateLoginProfile request.

See: createLoginProfileResponse smart constructor.

Instances

Eq CreateLoginProfileResponse # 
Data CreateLoginProfileResponse # 

Methods

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

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

toConstr :: CreateLoginProfileResponse -> Constr #

dataTypeOf :: CreateLoginProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateLoginProfileResponse # 
Show CreateLoginProfileResponse # 
Generic CreateLoginProfileResponse # 
NFData CreateLoginProfileResponse # 
type Rep CreateLoginProfileResponse # 
type Rep CreateLoginProfileResponse = D1 (MetaData "CreateLoginProfileResponse" "Network.AWS.IAM.CreateLoginProfile" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" False) (C1 (MetaCons "CreateLoginProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_clprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_clprsLoginProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LoginProfile))))

Response Lenses

clprsResponseStatus :: Lens' CreateLoginProfileResponse Int #

  • - | The response status code.

clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile #

A structure containing the user name and password create date.