CmdID / aws / aws iotthingsgraph
aws iotthingsgraph update-system-template
Updates the specified system. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To update a system
The following update-system-template example updates a system. The value of MySystemDefinition is the GraphQL that models the system.
aws iotthingsgraph update-system-template --id "urn:tdm:us-west-2/123456789012/default:System:MySystem" --definition language=GRAPHQL,text="MySystemDefinition"Identify--idThe ID of the system to be updated.--definitionThe DefinitionDocument that contains the updated system definition.Its output
{
"summary": {
"createdAt": 1559249776.254,
"id": "urn:tdm:us-west-2/123456789012/default:System:MySystem",
"arn": "arn:aws:iotthingsgraph:us-west-2:123456789012:System/default/MySystem",
"revisionNumber": 2
}
}Options
--compatible-namespace-versionThe version of the user's namespace.--definitionThe DefinitionDocument that contains the updated system definition.--idThe ID of the system to be updated.