amazonka-workmail-1.6.0: Amazon WorkMail 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.WorkMail.ResetPassword

Contents

Description

Allows the administrator to reset the password for a user.

Synopsis

Creating a Request

resetPassword Source #

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

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

  • rpOrganizationId - The identifier of the organization that contains the user for which the password is reset.
  • rpUserId - The identifier of the user for whom the password is reset.
  • rpPassword - The new password for the user.

data ResetPassword Source #

See: resetPassword smart constructor.

Instances

Eq ResetPassword Source # 
Data ResetPassword Source # 

Methods

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

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

toConstr :: ResetPassword -> Constr #

dataTypeOf :: ResetPassword -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResetPassword Source # 
Generic ResetPassword Source # 

Associated Types

type Rep ResetPassword :: * -> * #

Hashable ResetPassword Source # 
ToJSON ResetPassword Source # 
NFData ResetPassword Source # 

Methods

rnf :: ResetPassword -> () #

AWSRequest ResetPassword Source # 
ToHeaders ResetPassword Source # 
ToPath ResetPassword Source # 
ToQuery ResetPassword Source # 
type Rep ResetPassword Source # 
type Rep ResetPassword = D1 * (MetaData "ResetPassword" "Network.AWS.WorkMail.ResetPassword" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "ResetPassword'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rpOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_rpUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_rpPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text))))))
type Rs ResetPassword Source # 

Request Lenses

rpOrganizationId :: Lens' ResetPassword Text Source #

The identifier of the organization that contains the user for which the password is reset.

rpUserId :: Lens' ResetPassword Text Source #

The identifier of the user for whom the password is reset.

rpPassword :: Lens' ResetPassword Text Source #

The new password for the user.

Destructuring the Response

resetPasswordResponse Source #

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

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

data ResetPasswordResponse Source #

See: resetPasswordResponse smart constructor.

Instances

Eq ResetPasswordResponse Source # 
Data ResetPasswordResponse Source # 

Methods

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

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

toConstr :: ResetPasswordResponse -> Constr #

dataTypeOf :: ResetPasswordResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetPasswordResponse Source # 
Show ResetPasswordResponse Source # 
Generic ResetPasswordResponse Source # 
NFData ResetPasswordResponse Source # 

Methods

rnf :: ResetPasswordResponse -> () #

type Rep ResetPasswordResponse Source # 
type Rep ResetPasswordResponse = D1 * (MetaData "ResetPasswordResponse" "Network.AWS.WorkMail.ResetPassword" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" True) (C1 * (MetaCons "ResetPasswordResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

rprsResponseStatus :: Lens' ResetPasswordResponse Int Source #

  • - | The response status code.