managed_thing_states
Creates, updates, deletes, gets or lists a managed_thing_states resource.
Overview
| Name | managed_thing_states |
| Type | Resource |
| Id | aws.iot_managed_integrations.managed_thing_states |
Fields
The following fields are returned by SELECT queries:
- get_managed_thing_state
| Name | Datatype | Description |
|---|---|---|
endpoints | array | The device endpoint. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_thing_state | select | managed_thing_id, region | Returns the managed thing state for the given device Id. |
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.
| Name | Datatype | Description |
|---|---|---|
managed_thing_id | string | The id of the device. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_managed_thing_state
Returns the managed thing state for the given device Id.
SELECT
endpoints
FROM aws.iot_managed_integrations.managed_thing_states
WHERE managed_thing_id = '{{ managed_thing_id }}' -- required
AND region = '{{ region }}' -- required
;