Skip to content

/AWS1/IF_OMX=>DELETERUN()

About DeleteRun

Deletes a run and returns a response with no body if the operation is successful. You can only delete a run that has reached a COMPLETED, FAILED, or CANCELLED stage. A completed run has delivered an output, or was cancelled and resulted in no output. When you delete a run, only the metadata associated with the run is deleted. The run outputs remain in Amazon S3 and logs remain in CloudWatch.

To verify that the workflow is deleted:

  • Use ListRuns to confirm the workflow no longer appears in the list.

  • Use GetRun to verify the workflow cannot be found.

Method Signature

IMPORTING

Required arguments:

iv_id TYPE /AWS1/OMXRUNID /AWS1/OMXRUNID

The run's ID.

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.

lo_client->/aws1/if_omx~deleterun( |string| ).