:doc:`IoTThingsGraph <../../iotthingsgraph>` / Client / deprecate_flow_template

***********************
deprecate_flow_template
***********************



.. py:method:: IoTThingsGraph.Client.deprecate_flow_template(**kwargs)

  

  Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeprecateFlowTemplate>`_  


  **Request Syntax**
  ::

    response = client.deprecate_flow_template(
        id='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The ID of the workflow to be deleted.

     

    The ID should be in the following format.

     

    ``urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME``

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.InternalFailureException`

  
  *   :py:class:`IoTThingsGraph.Client.exceptions.ResourceNotFoundException`

  