/AWS1/IF_IOD=>LISTSUITEDEFINITIONS()¶
About ListSuiteDefinitions¶
Lists the Device Advisor test suites you have created.
Requires permission to access the ListSuiteDefinitions action.
Method Signature¶
METHODS /AWS1/IF_IOD~LISTSUITEDEFINITIONS
  IMPORTING
    !IV_MAXRESULTS TYPE /AWS1/IODMAXRESULTS OPTIONAL
    !IV_NEXTTOKEN TYPE /AWS1/IODTOKEN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iodlistsuitedefnsrsp
  RAISING
    /AWS1/CX_IODINTERNALSERVEREX
    /AWS1/CX_IODVALIDATIONEX
    /AWS1/CX_IODCLIENTEXC
    /AWS1/CX_IODSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_maxresults TYPE /AWS1/IODMAXRESULTS /AWS1/IODMAXRESULTS¶
The maximum number of results to return at once.
iv_nexttoken TYPE /AWS1/IODTOKEN /AWS1/IODTOKEN¶
A token used to get the next set of results.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iodlistsuitedefnsrsp /AWS1/CL_IODLISTSUITEDEFNSRSP¶
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->listsuitedefinitions(
  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_suitedefninformationlist( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_uuid = lo_row_1->get_suitedefinitionid( ).
      lv_suitedefinitionname = lo_row_1->get_suitedefinitionname( ).
      LOOP AT lo_row_1->get_defaultdevices( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_amazonresourcename = lo_row_3->get_thingarn( ).
          lv_amazonresourcename = lo_row_3->get_certificatearn( ).
          lv_amazonresourcename = lo_row_3->get_devicerolearn( ).
        ENDIF.
      ENDLOOP.
      lv_intendedforqualificatio = lo_row_1->get_intendedforqualification( ).
      lv_islongdurationtestboole = lo_row_1->get_islongdurationtest( ).
      lv_protocol = lo_row_1->get_protocol( ).
      lv_timestamp = lo_row_1->get_createdat( ).
    ENDIF.
  ENDLOOP.
  lv_token = lo_result->get_nexttoken( ).
ENDIF.