Skip to content

/AWS1/CL_EMR=>RUNJOBFLOW()

About RunJobFlow

RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed.

For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.

A maximum of 256 steps are allowed in each job flow.

If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop.

For long-running clusters, we recommend that you periodically store your results.

The instance fleets configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both.

Method Signature

IMPORTING

Required arguments:

iv_name TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

The name of the job flow.

io_instances TYPE REF TO /AWS1/CL_EMRJOBFLOWINSTSCONFIG /AWS1/CL_EMRJOBFLOWINSTSCONFIG

A specification of the number and type of Amazon EC2 instances.

Optional arguments:

iv_loguri TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created.

iv_logencryptionkmskeyid TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The KMS key used for encrypting log files. If a value is not provided, the logs remain encrypted by AES-256. This attribute is only available with Amazon EMR releases 5.30.0 and later, excluding Amazon EMR 6.0.0.

iv_additionalinfo TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

A JSON string for selecting additional features.

iv_amiversion TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel is used. To specify a custom AMI, use CustomAmiID.

iv_releaselabel TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster. Release labels are in the form emr-x.x.x, where x.x.x is an Amazon EMR release version such as emr-5.14.0. For more information about Amazon EMR release versions and included application versions and features, see https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

it_steps TYPE /AWS1/CL_EMRSTEPCONFIG=>TT_STEPCONFIGLIST TT_STEPCONFIGLIST

A list of steps to run.

it_bootstrapactions TYPE /AWS1/CL_EMRBOOTSTRAPACTIONCFG=>TT_BOOTSTRAPACTIONCONFIGLIST TT_BOOTSTRAPACTIONCONFIGLIST

A list of bootstrap actions to run before Hadoop starts on the cluster nodes.

it_supportedproducts TYPE /AWS1/CL_EMRSUPPEDPRODUCTSLS00=>TT_SUPPORTEDPRODUCTSLIST TT_SUPPORTEDPRODUCTSLIST

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications.

A list of strings that indicates third-party software to use. For more information, see the Amazon EMR Developer Guide. Currently supported values are:

  • "mapr-m3" - launch the job flow using MapR M3 Edition.

  • "mapr-m5" - launch the job flow using MapR M5 Edition.

it_newsupportedproducts TYPE /AWS1/CL_EMRSUPPEDPRODUCTCFG=>TT_NEWSUPPORTEDPRODUCTSLIST TT_NEWSUPPORTEDPRODUCTSLIST

For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and later, use Applications.

A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see "Launch a Job Flow on the MapR Distribution for Hadoop" in the Amazon EMR Developer Guide. Supported values are:

  • "mapr-m3" - launch the cluster using MapR M3 Edition.

  • "mapr-m5" - launch the cluster using MapR M5 Edition.

  • "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition respectively.

  • "mapr-m7" - launch the cluster using MapR M7 Edition.

  • "hunk" - launch the cluster with the Hunk Big Data Analytics Platform.

  • "hue"- launch the cluster with Hue installed.

  • "spark" - launch the cluster with Apache Spark installed.

  • "ganglia" - launch the cluster with the Ganglia Monitoring System installed.

it_applications TYPE /AWS1/CL_EMRAPPLICATION=>TT_APPLICATIONLIST TT_APPLICATIONLIST

Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of applications for Amazon EMR to install and configure when launching the cluster. For a list of applications available for each Amazon EMR release version, see the Amazon EMRRelease Guide.

it_configurations TYPE /AWS1/CL_EMRCONFIGURATION=>TT_CONFIGURATIONLIST TT_CONFIGURATIONLIST

For Amazon EMR releases 4.0 and later. The list of configurations supplied for the Amazon EMR cluster that you are creating.

iv_visibletoallusers TYPE /AWS1/EMRBOOLEAN /AWS1/EMRBOOLEAN

The VisibleToAllUsers parameter is no longer supported. By default, the value is set to true. Setting it to false now has no effect.

Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform Amazon EMR actions on the cluster that their IAM policies allow. This value defaults to true for clusters created using the Amazon EMR API or the CLI create-cluster command.

When set to false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions for the cluster, regardless of the IAM permissions policies attached to other IAM principals. For more information, see Understanding the Amazon EMR cluster VisibleToAllUsers setting in the Amazon EMR Management Guide.

iv_jobflowrole TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

