/AWS1/IF_SGM=>LISTMLFLOWAPPS()¶
About ListMlflowApps¶
Lists all MLflow Apps
Method Signature¶
METHODS /AWS1/IF_SGM~LISTMLFLOWAPPS
IMPORTING
!IV_CREATEDAFTER TYPE /AWS1/SGMTIMESTAMP OPTIONAL
!IV_CREATEDBEFORE TYPE /AWS1/SGMTIMESTAMP OPTIONAL
!IV_STATUS TYPE /AWS1/SGMMLFLOWAPPSTATUS OPTIONAL
!IV_MLFLOWVERSION TYPE /AWS1/SGMMLFLOWVERSION OPTIONAL
!IV_DEFAULTFORDOMAINID TYPE /AWS1/SGMSTRING OPTIONAL
!IV_ACCOUNTDEFAULTSTATUS TYPE /AWS1/SGMACCOUNTDEFAULTSTATUS OPTIONAL
!IV_SORTBY TYPE /AWS1/SGMSORTMLFLOWAPPBY OPTIONAL
!IV_SORTORDER TYPE /AWS1/SGMSORTORDER OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmlistmlflowappsrsp
RAISING
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_createdafter TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP¶
Use the
CreatedAfterfilter to only list MLflow Apps created after a specific date and time. Listed MLflow Apps are shown with a date and time such as"2024-03-16T01:46:56+00:00". TheCreatedAfterparameter takes in a Unix timestamp.
iv_createdbefore TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP¶
Use the
CreatedBeforefilter to only list MLflow Apps created before a specific date and time. Listed MLflow Apps are shown with a date and time such as"2024-03-16T01:46:56+00:00". TheCreatedAfterparameter takes in a Unix timestamp.
iv_status TYPE /AWS1/SGMMLFLOWAPPSTATUS /AWS1/SGMMLFLOWAPPSTATUS¶
Filter for Mlflow apps with a specific creation status.
iv_mlflowversion TYPE /AWS1/SGMMLFLOWVERSION /AWS1/SGMMLFLOWVERSION¶
Filter for Mlflow Apps with the specified version.
iv_defaultfordomainid TYPE /AWS1/SGMSTRING /AWS1/SGMSTRING¶
Filter for MLflow Apps with the specified default SageMaker Domain ID.
iv_accountdefaultstatus TYPE /AWS1/SGMACCOUNTDEFAULTSTATUS /AWS1/SGMACCOUNTDEFAULTSTATUS¶
Filter for MLflow Apps with the specified
AccountDefaultStatus.
iv_sortby TYPE /AWS1/SGMSORTMLFLOWAPPBY /AWS1/SGMSORTMLFLOWAPPBY¶
Filter for MLflow Apps sorting by name, creation time, or creation status.
iv_sortorder TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER¶
Change the order of the listed MLflow Apps. By default, MLflow Apps are listed in
Descendingorder by creation time. To change the list order, specifySortOrderto beAscending.
iv_nexttoken TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN¶
If the previous response was truncated, use this token in your next request to receive the next set of results.
iv_maxresults TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS¶
The maximum number of MLflow Apps to list.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmlistmlflowappsrsp /AWS1/CL_SGMLISTMLFLOWAPPSRSP¶
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->listmlflowapps(
iv_accountdefaultstatus = |string|
iv_createdafter = '20150101000000.0000000'
iv_createdbefore = '20150101000000.0000000'
iv_defaultfordomainid = |string|
iv_maxresults = 123
iv_mlflowversion = |string|
iv_nexttoken = |string|
iv_sortby = |string|
iv_sortorder = |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_summaries( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_mlflowapparn = lo_row_1->get_arn( ).
lv_mlflowappname = lo_row_1->get_name( ).
lv_mlflowappstatus = lo_row_1->get_status( ).
lv_timestamp = lo_row_1->get_creationtime( ).
lv_timestamp = lo_row_1->get_lastmodifiedtime( ).
lv_mlflowversion = lo_row_1->get_mlflowversion( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.