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

Class: Aws::CognitoIdentityProvider::Types::AdminGetUserRequest

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 AdminGetUserRequest data as a hash:

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

Represents the request to get the specified user 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 get information about the user.

Returns:

  • (String)


597
598
599
600
601
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 597

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

#usernameString

The user name of the user you wish to retrieve.

Returns:

  • (String)


597
598
599
600
601
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 597

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