Class: Aws::CognitoIdentityProvider::Types::ChangePasswordRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::ChangePasswordRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
Note:
When making an API call, you may pass ChangePasswordRequest data as a hash:
{
previous_password: "PasswordType", # required
proposed_password: "PasswordType", # required
access_token: "TokenModelType", # required
}
Represents the request to change a user password.
Constant Summary collapse
- SENSITIVE =
[:previous_password, :proposed_password, :access_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token.
-
#previous_password ⇒ String
The old password.
-
#proposed_password ⇒ String
The new password.
Instance Attribute Details
#access_token ⇒ String
The access token.
2497 2498 2499 2500 2501 2502 2503 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2497 class ChangePasswordRequest < Struct.new( :previous_password, :proposed_password, :access_token) SENSITIVE = [:previous_password, :proposed_password, :access_token] include Aws::Structure end |
#previous_password ⇒ String
The old password.
2497 2498 2499 2500 2501 2502 2503 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2497 class ChangePasswordRequest < Struct.new( :previous_password, :proposed_password, :access_token) SENSITIVE = [:previous_password, :proposed_password, :access_token] include Aws::Structure end |
#proposed_password ⇒ String
The new password.
2497 2498 2499 2500 2501 2502 2503 |
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2497 class ChangePasswordRequest < Struct.new( :previous_password, :proposed_password, :access_token) SENSITIVE = [:previous_password, :proposed_password, :access_token] include Aws::Structure end |