aws.cognito_idp.list_devices
Example SQL Queries
SELECT * FROMaws.cognito_idp.list_devicesWHERE"access_token" = 'VALUE';Description
Lists the sign-in devices that Amazon Cognito has registered to the current user. For more information about device authentication, see Working with user devices in your user pool.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
Table Definition
| Column Name | Column Data Type |
|---|---|
| access_token Required Input Column A valid access token that Amazon Cognito issued to the user whose list of devices you want to view. | VARCHAR |
| limit Input Column The limit of the device request. | BIGINT |
| pagination_token Input Column The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items. | 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 |
| devices The devices returned in the list devices response. | STRUCT( |
Show child fields
| |