AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for DescribeCertificate API
Security assessment
The change introduces a descriptive API usage example. Certificate description doesn't involve security controls or vulnerability fixes. Standard error handling for invalid ARNs doesn't indicate security patches.
Diff
diff --git a/code-library/latest/ug/acm_example_acm_DescribeCertificate_section.md b/code-library/latest/ug/acm_example_acm_DescribeCertificate_section.md index a11d47e51..64e91a645 100644 --- a//code-library/latest/ug/acm_example_acm_DescribeCertificate_section.md +++ b//code-library/latest/ug/acm_example_acm_DescribeCertificate_section.md @@ -910,0 +911,28 @@ 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' + oo_result = lo_acm->describecertificate( iv_certificatearn = iv_certificate_arn ). + MESSAGE 'Certificate details retrieved.' 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'. + ENDTRY. + + + + * For API details, see [DescribeCertificate](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +