Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ModifyClusterCommandProtected

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

Example

Use a bare-bones client and the command you need to make an API call.

import { EMRClient, ModifyClusterCommand } from "@aws-sdk/client-emr"; // ES Modules import
// const { EMRClient, ModifyClusterCommand } = require("@aws-sdk/client-emr"); // CommonJS import
const client = new EMRClient(config);
const input = { // ModifyClusterInput
ClusterId: "STRING_VALUE", // required
StepConcurrencyLevel: Number("int"),
};
const command = new ModifyClusterCommand(input);
const response = await client.send(command);
// { // ModifyClusterOutput
// StepConcurrencyLevel: Number("int"),
// };

Param

ModifyClusterCommandInput

Returns

ModifyClusterCommandOutput

See

Throws

InternalServerError (server fault)

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

Throws

InvalidRequestException (client fault)

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

Throws

EMRServiceException

Base exception class for all service exceptions from EMR service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods