Skip to main content

property_value_histories

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

Overview

Nameproperty_value_histories
TypeResource
Idaws.iottwinmaker.property_value_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe string that specifies the next page of results. (pattern: <code>.*</code>)
property_valuesarrayAn object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_property_value_historyselectworkspace_id, regionRetrieves information about the history of a time series property value for a component, component type, entity, or workspace. You must specify a value for workspaceId. For entity-specific queries, specify values for componentName and entityId. For cross-entity quries, specify a value for componentTypeId.

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)
workspace_idstringThe ID of the workspace.

SELECT examples

Retrieves information about the history of a time series property value for a component, component type, entity, or workspace. You must specify a value for workspaceId. For entity-specific queries, specify values for componentName and entityId. For cross-entity quries, specify a value for componentTypeId.

SELECT
next_token,
property_values
FROM aws.iottwinmaker.property_value_histories
WHERE workspace_id = '{{ workspace_id }}' -- required
AND region = '{{ region }}' -- required
;