aws.iot.list_things
Example SQL Queries
SELECT * FROMaws.iot.list_things;Description
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. For more information, see List Things from the Amazon Web Services IoT Core Developer Guide.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied error is returned. You will also not be charged if no attributes or pagination token was provided in request and no pagination token and no results were returned.
Table Definition
| Column Name | Column Data Type |
|---|---|
| attribute_name Input Column The attribute name used to search for things. | VARCHAR |
| attribute_value Input Column The attribute value used to search for things. | VARCHAR |
| thing_type_name Input Column The name of the thing type, if the thing has been associated with a type. | VARCHAR |
| use_prefix_attribute_value Input Column When true, the action returns the thing resources with attribute values that start with the attributeValue provided. When false, or not present, the action returns only the thing resources with attribute values that match the entire attributeValue provided. | BOOLEAN |
| _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 |
| attributes A list of thing attributes which are name-value pairs. | MAP(VARCHAR, VARCHAR) |
| thing_arn The thing ARN. | VARCHAR |
| thing_name The name of the thing. | VARCHAR |
| version The version of the thing record in the registry. | BIGINT |