Skip to content

/AWS1/CL_CGP=>LISTUSERPOOLS()

About ListUserPools

Lists the user pools associated with an Amazon Web Services account.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

Method Signature

IMPORTING

Required arguments:

IV_MAXRESULTS TYPE /AWS1/CGPPOOLQUERYLIMITTYPE /AWS1/CGPPOOLQUERYLIMITTYPE

The maximum number of results you want the request to return when listing the user pools.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/CGPPAGINATIONKEYTYPE /AWS1/CGPPAGINATIONKEYTYPE

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CGPLISTUSERPOOLSRSP /AWS1/CL_CGPLISTUSERPOOLSRSP