AWS code-library documentation change
Summary
Added SAP ABAP code example for RemoveTagsFromCertificate API
Security assessment
The change provides a language example for tag removal functionality. No security implications are present as tags don't control access or certificate security properties.
Diff
diff --git a/code-library/latest/ug/acm_example_acm_RemoveTagsFromCertificate_section.md b/code-library/latest/ug/acm_example_acm_RemoveTagsFromCertificate_section.md index d5c38c854..418ec3721 100644 --- a//code-library/latest/ug/acm_example_acm_RemoveTagsFromCertificate_section.md +++ b//code-library/latest/ug/acm_example_acm_RemoveTagsFromCertificate_section.md @@ -223,0 +224,33 @@ There's more on GitHub. Find the complete example and learn how to set up and ru +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](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/sap-abap/services/acm#code-examples). + + + TRY. + " iv_certificate_arn = 'arn:aws:acm:region:123456789012:certificate/certificate-id' + lo_acm->removetagsfromcertificate( + iv_certificatearn = iv_certificate_arn + it_tags = it_tags + ). + MESSAGE 'Tags removed from certificate successfully.' TYPE 'I'. + CATCH /aws1/cx_acminvalidarnex. + MESSAGE 'The certificate ARN is not valid.' TYPE 'I'. + CATCH /aws1/cx_acmresourcenotfoundex. + MESSAGE 'Certificate not found.' TYPE 'I'. + CATCH /aws1/cx_acminvalidtagex. + MESSAGE 'Invalid tag provided.' TYPE 'I'. + ENDTRY. + + + + * For API details, see [RemoveTagsFromCertificate](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +