:doc:`EMR <../../emr>` / Client / modify_cluster

**************
modify_cluster
**************



.. py:method:: EMR.Client.modify_cluster(**kwargs)

  

  Modifies the number of steps that can be executed concurrently for the cluster specified using ClusterID.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyCluster>`_  


  **Request Syntax**
  ::

    response = client.modify_cluster(
        ClusterId='string',
        StepConcurrencyLevel=123,
        ExtendedSupport=True|False
    )
    
  :type ClusterId: string
  :param ClusterId: **[REQUIRED]** 

    The unique identifier of the cluster.

    

  
  :type StepConcurrencyLevel: integer
  :param StepConcurrencyLevel: 

    The number of steps that can be executed concurrently. You can specify a minimum of 1 step and a maximum of 256 steps. We recommend that you do not change this parameter while steps are running or the ``ActionOnFailure`` setting may not behave as expected. For more information see  Step$ActionOnFailure.

    

  
  :type ExtendedSupport: boolean
  :param ExtendedSupport: 

    Reserved.

    

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

    
    ::

      {
          'StepConcurrencyLevel': 123,
          'ExtendedSupport': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **StepConcurrencyLevel** *(integer) --* 

        The number of steps that can be executed concurrently.

        
      

      - **ExtendedSupport** *(boolean) --* 

        Reserved.

        
  
  **Exceptions**
  
  *   :py:class:`EMR.Client.exceptions.InternalServerError`

  
  *   :py:class:`EMR.Client.exceptions.InvalidRequestException`

  