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

Class: Aws::CognitoIdentityProvider::Types::GetUserResponse

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

Overview

Represents the response from the server from the request to get information about the user.

Instance Attribute Summary collapse

Instance Attribute Details

#mfa_optionsArray<Types::MFAOptionType>

Specifies the options for MFA (e.g., email or phone number).

Returns:



3168
3169
3170
3171
3172
3173
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3168

class GetUserResponse < Struct.new(
  :username,
  :user_attributes,
  :mfa_options)
  include Aws::Structure
end

#user_attributesArray<Types::AttributeType>

An array of name-value pairs representing user attributes.

For custom attributes, you must prepend the custom: prefix to the attribute name.

Returns:



3168
3169
3170
3171
3172
3173
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3168

class GetUserResponse < Struct.new(
  :username,
  :user_attributes,
  :mfa_options)
  include Aws::Structure
end

#usernameString

The user name of the user you wish to retrieve from the get user request.

Returns:

  • (String)


3168
3169
3170
3171
3172
3173
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3168

class GetUserResponse < Struct.new(
  :username,
  :user_attributes,
  :mfa_options)
  include Aws::Structure
end