aws.iot1click_devices.list_devices
Example SQL Queries
SELECT * FROMaws.iot1click_devices.list_devices;Description
Lists the 1-Click compatible devices associated with your AWS account.
Table Definition
| Column Name | Column Data Type |
|---|---|
| device_type Input Column The type of the device, such as "button". | 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
| |
| arn The ARN of the device. | VARCHAR |
| attributes An array of zero or more elements of DeviceAttribute objects providing user specified device attributes. | MAP(VARCHAR, VARCHAR) |
| device_id The unique identifier of the device. | VARCHAR |
| enabled A Boolean value indicating whether or not the device is enabled. | BOOLEAN |
| remaining_life A value between 0 and 1 inclusive, representing the fraction of life remaining for the device. | DOUBLE |
| tags The tags currently associated with the AWS IoT 1-Click device. | MAP(VARCHAR, VARCHAR) |
| type The type of the device, such as "button". | VARCHAR |