/AWS1/IF_LOE=>UPDATEMODEL()¶
About UpdateModel¶
Updates a model in the account.
Method Signature¶
METHODS /AWS1/IF_LOE~UPDATEMODEL
IMPORTING
!IV_MODELNAME TYPE /AWS1/LOEMODELNAME OPTIONAL
!IO_LABELSINPUTCONFIGURATION TYPE REF TO /AWS1/CL_LOELABELSINPUTCONF OPTIONAL
!IV_ROLEARN TYPE /AWS1/LOEIAMROLEARN OPTIONAL
!IO_MODELDIAGNOSTICSOUTCONF TYPE REF TO /AWS1/CL_LOEMDELDIAGNOSTICSO00 OPTIONAL
RAISING
/AWS1/CX_LOEACCESSDENIEDEX
/AWS1/CX_LOECONFLICTEXCEPTION
/AWS1/CX_LOEINTERNALSERVEREX
/AWS1/CX_LOERESOURCENOTFOUNDEX
/AWS1/CX_LOETHROTTLINGEX
/AWS1/CX_LOEVALIDATIONEX
/AWS1/CX_LOECLIENTEXC
/AWS1/CX_LOESERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_modelname TYPE /AWS1/LOEMODELNAME /AWS1/LOEMODELNAME¶
The name of the model to update.
Optional arguments:¶
io_labelsinputconfiguration TYPE REF TO /AWS1/CL_LOELABELSINPUTCONF /AWS1/CL_LOELABELSINPUTCONF¶
LabelsInputConfiguration
iv_rolearn TYPE /AWS1/LOEIAMROLEARN /AWS1/LOEIAMROLEARN¶
The ARN of the model to update.
io_modeldiagnosticsoutconf TYPE REF TO /AWS1/CL_LOEMDELDIAGNOSTICSO00 /AWS1/CL_LOEMDELDIAGNOSTICSO00¶
The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics for the model. You must also specify the
RoleArnrequest parameter.
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.
lo_client->updatemodel(
io_labelsinputconfiguration = new /aws1/cl_loelabelsinputconf(
io_s3inputconfiguration = new /aws1/cl_loelabelss3inputconf(
iv_bucket = |string|
iv_prefix = |string|
)
iv_labelgroupname = |string|
)
io_modeldiagnosticsoutconf = new /aws1/cl_loemdeldiagnosticso00(
io_s3outputconfiguration = new /aws1/cl_loemdeldiagnosticss00(
iv_bucket = |string|
iv_prefix = |string|
)
iv_kmskeyid = |string|
)
iv_modelname = |string|
iv_rolearn = |string|
).
Updates a model¶
lo_client->updatemodel(
io_labelsinputconfiguration = new /aws1/cl_loelabelsinputconf( iv_labelgroupname = |sample-label-group| )
iv_modelname = |sample-model|
).