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

Class: Aws::CognitoIdentityProvider::Types::AdminResetUserPasswordRequest

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

Overview

Note:

When making an API call, you may pass AdminResetUserPasswordRequest data as a hash:

{
  user_pool_id: "UserPoolIdType", # required
  username: "UsernameType", # required
}

Represents the request to reset a user's password as an administrator.

Instance Attribute Summary collapse

Instance Attribute Details

#user_pool_idString

The user pool ID for the user pool where you want to reset the user's password.

Returns:

  • (String)


1063
1064
1065
1066
1067
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1063

class AdminResetUserPasswordRequest < Struct.new(
  :user_pool_id,
  :username)
  include Aws::Structure
end

#usernameString

The user name of the user whose password you wish to reset.

Returns:

  • (String)


1063
1064
1065
1066
1067
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 1063

class AdminResetUserPasswordRequest < Struct.new(
  :user_pool_id,
  :username)
  include Aws::Structure
end