aws.cognito_idp.list_resource_servers
Example SQL Queries
SELECT * FROMaws.cognito_idp.list_resource_serversWHERE"user_pool_id" = 'VALUE';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
Table Definition
| Column Name | Column Data Type |
|---|---|
| user_pool_id Required Input Column The user pool ID for the user pool that hosts the resource server. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| identifier A unique resource server identifier for the resource server. The identifier can be an API friendly name like solar-system-data. You can also set an API URL like https://solar-system-data-api.example.com as your identifier. Amazon Cognito represents scopes in the access token in the format $resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens. | VARCHAR |
| name The name of the resource server. | VARCHAR |
| scopes A list of scopes that are defined for the resource server. | STRUCT( |
Show child fields
| |