:doc:`Glue <../../glue>` / Client / update_workflow

***************
update_workflow
***************



.. py:method:: Glue.Client.update_workflow(**kwargs)

  

  Updates an existing workflow.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow>`_  


  **Request Syntax**
  ::

    response = client.update_workflow(
        Name='string',
        Description='string',
        DefaultRunProperties={
            'string': 'string'
        },
        MaxConcurrentRuns=123
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    Name of the workflow to be updated.

    

  
  :type Description: string
  :param Description: 

    The description of the workflow.

    

  
  :type DefaultRunProperties: dict
  :param DefaultRunProperties: 

    A collection of properties to be used as part of each execution of the workflow.

     

    Run properties may be logged. Do not pass plaintext secrets as properties. Retrieve secrets from a Glue Connection, Amazon Web Services Secrets Manager or other secret management mechanism if you intend to use them within the workflow run.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type MaxConcurrentRuns: integer
  :param MaxConcurrentRuns: 

    You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

    

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

    
    ::

      {
          'Name': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Name** *(string) --* 

        The name of the workflow which was specified in input.

        
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  
  *   :py:class:`Glue.Client.exceptions.ConcurrentModificationException`

  