modify_cluster

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

Request Syntax

response = client.modify_cluster(
    ClusterId='string',
    StepConcurrencyLevel=123
)
Parameters
  • ClusterId (string) --

    [REQUIRED]

    The unique identifier of the cluster.

  • StepConcurrencyLevel (integer) -- 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.
Return type

dict

Returns

Response Syntax

{
    'StepConcurrencyLevel': 123
}

Response Structure

  • (dict) --

    • StepConcurrencyLevel (integer) --

      The number of steps that can be executed concurrently.

Exceptions

  • EMR.Client.exceptions.InternalServerError
  • EMR.Client.exceptions.InvalidRequestException