libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
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.CognitoIdentityProvider.ChangePassword

Description

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

Synopsis

Creating a Request

data ChangePassword Source #

Represents the request to change a user password.

See: newChangePassword smart constructor.

Constructors

ChangePassword' 

Fields

Instances

Instances details
Eq ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Show ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Generic ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Associated Types

type Rep ChangePassword :: Type -> Type #

NFData ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Methods

rnf :: ChangePassword -> () #

Hashable ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

ToJSON ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

AWSRequest ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Associated Types

type AWSResponse ChangePassword #

ToHeaders ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

ToPath ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

ToQuery ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

type Rep ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

type Rep ChangePassword = D1 ('MetaData "ChangePassword" "Amazonka.CognitoIdentityProvider.ChangePassword" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ChangePassword'" 'PrefixI 'True) (S1 ('MetaSel ('Just "previousPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: (S1 ('MetaSel ('Just "proposedPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))
type AWSResponse ChangePassword Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

newChangePassword Source #

Create a value of ChangePassword 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:previousPassword:ChangePassword', changePassword_previousPassword - The old password.

$sel:proposedPassword:ChangePassword', changePassword_proposedPassword - The new password.

$sel:accessToken:ChangePassword', changePassword_accessToken - The access token.

Request Lenses

Destructuring the Response

data ChangePasswordResponse Source #

The response from the server to the change password request.

See: newChangePasswordResponse smart constructor.

Constructors

ChangePasswordResponse' 

Fields

Instances

Instances details
Eq ChangePasswordResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Read ChangePasswordResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Show ChangePasswordResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Generic ChangePasswordResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Associated Types

type Rep ChangePasswordResponse :: Type -> Type #

NFData ChangePasswordResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

Methods

rnf :: ChangePasswordResponse -> () #

type Rep ChangePasswordResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ChangePassword

type Rep ChangePasswordResponse = D1 ('MetaData "ChangePasswordResponse" "Amazonka.CognitoIdentityProvider.ChangePassword" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ChangePasswordResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newChangePasswordResponse Source #

Create a value of ChangePasswordResponse 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:ChangePasswordResponse', changePasswordResponse_httpStatus - The response's http status code.

Response Lenses