AWS healthimaging documentation change
Summary
Added SAP ABAP SDK code example for GetDICOMImportJob API operation with status retrieval
Security assessment
This change adds a standard code sample for retrieving DICOM import job status using SAP ABAP. It demonstrates normal API usage patterns without addressing security vulnerabilities or introducing security-focused documentation.
Diff
diff --git a/healthimaging/latest/devguide/example_medical-imaging_GetDICOMImportJob_section.md b/healthimaging/latest/devguide/example_medical-imaging_GetDICOMImportJob_section.md index c9b8bb20c..d1e84c631 100644 --- a//healthimaging/latest/devguide/example_medical-imaging_GetDICOMImportJob_section.md +++ b//healthimaging/latest/devguide/example_medical-imaging_GetDICOMImportJob_section.md @@ -245,0 +246,41 @@ There's more on GitHub. Find the complete example and learn how to set up and ru +SAP ABAP + + +**SDK for SAP ABAP** + + + + TRY. + " iv_datastore_id = '1234567890123456789012345678901234567890' + " iv_job_id = '12345678901234567890123456789012' + oo_result = lo_mig->getdicomimportjob( + iv_datastoreid = iv_datastore_id + iv_jobid = iv_job_id ). + DATA(lo_job_props) = oo_result->get_jobproperties( ). + DATA(lv_job_status) = lo_job_props->get_jobstatus( ). + MESSAGE |Job status: { lv_job_status }.| TYPE 'I'. + CATCH /aws1/cx_migaccessdeniedex. + MESSAGE 'Access denied.' TYPE 'I'. + CATCH /aws1/cx_migconflictexception. + MESSAGE 'Conflict error.' TYPE 'I'. + CATCH /aws1/cx_miginternalserverex. + MESSAGE 'Internal server error.' TYPE 'I'. + CATCH /aws1/cx_migresourcenotfoundex. + MESSAGE 'Job not found.' TYPE 'I'. + CATCH /aws1/cx_migthrottlingex. + MESSAGE 'Request throttled.' TYPE 'I'. + CATCH /aws1/cx_migvalidationex. + MESSAGE 'Validation error.' TYPE 'I'. + ENDTRY. + + + + * For API details, see [GetDICOMImportJob](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + + +###### Note + +There's more on GitHub. Find the complete example and learn how to set up and run in the [AWS Code Examples Repository](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/mig#code-examples). +