amazonka-cognito-idp-1.4.5: 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.AdminEnableUser

Contents

Description

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

Synopsis

Creating a Request

adminEnableUser Source #

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

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

  • aeuUserPoolId - The user pool ID for the user pool where you want to enable the user.
  • aeuUsername - The user name of the user you wish to ebable.

data AdminEnableUser Source #

Represents the request that enables the user as an administrator.

See: adminEnableUser smart constructor.

Instances

Eq AdminEnableUser Source # 
Data AdminEnableUser Source # 

Methods

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

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

toConstr :: AdminEnableUser -> Constr #

dataTypeOf :: AdminEnableUser -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AdminEnableUser -> () #

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

Request Lenses

aeuUserPoolId :: Lens' AdminEnableUser Text Source #

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

aeuUsername :: Lens' AdminEnableUser Text Source #

The user name of the user you wish to ebable.

Destructuring the Response

adminEnableUserResponse Source #

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

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

data AdminEnableUserResponse Source #

Represents the response from the server for the request to enable a user as an administrator.

See: adminEnableUserResponse smart constructor.

Instances

Eq AdminEnableUserResponse Source # 
Data AdminEnableUserResponse Source # 

Methods

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

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

toConstr :: AdminEnableUserResponse -> Constr #

dataTypeOf :: AdminEnableUserResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AdminEnableUserResponse Source # 
Show AdminEnableUserResponse Source # 
Generic AdminEnableUserResponse Source # 
NFData AdminEnableUserResponse Source # 

Methods

rnf :: AdminEnableUserResponse -> () #

type Rep AdminEnableUserResponse Source # 
type Rep AdminEnableUserResponse = D1 (MetaData "AdminEnableUserResponse" "Network.AWS.CognitoIdentityProvider.AdminEnableUser" "amazonka-cognito-idp-1.4.5-GXmpY7qnFXp3lLWwYVX1Gb" True) (C1 (MetaCons "AdminEnableUserResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_aeursResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses