ModifyCluster - Amazon EMR

ModifyCluster

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

Request Syntax

{ "ClusterId": "string", "StepConcurrencyLevel": number }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ClusterId

The unique identifier of the cluster.

Type: String

Required: Yes

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: Integer

Required: No

Response Syntax

{ "StepConcurrencyLevel": number }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

StepConcurrencyLevel

The number of steps that can be executed concurrently.

Type: Integer

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerError

Indicates that an error occurred while processing the request and that the request was not completed.

HTTP Status Code: 400

InvalidRequestException

This exception occurs when there is something wrong with user input.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: