Skip to content

ConditionBasedCollectionScheme

Source code in docs_src/capo_iotfleetwise/types/condition_based_collection_scheme.py
class ConditionBasedCollectionScheme(TypedDict, closed=True):
    expression: "capo_iotfleetwise.types.event_expression.eventExpression"
    """<p>The logical expression used to recognize what data to collect. For example, <code>$variable.`Vehicle.OutsideAirTemperature` &gt;= 105.0</code>.</p>"""
    minimum_trigger_interval_ms: NotRequired["capo_iotfleetwise.types.uint32.uint32"]
    """<p>The minimum duration of time between two triggering events to collect data, in milliseconds.</p> <note> <p>If a signal changes often, you might want to collect data at a slower rate.</p> </note>"""
    trigger_mode: NotRequired["capo_iotfleetwise.types.trigger_mode.TriggerMode"]
    """<p>Whether to collect data for all triggering events (<code>ALWAYS</code>). Specify (<code>RISING_EDGE</code>), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed =&gt; deployed.</p>"""
    condition_language_version: NotRequired[
        "capo_iotfleetwise.types.language_version.languageVersion"
    ]
    """<p>Specifies the version of the conditional expression language.</p>"""

condition_language_version instance-attribute

condition_language_version: NotRequired[languageVersion]

Specifies the version of the conditional expression language.

expression instance-attribute

expression: eventExpression

The logical expression used to recognize what data to collect. For example, $variable.`Vehicle.OutsideAirTemperature` >= 105.0.

minimum_trigger_interval_ms instance-attribute

minimum_trigger_interval_ms: NotRequired[uint32]

The minimum duration of time between two triggering events to collect data, in milliseconds.

If a signal changes often, you might want to collect data at a slower rate.

trigger_mode instance-attribute

trigger_mode: NotRequired[TriggerMode]

Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.