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

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

See: deleteLoginProfile smart constructor.

Instances
Eq DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Data DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.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 Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Show DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Generic DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Associated Types

type Rep DeleteLoginProfile :: Type -> Type #

Hashable DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

AWSRequest DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Associated Types

type Rs DeleteLoginProfile :: Type #

ToHeaders DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

ToPath DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

ToQuery DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

NFData DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Methods

rnf :: DeleteLoginProfile -> () #

type Rep DeleteLoginProfile Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

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

Defined in Network.AWS.IAM.DeleteLoginProfile

Request Lenses

dlpUserName :: Lens' DeleteLoginProfile Text Source #

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

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

data DeleteLoginProfileResponse Source #

See: deleteLoginProfileResponse smart constructor.

Instances
Eq DeleteLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Data DeleteLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

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

Defined in Network.AWS.IAM.DeleteLoginProfile

Show DeleteLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Generic DeleteLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

Associated Types

type Rep DeleteLoginProfileResponse :: Type -> Type #

NFData DeleteLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

type Rep DeleteLoginProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteLoginProfile

type Rep DeleteLoginProfileResponse = D1 (MetaData "DeleteLoginProfileResponse" "Network.AWS.IAM.DeleteLoginProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "DeleteLoginProfileResponse'" PrefixI False) (U1 :: Type -> Type))