Use DescribeTrainingJob with an AWS SDK - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use DescribeTrainingJob with an AWS SDK

The following code example shows how to use DescribeTrainingJob.

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:

SAP ABAP
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. oo_result = lo_sgm->describetrainingjob( " oo_result is returned for testing purposes. " iv_trainingjobname = iv_training_job_name ). MESSAGE 'Retrieved description of training job.' 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.