Smaws_Client_IoTThingsGraph.CreateSystemTemplateCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_system_template_request ->
(Types.create_system_template_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_system_template_request ->
(Types.create_system_template_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result