CmdID

CmdID / aws / aws iotthingsgraph

aws iotthingsgraph search-flow-templates

Searches for summary information about workflows. 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 search for flows (or workflows)

The following search-flow-templates example searches for all flows (workflows) that contain the Camera device model.

aws iotthingsgraph search-flow-templates --filters name="DEVICE_MODEL_ID",value="urn:tdm:aws/examples:DeviceModel:Camera"Identify
--filtersAn array of objects that limit the result set.
Its output
{
    "summaries": [
        {
            "id": "urn:tdm:us-west-2/123456789012/default:Workflow:MyFlow",
            "revisionNumber": 1,
            "createdAt": 1559247540.292
        },
        {
            "id": "urn:tdm:us-west-2/123456789012/default:Workflow:SecurityFlow",
            "revisionNumber": 3,
            "createdAt": 1548283099.27
        }
    ]
}

Options

3 in the AWS CLI reference
--filtersAn array of objects that limit the result set.
--max-resultsThe maximum number of results to return in the response.
--next-tokenThe string that specifies the next page of results.