AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for UntagResource API operation
Security assessment
Routine documentation update showing tag removal implementation. No security fixes or security-specific content added.
Diff
diff --git a/code-library/latest/ug/medical-imaging_example_medical-imaging_UntagResource_section.md b/code-library/latest/ug/medical-imaging_example_medical-imaging_UntagResource_section.md index 95575b532..e0556b8be 100644 --- a//code-library/latest/ug/medical-imaging_example_medical-imaging_UntagResource_section.md +++ b//code-library/latest/ug/medical-imaging_example_medical-imaging_UntagResource_section.md @@ -190,0 +191,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_resource_arn = 'arn:aws:medical-imaging:us-east-1:123456789012:datastore/12345678901234567890123456789012' + lo_mig->untagresource( + iv_resourcearn = iv_resource_arn + it_tagkeys = it_tag_keys ). + MESSAGE 'Resource untagged successfully.' TYPE 'I'. + CATCH /aws1/cx_migaccessdeniedex. + MESSAGE 'Access denied.' TYPE 'I'. + CATCH /aws1/cx_miginternalserverex. + MESSAGE 'Internal server error.' TYPE 'I'. + CATCH /aws1/cx_migresourcenotfoundex. + MESSAGE 'Resource 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 [UntagResource](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). +