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

See: getLoginProfile smart constructor.

Instances
Eq GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Data GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

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

Defined in Network.AWS.IAM.GetLoginProfile

Show GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Generic GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Associated Types

type Rep GetLoginProfile :: Type -> Type #

Hashable GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

AWSRequest GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Associated Types

type Rs GetLoginProfile :: Type #

ToHeaders GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

ToPath GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

ToQuery GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

NFData GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Methods

rnf :: GetLoginProfile -> () #

type Rep GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

type Rep GetLoginProfile = D1 (MetaData "GetLoginProfile" "Network.AWS.IAM.GetLoginProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" True) (C1 (MetaCons "GetLoginProfile'" PrefixI True) (S1 (MetaSel (Just "_glpUserName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Request Lenses

glpUserName :: Lens' GetLoginProfile Text Source #

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

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

Defined in Network.AWS.IAM.GetLoginProfile

Data GetLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

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

Defined in Network.AWS.IAM.GetLoginProfile

Show GetLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Generic GetLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Associated Types

type Rep GetLoginProfileResponse :: Type -> Type #

NFData GetLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

Methods

rnf :: GetLoginProfileResponse -> () #

type Rep GetLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetLoginProfile

type Rep GetLoginProfileResponse = D1 (MetaData "GetLoginProfileResponse" "Network.AWS.IAM.GetLoginProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "GetLoginProfileResponse'" PrefixI True) (S1 (MetaSel (Just "_glprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_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.