HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/iotevents-data/list-detectors.rst
**To get a list of detectors for a detector model**

The following ``list-detectors`` example lists detectors (the instances of a detector model). ::

    aws iotevents-data list-detectors \
        --detector-model-name motorDetectorModel

Output::

    {
        "detectorSummaries": [
            {
                "lastUpdateTime": 1558129925.2, 
                "creationTime": 1552073155.527, 
                "state": {
                    "stateName": "Normal"
                }, 
                "keyValue": "Fulton-A32", 
                "detectorModelName": "motorDetectorModel", 
                "detectorModelVersion": "1"
            }
        ]
    }

For more information, see `ListDetectors <https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-commands.html#api-iotevents-ListDetectors>`__ in the *AWS IoT Events Developer Guide**.