CmdID / aws / aws iotthingsgraph
aws iotthingsgraph upload-entity-definitions
Asynchronously uploads one or more entity definitions to the user's namespace. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
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"Identify--documentThe DefinitionDocument that defines the updated entities.Its output
{
"uploadId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}Options
--deprecate-existing-entitiesA Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument.--documentThe DefinitionDocument that defines the updated entities.--sync-with-public-namespaceA Boolean that specifies whether to synchronize with the latest version of the public namespace.