IoT Core - Dynamic Object Group Query latency based on the object's shadow attribute

0

Why does the dynamic thing group query based on a thing's shadow attribute take around a minute to load the thing in aws iot after I change it ?.

ex:

i have a thing shadow: {"reported": {"field1": 1}}

lambda:

  • create dynamic thing group by query string: shadow.reported.field1: 0
  • check status of dynamic thing group: If status is ACTIVE, return the items in the thing group; otherwise, keep checking status until it is ACTIVE.

Steps:

  1. step-1: update thing shadow: reported.field1 = 0
  2. step-2: first time run lambda: list things in thing group is empty.
  3. step-3: next time run lambda: list things have data.

The time interval between two step-2 and step-3 is 1 minute.

質問済み 8ヶ月前111ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