IotSiteWiseAction class

Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise. For parameters that are string data type, you can specify the following options:

  • Use a string. For example, the propertyAlias value can be '/company/windfarm/3/turbine/7/temperature'.
  • Use an expression. For example, the propertyAlias value can be 'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/${$input.TemperatureInput.sensorData.turbineID}/temperature'.

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

Constructors

IotSiteWiseAction({required AssetPropertyValue propertyValue, String? assetId, String? entryId, String? propertyAlias, String? propertyId})
IotSiteWiseAction.fromJson(Map<String, dynamic> json)
factory

Properties

assetId String?
The ID of the asset that has the specified property. You can specify an expression.
final
entryId String?
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. You can also specify an expression.
final
hashCode int
The hash code for this object.
no setterinherited
propertyAlias String?
The alias of the asset property. You can also specify an expression.
final
propertyId String?
The ID of the asset property. You can specify an expression.
final
propertyValue AssetPropertyValue
The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited