403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/1621799/root/usr/lib/python3.6/site-packages/awscli/examples/iotthingsgraph/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/1621799/root/usr/lib/python3.6/site-packages/awscli/examples/iotthingsgraph/get-entities.rst
**To get definitions for entities**

The following ``get-entities`` example gets a definition for a device model. ::

    aws iotthingsgraph get-entities \
        --ids "urn:tdm:aws/examples:DeviceModel:MotionSensor"

Output::

    {
        "descriptions": [
            {
                "id": "urn:tdm:aws/examples:DeviceModel:MotionSensor",
                "type": "DEVICE_MODEL",
                "createdAt": 1559256190.599,
                "definition": {
                    "language": "GRAPHQL",
                    "text": "##\n# Specification of motion sensor devices interface.\n##\ntype MotionSensor @deviceModel(id: \"urn:tdm:aws/examples:deviceModel:MotionSensor\",\n        capability: \"urn:tdm:aws/examples:capability:MotionSensorCapability\") {ignore:void}"
                }
            }
        ]
    }

For more information, see `Creating and Uploading Models <https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-models-gs.html>`__ in the *AWS IoT Things Graph User Guide*.

Youez - 2016 - github.com/yon3zu
LinuXploit