AWS code-library documentation change
Summary
Added SAP ABAP code example for Medical Imaging CreateDatastore API
Security assessment
Change documents standard datastore creation procedure without security-specific content. Error handling covers routine service exceptions like AccessDenied and ServiceQuotaExceeded, but no evidence of addressing security vulnerabilities or cryptographic features.
Diff
diff --git a/code-library/latest/ug/medical-imaging_example_medical-imaging_CreateDatastore_section.md b/code-library/latest/ug/medical-imaging_example_medical-imaging_CreateDatastore_section.md index c62cfb2a4..2f031ea44 100644 --- a//code-library/latest/ug/medical-imaging_example_medical-imaging_CreateDatastore_section.md +++ b//code-library/latest/ug/medical-imaging_example_medical-imaging_CreateDatastore_section.md @@ -282,0 +283,37 @@ 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_name = 'my-datastore-name' + oo_result = lo_mig->createdatastore( iv_datastorename = iv_datastore_name ). + DATA(lv_datastore_id) = oo_result->get_datastoreid( ). + MESSAGE 'Data store created.' TYPE 'I'. + CATCH /aws1/cx_migaccessdeniedex. + MESSAGE 'Access denied.' TYPE 'I'. + CATCH /aws1/cx_migconflictexception. + MESSAGE 'Conflict. Data store may already exist.' TYPE 'I'. + CATCH /aws1/cx_miginternalserverex. + MESSAGE 'Internal server error.' TYPE 'I'. + CATCH /aws1/cx_migservicequotaexcdex. + MESSAGE 'Service quota exceeded.' 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 [CreateDatastore](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). +