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

Contents

Description

Resets the specified user's password in a user pool as an administrator. Works on any user.

Synopsis

Creating a Request

adminResetUserPassword Source #

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

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

data AdminResetUserPassword Source #

Represents the request to reset a user's password as an administrator.

See: adminResetUserPassword smart constructor.

Instances

Eq AdminResetUserPassword Source # 
Data AdminResetUserPassword Source # 

Methods

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

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

toConstr :: AdminResetUserPassword -> Constr #

dataTypeOf :: AdminResetUserPassword -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AdminResetUserPassword -> () #

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

Request Lenses

arupUserPoolId :: Lens' AdminResetUserPassword Text Source #

The user pool ID for the user pool where you want to reset the user's password.

arupUsername :: Lens' AdminResetUserPassword Text Source #

The user name of the user whose password you wish to reset.

Destructuring the Response

adminResetUserPasswordResponse Source #

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

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

data AdminResetUserPasswordResponse Source #

Represents the response from the server to reset a user password as an administrator.

See: adminResetUserPasswordResponse smart constructor.

Instances

Eq AdminResetUserPasswordResponse Source # 
Data AdminResetUserPasswordResponse Source # 

Methods

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

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

toConstr :: AdminResetUserPasswordResponse -> Constr #

dataTypeOf :: AdminResetUserPasswordResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses