Search the fleet index
search_fleet_indexQuery the AWS IoT fleet index to find things by name, attributes, shadow state, or connectivity. Answers which devices are offline right now when connectivity indexing is enabled.
Instructions
Runs a fleet-indexing query (AWS_Things index) and returns matching things with their connectivity state when connectivity indexing is enabled. This is the only way to answer "which devices are offline right now". Query syntax examples: connectivity.connected:false — thingName:gw-* — attributes.site:santiago — shadow.reported.firmware:1.2.3. Requires fleet indexing to be enabled on the account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Fleet-index query string. Use * as a wildcard; field:value syntax. | |
| next_token | No | Pagination token from a previous call. | |
| max_results | No |