/AWS1/IF_RBM=>LISTWORLDEXPORTJOBS()¶
About ListWorldExportJobs¶
End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.
Lists world export jobs.
Method Signature¶
METHODS /AWS1/IF_RBM~LISTWORLDEXPORTJOBS
  IMPORTING
    !IV_NEXTTOKEN TYPE /AWS1/RBMPAGINATIONTOKEN OPTIONAL
    !IV_MAXRESULTS TYPE /AWS1/RBMMAXRESULTS OPTIONAL
    !IT_FILTERS TYPE /AWS1/CL_RBMFILTER=>TT_FILTERS OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_rbmlstworldexpjobsrsp
  RAISING
    /AWS1/CX_RBMINTERNALSERVEREX
    /AWS1/CX_RBMINVALIDPARAMETEREX
    /AWS1/CX_RBMTHROTTLINGEX
    /AWS1/CX_RBMCLIENTEXC
    /AWS1/CX_RBMSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_nexttoken TYPE /AWS1/RBMPAGINATIONTOKEN /AWS1/RBMPAGINATIONTOKEN¶
If the previous paginated request did not return all of the remaining results, the response object's
nextTokenparameter value is set to a token. To retrieve the next set of results, callListWorldExportJobsagain and assign that token to the request object'snextTokenparameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
iv_maxresults TYPE /AWS1/RBMMAXRESULTS /AWS1/RBMMAXRESULTS¶
When this parameter is used,
ListWorldExportJobsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListWorldExportJobsrequest with the returnednextTokenvalue. This value can be between 1 and 100. If this parameter is not used, thenListWorldExportJobsreturns up to 100 results and anextTokenvalue if applicable.
it_filters TYPE /AWS1/CL_RBMFILTER=>TT_FILTERS TT_FILTERS¶
Optional filters to limit results. You can use
generationJobIdandtemplateId.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_rbmlstworldexpjobsrsp /AWS1/CL_RBMLSTWORLDEXPJOBSRSP¶
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->listworldexportjobs(
  it_filters = VALUE /aws1/cl_rbmfilter=>tt_filters(
    (
      new /aws1/cl_rbmfilter(
        it_values = VALUE /aws1/cl_rbmfiltervalues_w=>tt_filtervalues(
          ( new /aws1/cl_rbmfiltervalues_w( |string| ) )
        )
        iv_name = |string|
      )
    )
  )
  iv_maxresults = 123
  iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  LOOP AT lo_result->get_worldexportjobsummaries( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_arn = lo_row_1->get_arn( ).
      lv_worldexportjobstatus = lo_row_1->get_status( ).
      lv_createdat = lo_row_1->get_createdat( ).
      LOOP AT lo_row_1->get_worlds( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_arn = lo_row_3->get_value( ).
        ENDIF.
      ENDLOOP.
      lo_outputlocation = lo_row_1->get_outputlocation( ).
      IF lo_outputlocation IS NOT INITIAL.
        lv_s3bucket = lo_outputlocation->get_s3bucket( ).
        lv_s3key = lo_outputlocation->get_s3prefix( ).
      ENDIF.
    ENDIF.
  ENDLOOP.
  lv_paginationtoken = lo_result->get_nexttoken( ).
ENDIF.