Also called instance profile and Amazon EC2 role. An IAM role for an Amazon EMR cluster. The Amazon EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole. In order to use the default role, you must have already created it using the CLI or console.

iv_servicerole TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf. If you've created a custom service role path, you must specify it for the service role when you launch your cluster.

it_tags TYPE /AWS1/CL_EMRTAG=>TT_TAGLIST TT_TAGLIST

A list of tags to associate with a cluster and propagate to Amazon EC2 instances.

iv_securityconfiguration TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

The name of a security configuration to apply to the cluster.

iv_autoscalingrole TYPE /AWS1/EMRXMLSTRING /AWS1/EMRXMLSTRING

An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.

iv_scaledownbehavior TYPE /AWS1/EMRSCALEDOWNBEHAVIOR /AWS1/EMRSCALEDOWNBEHAVIOR

Specifies the way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION available only in Amazon EMR releases 4.1.0 and later, and is the default for releases of Amazon EMR earlier than 5.1.0.

iv_customamiid TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when it launches cluster Amazon EC2 instances. For more information about custom AMIs in Amazon EMR, see Using a Custom AMI in the Amazon EMR Management Guide. If omitted, the cluster uses the base Linux AMI for the ReleaseLabel specified. For Amazon EMR releases 2.x and 3.x, use AmiVersion instead.

For information about creating a custom AMI, see Creating an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information about finding an AMI ID, see Finding a Linux AMI.

iv_ebsrootvolumesize TYPE /AWS1/EMRINTEGER /AWS1/EMRINTEGER

The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 4.x and later.

iv_repoupgradeonboot TYPE /AWS1/EMRREPOUPGRADEONBOOT /AWS1/EMRREPOUPGRADEONBOOT

Applies only when CustomAmiID is used. Specifies which updates from the Amazon Linux AMI package repositories to apply automatically when the instance boots using the AMI. If omitted, the default is SECURITY, which indicates that only security updates are applied. If NONE is specified, no updates are applied, and all updates must be applied manually.

io_kerberosattributes TYPE REF TO /AWS1/CL_EMRKERBEROSATTRIBUTES /AWS1/CL_EMRKERBEROSATTRIBUTES

Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.

iv_stepconcurrencylevel TYPE /AWS1/EMRINTEGER /AWS1/EMRINTEGER

Specifies the number of steps that can be executed concurrently. The default value is 1. The maximum value is 256.

io_managedscalingpolicy TYPE REF TO /AWS1/CL_EMRMANAGEDSCAPOLICY /AWS1/CL_EMRMANAGEDSCAPOLICY

The specified managed scaling policy for an Amazon EMR cluster.

it_placementgroupconfigs TYPE /AWS1/CL_EMRPLCMTGROUPCONFIG=>TT_PLACEMENTGROUPCONFIGLIST TT_PLACEMENTGROUPCONFIGLIST

The specified placement group configuration for an Amazon EMR cluster.

io_autoterminationpolicy TYPE REF TO /AWS1/CL_EMRAUTOTERMINATIONPLY /AWS1/CL_EMRAUTOTERMINATIONPLY

AutoTerminationPolicy

iv_osreleaselabel TYPE /AWS1/EMRXMLSTRINGMAXLEN256 /AWS1/EMRXMLSTRINGMAXLEN256

Specifies a particular Amazon Linux release for all nodes in a cluster launch RunJobFlow request. If a release is not specified, Amazon EMR uses the latest validated Amazon Linux release for cluster launch.

iv_ebsrootvolumeiops TYPE /AWS1/EMRINTEGER /AWS1/EMRINTEGER

The IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

iv_ebsrootvolumethroughput TYPE /AWS1/EMRINTEGER /AWS1/EMRINTEGER

The throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance. Available in Amazon EMR releases 6.15.0 and later.

RETURNING

