Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class SearchFlowTemplatesCommandProtected

Deprecated

Searches for summary information about workflows.

Example

Use a bare-bones client and the command you need to make an API call.

import { IoTThingsGraphClient, SearchFlowTemplatesCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, SearchFlowTemplatesCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const client = new IoTThingsGraphClient(config);
const input = { // SearchFlowTemplatesRequest
filters: [ // FlowTemplateFilters
{ // FlowTemplateFilter
name: "DEVICE_MODEL_ID", // required
value: [ // FlowTemplateFilterValues // required
"STRING_VALUE",
],
},
],
nextToken: "STRING_VALUE",
maxResults: Number("int"),
};
const command = new SearchFlowTemplatesCommand(input);
const response = await client.send(command);
// { // SearchFlowTemplatesResponse
// summaries: [ // FlowTemplateSummaries
// { // FlowTemplateSummary
// id: "STRING_VALUE",
// arn: "STRING_VALUE",
// revisionNumber: Number("long"),
// createdAt: new Date("TIMESTAMP"),
// },
// ],
// nextToken: "STRING_VALUE",
// };

Param

SearchFlowTemplatesCommandInput

Returns

SearchFlowTemplatesCommandOutput

See

Throws

InternalFailureException (server fault)

Throws

InvalidRequestException (client fault)

Throws

ThrottlingException (client fault)

Throws

IoTThingsGraphServiceException

Base exception class for all service exceptions from IoTThingsGraph service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods