Module Awso_cognito_idp.ChangePasswordRequestSource

Represents the request to change a user password.

Sourcetype nonrec t = {
  1. previousPassword : PasswordType.t option;
    (*

    The user's previous password. Required if the user has a password. If the user has no password and only signs in with passwordless authentication options, you can omit this parameter.

    *)
  2. proposedPassword : PasswordType.t;
    (*

    A new password that you prompted the user to enter in your application.

    *)
  3. accessToken : TokenModelType.t;
    (*

    A valid access token that Amazon Cognito issued to the user whose password you want to change.

    *)
}
Sourceval context_ : string
Sourceval make : ?previousPassword:??? -> proposedPassword:PasswordType.t -> accessToken:TokenModelType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PasswordType.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t