/AWS1/IF_DEX=>CREATEREVISION()¶
About CreateRevision¶
This operation creates a revision for a data set.
Method Signature¶
METHODS /AWS1/IF_DEX~CREATEREVISION
  IMPORTING
    !IV_COMMENT TYPE /AWS1/DEX__STRINGMIN0MAX16384 OPTIONAL
    !IV_DATASETID TYPE /AWS1/DEXID OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_DEXMAPOF__STRING_W=>TT_MAPOF__STRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dexcreaterevisionrsp
  RAISING
    /AWS1/CX_DEXACCESSDENIEDEX
    /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_comment TYPE /AWS1/DEX__STRINGMIN0MAX16384 /AWS1/DEX__STRINGMIN0MAX16384¶
An optional comment about the revision.
it_tags TYPE /AWS1/CL_DEXMAPOF__STRING_W=>TT_MAPOF__STRING TT_MAPOF__STRING¶
A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dexcreaterevisionrsp /AWS1/CL_DEXCREATEREVISIONRSP¶
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->createrevision(
  it_tags = VALUE /aws1/cl_dexmapof__string_w=>tt_mapof__string(
    (
      VALUE /aws1/cl_dexmapof__string_w=>ts_mapof__string_maprow(
        key = |string|
        value = new /aws1/cl_dexmapof__string_w( |string| )
      )
    )
  )
  iv_comment = |string|
  iv_datasetid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_arn = lo_result->get_arn( ).
  lv___stringmin0max16384 = lo_result->get_comment( ).
  lv_timestamp = lo_result->get_createdat( ).
  lv_id = lo_result->get_datasetid( ).
  lv___boolean = lo_result->get_finalized( ).
  lv_id = lo_result->get_id( ).
  lv_id = lo_result->get_sourceid( ).
  LOOP AT lo_result->get_tags( ) into ls_row.
    lv_key = ls_row-key.
    lo_value = ls_row-value.
    IF lo_value IS NOT INITIAL.
      lv___string = lo_value->get_value( ).
    ENDIF.
  ENDLOOP.
  lv_timestamp = lo_result->get_updatedat( ).
  lv___stringmin10max512 = lo_result->get_revocationcomment( ).
  lv___boolean = lo_result->get_revoked( ).
  lv_timestamp = lo_result->get_revokedat( ).
ENDIF.