| Server IP : 69.72.244.102 / Your IP : 216.73.217.143 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 : /usr/lib/python3.6/site-packages/awscli/examples/iotthingsgraph/ |
Upload File : |
**To upload entity definitions**
The following ``upload-entity-definitions`` example uploads entity definitions to your namespace. The value of ``MyEntityDefinitions`` is the GraphQL that models the entities. ::
aws iotthingsgraph upload-entity-definitions \
--document language=GRAPHQL,text="MyEntityDefinitions"
Output::
{
"uploadId": "f6294f1e-b109-4bbe-9073-f451a2dda2da"
}
For more information, see `Modeling Entities <https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-modelmanagement.html>`__ in the *AWS IoT Things Graph User Guide*.