Skip to main content

managed_thing_schemas

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

Overview​

Namemanaged_thing_schemas
TypeResource
Idaws.iot_managed_integrations.managed_thing_schemas

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
capability_idstringThe id of the capability for a managed thing. (pattern: <code>[a-zA-Z0-9./]+(@\d+.\d+)?</code>)
endpoint_idstringThe id of the endpoint for a managed thing. (pattern: <code>[0-9a-zA-Z]+</code>)
schemaobjectThe validation schema for one schema item associated with a managed thing.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_managed_thing_schemasselectidentifier, regionEndpointIdFilter, CapabilityIdFilter, NextToken, MaxResultsList 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.

NameDatatypeDescription
identifierstringThe managed thing id.
regionstringAWS region (default: us-east-1)
CapabilityIdFilterstringFilter on a capability id.
EndpointIdFilterstringFilter on an endpoint id.
MaxResultsintegerThe maximum number of results to return at one time.
NextTokenstringA token that can be used to retrieve the next set of results.

SELECT examples​

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 }}'
;