You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::ChangePasswordRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ChangePasswordRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  previous_password: "PasswordType", # required
  proposed_password: "PasswordType", # required
  access_token: "TokenModelType", # required
}

Represents the request to change a user password.

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)

    The access token.

#previous_passwordString

The old password.

Returns:

  • (String)

    The old password.

#proposed_passwordString

The new password.

Returns:

  • (String)

    The new password.