/AWS1/IF_DEX=>LISTDATASETREVISIONS()¶
About ListDataSetRevisions¶
This operation lists a data set's revisions sorted by CreatedAt in descending order.
Method Signature¶
METHODS /AWS1/IF_DEX~LISTDATASETREVISIONS
  IMPORTING
    !IV_DATASETID TYPE /AWS1/DEXID OPTIONAL
    !IV_MAXRESULTS TYPE /AWS1/DEXMAXRESULTS OPTIONAL
    !IV_NEXTTOKEN TYPE /AWS1/DEX__STRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dexlistdsrevisionsrsp
  RAISING
    /AWS1/CX_DEXINTERNALSERVEREX
    /AWS1/CX_DEXRESOURCENOTFOUNDEX
    /AWS1/CX_DEXTHROTTLINGEX
    /AWS1/CX_DEXVALIDATIONEX
    /AWS1/CX_DEXCLIENTEXC
    /AWS1/CX_DEXSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_datasetid TYPE /AWS1/DEXID /AWS1/DEXID¶
The unique identifier for a data set.
Optional arguments:¶
iv_maxresults TYPE /AWS1/DEXMAXRESULTS /AWS1/DEXMAXRESULTS¶
The maximum number of results returned by a single call.
iv_nexttoken TYPE /AWS1/DEX__STRING /AWS1/DEX__STRING¶
The token value retrieved from a previous call to access the next page of results.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dexlistdsrevisionsrsp /AWS1/CL_DEXLISTDSREVISIONSRSP¶
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->listdatasetrevisions(
  iv_datasetid = |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.
  lv_nexttoken = lo_result->get_nexttoken( ).
  LOOP AT lo_result->get_revisions( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_arn = lo_row_1->get_arn( ).
      lv___stringmin0max16384 = lo_row_1->get_comment( ).
      lv_timestamp = lo_row_1->get_createdat( ).
      lv_id = lo_row_1->get_datasetid( ).
      lv___boolean = lo_row_1->get_finalized( ).
      lv_id = lo_row_1->get_id( ).
      lv_id = lo_row_1->get_sourceid( ).
      lv_timestamp = lo_row_1->get_updatedat( ).
      lv___stringmin10max512 = lo_row_1->get_revocationcomment( ).
      lv___boolean = lo_row_1->get_revoked( ).
      lv_timestamp = lo_row_1->get_revokedat( ).
    ENDIF.
  ENDLOOP.
ENDIF.