Skip to content

/AWS1/CL_CGP=>LISTRESOURCESERVERS()

About ListResourceServers

Lists the resource servers for a user pool.

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_USERPOOLID TYPE /AWS1/CGPUSERPOOLIDTYPE /AWS1/CGPUSERPOOLIDTYPE

The user pool ID for the user pool.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/CGPLSTRESRCSERVERSLMTT00 /AWS1/CGPLSTRESRCSERVERSLMTT00

The maximum number of resource servers to return.

IV_NEXTTOKEN TYPE /AWS1/CGPPAGINATIONKEYTYPE /AWS1/CGPPAGINATIONKEYTYPE

A pagination token.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CGPLSTRESRCSERVERSRSP /AWS1/CL_CGPLSTRESRCSERVERSRSP