AWS comprehend documentation change
Summary
Added SAP ABAP SDK code example for DetectPiiEntities API with PII detection implementation
Security assessment
Documents security-adjacent PII detection capabilities but does not address vulnerabilities. Shows implementation of data protection features.
Diff
diff --git a/comprehend/latest/dg/example_comprehend_DetectPiiEntities_section.md b/comprehend/latest/dg/example_comprehend_DetectPiiEntities_section.md index a8d7d25e7..cf51808ab 100644 --- a//comprehend/latest/dg/example_comprehend_DetectPiiEntities_section.md +++ b//comprehend/latest/dg/example_comprehend_DetectPiiEntities_section.md @@ -214,0 +215,34 @@ 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/cpd#code-examples). + + + TRY. + oo_result = lo_cpd->detectpiientities( + iv_text = iv_text + iv_languagecode = iv_language_code + ). + MESSAGE 'PII entities detected.' TYPE 'I'. + CATCH /aws1/cx_cpdtextsizelmtexcdex. + MESSAGE 'Text size exceeds limit.' TYPE 'E'. + CATCH /aws1/cx_cpdunsuppedlanguageex. + MESSAGE 'Unsupported language.' TYPE 'E'. + CATCH /aws1/cx_cpdinternalserverex. + MESSAGE 'Internal server error occurred.' TYPE 'E'. + CATCH /aws1/cx_cpdinvalidrequestex. + MESSAGE 'Invalid request.' TYPE 'E'. + ENDTRY. + + + + * For API details, see [DetectPiiEntities](https://docs.aws.amazon.com/sdk-for-sap-abap/v1/api/latest/index.html) in _AWS SDK for SAP ABAP API reference_. + + + +