Skip to main content

managed_thing_states

Creates, updates, deletes, gets or lists a managed_thing_states resource.

Overview

Namemanaged_thing_states
TypeResource
Idaws.iot_managed_integrations.managed_thing_states

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
endpointsarrayThe device endpoint.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_managed_thing_stateselectmanaged_thing_id, regionReturns 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.

NameDatatypeDescription
managed_thing_idstringThe id of the device.
regionstringAWS region (default: us-east-1)

SELECT examples

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
;