CmdID / aws / aws iotthingsgraph
aws iotthingsgraph search-flow-executions
Searches for AWS IoT Things Graph workflow execution instances. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To search for flow executions
The following search-flow-executions example search for all executions of a flow in a specified system instance.
aws iotthingsgraph search-flow-executions --system-instance-id "urn:tdm:us-west-2/123456789012/default:Deployment:Room218"Identify--system-instance-idThe ID of the system instance that contains the flow.Its output
{
"summaries": [
{
"createdAt": 1559247540.656,
"flowExecutionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"flowTemplateId": "urn:tdm:us-west-2/123456789012/default:Workflow:MyFlow",
"status": "RUNNING ",
"systemInstanceId": "urn:tdm:us-west-2/123456789012/default:System:MySystem",
"updatedAt": 1559247540.656
}
]
}Options
--end-timeThe date and time of the latest flow execution to return.--flow-execution-idThe ID of a flow execution.--max-resultsThe maximum number of results to return in the response.--next-tokenThe string that specifies the next page of results.--start-timeThe date and time of the earliest flow execution to return.--system-instance-idThe ID of the system instance that contains the flow.