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.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 Source #

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. 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: _+=,.@-
  • clpPassword - The new password for the user. The regex pattern that is used to validate this parameter is a string of characters. That string can include 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. Any of these characters are valid in a password. However, many tools, such as the AWS Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.

data CreateLoginProfile Source #

See: createLoginProfile smart constructor.

Instances

Eq CreateLoginProfile Source # 
Data CreateLoginProfile Source # 

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 #

Show CreateLoginProfile Source # 
Generic CreateLoginProfile Source # 
Hashable CreateLoginProfile Source # 
NFData CreateLoginProfile Source # 

Methods

rnf :: CreateLoginProfile -> () #

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

Request Lenses

clpPasswordResetRequired :: Lens' CreateLoginProfile (Maybe Bool) Source #

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

clpUserName :: Lens' CreateLoginProfile Text Source #

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

clpPassword :: Lens' CreateLoginProfile Text Source #

The new password for the user. The regex pattern that is used to validate this parameter is a string of characters. That string can include 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. Any of these characters are valid in a password. However, many tools, such as the AWS Management Console, might restrict the ability to type certain characters because they have special meaning within that tool.

Destructuring the Response

createLoginProfileResponse Source #

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 Source #

Contains the response to a successful CreateLoginProfile request.

See: createLoginProfileResponse smart constructor.

Instances

Eq CreateLoginProfileResponse Source # 
Data CreateLoginProfileResponse Source # 

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 Source # 
Show CreateLoginProfileResponse Source # 
Generic CreateLoginProfileResponse Source # 
NFData CreateLoginProfileResponse Source # 
type Rep CreateLoginProfileResponse Source # 
type Rep CreateLoginProfileResponse = D1 * (MetaData "CreateLoginProfileResponse" "Network.AWS.IAM.CreateLoginProfile" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "CreateLoginProfileResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_clprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_clprsLoginProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * LoginProfile))))

Response Lenses

clprsLoginProfile :: Lens' CreateLoginProfileResponse LoginProfile Source #

A structure containing the user name and password create date.