named_shadows_for_things
Creates, updates, deletes, gets or lists a named_shadows_for_things resource.
Overview
| Name | named_shadows_for_things |
| Type | Resource |
| Id | aws.iot_data.named_shadows_for_things |
Fields
The following fields are returned by SELECT queries:
- list_named_shadows_for_thing
| Name | Datatype | Description |
|---|---|---|
next_token | string | The token to use to get the next set of results, or null if there are no additional results. |
results | array | The list of shadows for the specified thing. |
timestamp | integer (int64) | The Epoch date and time the response was generated by IoT. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_named_shadows_for_thing | select | thing_name, region | nextToken, pageSize | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
thing_name | string | The name of the thing. |
nextToken | string | The token to retrieve the next set of results. |
pageSize | integer | The result page size. |
SELECT examples
- list_named_shadows_for_thing
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 }}'
;