/AWS1/CL_EMR=>DESCRIBESTEP()
¶
About DescribeStep¶
Provides more detail about the cluster step.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_clusterid
TYPE /AWS1/EMRCLUSTERID
/AWS1/EMRCLUSTERID
¶
The identifier of the cluster with steps to describe.
iv_stepid
TYPE /AWS1/EMRSTEPID
/AWS1/EMRSTEPID
¶
The identifier of the step to describe.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_emrdescribestepoutput
/AWS1/CL_EMRDESCRIBESTEPOUTPUT
¶
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~describestep(
iv_clusterid = |string|
iv_stepid = |string|
).
This is an example of reading all possible response values
lv_stepid = lo_step->get_id( ).
lv_string = lo_step->get_name( ).
lv_string = lo_hadoopstepconfig->get_jar( ).
LOOP AT lo_hadoopstepconfig->get_properties( ) into ls_row.
lv_key = ls_row-key.
lv_string = lo_value->get_value( ).
ENDLOOP.
lv_string = lo_hadoopstepconfig->get_mainclass( ).
LOOP AT lo_hadoopstepconfig->get_args( ) into lo_row_1.
lv_string = lo_row_2->get_value( ).
ENDLOOP.
lv_actiononfailure = lo_step->get_actiononfailure( ).
lv_stepstate = lo_stepstatus->get_state( ).
lv_stepstatechangereasonco = lo_stepstatechangereason->get_code( ).
lv_string = lo_stepstatechangereason->get_message( ).
lv_string = lo_failuredetails->get_reason( ).
lv_string = lo_failuredetails->get_message( ).
lv_string = lo_failuredetails->get_logfile( ).
lv_date = lo_steptimeline->get_creationdatetime( ).
lv_date = lo_steptimeline->get_startdatetime( ).
lv_date = lo_steptimeline->get_enddatetime( ).
lv_optionalarntype = lo_step->get_executionrolearn( ).