List Resource Servers
cognitoidentityprovider_list_resource_servers | R Documentation |
Lists the resource servers for a user pool¶
Description¶
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
Usage¶
Arguments¶
UserPoolId
[required] The user pool ID for the user pool.
MaxResults
The maximum number of resource servers to return.
NextToken
A pagination token.
Value¶
A list with the following syntax:
list(
ResourceServers = list(
list(
UserPoolId = "string",
Identifier = "string",
Name = "string",
Scopes = list(
list(
ScopeName = "string",
ScopeDescription = "string"
)
)
)
),
NextToken = "string"
)