{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-events/refs/heads/main/json-schema/iot-events-iot-site-wise-action-schema.json", "title": "IotSiteWiseAction", "description": "

Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.

You must use expressions for all parameters in IotSiteWiseAction. The expressions accept literals, operators, functions, references, and substitutions templates.

Examples

You must specify either propertyAlias or both assetId and propertyId to identify the target asset property in AWS IoT SiteWise.

For more information, see Expressions in the AWS IoT Events Developer Guide.

", "type": "object", "properties": { "entryId": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyEntryId" }, { "description": "A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier." } ] }, "assetId": { "allOf": [ { "$ref": "#/components/schemas/AssetId" }, { "description": "The ID of the asset that has the specified property." } ] }, "propertyId": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyId" }, { "description": "The ID of the asset property." } ] }, "propertyAlias": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyAlias" }, { "description": "The alias of the asset property." } ] }, "propertyValue": { "allOf": [ { "$ref": "#/components/schemas/AssetPropertyValue" }, { "description": "The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information. " } ] } } }