Skip to main content

property_values

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

Overview

Nameproperty_values
TypeResource
Idaws.iottwinmaker.property_values

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe string that specifies the next page of results. (pattern: <code>.*</code>)
property_valuesobjectAn object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.
tabular_property_valuesarrayA table of property values.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_property_valueselectworkspace_id, regionGets the property values for a component, component type, entity, or workspace. You must specify a value for either componentName, componentTypeId, entityId, or workspaceId.
batch_put_property_valuesexecworkspace_id, region, entriesSets values for multiple time series properties.

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 that contains the properties to set.

SELECT examples

Gets the property values for a component, component type, entity, or workspace. You must specify a value for either componentName, componentTypeId, entityId, or workspaceId.

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

Lifecycle Methods

Sets values for multiple time series properties.

EXEC aws.iottwinmaker.property_values.batch_put_property_values
@workspace_id='{{ workspace_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"entries": "{{ entries }}"
}'
;