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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Represents the request to change a user password.

Constant Summary collapse

SENSITIVE =
[:previous_password, :proposed_password, :access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

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

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
2256
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2250

class ChangePasswordRequest < Struct.new(
  :previous_password,
  :proposed_password,
  :access_token)
  SENSITIVE = [:previous_password, :proposed_password, :access_token]
  include Aws::Structure
end

#previous_passwordString

The old password.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
2256
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2250

class ChangePasswordRequest < Struct.new(
  :previous_password,
  :proposed_password,
  :access_token)
  SENSITIVE = [:previous_password, :proposed_password, :access_token]
  include Aws::Structure
end

#proposed_passwordString

The new password.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
2256
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2250

class ChangePasswordRequest < Struct.new(
  :previous_password,
  :proposed_password,
  :access_token)
  SENSITIVE = [:previous_password, :proposed_password, :access_token]
  include Aws::Structure
end