Skip to content

/AWS1/CL_EMR=>MODIFYCLUSTER()

About ModifyCluster

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

Method Signature

IMPORTING

Required arguments:

iv_clusterid TYPE /AWS1/EMRSTRING /AWS1/EMRSTRING

The unique identifier of the cluster.

Optional arguments:

iv_stepconcurrencylevel TYPE /AWS1/EMRINTEGER /AWS1/EMRINTEGER

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.

RETURNING

oo_output TYPE REF TO /aws1/cl_emrmodifyclustoutput /AWS1/CL_EMRMODIFYCLUSTOUTPUT

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->/aws1/if_emr~modifycluster(
  iv_clusterid = |string|
  iv_stepconcurrencylevel = 123
).

This is an example of reading all possible response values

lv_integer = lo_result->get_stepconcurrencylevel( ).