We are excited to announce our new API Documentation.
Protected
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.
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 importconst client = new IoTThingsGraphClient(config);const input = { // CreateSystemTemplateRequest definition: { // DefinitionDocument language: "GRAPHQL", // required text: "STRING_VALUE", // required }, compatibleNamespaceVersion: Number("long"),};const command = new CreateSystemTemplateCommand(input);const response = await client.send(command);// { // CreateSystemTemplateResponse// summary: { // SystemTemplateSummary// id: "STRING_VALUE",// arn: "STRING_VALUE",// revisionNumber: Number("long"),// createdAt: new Date("TIMESTAMP"),// },// };
CreateSystemTemplateCommandInput
CreateSystemTemplateCommandOutput
input
response
config
InternalFailureException (server fault)
InvalidRequestException (client fault)
ResourceAlreadyExistsException (client fault)
ThrottlingException (client fault)
IoTThingsGraphServiceException
Base exception class for all service exceptions from IoTThingsGraph service.
Readonly
Static
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.
Param
CreateSystemTemplateCommandInput
Returns
CreateSystemTemplateCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalFailureException (server fault)
Throws
InvalidRequestException (client fault)
Throws
ResourceAlreadyExistsException (client fault)
Throws
ThrottlingException (client fault)
Throws
IoTThingsGraphServiceException
Base exception class for all service exceptions from IoTThingsGraph service.