Skip to main content

managed_thing_connectivity_datas

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

Overview

Namemanaged_thing_connectivity_datas
TypeResource
Idaws.iot_managed_integrations.managed_thing_connectivity_datas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connectedbooleanThe connectivity status for a managed thing.
disconnect_reasonstringThe reason for the connectivity disconnect with the managed thing. (AUTH_ERROR, CLIENT_INITIATED_DISCONNECT, CLIENT_ERROR, CONNECTION_LOST, DUPLICATE_CLIENTID, FORBIDDEN_ACCESS, MQTT_KEEP_ALIVE_TIMEOUT, SERVER_ERROR, SERVER_INITIATED_DISCONNECT, THROTTLED, WEBSOCKET_TTL_EXPIRATION, CUSTOMAUTH_TTL_EXPIRATION, UNKNOWN, NONE)
managed_thing_idstringThe id of a managed thing. (pattern: <code>[a-zA-Z0-9:_-]*</code>)
timestampstring (date-time)The timestamp value of when the connectivity status for a managed thing was last taken.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_managed_thing_connectivity_dataselectidentifier, regionGet the connectivity status of a managed thing.

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
identifierstringThe identifier of a managed thing.
regionstringAWS region (default: us-east-1)

SELECT examples

Get the connectivity status of a managed thing.

SELECT
connected,
disconnect_reason,
managed_thing_id,
timestamp
FROM aws.iot_managed_integrations.managed_thing_connectivity_datas
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;