libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkMail.ResetPassword

Description

Allows the administrator to reset the password for a user.

Synopsis

Creating a Request

data ResetPassword Source #

See: newResetPassword smart constructor.

Constructors

ResetPassword' 

Fields

Instances

Instances details
Eq ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Show ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Generic ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Associated Types

type Rep ResetPassword :: Type -> Type #

NFData ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Methods

rnf :: ResetPassword -> () #

Hashable ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

ToJSON ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

AWSRequest ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Associated Types

type AWSResponse ResetPassword #

ToHeaders ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

ToPath ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

ToQuery ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

type Rep ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

type Rep ResetPassword = D1 ('MetaData "ResetPassword" "Amazonka.WorkMail.ResetPassword" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ResetPassword'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))
type AWSResponse ResetPassword Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

newResetPassword Source #

Create a value of ResetPassword with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:organizationId:ResetPassword', resetPassword_organizationId - The identifier of the organization that contains the user for which the password is reset.

$sel:userId:ResetPassword', resetPassword_userId - The identifier of the user for whom the password is reset.

$sel:password:ResetPassword', resetPassword_password - The new password for the user.

Request Lenses

resetPassword_organizationId :: Lens' ResetPassword Text Source #

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

resetPassword_userId :: Lens' ResetPassword Text Source #

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

resetPassword_password :: Lens' ResetPassword Text Source #

The new password for the user.

Destructuring the Response

data ResetPasswordResponse Source #

See: newResetPasswordResponse smart constructor.

Constructors

ResetPasswordResponse' 

Fields

Instances

Instances details
Eq ResetPasswordResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Read ResetPasswordResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Show ResetPasswordResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Generic ResetPasswordResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Associated Types

type Rep ResetPasswordResponse :: Type -> Type #

NFData ResetPasswordResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

Methods

rnf :: ResetPasswordResponse -> () #

type Rep ResetPasswordResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ResetPassword

type Rep ResetPasswordResponse = D1 ('MetaData "ResetPasswordResponse" "Amazonka.WorkMail.ResetPassword" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ResetPasswordResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResetPasswordResponse Source #

Create a value of ResetPasswordResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:ResetPasswordResponse', resetPasswordResponse_httpStatus - The response's http status code.

Response Lenses