Smaws_Client_IoTThingsGraph.CreateFlowTemplateCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_flow_template_request ->
(Types.create_flow_template_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_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_flow_template_request ->
(Types.create_flow_template_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result