amazonka-cognito-idp-1.6.1: Amazon Cognito Identity Provider 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.CognitoIdentityProvider.DeleteUser

Contents

Description

Allows a user to delete himself or herself.

Synopsis

Creating a Request

deleteUser Source #

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

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

  • duAccessToken - The access token from a request to delete a user.

data DeleteUser Source #

Represents the request to delete a user.

See: deleteUser smart constructor.

Instances
Eq DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Data DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Methods

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

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

toConstr :: DeleteUser -> Constr #

dataTypeOf :: DeleteUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Generic DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Associated Types

type Rep DeleteUser :: Type -> Type #

Hashable DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

ToJSON DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

AWSRequest DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Associated Types

type Rs DeleteUser :: Type #

ToHeaders DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Methods

toHeaders :: DeleteUser -> [Header] #

ToPath DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

ToQuery DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

NFData DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Methods

rnf :: DeleteUser -> () #

type Rep DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

type Rep DeleteUser = D1 (MetaData "DeleteUser" "Network.AWS.CognitoIdentityProvider.DeleteUser" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" True) (C1 (MetaCons "DeleteUser'" PrefixI True) (S1 (MetaSel (Just "_duAccessToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Sensitive Text))))
type Rs DeleteUser Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Request Lenses

duAccessToken :: Lens' DeleteUser Text Source #

The access token from a request to delete a user.

Destructuring the Response

deleteUserResponse :: DeleteUserResponse Source #

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

data DeleteUserResponse Source #

See: deleteUserResponse smart constructor.

Instances
Eq DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Data DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Methods

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

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

toConstr :: DeleteUserResponse -> Constr #

dataTypeOf :: DeleteUserResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Show DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Generic DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Associated Types

type Rep DeleteUserResponse :: Type -> Type #

NFData DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

Methods

rnf :: DeleteUserResponse -> () #

type Rep DeleteUserResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.DeleteUser

type Rep DeleteUserResponse = D1 (MetaData "DeleteUserResponse" "Network.AWS.CognitoIdentityProvider.DeleteUser" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "DeleteUserResponse'" PrefixI False) (U1 :: Type -> Type))