GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::CognitoIdp::ListUsers(3) User Contributed Perl Documentation Paws::CognitoIdp::ListUsers(3)

Paws::CognitoIdp::ListUsers - Arguments for method ListUsers on Paws::CognitoIdp

This class represents the parameters used for calling the method ListUsers on the Amazon Cognito Identity Provider service. Use the attributes of this class as arguments to method ListUsers.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListUsers.

    my $cognito-idp = Paws->service('CognitoIdp');
    my $ListUsersResponse = $cognito -idp->ListUsers(
      UserPoolId      => 'MyUserPoolIdType',
      AttributesToGet => [
        'MyAttributeNameType', ...    # min: 1, max: 32
      ],    # OPTIONAL
      Filter          => 'MyUserFilterType',               # OPTIONAL
      Limit           => 1,                                # OPTIONAL
      PaginationToken => 'MySearchPaginationTokenType',    # OPTIONAL
    );
    # Results:
    my $PaginationToken = $ListUsersResponse->PaginationToken;
    my $Users           = $ListUsersResponse->Users;
    # Returns a L<Paws::CognitoIdp::ListUsersResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/cognito-idp/ListUsers>

An array of strings, where each string is the name of a user attribute to be returned for each user in the search results. If the array is null, all attributes are returned.

A filter string of the form "AttributeName Filter-Type "AttributeValue"". Quotation marks within the filter string must be escaped using the backslash (\) character. For example, ""family_name" = \"Reddy\"".

  • AttributeName: The name of the attribute to search for. You can only search for one attribute at a time.
  • Filter-Type: For an exact match, use =, for example, ""given_name" = \"Jon\"". For a prefix ("starts with") match, use ^=, for example, ""given_name" ^= \"Jon\"".
  • AttributeValue: The attribute value that must be matched for each user.

If the filter string is empty, "ListUsers" returns all users in the user pool.

You can only search for the following standard attributes:

  • "username" (case-sensitive)
  • "email"
  • "phone_number"
  • "name"
  • "given_name"
  • "family_name"
  • "preferred_username"
  • "cognito:user_status" (called Status in the Console) (case-insensitive)
  • "status (called Enabled in the Console) (case-sensitive)"
  • "sub"

Custom attributes are not searchable.

For more information, see Searching for Users Using the ListUsers API (https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-using-listusers-api) and Examples of Using the ListUsers API (https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html#cognito-user-pools-searching-for-users-listusers-api-examples) in the Amazon Cognito Developer Guide.

Maximum number of users to be returned.

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

REQUIRED UserPoolId => Str

The user pool ID for the user pool on which the search should be performed.

This class forms part of Paws, documenting arguments for method ListUsers in Paws::CognitoIdp

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.