managed_thing_capabilities
Creates, updates, deletes, gets or lists a managed_thing_capabilities resource.
Overview
| Name | managed_thing_capabilities |
| Type | Resource |
| Id | aws.iot_managed_integrations.managed_thing_capabilities |
Fields
The following fields are returned by SELECT queries:
- get_managed_thing_capabilities
| Name | Datatype | Description |
|---|---|---|
capabilities | string | The capabilities of the device such as light bulb. (pattern: <code>[a-zA-Z0-9\s'\x{0022},.:\/{$}[]=_-+]+</code>) |
capability_report | object | Report of all capabilities supported by the device. |
managed_thing_id | string | The id of the device. (pattern: <code>[a-zA-Z0-9:_-]*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_thing_capabilities | select | identifier, region | Get the capabilities for a managed thing using the 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 |
|---|---|---|
identifier | string | The id of the device. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_managed_thing_capabilities
Get the capabilities for a managed thing using the device ID.
SELECT
capabilities,
capability_report,
managed_thing_id
FROM aws.iot_managed_integrations.managed_thing_capabilities
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;