Smaws_Client_IoTThingsGraph.DeprecateFlowTemplateDeprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.deprecate_flow_template_request ->
(Types.deprecate_flow_template_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.deprecate_flow_template_request ->
(Types.deprecate_flow_template_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalFailureException of Types.internal_failure_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result