/AWS1/IF_OMX=>GETVARIANTIMPORTJOB()¶
About GetVariantImportJob¶
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Gets information about a variant import job.
Method Signature¶
METHODS /AWS1/IF_OMX~GETVARIANTIMPORTJOB
IMPORTING
!IV_JOBID TYPE /AWS1/OMXRESOURCEID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_omxgetvariantimprsp
RAISING
/AWS1/CX_OMXACCESSDENIEDEX
/AWS1/CX_OMXINTERNALSERVEREX
/AWS1/CX_OMXRESOURCENOTFOUNDEX
/AWS1/CX_OMXTHROTTLINGEX
/AWS1/CX_OMXVALIDATIONEX
/AWS1/CX_OMXCLIENTEXC
/AWS1/CX_OMXSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_jobid TYPE /AWS1/OMXRESOURCEID /AWS1/OMXRESOURCEID¶
The job's ID.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_omxgetvariantimprsp /AWS1/CL_OMXGETVARIANTIMPRSP¶
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->getvariantimportjob( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourceid = lo_result->get_id( ).
lv_storename = lo_result->get_destinationname( ).
lv_arn = lo_result->get_rolearn( ).
lv_jobstatus = lo_result->get_status( ).
lv_jobstatusmsg = lo_result->get_statusmessage( ).
lv_creationtime = lo_result->get_creationtime( ).
lv_updatetime = lo_result->get_updatetime( ).
lv_completiontime = lo_result->get_completiontime( ).
LOOP AT lo_result->get_items( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_s3uri = lo_row_1->get_source( ).
lv_jobstatus = lo_row_1->get_jobstatus( ).
lv_jobstatusmsg = lo_row_1->get_statusmessage( ).
ENDIF.
ENDLOOP.
lv_runleftnormalization = lo_result->get_runleftnormalization( ).
LOOP AT lo_result->get_annotationfields( ) into ls_row_2.
lv_key = ls_row_2-key.
lo_value = ls_row_2-value.
IF lo_value IS NOT INITIAL.
lv_string = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.