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

Contents

Description

Changes the password for a specified user in a user pool.

Synopsis

Creating a Request

changePassword Source #

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

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

data ChangePassword Source #

Represents the request to change a user password.

See: changePassword smart constructor.

Instances
Eq ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Data ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Methods

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

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

toConstr :: ChangePassword -> Constr #

dataTypeOf :: ChangePassword -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Generic ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Associated Types

type Rep ChangePassword :: Type -> Type #

Hashable ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

ToJSON ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

AWSRequest ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Associated Types

type Rs ChangePassword :: Type #

ToHeaders ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

ToPath ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

ToQuery ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

NFData ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Methods

rnf :: ChangePassword -> () #

type Rep ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

type Rep ChangePassword = D1 (MetaData "ChangePassword" "Network.AWS.CognitoIdentityProvider.ChangePassword" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ChangePassword'" PrefixI True) (S1 (MetaSel (Just "_cpPreviousPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 (MetaSel (Just "_cpProposedPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 (MetaSel (Just "_cpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))
type Rs ChangePassword Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Request Lenses

Destructuring the Response

changePasswordResponse Source #

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

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

data ChangePasswordResponse Source #

The response from the server to the change password request.

See: changePasswordResponse smart constructor.

Instances
Eq ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Data ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Methods

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

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

toConstr :: ChangePasswordResponse -> Constr #

dataTypeOf :: ChangePasswordResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Show ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Generic ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Associated Types

type Rep ChangePasswordResponse :: Type -> Type #

NFData ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

Methods

rnf :: ChangePasswordResponse -> () #

type Rep ChangePasswordResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ChangePassword

type Rep ChangePasswordResponse = D1 (MetaData "ChangePasswordResponse" "Network.AWS.CognitoIdentityProvider.ChangePassword" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" True) (C1 (MetaCons "ChangePasswordResponse'" PrefixI True) (S1 (MetaSel (Just "_cprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

cprsResponseStatus :: Lens' ChangePasswordResponse Int Source #

  • - | The response status code.