:doc:`SFN <../../stepfunctions>` / Client / update_map_run

**************
update_map_run
**************



.. py:method:: SFN.Client.update_map_run(**kwargs)

  

  Updates an in-progress Map Run's configuration to include changes to the settings that control maximum concurrency and Map Run failure.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateMapRun>`_  


  **Request Syntax**
  ::

    response = client.update_map_run(
        mapRunArn='string',
        maxConcurrency=123,
        toleratedFailurePercentage=...,
        toleratedFailureCount=123
    )
    
  :type mapRunArn: string
  :param mapRunArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of a Map Run.

    

  
  :type maxConcurrency: integer
  :param maxConcurrency: 

    The maximum number of child workflow executions that can be specified to run in parallel for the Map Run at the same time.

    

  
  :type toleratedFailurePercentage: float
  :param toleratedFailurePercentage: 

    The maximum percentage of failed items before the Map Run fails.

    

  
  :type toleratedFailureCount: integer
  :param toleratedFailureCount: 

    The maximum number of failed items before the Map Run fails.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SFN.Client.exceptions.ResourceNotFound`

  
  *   :py:class:`SFN.Client.exceptions.InvalidArn`

  
  *   :py:class:`SFN.Client.exceptions.ValidationException`

  