amazonka-workmail-1.6.1: 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 # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Data ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

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 # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Generic ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Associated Types

type Rep ResetPassword :: Type -> Type #

Hashable ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

ToJSON ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

AWSRequest ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Associated Types

type Rs ResetPassword :: Type #

ToHeaders ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

ToPath ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

ToQuery ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

NFData ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Methods

rnf :: ResetPassword -> () #

type Rep ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

type Rep ResetPassword = D1 (MetaData "ResetPassword" "Network.AWS.WorkMail.ResetPassword" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" False) (C1 (MetaCons "ResetPassword'" PrefixI True) (S1 (MetaSel (Just "_rpOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rpUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rpPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))
type Rs ResetPassword Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

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 # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Data ResetPasswordResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

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 # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Show ResetPasswordResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Generic ResetPasswordResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Associated Types

type Rep ResetPasswordResponse :: Type -> Type #

NFData ResetPasswordResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

Methods

rnf :: ResetPasswordResponse -> () #

type Rep ResetPasswordResponse Source # 
Instance details

Defined in Network.AWS.WorkMail.ResetPassword

type Rep ResetPasswordResponse = D1 (MetaData "ResetPasswordResponse" "Network.AWS.WorkMail.ResetPassword" "amazonka-workmail-1.6.1-9RRutGyw1Wr48gbVhlSAOF" True) (C1 (MetaCons "ResetPasswordResponse'" PrefixI True) (S1 (MetaSel (Just "_rprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

rprsResponseStatus :: Lens' ResetPasswordResponse Int Source #

  • - | The response status code.