/AWS1/IF_CRL=>LSTTRAINEDMODELINFERENCEJOBS()¶
About ListTrainedModelInferenceJobs¶
Returns a list of trained model inference jobs that match the request parameters.
Method Signature¶
METHODS /AWS1/IF_CRL~LSTTRAINEDMODELINFERENCEJOBS
IMPORTING
!IV_NEXTTOKEN TYPE /AWS1/CRLNEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/CRLMAXRESULTS OPTIONAL
!IV_MEMBERSHIPIDENTIFIER TYPE /AWS1/CRLUUID OPTIONAL
!IV_TRAINEDMODELARN TYPE /AWS1/CRLTRAINEDMODELARN OPTIONAL
!IV_TRAINEDMODELVERSIONID TYPE /AWS1/CRLUUID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_crllsttrainedmdelin01
RAISING
/AWS1/CX_CRLACCESSDENIEDEX
/AWS1/CX_CRLTHROTTLINGEX
/AWS1/CX_CRLVALIDATIONEX
/AWS1/CX_CRLCLIENTEXC
/AWS1/CX_CRLSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_membershipidentifier TYPE /AWS1/CRLUUID /AWS1/CRLUUID¶
The membership
Optional arguments:¶
iv_nexttoken TYPE /AWS1/CRLNEXTTOKEN /AWS1/CRLNEXTTOKEN¶
The token value retrieved from a previous call to access the next page of results.
iv_maxresults TYPE /AWS1/CRLMAXRESULTS /AWS1/CRLMAXRESULTS¶
The maximum size of the results that is returned per call.
iv_trainedmodelarn TYPE /AWS1/CRLTRAINEDMODELARN /AWS1/CRLTRAINEDMODELARN¶
The Amazon Resource Name (ARN) of a trained model that was used to create the trained model inference jobs that you are interested in.
iv_trainedmodelversionid TYPE /AWS1/CRLUUID /AWS1/CRLUUID¶
The version identifier of the trained model to filter inference jobs by. When specified, only inference jobs that used this specific version of the trained model are returned.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_crllsttrainedmdelin01 /AWS1/CL_CRLLSTTRAINEDMDELIN01¶
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->lsttrainedmodelinferencejobs(
iv_maxresults = 123
iv_membershipidentifier = |string|
iv_nexttoken = |string|
iv_trainedmodelarn = |string|
iv_trainedmodelversionid = |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_trainedmdelinferencejobs( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_trainedmodelinferencejo = lo_row_1->get_trainedmdelinferencejo00( ).
lv_configuredmodelalgorith = lo_row_1->get_cfguredmdelalgassociat01( ).
lv_uuid = lo_row_1->get_membershipidentifier( ).
lv_trainedmodelarn = lo_row_1->get_trainedmodelarn( ).
lv_uuid = lo_row_1->get_trainedmodelversionid( ).
lv_uuid = lo_row_1->get_collaborationidentifier( ).
lv_trainedmodelinferencejo_1 = lo_row_1->get_status( ).
lo_inferenceoutputconfigur = lo_row_1->get_outputconfiguration( ).
IF lo_inferenceoutputconfigur IS NOT INITIAL.
lv_string = lo_inferenceoutputconfigur->get_accept( ).
LOOP AT lo_inferenceoutputconfigur->get_members( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_accountid = lo_row_3->get_accountid( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_namestring = lo_row_1->get_name( ).
lv_resourcedescription = lo_row_1->get_description( ).
lv_metricsstatus = lo_row_1->get_metricsstatus( ).
lv_string = lo_row_1->get_metricsstatusdetails( ).
lv_logsstatus = lo_row_1->get_logsstatus( ).
lv_string = lo_row_1->get_logsstatusdetails( ).
lv_timestamp = lo_row_1->get_createtime( ).
lv_timestamp = lo_row_1->get_updatetime( ).
ENDIF.
ENDLOOP.
ENDIF.