Skip to content

UpdateDetectorRequest

Source code in docs_src/capo_iot_events_data/types/update_detector_request.py
class UpdateDetectorRequest(TypedDict, closed=True):
    message_id: "capo_iot_events_data.types.message_id.MessageId"
    """<p>The ID to assign to the detector update <code>"message"</code>. Each <code>"messageId"</code> must be unique within each batch sent.</p>"""
    detector_model_name: (
        "capo_iot_events_data.types.detector_model_name.DetectorModelName"
    )
    """<p>The name of the detector model that created the detectors (instances).</p>"""
    key_value: NotRequired["capo_iot_events_data.types.key_value.KeyValue"]
    """<p>The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).</p>"""
    state: (
        "capo_iot_events_data.types.detector_state_definition.DetectorStateDefinition"
    )
    """<p>The new state, variable values, and timer settings of the detector (instance).</p>"""

detector_model_name instance-attribute

detector_model_name: DetectorModelName

The name of the detector model that created the detectors (instances).

key_value instance-attribute

key_value: NotRequired[KeyValue]

The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).

message_id instance-attribute

message_id: MessageId

The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

state instance-attribute

The new state, variable values, and timer settings of the detector (instance).