

# IotSiteWiseAction
<a name="API_IotSiteWiseAction"></a>

Describes an action to send data from an MQTT message that triggered the rule to Amazon IoT SiteWise asset properties.

## Contents
<a name="API_IotSiteWiseAction_Contents"></a>

 ** putAssetPropertyValueEntries **   <a name="iot-Type-IotSiteWiseAction-putAssetPropertyValueEntries"></a>
A list of asset property value entries.  
Type: Array of [PutAssetPropertyValueEntry](API_PutAssetPropertyValueEntry.md) objects  
Array Members: Minimum number of 1 item.  
Required: Yes

 ** roleArn **   <a name="iot-Type-IotSiteWiseAction-roleArn"></a>
The ARN of the role that grants Amazon IoT permission to send an asset property value to Amazon IoT SiteWise. (`"Action": "iotsitewise:BatchPutAssetPropertyValue"`). The trust policy can restrict access to specific asset hierarchy paths.  
Type: String  
Required: Yes

## See Also
<a name="API_IotSiteWiseAction_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/iot-2015-05-28/IotSiteWiseAction) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/iot-2015-05-28/IotSiteWiseAction) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/iot-2015-05-28/IotSiteWiseAction) 