Skip to main content

sync_resources

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

Overview

Namesync_resources
TypeResource
Idaws.iottwinmaker.sync_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe string that specifies the next page of results. (pattern: <code>.*</code>)
sync_resourcesarrayThe sync resources.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_sync_resourcesselectworkspace_id, sync_source, regionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
sync_sourcestringThe sync source. Currently the only supported syncSource is SITEWISE .
workspace_idstringThe ID of the workspace that contains the sync job.

SELECT examples

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
;