sync_resources
Creates, updates, deletes, gets or lists a sync_resources resource.
Overview
| Name | sync_resources |
| Type | Resource |
| Id | aws.iottwinmaker.sync_resources |
Fields
The following fields are returned by SELECT queries:
- list_sync_resources
| Name | Datatype | Description |
|---|---|---|
next_token | string | The string that specifies the next page of results. (pattern: <code>.*</code>) |
sync_resources | array | The sync resources. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_sync_resources | select | workspace_id, sync_source, region | Lists the sync resources. |
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) |
sync_source | string | The sync source. Currently the only supported syncSource is SITEWISE . |
workspace_id | string | The ID of the workspace that contains the sync job. |
SELECT examples
- list_sync_resources
Lists the sync resources.
SELECT
next_token,
sync_resources
FROM aws.iottwinmaker.sync_resources
WHERE workspace_id = '{{ workspace_id }}' -- required
AND sync_source = '{{ sync_source }}' -- required
AND region = '{{ region }}' -- required
;