Skip to content

Event

Source code in docs_src/capo_iot_events/types/event.py
class Event(TypedDict, closed=True):
    event_name: "capo_iot_events.types.event_name.EventName"
    """<p>The name of the event.</p>"""
    condition: NotRequired["capo_iot_events.types.condition.Condition"]
    """<p>Optional. The Boolean expression that, when TRUE, causes the <code>actions</code> to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).</p>"""
    actions: NotRequired["capo_iot_events.types.actions.Actions"]
    """<p>The actions to be performed.</p>"""

actions instance-attribute

actions: NotRequired[Actions]

The actions to be performed.

condition instance-attribute

condition: NotRequired[Condition]

Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).

event_name instance-attribute

event_name: EventName

The name of the event.