CmdID / aws / aws iotthingsgraph
aws iotthingsgraph create-flow-template
Creates a workflow template. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To create a flow
The following create-flow-template example creates a flow (workflow). The value of MyFlowDefinition is the GraphQL that models the flow.
aws iotthingsgraph create-flow-template --definition language=GRAPHQL,text="MyFlowDefinition"Identify--definitionThe workflow DefinitionDocument.Its output
{
"summary": {
"createdAt": 1559248067.545,
"id": "urn:tdm:us-west-2/123456789012/default:Workflow:MyFlow",
"revisionNumber": 1
}
}Options
--compatible-namespace-versionThe namespace version in which the workflow is to be created.--definitionThe workflow DefinitionDocument.