/AWS1/IF_LOE=>LISTRETRAININGSCHEDULERS()¶
About ListRetrainingSchedulers¶
Lists all retraining schedulers in your account, filtering by model name prefix and status.
Method Signature¶
METHODS /AWS1/IF_LOE~LISTRETRAININGSCHEDULERS
IMPORTING
!IV_MODELNAMEBEGINSWITH TYPE /AWS1/LOEMODELNAME OPTIONAL
!IV_STATUS TYPE /AWS1/LOERETRNSCHEDULERSTATUS OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/LOENEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/LOEMAXRESULTS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_loelistretrnschdrsrsp
RAISING
/AWS1/CX_LOEACCESSDENIEDEX
/AWS1/CX_LOEINTERNALSERVEREX
/AWS1/CX_LOETHROTTLINGEX
/AWS1/CX_LOEVALIDATIONEX
/AWS1/CX_LOECLIENTEXC
/AWS1/CX_LOESERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_modelnamebeginswith TYPE /AWS1/LOEMODELNAME /AWS1/LOEMODELNAME¶
Specify this field to only list retraining schedulers whose machine learning models begin with the value you specify.
iv_status TYPE /AWS1/LOERETRNSCHEDULERSTATUS /AWS1/LOERETRNSCHEDULERSTATUS¶
Specify this field to only list retraining schedulers whose status matches the value you specify.
iv_nexttoken TYPE /AWS1/LOENEXTTOKEN /AWS1/LOENEXTTOKEN¶
If the number of results exceeds the maximum, a pagination token is returned. Use the token in the request to show the next page of retraining schedulers.
iv_maxresults TYPE /AWS1/LOEMAXRESULTS /AWS1/LOEMAXRESULTS¶
Specifies the maximum number of retraining schedulers to list.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_loelistretrnschdrsrsp /AWS1/CL_LOELISTRETRNSCHDRSRSP¶
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->listretrainingschedulers(
iv_maxresults = 123
iv_modelnamebeginswith = |string|
iv_nexttoken = |string|
iv_status = |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_retrainingschedulersums( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_modelname = lo_row_1->get_modelname( ).
lv_modelarn = lo_row_1->get_modelarn( ).
lv_retrainingschedulerstat = lo_row_1->get_status( ).
lv_timestamp = lo_row_1->get_retrainingstartdate( ).
lv_retrainingfrequency = lo_row_1->get_retrainingfrequency( ).
lv_lookbackwindow = lo_row_1->get_lookbackwindow( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.
Listing retraining schedulers¶
DATA(lo_result) = lo_client->listretrainingschedulers( iv_maxresults = 50 ) .