Skip to content

/AWS1/IF_OMX=>DELETEREFERENCE()

About DeleteReference

Deletes a reference genome and returns a response with no body if the operation is successful. The read set associated with the reference genome must first be deleted before deleting the reference genome. After the reference genome is deleted, you can delete the reference store using the DeleteReferenceStore API operation.

For more information, see Deleting HealthOmics reference and sequence stores in the Amazon Web Services HealthOmics User Guide.

Method Signature

IMPORTING

Required arguments:

iv_id TYPE /AWS1/OMXREFERENCEID /AWS1/OMXREFERENCEID

The reference's ID.

iv_referencestoreid TYPE /AWS1/OMXREFERENCESTOREID /AWS1/OMXREFERENCESTOREID

The reference's store ID.

RETURNING

oo_output TYPE REF TO /aws1/cl_omxdeletereferencersp /AWS1/CL_OMXDELETEREFERENCERSP

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~deletereference(
  iv_id = |string|
  iv_referencestoreid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.