There are more AWS SDK examples available in the AWS Doc SDK Examples
Use ListModels
with an AWS SDK or CLI
The following code example shows how to use ListModels
.
There are more AWS SDK examples available in the AWS Doc SDK Examples
ListModels
with an AWS SDK or CLIThe following code example shows how to use ListModels
.
There's more on GitHub. Find the complete example and learn how to set up and run in the
AWS Code
Examples Repository
TRY. oo_result = lo_sgm->listmodels( " oo_result is returned for testing purposes. " iv_namecontains = iv_name_contains ). MESSAGE 'Retrieved list of models.' 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 ListModels in AWS SDK for SAP ABAP API reference.
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.