CmdID

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

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

Examples

from aws-cli, each command read by CmdID

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

2 in the AWS CLI reference
--compatible-namespace-versionThe namespace version in which the workflow is to be created.
--definitionThe workflow DefinitionDocument.