/AWS1/IF_M2T=>UPDATETESTCONFIGURATION()¶
About UpdateTestConfiguration¶
Updates a test configuration.
Method Signature¶
METHODS /AWS1/IF_M2T~UPDATETESTCONFIGURATION
  IMPORTING
    !IV_TESTCONFIGURATIONID TYPE /AWS1/M2TIDENTIFIER OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/M2TRESOURCEDESCRIPTION OPTIONAL
    !IT_RESOURCES TYPE /AWS1/CL_M2TRESOURCE=>TT_RESOURCELIST OPTIONAL
    !IT_PROPERTIES TYPE /AWS1/CL_M2TPROPERTIES_W=>TT_PROPERTIES OPTIONAL
    !IO_SERVICESETTINGS TYPE REF TO /AWS1/CL_M2TSERVICESETTINGS OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_m2tupdatetestconfrsp
  RAISING
    /AWS1/CX_M2TACCESSDENIEDEX
    /AWS1/CX_M2TCONFLICTEXCEPTION
    /AWS1/CX_M2TINTERNALSERVEREX
    /AWS1/CX_M2TRESOURCENOTFOUNDEX
    /AWS1/CX_M2TTHROTTLINGEX
    /AWS1/CX_M2TVALIDATIONEX
    /AWS1/CX_M2TCLIENTEXC
    /AWS1/CX_M2TSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_testconfigurationid TYPE /AWS1/M2TIDENTIFIER /AWS1/M2TIDENTIFIER¶
The test configuration ID of the test configuration.
Optional arguments:¶
iv_description TYPE /AWS1/M2TRESOURCEDESCRIPTION /AWS1/M2TRESOURCEDESCRIPTION¶
The description of the test configuration.
it_resources TYPE /AWS1/CL_M2TRESOURCE=>TT_RESOURCELIST TT_RESOURCELIST¶
The resources of the test configuration.
it_properties TYPE /AWS1/CL_M2TPROPERTIES_W=>TT_PROPERTIES TT_PROPERTIES¶
The properties of the test configuration.
io_servicesettings TYPE REF TO /AWS1/CL_M2TSERVICESETTINGS /AWS1/CL_M2TSERVICESETTINGS¶
The service settings of the test configuration.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_m2tupdatetestconfrsp /AWS1/CL_M2TUPDATETESTCONFRSP¶
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->updatetestconfiguration(
  io_servicesettings = new /aws1/cl_m2tservicesettings( |string| )
  it_properties = VALUE /aws1/cl_m2tproperties_w=>tt_properties(
    (
      VALUE /aws1/cl_m2tproperties_w=>ts_properties_maprow(
        key = |string|
        value = new /aws1/cl_m2tproperties_w( |string| )
      )
    )
  )
  it_resources = VALUE /aws1/cl_m2tresource=>tt_resourcelist(
    (
      new /aws1/cl_m2tresource(
        io_type = new /aws1/cl_m2tresourcetype(
          io_cloudformation = new /aws1/cl_m2tcloudformation(
            it_parameters = VALUE /aws1/cl_m2tproperties_w=>tt_properties(
              (
                VALUE /aws1/cl_m2tproperties_w=>ts_properties_maprow(
                  key = |string|
                  value = new /aws1/cl_m2tproperties_w( |string| )
                )
              )
            )
            iv_templatelocation = |string|
          )
          io_m2managedapplication = new /aws1/cl_m2tm2managedapplica01(
            iv_applicationid = |string|
            iv_listenerport = |string|
            iv_runtime = |string|
            iv_vpcendpointservicename = |string|
          )
          io_m2nonmanagedapplication = new /aws1/cl_m2tm2nonmanagedappl01(
            iv_listenerport = |string|
            iv_runtime = |string|
            iv_vpcendpointservicename = |string|
            iv_webappname = |string|
          )
        )
        iv_name = |string|
      )
    )
  )
  iv_description = |string|
  iv_testconfigurationid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_identifier = lo_result->get_testconfigurationid( ).
  lv_version = lo_result->get_testconfigurationversion( ).
ENDIF.