oo_output TYPE REF TO /aws1/cl_emrrunjobflowoutput /AWS1/CL_EMRRUNJOBFLOWOUTPUT

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~runjobflow(
  io_autoterminationpolicy = new /aws1/cl_emrautoterminationply( 123 )
  io_instances = new /aws1/cl_emrjobflowinstsconfig(
    io_placement = new /aws1/cl_emrplacementtype(
      it_availabilityzones = VALUE /aws1/cl_emrxmlstrmaxlen256l00=>tt_xmlstringmaxlen256list(
        ( new /aws1/cl_emrxmlstrmaxlen256l00( |string| ) )
      )
      iv_availabilityzone = |string|
    )
    it_addlmastersecuritygroups = VALUE /aws1/cl_emrsecgroupslist_w=>tt_securitygroupslist(
      ( new /aws1/cl_emrsecgroupslist_w( |string| ) )
    )
    it_addlslavesecuritygroups = VALUE /aws1/cl_emrsecgroupslist_w=>tt_securitygroupslist(
      ( new /aws1/cl_emrsecgroupslist_w( |string| ) )
    )
    it_ec2subnetids = VALUE /aws1/cl_emrxmlstrmaxlen256l00=>tt_xmlstringmaxlen256list(
      ( new /aws1/cl_emrxmlstrmaxlen256l00( |string| ) )
    )
    it_instancefleets = VALUE /aws1/cl_emrinstfleetconfig=>tt_instancefleetconfiglist(
      (
        new /aws1/cl_emrinstfleetconfig(
          io_launchspecifications = new /aws1/cl_emrinstfleetprovspecs(
            io_ondemandspecification = new /aws1/cl_emrondemandprovspec(
              io_capreservationoptions = new /aws1/cl_emrondemcapreservat00(
                iv_capreservationpreference = |string|
                iv_capreservationresrcgrparn = |string|
                iv_usagestrategy = |string|
              )
              iv_allocationstrategy = |string|
            )
            io_spotspecification = new /aws1/cl_emrspotprovspec(
              iv_allocationstrategy = |string|
              iv_blockdurationminutes = 123
              iv_timeoutaction = |string|
              iv_timeoutdurationminutes = 123
            )
          )
          io_resizespecifications = new /aws1/cl_emrinstfleetresizin00(
            io_ondemandresizespec = new /aws1/cl_emrondemresizingspec(
              io_capreservationoptions = new /aws1/cl_emrondemcapreservat00(
                iv_capreservationpreference = |string|
                iv_capreservationresrcgrparn = |string|
                iv_usagestrategy = |string|
              )
              iv_allocationstrategy = |string|
              iv_timeoutdurationminutes = 123
            )
            io_spotresizespecification = new /aws1/cl_emrspotresizingspec(
              iv_allocationstrategy = |string|
              iv_timeoutdurationminutes = 123
            )
          )
          it_instancetypeconfigs = VALUE /aws1/cl_emrinstancetypeconfig=>tt_instancetypeconfiglist(
            (
              new /aws1/cl_emrinstancetypeconfig(
                io_ebsconfiguration = new /aws1/cl_emrebsconfiguration(
                  it_ebsblockdeviceconfigs = VALUE /aws1/cl_emrebsblockdevconfig=>tt_ebsblockdeviceconfiglist(
                    (
                      new /aws1/cl_emrebsblockdevconfig(
                        io_volumespecification = new /aws1/cl_emrvolumespec(
                          iv_iops = 123
                          iv_sizeingb = 123
                          iv_throughput = 123
                          iv_volumetype = |string|
                        )
                        iv_volumesperinstance = 123
                      )
                    )
                  )
                  iv_ebsoptimized = ABAP_TRUE
                )
                it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
                  (
                    new /aws1/cl_emrconfiguration(
                      it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
                      )
                      it_properties = VALUE /aws1/cl_emrstringmap_w=>tt_stringmap(
                        (
                          VALUE /aws1/cl_emrstringmap_w=>ts_stringmap_maprow(
                            key = |string|
                            value = new /aws1/cl_emrstringmap_w( |string| )
                          )
                        )
                      )
                      iv_classification = |string|
                    )
                  )
                )
                iv_bidprice = |string|
                iv_bidpriceaspercentageofo00 = '0.1'
                iv_customamiid = |string|
                iv_instancetype = |string|
                iv_priority = '0.1'
                iv_weightedcapacity = 123
              )
            )
          )
          iv_context = |string|
          iv_instancefleettype = |string|
          iv_name = |string|
          iv_targetondemandcapacity = 123
          iv_targetspotcapacity = 123
        )
      )
    )
    it_instancegroups = VALUE /aws1/cl_emrinstgroupconfig=>tt_instancegroupconfiglist(
      (
        new /aws1/cl_emrinstgroupconfig(
          io_autoscalingpolicy = new /aws1/cl_emrautoscalingpolicy(
            io_constraints = new /aws1/cl_emrscalingconstraints(
              iv_maxcapacity = 123
              iv_mincapacity = 123
            )
            it_rules = VALUE /aws1/cl_emrscalingrule=>tt_scalingrulelist(
              (
                new /aws1/cl_emrscalingrule(
                  io_action = new /aws1/cl_emrscalingaction(
                    io_simplescalingpolicyconf = new /aws1/cl_emrsimplescaplyconf(
                      iv_adjustmenttype = |string|
                      iv_cooldown = 123
                      iv_scalingadjustment = 123
                    )
                    iv_market = |string|
                  )
                  io_trigger = new /aws1/cl_emrscalingtrigger(
                    io_cloudwatchalarmdefinition = new /aws1/cl_emrcloudwatchalrmdefn(
                      it_dimensions = VALUE /aws1/cl_emrmetricdimension=>tt_metricdimensionlist(
                        (
                          new /aws1/cl_emrmetricdimension(
                            iv_key = |string|
                            iv_value = |string|
                          )
                        )
                      )
                      iv_comparisonoperator = |string|
                      iv_evaluationperiods = 123
                      iv_metricname = |string|
                      iv_namespace = |string|
                      iv_period = 123
                      iv_statistic = |string|
                      iv_threshold = '0.1'
                      iv_unit = |string|
                    )
                  )
                  iv_description = |string|
                  iv_name = |string|
                )
              )
            )
          )
          io_ebsconfiguration = new /aws1/cl_emrebsconfiguration(
            it_ebsblockdeviceconfigs = VALUE /aws1/cl_emrebsblockdevconfig=>tt_ebsblockdeviceconfiglist(
              (
                new /aws1/cl_emrebsblockdevconfig(
                  io_volumespecification = new /aws1/cl_emrvolumespec(
                    iv_iops = 123
                    iv_sizeingb = 123
                    iv_throughput = 123
                    iv_volumetype = |string|
                  )
                  iv_volumesperinstance = 123
                )
              )
            )
            iv_ebsoptimized = ABAP_TRUE
          )
          it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
            (
              new /aws1/cl_emrconfiguration(
                it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
                )
                it_properties = VALUE /aws1/cl_emrstringmap_w=>tt_stringmap(
                  (
                    VALUE /aws1/cl_emrstringmap_w=>ts_stringmap_maprow(
                      key = |string|
                      value = new /aws1/cl_emrstringmap_w( |string| )
                    )
                  )
                )
                iv_classification = |string|
              )
            )
          )
          iv_bidprice = |string|
          iv_customamiid = |string|
          iv_instancecount = 123
          iv_instancerole = |string|
          iv_instancetype = |string|
          iv_market = |string|
          iv_name = |string|
        )
      )
    )
    iv_ec2keyname = |string|
    iv_ec2subnetid = |string|
    iv_emrmanagedmastersecgroup = |string|
    iv_emrmanagedslavesecgroup = |string|
    iv_hadoopversion = |string|
    iv_instancecount = 123
    iv_keepjobflowalivewhennos00 = ABAP_TRUE
    iv_masterinstancetype = |string|
    iv_serviceaccesssecgroup = |string|
    iv_slaveinstancetype = |string|
    iv_terminationprotected = ABAP_TRUE
    iv_unhealthynodereplacement = ABAP_TRUE
  )
  io_kerberosattributes = new /aws1/cl_emrkerberosattributes(
    iv_addomainjoinpassword = |string|
    iv_addomainjoinuser = |string|
    iv_crossrealmtrustprincpas00 = |string|
    iv_kdcadminpassword = |string|
    iv_realm = |string|
  )
  io_managedscalingpolicy = new /aws1/cl_emrmanagedscapolicy(
    io_computelimits = new /aws1/cl_emrcomputelimits(
      iv_maximumcapacityunits = 123
      iv_maximumcorecapacityunits = 123
      iv_maximumondemandcapunits = 123
      iv_minimumcapacityunits = 123
      iv_unittype = |string|
    )
    iv_scalingstrategy = |string|
    iv_utilizationperformanceidx = 123
  )
  it_applications = VALUE /aws1/cl_emrapplication=>tt_applicationlist(
    (
      new /aws1/cl_emrapplication(
        it_additionalinfo = VALUE /aws1/cl_emrstringmap_w=>tt_stringmap(
          (
            VALUE /aws1/cl_emrstringmap_w=>ts_stringmap_maprow(
              key = |string|
              value = new /aws1/cl_emrstringmap_w( |string| )
            )
          )
        )
        it_args = VALUE /aws1/cl_emrstringlist_w=>tt_stringlist(
          ( new /aws1/cl_emrstringlist_w( |string| ) )
        )
        iv_name = |string|
        iv_version = |string|
      )
    )
  )
  it_bootstrapactions = VALUE /aws1/cl_emrbootstrapactioncfg=>tt_bootstrapactionconfiglist(
    (
      new /aws1/cl_emrbootstrapactioncfg(
        io_scriptbootstrapaction = new /aws1/cl_emrscriptbootstrapa00(
          it_args = VALUE /aws1/cl_emrxmlstringlist_w=>tt_xmlstringlist(
            ( new /aws1/cl_emrxmlstringlist_w( |string| ) )
          )
          iv_path = |string|
        )
        iv_name = |string|
      )
    )
  )
  it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
    (
      new /aws1/cl_emrconfiguration(
        it_configurations = VALUE /aws1/cl_emrconfiguration=>tt_configurationlist(
        )
        it_properties = VALUE /aws1/cl_emrstringmap_w=>tt_stringmap(
          (
            VALUE /aws1/cl_emrstringmap_w=>ts_stringmap_maprow(
              key = |string|
              value = new /aws1/cl_emrstringmap_w( |string| )
            )
          )
        )
        iv_classification = |string|
      )
    )
  )
  it_newsupportedproducts = VALUE /aws1/cl_emrsuppedproductcfg=>tt_newsupportedproductslist(
    (
      new /aws1/cl_emrsuppedproductcfg(
        it_args = VALUE /aws1/cl_emrxmlstringlist_w=>tt_xmlstringlist(
          ( new /aws1/cl_emrxmlstringlist_w( |string| ) )
        )
        iv_name = |string|
      )
    )
  )
  it_placementgroupconfigs = VALUE /aws1/cl_emrplcmtgroupconfig=>tt_placementgroupconfiglist(
    (
      new /aws1/cl_emrplcmtgroupconfig(
        iv_instancerole = |string|
        iv_placementstrategy = |string|
      )
    )
  )
  it_steps = VALUE /aws1/cl_emrstepconfig=>tt_stepconfiglist(
    (
      new /aws1/cl_emrstepconfig(
        io_hadoopjarstep = new /aws1/cl_emrhadoopjarstepcfg(
          it_args = VALUE /aws1/cl_emrxmlstringlist_w=>tt_xmlstringlist(
            ( new /aws1/cl_emrxmlstringlist_w( |string| ) )
          )
          it_properties = VALUE /aws1/cl_emrkeyvalue=>tt_keyvaluelist(
            (
              new /aws1/cl_emrkeyvalue(
                iv_key = |string|
                iv_value = |string|
              )
            )
          )
          iv_jar = |string|
          iv_mainclass = |string|
        )
        iv_actiononfailure = |string|
        iv_name = |string|
      )
    )
  )
  it_supportedproducts = VALUE /aws1/cl_emrsuppedproductsls00=>tt_supportedproductslist(
    ( new /aws1/cl_emrsuppedproductsls00( |string| ) )
  )
  it_tags = VALUE /aws1/cl_emrtag=>tt_taglist(
    (
      new /aws1/cl_emrtag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_additionalinfo = |string|
  iv_amiversion = |string|
  iv_autoscalingrole = |string|
  iv_customamiid = |string|
  iv_ebsrootvolumeiops = 123
  iv_ebsrootvolumesize = 123
  iv_ebsrootvolumethroughput = 123
  iv_jobflowrole = |string|
  iv_logencryptionkmskeyid = |string|
  iv_loguri = |string|
  iv_name = |string|
  iv_osreleaselabel = |string|
  iv_releaselabel = |string|
  iv_repoupgradeonboot = |string|
  iv_scaledownbehavior = |string|
  iv_securityconfiguration = |string|
  iv_servicerole = |string|
  iv_stepconcurrencylevel = 123
  iv_visibletoallusers = ABAP_TRUE
).

This is an example of reading all possible response values

lv_xmlstringmaxlen256 = lo_result->get_jobflowid( ).
lv_arntype = lo_result->get_clusterarn( ).