Skip to content

/AWS1/IF_OMX=>GETRUN()

About GetRun

Gets detailed information about a specific run using its ID.

Amazon Web Services HealthOmics stores a configurable number of runs, as determined by service limits, that are available to the console and API. If GetRun does not return the requested run, you can find all run logs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs in the Amazon Web Services HealthOmics User Guide.

Method Signature

IMPORTING

Required arguments:

iv_id TYPE /AWS1/OMXRUNID /AWS1/OMXRUNID

The run's ID.

Optional arguments:

it_export TYPE /AWS1/CL_OMXRUNEXPORTLIST_W=>TT_RUNEXPORTLIST TT_RUNEXPORTLIST

The run's export format.

RETURNING

oo_output TYPE REF TO /aws1/cl_omxgetrunresponse /AWS1/CL_OMXGETRUNRESPONSE

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_omx~getrun(
  it_export = VALUE /aws1/cl_omxrunexportlist_w=>tt_runexportlist(
    ( new /aws1/cl_omxrunexportlist_w( |string| ) )
  )
  iv_id = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_runarn = lo_result->get_arn( ).
  lv_runid = lo_result->get_id( ).
  lv_numericidinarn = lo_result->get_cacheid( ).
  lv_cachebehavior = lo_result->get_cachebehavior( ).
  lv_engineversion = lo_result->get_engineversion( ).
  lv_runstatus = lo_result->get_status( ).
  lv_workflowid = lo_result->get_workflowid( ).
  lv_workflowtype = lo_result->get_workflowtype( ).
  lv_runid = lo_result->get_runid( ).
  lv_runrolearn = lo_result->get_rolearn( ).
  lv_runname = lo_result->get_name( ).
  lv_rungroupid = lo_result->get_rungroupid( ).
  lv_integer = lo_result->get_priority( ).
  lv_workflowdefinition = lo_result->get_definition( ).
  lv_workflowdigest = lo_result->get_digest( ).
  lo_value = lo_result->get_parameters( ).
  IF lo_value IS NOT INITIAL.
  ENDIF.
  lv_integer = lo_result->get_storagecapacity( ).
  lv_runoutputuri = lo_result->get_outputuri( ).
  lv_runloglevel = lo_result->get_loglevel( ).
  LOOP AT lo_result->get_resourcedigests( ) into ls_row.
    lv_key = ls_row-key.
    lo_value_1 = ls_row-value.
    IF lo_value_1 IS NOT INITIAL.
      lv_runresourcedigest = lo_value_1->get_value( ).
    ENDIF.
  ENDLOOP.
  lv_runstartedby = lo_result->get_startedby( ).
  lv_runtimestamp = lo_result->get_creationtime( ).
  lv_runtimestamp = lo_result->get_starttime( ).
  lv_runtimestamp = lo_result->get_stoptime( ).
  lv_runstatusmessage = lo_result->get_statusmessage( ).
  LOOP AT lo_result->get_tags( ) into ls_row_1.
    lv_key_1 = ls_row_1-key.
    lo_value_2 = ls_row_1-value.
    IF lo_value_2 IS NOT INITIAL.
      lv_tagvalue = lo_value_2->get_value( ).
    ENDIF.
  ENDLOOP.
  lv_accelerators = lo_result->get_accelerators( ).
  lv_runretentionmode = lo_result->get_retentionmode( ).
  lv_runfailurereason = lo_result->get_failurereason( ).
  lo_runloglocation = lo_result->get_loglocation( ).
  IF lo_runloglocation IS NOT INITIAL.
    lv_enginelogstream = lo_runloglocation->get_enginelogstream( ).
    lv_runlogstream = lo_runloglocation->get_runlogstream( ).
  ENDIF.
  lv_runuuid = lo_result->get_uuid( ).
  lv_runoutputuri = lo_result->get_runoutputuri( ).
  lv_storagetype = lo_result->get_storagetype( ).
  lv_workflowownerid = lo_result->get_workflowownerid( ).
  lv_workflowversionname = lo_result->get_workflowversionname( ).
  lv_workflowuuid = lo_result->get_workflowuuid( ).
ENDIF.