CmdID

CmdID / aws / aws iotthingsgraph

aws iotthingsgraph update-flow-template

Updates the specified workflow. 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 update a flow

The following update-flow-template example updates a flow (workflow). The value of MyFlowDefinition is the GraphQL that models the flow.

aws iotthingsgraph update-flow-template --id "urn:tdm:us-west-2/123456789012/default:Workflow:MyFlow" --definition language=GRAPHQL,text="MyFlowDefinition"Identify
--idThe ID of the workflow to be updated.
--definitionThe DefinitionDocument that contains the updated workflow definition.
Its output
{
    "summary": {
        "createdAt": 1559248067.545,
        "id": "urn:tdm:us-west-2/123456789012/default:Workflow:MyFlow",
        "revisionNumber": 2
    }
}

Options

3 in the AWS CLI reference
--compatible-namespace-versionThe version of the user's namespace.
--definitionThe DefinitionDocument that contains the updated workflow definition.
--idThe ID of the workflow to be updated.