/AWS1/IF_SGM=>UPDATEMLFLOWAPP()¶
About UpdateMlflowApp¶
Updates an MLflow App.
Method Signature¶
METHODS /AWS1/IF_SGM~UPDATEMLFLOWAPP
IMPORTING
!IV_ARN TYPE /AWS1/SGMMLFLOWAPPARN OPTIONAL
!IV_NAME TYPE /AWS1/SGMMLFLOWAPPNAME OPTIONAL
!IV_ARTIFACTSTOREURI TYPE /AWS1/SGMS3URI OPTIONAL
!IV_MODELREGISTRATIONMODE TYPE /AWS1/SGMMODELREGISTRATIONMODE OPTIONAL
!IV_WEEKLYMAINTENANCEWINDOW00 TYPE /AWS1/SGMWEEKLYMAINTENANCEWI00 OPTIONAL
!IT_DEFAULTDOMAINIDLIST TYPE /AWS1/CL_SGMDEFDOMAINIDLIST_W=>TT_DEFAULTDOMAINIDLIST OPTIONAL
!IV_ACCOUNTDEFAULTSTATUS TYPE /AWS1/SGMACCOUNTDEFAULTSTATUS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmupdatemlflowapprsp
RAISING
/AWS1/CX_SGMCONFLICTEXCEPTION
/AWS1/CX_SGMRESOURCENOTFOUND
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_arn TYPE /AWS1/SGMMLFLOWAPPARN /AWS1/SGMMLFLOWAPPARN¶
The ARN of the MLflow App to update.
Optional arguments:¶
iv_name TYPE /AWS1/SGMMLFLOWAPPNAME /AWS1/SGMMLFLOWAPPNAME¶
The name of the MLflow App to update.
iv_artifactstoreuri TYPE /AWS1/SGMS3URI /AWS1/SGMS3URI¶
The new S3 URI for the general purpose bucket to use as the artifact store for the MLflow App.
iv_modelregistrationmode TYPE /AWS1/SGMMODELREGISTRATIONMODE /AWS1/SGMMODELREGISTRATIONMODE¶
Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry. To enable automatic model registration, set this value to
AutoModelRegistrationEnabled. To disable automatic model registration, set this value toAutoModelRegistrationDisabled. If not specified,AutomaticModelRegistrationdefaults toAutoModelRegistrationEnabled
iv_weeklymaintenancewindow00 TYPE /AWS1/SGMWEEKLYMAINTENANCEWI00 /AWS1/SGMWEEKLYMAINTENANCEWI00¶
The new weekly maintenance window start day and time to update. The maintenance window day and time should be in Coordinated Universal Time (UTC) 24-hour standard time. For example: TUE:03:30.
it_defaultdomainidlist TYPE /AWS1/CL_SGMDEFDOMAINIDLIST_W=>TT_DEFAULTDOMAINIDLIST TT_DEFAULTDOMAINIDLIST¶
List of SageMaker Domain IDs for which this MLflow App is the default.
iv_accountdefaultstatus TYPE /AWS1/SGMACCOUNTDEFAULTSTATUS /AWS1/SGMACCOUNTDEFAULTSTATUS¶
Indicates whether this this MLflow App is the default for the account.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmupdatemlflowapprsp /AWS1/CL_SGMUPDATEMLFLOWAPPRSP¶
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->updatemlflowapp(
it_defaultdomainidlist = VALUE /aws1/cl_sgmdefdomainidlist_w=>tt_defaultdomainidlist(
( new /aws1/cl_sgmdefdomainidlist_w( |string| ) )
)
iv_accountdefaultstatus = |string|
iv_arn = |string|
iv_artifactstoreuri = |string|
iv_modelregistrationmode = |string|
iv_name = |string|
iv_weeklymaintenancewindow00 = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_mlflowapparn = lo_result->get_arn( ).
ENDIF.