AWS code-library documentation change
Summary
Added SAP ABAP SDK code example for ListCertificates API
Security assessment
This adds a basic listing operation example. Validation errors mentioned are routine API constraints, not security issues. No evidence of security-related updates in the implementation.
Diff
diff --git a/code-library/latest/ug/acm_example_acm_ListCertificates_section.md b/code-library/latest/ug/acm_example_acm_ListCertificates_section.md index da4bf70fd..4a81712b7 100644 --- a//code-library/latest/ug/acm_example_acm_ListCertificates_section.md +++ b//code-library/latest/ug/acm_example_acm_ListCertificates_section.md @@ -468,0 +469,31 @@ 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. + oo_result = lo_acm->listcertificates( + iv_maxitems = iv_max_items + it_certificatestatuses = it_statuses + io_includes = io_includes + ). + MESSAGE 'Certificates listed successfully.' TYPE 'I'. + CATCH /aws1/cx_acminvalidargsex. + MESSAGE 'Invalid arguments provided.' TYPE 'I'. + CATCH /aws1/cx_acmvalidationex. + MESSAGE 'Validation error occurred.' TYPE 'I'. + ENDTRY. + + + + * For API details, see [ListCertificates](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +