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

Contents

Description

Retrieves the user name and password-creation date for the specified IAM user. If the user has not been assigned a password, the action returns a 404 (NoSuchEntity ) error.

Synopsis

Creating a Request

getLoginProfile Source #

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

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

  • glpUserName - The name of the user whose login profile you want to retrieve. 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: =,.@-

data GetLoginProfile Source #

See: getLoginProfile smart constructor.

Instances

Eq GetLoginProfile Source # 
Data GetLoginProfile Source # 

Methods

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

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

toConstr :: GetLoginProfile -> Constr #

dataTypeOf :: GetLoginProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLoginProfile Source # 
Show GetLoginProfile Source # 
Generic GetLoginProfile Source # 
Hashable GetLoginProfile Source # 
NFData GetLoginProfile Source # 

Methods

rnf :: GetLoginProfile -> () #

AWSRequest GetLoginProfile Source # 
ToPath GetLoginProfile Source # 
ToHeaders GetLoginProfile Source # 
ToQuery GetLoginProfile Source # 
type Rep GetLoginProfile Source # 
type Rep GetLoginProfile = D1 (MetaData "GetLoginProfile" "Network.AWS.IAM.GetLoginProfile" "amazonka-iam-1.4.5-tAuuyG7nyKEp3j6LBO0rr" True) (C1 (MetaCons "GetLoginProfile'" PrefixI True) (S1 (MetaSel (Just Symbol "_glpUserName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetLoginProfile Source # 

Request Lenses

glpUserName :: Lens' GetLoginProfile Text Source #

The name of the user whose login profile you want to retrieve. 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: =,.@-

Destructuring the Response

getLoginProfileResponse Source #

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

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

data GetLoginProfileResponse Source #

Contains the response to a successful GetLoginProfile request.

See: getLoginProfileResponse smart constructor.

Instances

Eq GetLoginProfileResponse Source # 
Data GetLoginProfileResponse Source # 

Methods

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

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

toConstr :: GetLoginProfileResponse -> Constr #

dataTypeOf :: GetLoginProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLoginProfileResponse Source # 
Show GetLoginProfileResponse Source # 
Generic GetLoginProfileResponse Source # 
NFData GetLoginProfileResponse Source # 

Methods

rnf :: GetLoginProfileResponse -> () #

type Rep GetLoginProfileResponse Source # 
type Rep GetLoginProfileResponse = D1 (MetaData "GetLoginProfileResponse" "Network.AWS.IAM.GetLoginProfile" "amazonka-iam-1.4.5-tAuuyG7nyKEp3j6LBO0rr" False) (C1 (MetaCons "GetLoginProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_glprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_glprsLoginProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LoginProfile))))

Response Lenses

glprsLoginProfile :: Lens' GetLoginProfileResponse LoginProfile Source #

A structure containing the user name and password create date for the user.