Skip to main content

named_shadows_for_things

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

Overview

Namenamed_shadows_for_things
TypeResource
Idaws.iot_data.named_shadows_for_things

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token to use to get the next set of results, or null if there are no additional results.
resultsarrayThe list of shadows for the specified thing.
timestampinteger (int64)The Epoch date and time the response was generated by IoT.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_named_shadows_for_thingselectthing_name, regionnextToken, pageSizeLists the shadows for the specified thing. Requires permission to access the ListNamedShadowsForThing action.

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
regionstringAWS region (default: us-east-1)
thing_namestringThe name of the thing.
nextTokenstringThe token to retrieve the next set of results.
pageSizeintegerThe result page size.

SELECT examples

Lists the shadows for the specified thing. Requires permission to access the ListNamedShadowsForThing action.

SELECT
next_token,
results,
timestamp
FROM aws.iot_data.named_shadows_for_things
WHERE thing_name = '{{ thing_name }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND pageSize = '{{ pageSize }}'
;