- 新しい順
- 投票が多い順
- コメントが多い順
The IoT SiteWise rule action maps very directly to the BatchPutAssetPropertyValue API: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_BatchPutAssetPropertyValue.html . So it is a single API call even if you have multiple entries and/or multiple rows (property values) per entry in that rule action. Up to 10 entries.
https://docs.aws.amazon.com/iot/latest/developerguide/iotsitewise-rule-action.html
When you send data to AWS IoT SiteWise with this action, your data must meet the requirements of the BatchPutAssetPropertyValue operation. For more information, see BatchPutAssetPropertyValue in the AWS IoT SiteWise API Reference.
It doesn't have to be the case that each sample in the message has a unique timestamp. They may or may not. It all depends on how your sensor data is collected and sent. If you have multiple values all with one timestamp, that's fine too.
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 1年前
Is there any way to log that BatchPutAssetPropertyValue? The documentation lists the error codes it might throw, but since I'm invoking that call from the Rule, would I capture them in the rule's "On Error" section?
I don't think you can directly the log the output of BatchPutAssetPropertyValue. Although I think the RuleExecution error gives very good information. More information than the HTTP error code: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/troubleshoot-rule.html#troubleshoot-rule-issues