Class: Aws::CognitoIdentityProvider::Types::ListUsersResponse

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

Overview

The response from the request to list users.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pagination_tokenString

The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.

Returns:

  • (String)


8134
8135
8136
8137
8138
8139
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8134

class ListUsersResponse < Struct.new(
  :users,
  :pagination_token)
  SENSITIVE = []
  include Aws::Structure
end

#usersArray<Types::UserType>

A list of the user pool users, and their attributes, that match your query.

<note markdown=“1”> Amazon Cognito creates a profile in your user pool for each native user in your user pool, and each unique user ID from your third-party identity providers (IdPs). When you link users with the

AdminLinkProviderForUser][1

API operation, the output of

‘ListUsers` displays both the IdP user and the native user that you linked. You can identify IdP users in the `Users` object of this API response by the IdP prefix that Amazon Cognito appends to `Username`.

</note>

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html

Returns:



8134
8135
8136
8137
8138
8139
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8134

class ListUsersResponse < Struct.new(
  :users,
  :pagination_token)
  SENSITIVE = []
  include Aws::Structure
end