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

Contents

Description

Disables the specified user as an administrator. Works on any user.

Synopsis

Creating a Request

adminDisableUser Source #

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

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

data AdminDisableUser Source #

Represents the request to disable any user as an administrator.

See: adminDisableUser smart constructor.

Instances

Eq AdminDisableUser Source # 
Data AdminDisableUser Source # 

Methods

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

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

toConstr :: AdminDisableUser -> Constr #

dataTypeOf :: AdminDisableUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AdminDisableUser Source # 
Show AdminDisableUser Source # 
Generic AdminDisableUser Source # 
ToJSON AdminDisableUser Source # 
Hashable AdminDisableUser Source # 
NFData AdminDisableUser Source # 

Methods

rnf :: AdminDisableUser -> () #

AWSRequest AdminDisableUser Source # 
ToPath AdminDisableUser Source # 
ToHeaders AdminDisableUser Source # 
ToQuery AdminDisableUser Source # 
type Rep AdminDisableUser Source # 
type Rep AdminDisableUser = D1 (MetaData "AdminDisableUser" "Network.AWS.CognitoIdentityProvider.AdminDisableUser" "amazonka-cognito-idp-1.4.2-BxtVagh7KqxAA5ZlBfan0r" False) (C1 (MetaCons "AdminDisableUser'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aduUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_aduUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))
type Rs AdminDisableUser Source # 

Request Lenses

aduUserPoolId :: Lens' AdminDisableUser Text Source #

The user pool ID for the user pool where you want to disable the user.

aduUsername :: Lens' AdminDisableUser Text Source #

The user name of the user you wish to disable.

Destructuring the Response

adminDisableUserResponse Source #

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

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

data AdminDisableUserResponse Source #

Represents the response received from the server to disable the user as an administrator.

See: adminDisableUserResponse smart constructor.

Instances

Eq AdminDisableUserResponse Source # 
Data AdminDisableUserResponse Source # 

Methods

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

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

toConstr :: AdminDisableUserResponse -> Constr #

dataTypeOf :: AdminDisableUserResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AdminDisableUserResponse Source # 
Show AdminDisableUserResponse Source # 
Generic AdminDisableUserResponse Source # 
NFData AdminDisableUserResponse Source # 
type Rep AdminDisableUserResponse Source # 
type Rep AdminDisableUserResponse = D1 (MetaData "AdminDisableUserResponse" "Network.AWS.CognitoIdentityProvider.AdminDisableUser" "amazonka-cognito-idp-1.4.2-BxtVagh7KqxAA5ZlBfan0r" True) (C1 (MetaCons "AdminDisableUserResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_adursResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses