Jump to Content

Class CreateFlowTemplateCommandProtected

Deprecated

Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.

Example

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

import { IoTThingsGraphClient, CreateFlowTemplateCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, CreateFlowTemplateCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const client = new IoTThingsGraphClient(config);
const command = new CreateFlowTemplateCommand(input);
const response = await client.send(command);

Param

CreateFlowTemplateCommandInput

Returns

CreateFlowTemplateCommandOutput

See

Throws

InternalFailureException (server fault)

Throws

InvalidRequestException (client fault)

Throws

LimitExceededException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ThrottlingException (client fault)

Hierarchy

Constructors

Properties

Methods