managed_thing_schemas
Creates, updates, deletes, gets or lists a managed_thing_schemas resource.
Overview
| Name | managed_thing_schemas |
| Type | Resource |
| Id | aws.iot_managed_integrations.managed_thing_schemas |
Fields
The following fields are returned by SELECT queries:
- list_managed_thing_schemas
| Name | Datatype | Description |
|---|---|---|
capability_id | string | The id of the capability for a managed thing. (pattern: <code>[a-zA-Z0-9./]+(@\d+.\d+)?</code>) |
endpoint_id | string | The id of the endpoint for a managed thing. (pattern: <code>[0-9a-zA-Z]+</code>) |
schema | object | The validation schema for one schema item associated with a managed thing. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_managed_thing_schemas | select | identifier, region | EndpointIdFilter, CapabilityIdFilter, NextToken, MaxResults | List schemas associated with 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.
| Name | Datatype | Description |
|---|---|---|
identifier | string | The managed thing id. |
region | string | AWS region (default: us-east-1) |
CapabilityIdFilter | string | Filter on a capability id. |
EndpointIdFilter | string | Filter on an endpoint id. |
MaxResults | integer | The maximum number of results to return at one time. |
NextToken | string | A token that can be used to retrieve the next set of results. |
SELECT examples
- list_managed_thing_schemas
List schemas associated with a managed thing.
SELECT
capability_id,
endpoint_id,
schema
FROM aws.iot_managed_integrations.managed_thing_schemas
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
AND EndpointIdFilter = '{{ EndpointIdFilter }}'
AND CapabilityIdFilter = '{{ CapabilityIdFilter }}'
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
;