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

Contents

Description

Deletes the password for the specified IAM user, which terminates the user's ability to access AWS services through the AWS Management Console.

Important: Deleting a user's password does not prevent a user from accessing AWS through the command line interface or the API. To prevent all user access you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey .

Synopsis

Creating a Request

deleteLoginProfile #

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

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

  • dlpUserName - The name of the user whose password you want to delete. 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 DeleteLoginProfile #

See: deleteLoginProfile smart constructor.

Instances

Eq DeleteLoginProfile # 
Data DeleteLoginProfile # 

Methods

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

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

toConstr :: DeleteLoginProfile -> Constr #

dataTypeOf :: DeleteLoginProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLoginProfile # 
Show DeleteLoginProfile # 
Generic DeleteLoginProfile # 
Hashable DeleteLoginProfile # 
NFData DeleteLoginProfile # 

Methods

rnf :: DeleteLoginProfile -> () #

AWSRequest DeleteLoginProfile # 
ToHeaders DeleteLoginProfile # 
ToPath DeleteLoginProfile # 
ToQuery DeleteLoginProfile # 
type Rep DeleteLoginProfile # 
type Rep DeleteLoginProfile = D1 * (MetaData "DeleteLoginProfile" "Network.AWS.IAM.DeleteLoginProfile" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" True) (C1 * (MetaCons "DeleteLoginProfile'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dlpUserName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteLoginProfile # 

Request Lenses

dlpUserName :: Lens' DeleteLoginProfile Text #

The name of the user whose password you want to delete. 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

deleteLoginProfileResponse :: DeleteLoginProfileResponse #

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

data DeleteLoginProfileResponse #

See: deleteLoginProfileResponse smart constructor.

Instances

Eq DeleteLoginProfileResponse # 
Data DeleteLoginProfileResponse # 

Methods

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

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

toConstr :: DeleteLoginProfileResponse -> Constr #

dataTypeOf :: DeleteLoginProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLoginProfileResponse # 
Show DeleteLoginProfileResponse # 
Generic DeleteLoginProfileResponse # 
NFData DeleteLoginProfileResponse # 
type Rep DeleteLoginProfileResponse # 
type Rep DeleteLoginProfileResponse = D1 * (MetaData "DeleteLoginProfileResponse" "Network.AWS.IAM.DeleteLoginProfile" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "DeleteLoginProfileResponse'" PrefixI False) (U1 *))