Jump to Content

Class CreateSystemTemplateCommandProtected

Deprecated

Creates a system. The system 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, CreateSystemTemplateCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, CreateSystemTemplateCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const client = new IoTThingsGraphClient(config);
const input = {
definition: {
language: "STRING_VALUE", // required
text: "STRING_VALUE", // required
},
compatibleNamespaceVersion: Number("long"),
};
const command = new CreateSystemTemplateCommand(input);
const response = await client.send(command);

Param

CreateSystemTemplateCommandInput

Returns

CreateSystemTemplateCommandOutput

See

Throws

InternalFailureException (server fault)

Throws

InvalidRequestException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ThrottlingException (client fault)

Hierarchy

Constructors

Properties

Methods