AWS code-library documentation change
Summary
Added SAP ABAP code example for Medical Imaging DeleteDatastore API
Security assessment
Change adds documentation for datastore deletion with standard error handling. Contains no security-specific content, cryptographic features, or vulnerability mitigations. ConflictException handling for resource containment is operational, not security-related.
Diff
diff --git a/code-library/latest/ug/medical-imaging_example_medical-imaging_DeleteDatastore_section.md b/code-library/latest/ug/medical-imaging_example_medical-imaging_DeleteDatastore_section.md index 5c0413058..bcf34ff58 100644 --- a//code-library/latest/ug/medical-imaging_example_medical-imaging_DeleteDatastore_section.md +++ b//code-library/latest/ug/medical-imaging_example_medical-imaging_DeleteDatastore_section.md @@ -253,0 +254,36 @@ 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' + oo_result = lo_mig->deletedatastore( iv_datastoreid = iv_datastore_id ). + MESSAGE 'Data store deleted.' TYPE 'I'. + CATCH /aws1/cx_migaccessdeniedex. + MESSAGE 'Access denied.' TYPE 'I'. + CATCH /aws1/cx_migconflictexception. + MESSAGE 'Conflict. Data store may contain resources.' TYPE 'I'. + CATCH /aws1/cx_miginternalserverex. + MESSAGE 'Internal server error.' TYPE 'I'. + CATCH /aws1/cx_migresourcenotfoundex. + MESSAGE 'Data store 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 [DeleteDatastore](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). +