CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

3 in the AWS CLI reference
--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.