Skip to main content

entities

Creates, updates, deletes, gets or lists an entities resource.

Overview

Nameentities
TypeResource
Idaws.iotthingsgraph.entities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionsarrayAn array of descriptions for the specified entities.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_entitiesselectregionGets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities. Properties States Events Actions Capabilities Mappings Devices Device Models Services This action doesn't return definitions for systems, flows, and deployments.
search_entitiesselectregionSearches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities. Properties States Events Actions Capabilities Mappings Devices Device Models Services This action doesn't return definitions for systems, flows, and deployments.

SELECT
descriptions
FROM aws.iotthingsgraph.entities
WHERE region = '{{ region }}' -- required
;