There are more AWS SDK examples available in the AWS Doc SDK Examples
Use DeleteModel
with an AWS SDK
The following code example shows how to use DeleteModel
.
Action examples are code excerpts from larger programs and must be run in context. You can see this action in context in the following code example:
- SDK for SAP ABAP
-
Note
There's more on GitHub. Find the complete example and learn how to set up and run in the AWS Code Examples Repository
. TRY. lo_sgm->deletemodel( iv_modelname = iv_model_name ). MESSAGE 'Model deleted.' TYPE 'I'. CATCH /aws1/cx_rt_service_generic INTO DATA(lo_exception). DATA(lv_error) = |"{ lo_exception->av_err_code }" - { lo_exception->av_err_msg }|. MESSAGE lv_error TYPE 'E'. ENDTRY.
-
For API details, see DeleteModel in AWS SDK for SAP ABAP API reference.
-